/* ===== ШАПКА И НАВИГАЦИЯ ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0.8rem;
    white-space: nowrap;
    background: transparent; /* Убираем фон */
    border-radius: 0; /* Убираем скругление */
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-magenta));
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Выпадающее меню */
.dropdown-menu {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.8rem;
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: var(--text-primary);
}

.dropdown-toggle::after {
    display: none; /* Убираем стандартную полоску */
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 8px 0;
}

.dropdown-menu:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--neon-blue);
    color: white;
}

.dropdown-item i {
    width: 20px;
    font-size: 14px;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--amber), var(--emerald));
    border: none;
    border-radius: 8px;
    color: var(--deep-space);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-left: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
}

.mobile-cta {
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(45deg, var(--amber), var(--emerald));
    border-radius: 8px;
    color: var(--deep-space);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav-desktop {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .dropdown-toggle {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.8rem 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mobile-menu {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}