:root {
    /* Новая палитра FIREPOINT */
    --bg-dark: #08080A;
    --cyan: #00E5FF;
    --cyan-dark: #008B99;
    --purple: #B500FF;
    --pink: #FF0055;
    --text-white: #FFFFFF;
    --text-muted: #A0A0A5;
    
    /* Шрифты */
    --font-main: 'Montserrat', sans-serif;
    --font-numbers: 'Teko', sans-serif; /* Дерзкий шрифт для цифр */
    
    --glass-bg: rgba(15, 15, 20, 0.7);
    --glass-border: rgba(0, 229, 255, 0.2);
    --blur: blur(15px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Утилиты */
.cyan-text { color: var(--cyan); }
.text-green { color: #00FF66; }
.text-cyan { color: var(--cyan); }
.text-red { color: #FF3366; }

/* ШАПКА И ГАМБУРГЕР МЕНЮ */
.glass-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(8, 8, 10, 0.9);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 15px 30px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo a {
    font-size: 1.8rem; font-weight: 900; text-decoration: none; color: white; letter-spacing: 2px;
}

.nav-links {
    display: flex; align-items: center; gap: 30px;
}

.nav-links a {
    color: var(--text-white); text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--cyan); }

.mobile-menu-btn {
    display: none; background: none; border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 1.5rem; cursor: pointer; padding: 5px 12px; border-radius: 5px;
}

.nav-controls-mobile { display: flex; gap: 15px; align-items: center; }

/* КНОПКИ */
.btn {
    padding: 15px 35px; font-weight: 700; text-decoration: none; text-transform: uppercase;
    border-radius: 4px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
}

.btn-cyan {
    background: var(--cyan); color: #000; border: none;
}
.btn-cyan:hover { box-shadow: 0 0 25px rgba(0, 229, 255, 0.6); transform: translateY(-2px); }

.btn-glass {
    background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.2);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* HERO */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; width: 100%; height: 100%; z-index: -1; }
.bg-img { width: 100%; height: 100%; object-fit: cover; }
.overlay-gradient-cyber {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(8,8,10,0.3) 0%, rgba(8,8,10,1) 100%);
}

.hero-content { text-align: center; z-index: 2; padding: 0 20px; margin-top: 50px; }
.hero-title { font-size: 5rem; font-weight: 900; line-height: 1; letter-spacing: 2px; text-shadow: 0 10px 30px rgba(0,229,255,0.3); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin: 20px 0 40px; letter-spacing: 4px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 20px; }
.launcher-info { color: #666; font-size: 0.85rem; }

/* СЕКЦИИ И КАРТОЧКИ */
.section-dark { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; margin-bottom: 40px; }
.cyan-line { color: var(--cyan); margin-right: 10px; font-weight: 900; }

.glass-card {
    background: var(--glass-bg); backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border); border-radius: 10px;
}

/* ШАГИ (Как начать) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.step-card {
    padding: 40px 30px; position: relative; overflow: hidden; transition: 0.3s;
}
.step-card:hover { border-color: var(--cyan); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,229,255,0.1); }
.step-bg-number {
    position: absolute; top: -20px; right: 10px; font-family: var(--font-numbers);
    font-size: 8rem; color: rgba(255,255,255,0.03); font-weight: 700; line-height: 1; pointer-events: none;
}
.step-icon { font-size: 2.5rem; margin-bottom: 20px; }
.purple-glow { color: var(--purple); text-shadow: 0 0 15px rgba(181, 0, 255, 0.5); }
.cyan-glow { color: var(--cyan); text-shadow: 0 0 15px rgba(0, 229, 255, 0.5); }
.pink-glow { color: var(--pink); text-shadow: 0 0 15px rgba(255, 0, 85, 0.5); }
.step-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* НОВОСТИ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.news-card:hover { border-color: var(--cyan); }
.news-img { height: 200px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { color: var(--cyan); font-size: 0.8rem; margin-bottom: 10px; font-weight: 600; }
.news-content h3 { margin-bottom: 15px; font-size: 1.3rem; }
.news-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; }
.btn-outline-small {
    background: transparent; border: 1px solid white; color: white; padding: 10px 20px;
    border-radius: 4px; cursor: pointer; transition: 0.3s; align-self: flex-start;
}
.btn-outline-small:hover { background: white; color: black; }

/* СТАТИСТИКА */
.stats-section { padding: 40px 20px 80px; display: flex; justify-content: center; }
.stats-container { padding: 40px; text-align: center; width: 100%; max-width: 800px; }
.stats-title { font-size: 1.5rem; margin-bottom: 30px; letter-spacing: 2px; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-block { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-numbers); font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 5px; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; }

/* ФУТЕР */
.site-footer { text-align: center; padding: 40px 20px; background: rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #333; margin-bottom: 10px; }
.site-footer p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 20px; }
.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a { color: white; font-size: 1.5rem; transition: 0.3s; }
.social-links a:hover { color: var(--cyan); transform: translateY(-3px); }


/* =========================================
   ПАНЕЛЬ: ЗВУК И ЯЗЫКИ
   ========================================= */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2500; /* Чтобы всегда нажималось */
}

.lang-switcher { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.lang-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; transition: 0.3s; font-family: var(--font-main); font-weight: 600; font-size: 1rem; }
.lang-btn:hover, .lang-btn.active { color: var(--cyan); }
.separator { color: rgba(255,255,255,0.2); }

.mute-btn { background: none; border: none; color: var(--text-white); font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.mute-btn:hover { color: var(--cyan); }
.mute-btn i.muted { color: var(--text-muted); }

/* Плавный переход переключения языков */
.transition-container { transition: opacity 0.3s ease; }
.transition-container.fade-out { opacity: 0; }



/* АДАПТИВ (Мобилки) */

/* =========================================
   ИДЕАЛЬНЫЙ АДАПТИВ ДЛЯ ТЕЛЕФОНОВ
   ========================================= */

/* Убираем лишние отступы в мобильной версии */
/* =========================================
   МОБИЛЬНАЯ ШАПКА "ДВУХЭТАЖНАЯ" (БЕЗ ГАМБУРГЕРА)
   ========================================= */
@media (max-width: 992px) {
    /* Контейнер шапки теперь позволяет элементам переноситься */
    .nav-container { 
        flex-wrap: wrap; 
        padding: 10px 15px; 
        gap: 10px;
    }
    
    /* 1 ЭТАЖ: Логотип и настройки */
    .logo { flex: 1; }
    .logo a { font-size: 1.2rem; letter-spacing: 1px; }
    
    .nav-controls { gap: 12px; }
    .lang-btn { font-size: 0.85rem; }
    .mute-btn { font-size: 1.1rem; }

    /* 2 ЭТАЖ: Выводим все ссылки в одну красивую линию */
    .nav-links {
        position: static; /* Отменяем фиксированное меню */
        width: 100%; 
        height: auto;
        background: transparent;
        flex-direction: row; 
        justify-content: space-between; /* Распределяем ровно по ширине */
        padding: 12px 0 5px 0; 
        gap: 5px;
        border-top: 1px solid var(--glass-border); /* Неоновая линия разделения */
        overflow-x: auto; /* Позволяет скроллить пальцем, если экран очень узкий */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Прячем ползунок скролла */
    }
    
    .nav-links::-webkit-scrollbar { display: none; } /* Прячем ползунок в Chrome/Safari */

    .nav-links a {
        font-size: 0.75rem; /* Делаем текст компактным */
        white-space: nowrap; /* Запрещаем перенос слов */
        letter-spacing: 0.5px;
    }

    /* Смещаем главный экран чуть ниже, так как шапка стала выше */
    .hero { 
        padding-top: 130px; 
        height: auto; 
        min-height: 100vh;
    }
    .hero-title { font-size: 3rem; text-shadow: 0 5px 20px rgba(0,229,255,0.4); margin-top: 20px; }
    .hero-subtitle { font-size: 0.85rem; letter-spacing: 2px; }
    
    .hero-buttons { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto 20px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .stats-row { flex-direction: column; gap: 30px; }
}

