/* ── NAV COMPONENT STYLES ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border);
    padding: 16px 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.nav-logo-wordmark {
    height: 26px;
    width: auto;
    display: block;
}

/* ── NAV LINKS & DROPDOWN ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link svg {
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1002;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
    background: rgba(255, 69, 0, 0.1);
}

.nav-cta {
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
    opacity: 0.95;
}

/* ── MOBILE MENU TOGGLE ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay Base */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #0A0A0A;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

@media (max-width: 1000px) {
    nav {
        padding: 20px 30px;
    }
    nav.scrolled {
        padding: 14px 30px;
    }
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0;
    }

    .mobile-nav-link {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .mobile-nav-link:hover {
        color: var(--orange);
    }

    .mobile-nav-cta {
        margin-top: auto;
        text-align: center;
        padding: 20px;
        background: var(--orange);
        color: #fff;
        border-radius: 16px;
        font-weight: 700;
        text-decoration: none;
    }
}
