/**
 * EA Design Studio — Master Cyber Header (Outside Elementor)
 * Ultra-fast, zero-bloat, glassmorphic header with neon accents.
 */

:root {
    --ead-nav-h: 82px;
    --ead-nav-h-scrolled: 64px;
    --ead-cyan: #00FFEB;
    --ead-cyan-glow: rgba(0, 255, 235, 0.4);
    --ead-border: rgba(255, 255, 255, 0.05);
    --ead-border-scrolled: rgba(0, 255, 235, 0.18);
}

/* =========================================================
   HEADER CONTAINER
   ========================================================= */
.ead-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
    height: var(--ead-nav-h);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--ead-border);
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.35s ease,
        backdrop-filter 0.35s ease,
        -webkit-backdrop-filter 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    display: flex;
    align-items: center;
}

.ead-navbar.is-scrolled {
    height: var(--ead-nav-h-scrolled);
    background: rgba(3, 7, 7, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--ead-border-scrolled);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65),
        0 0 20px rgba(0, 255, 235, 0.05);
}

.ead-navbar.drawer-is-open {
    background: rgba(3, 7, 7, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
}

.ead-navbar-container {
    width: 100%;
    max-width: 1320px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   LOGO
   ========================================================= */
.ead-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
    flex-shrink: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ead-nav-brand:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ead-nav-logo {
    height: 48px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ead-navbar.is-scrolled .ead-nav-logo {
    height: 38px;
}

/* =========================================================
   RIGHT CONTAINER (LINKS + CTA GROUPED TOGETHER)
   ========================================================= */
.ead-nav-right {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .ead-nav-right {
        gap: 40px;
    }
}

/* =========================================================
   DESKTOP NAVIGATION LINKS
   ========================================================= */
.ead-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.ead-nav-link {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 8px 4px;
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    white-space: nowrap;
}

.ead-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--ead-cyan);
    box-shadow: 0 0 10px var(--ead-cyan);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ead-nav-link:hover {
    color: var(--ead-cyan);
    text-shadow: 0 0 14px rgba(0, 255, 235, 0.7);
}

.ead-nav-link:hover::after,
.ead-nav-link.is-active::after {
    width: 100%;
    left: 0;
}

.ead-nav-link.is-active {
    color: var(--ead-cyan);
    text-shadow: 0 0 14px rgba(0, 255, 235, 0.6);
}

/* =========================================================
   RIGHT ACTIONS & CTA
   ========================================================= */
.ead-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ead-nav-btn {
    font-family: 'Space Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ead-cyan);
    background: transparent;
    border: 1px solid var(--ead-cyan);
    padding: 10px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0;
    box-shadow: 0 0 12px rgba(0, 255, 235, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ead-nav-btn .ead-nav-btn-icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.ead-nav-btn:hover {
    background: var(--ead-cyan);
    color: #030707;
    box-shadow: 0 0 22px rgba(0, 255, 235, 0.6),
        0 0 45px rgba(0, 255, 235, 0.25);
    transform: translateY(-1px);
}

.ead-nav-btn:hover .ead-nav-btn-icon {
    transform: scale(1.1);
}

.ead-nav-btn:active {
    transform: translateY(0);
}

/* =========================================================
   MOBILE HAMBURGER TOGGLE
   ========================================================= */
.ead-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: all 0.25s ease;
}

.ead-nav-toggle:hover {
    border-color: var(--ead-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 235, 0.2);
}

.ead-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ead-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--ead-cyan);
}

.ead-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.ead-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--ead-cyan);
}

/* =========================================================
   MOBILE DRAWER
   ========================================================= */
.ead-mobile-drawer {
    display: none;
    position: fixed;
    top: var(--ead-nav-h);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(3, 7, 7, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--ead-border-scrolled);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    padding: 24px 28px 36px;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.3s ease;
    z-index: 999998;
}

.ead-navbar.is-scrolled+.ead-mobile-drawer {
    top: var(--ead-nav-h-scrolled);
}

.ead-mobile-drawer.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ead-mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.ead-mobile-links li {
    width: 100%;
    text-align: center;
}

.ead-mobile-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.ead-mobile-link:hover,
.ead-mobile-link.is-active {
    color: var(--ead-cyan);
    text-shadow: 0 0 12px rgba(0, 255, 235, 0.5);
    padding-left: 0;
}

.ead-mobile-cta {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 992px) {
    .ead-nav-menu {
        display: none;
    }

    .ead-nav-toggle {
        display: flex;
    }

    .ead-nav-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    :root {
        --ead-nav-h: 66px;
        --ead-nav-h-scrolled: 58px;
    }

    .ead-navbar-container {
        padding: 0 18px;
    }

    .ead-nav-logo {
        height: 32px;
    }

    .ead-navbar.is-scrolled .ead-nav-logo {
        height: 28px;
    }
}