/* 
   -----------------------------------------
   ControlDoc SGDEA Landing Page Styles
   Theme: Modern Tech, Eco-Friendly, Glassmorphism
   -----------------------------------------
*/

:root {
    /* Colors */
    --primary-color: #0056b3; /* Deep Royal Blue */
    --secondary-color: #00a896; /* Vibrant Teal/Green */
    --accent-color: #00e0c6; /* Bright Cyan for glows */
    --dark-bg: #0a192f; /* Very dark blue for footer/tech sections */
    --light-bg: #f4f7f9; /* Clean slightly blueish white */
    --text-color: #333333;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 86, 179, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-glow: linear-gradient(135deg, rgba(0,86,179,0.1), rgba(0,168,150,0.1));

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 86, 179, 0.05);
}

.btn.sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn {
    margin-left: 20px;
    color: white !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(0, 168, 150, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 86, 179, 0.1), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.badge {
    display: inline-block;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.trust-badges i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.4);
}

.dashboard-img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Floating Elements Animation in Hero */
.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.icon-1 { top: -20px; left: -20px; color: var(--primary-color); animation-delay: 0s; }
.icon-2 { bottom: 40px; right: -30px; color: var(--secondary-color); animation-delay: 2s; }
.icon-3 { top: 40px; right: 20px; color: #2ecc71; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Clients Section */
.clients {
    padding: 40px 0;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.section-label {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.client-logo {
    font-weight: 700;
    font-family: var(--font-heading);
    color: #444;
    font-size: 1.2rem;
}

/* Zero Paper / Benefits */
.zero-paper {
    padding: 100px 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.benefit-list i {
    color: var(--secondary-color);
    margin-right: 15px;
    background: rgba(0, 168, 150, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.split-visual {
    display: flex;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    min-width: 180px;
    background: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Features */
.features {
    padding: 100px 0;
    background: #f8fbff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 30px;
    background: white;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Tech Specs */
.tech-specs {
    padding: 80px 0;
}

.tech-wrapper.dark-mode {
    background: var(--dark-bg);
    color: white;
    padding: 60px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.tech-wrapper h2 { color: white; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.tech-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.tech-item h4 {
    color: white;
    margin-bottom: 5px;
}

.tech-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: radial-gradient(circle, rgba(0,86,179,0.05), transparent);
}

.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
    padding: 10px;
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 50px;
}

.contact-form input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
}

.contact-form button {
    border-radius: 50px;
    padding: 15px 30px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: white; }
.footer-brand p { opacity: 0.7; max-width: 300px; margin-bottom: 20px; }

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    opacity: 0.7;
}

.social-links a:hover { opacity: 1; color: var(--accent-color); }

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent-color); }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    
    .hero-container, .split-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content { padding-right: 0; margin-bottom: 50px; }
    
    .hero-btns { justify-content: center; }
    
    .trust-badges { justify-content: center; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle later */
    }
    
    .mobile-toggle { display: block; }
    
    .contact-form { flex-direction: column; background: transparent; padding: 0; box-shadow: none;}
    .contact-form input { margin-bottom: 10px; border: 1px solid #ddd; }
}
