/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(7,26,51,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .site-header.scrolled {
        background: rgba(7,26,51,.95);
        box-shadow: 0 10px 40px rgba(0,0,0,.25);
    }

    /* ==========================================================
   CONTAINER
========================================================== */
    .site-header .container {
        width: 100%;
        max-width: 1500px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

/* ==========================================================
   BRAND
========================================================== */

.brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
}

/* ==========================================================
   NAVIGATION
========================================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

    .main-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        color: var(--text-light);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: #2563eb;
            transition: width .3s ease;
        }

        .main-nav a:hover {
            color: #fff;
        }

            .main-nav a:hover::after {
                width: 100%;
            }

/* ==========================================================
   CTA
========================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: .3s;
    }

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px) {

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-title {
        font-size: 28px;
    }
}

@media (max-width:576px) {

    .site-header {
        height: 72px;
    }

    .logo-title {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 11px;
    }
}
/* ===============================
   Mobile Navigation
================================ */

@media (max-width:992px) {

    .main-nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 72px);
        background: #0E1E3F;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 30px;
        transition: right .35s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,.35);
        z-index: 999;
    }

        .main-nav.active {
            right: 0;
        }

        .main-nav a {
            width: 100%;
            padding: 16px 0;
            border-bottom: 1px solid rgba(255,255,255,.06);
        }

    .header-actions {
        display: none;
    }
}