:root {
    --bg: #0a192f;
    --card: rgba(255,255,255,0.07);
    --card-border: rgba(255,255,255,0.1);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #00d4ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
}

h1, h2, h3, h4, h5 {
    color: white;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.9rem;
}

p {
    opacity: 0.92;
    margin-bottom: 1.2rem;
}

.container {
    width: min(90%, 1400px);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    gap: 5rem;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #0a192f;
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,212,255,.3);
    transition: all .4s;
}

    .btn-primary:hover {
        background: white;
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,212,255,.4);
    }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    background: rgba(10,25,47,.65);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 1000;
    transition: padding .4s, background .4s;
}

    .navbar.scrolled {
        padding: 1rem 0;
        background: rgba(10,25,47,.95);
    }

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

    /* Logo - right side, big */
    .navbar .logo {
        order: 2;
        font-size: 0;
    }

        .navbar .logo img {
            height: 72px;
            width: auto;
            transition: height .3s ease;
        }

    .navbar.scrolled .logo img {
        height: 58px;
    }

/* Desktop nav links */
.nav-links {
    order: 1;
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0 auto;
}

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width .4s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent);
        }

            .nav-links a:hover::after,
            .nav-links a.active::after {
                width: 100%;
            }

/* Hamburger */
.hamburger {
    order: 3;
    display: none;
    cursor: pointer;
    z-index: 1001;
}

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: white;
        margin: 6px 0;
        border-radius: 3px;
    }

/* Glass cards & footer (unchanged) */
.glass-card {
    background: var(--card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: .5s;
}

    .glass-card:hover {
        transform: translateY(-15px);
        border-color: rgba(0,212,255,.4);
        box-shadow: 0 25px 50px rgba(0,0,0,.4);
    }

.icon-circle {
    width: 90px;
    height: 90px;
    background: rgba(0,212,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: var(--accent);
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.5rem;
    display: inline-block;
}

    .card-link:hover {
        text-decoration: underline;
    }

.footer {
    background: rgba(10,20,40,.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
}

    .footer h5 {
        color: white;
        margin-bottom: 1.5rem;
    }

    .footer a {
        color: var(--text-muted);
        text-decoration: none;
        line-height: 2.2;
    }

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

.footer-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    opacity: .7;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: none;
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.4rem;
    }

    .hamburger {
        display: block;
    }

    .navbar .logo img {
        height: 62px;
    }

    .navbar.scrolled .logo img {
        height: 52px;
    }

    /* MOBILE MENU - BELOW NAVBAR, PERFECT FIT */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        font-size: 1.4rem;
        transition: left 0.4s ease;
        z-index: 999;
        padding: 2rem 0;
    }

        .nav-links.active {
            left: 0;
        }
}

@media (min-width: 1400px) {
    .navbar .logo img {
        height: 80px;
    }

    .navbar.scrolled .logo img {
        height: 64px;
    }
}
