/* ========== NAVIGATION ========== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(6, 9, 15, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all .3s ease;
}

#main-nav.scrolled {
    background: rgba(6, 9, 15, 0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}
.logo-img {
    height: 60px !important;
    width: auto;
    display: block;
    border-radius: 8px;
    mix-blend-mode: lighten;
}
.logo-accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width .3s ease;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
    margin-top: 0.75rem;
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    padding: 0;
}
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s ease;
}
.dropdown-menu a::after {
    display: none;
}
.dropdown-menu a:hover {
    color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.06);
}