/* =========================================
   1. ПЕРЕМЕННЫЕ ПАЛИТРЫ (КИБЕР-НЕОН)
   ========================================= */
:root {
    --bg-main: #07080F;
    --bg-secondary: #0D0F1C;
    --glass-bg: rgba(20, 23, 40, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(0, 240, 255, 0.45);
    
    --neon-pink: #FF007A;
    --neon-pink-glow: rgba(255, 0, 122, 0.45);
    --neon-cyan: #00F0FF;
    --neon-cyan-glow: rgba(0, 240, 255, 0.35);
    
    --text-main: #F4F6FB;
    --text-muted: #94A3B8;
    
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

/* =========================================
   2. СБРОС И БАЗОВЫЕ СТИЛИ
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1;
    padding-top: 90px;
}

/* Фоновые неоновые пятна */
.ambient-glow {
    position: fixed;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}

.glow-pink {
    top: -150px;
    right: -100px;
    background: var(--neon-pink);
}

.glow-cyan {
    bottom: 10%;
    left: -180px;
    background: var(--neon-cyan);
}

/* =========================================
   3. ТИПОГРАФИКА И УТИЛИТЫ
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mono-text {
    font-family: var(--font-mono);
}

.text-pink { color: var(--neon-pink); }
.text-cyan { color: var(--neon-cyan); }

.text-gradient {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Стекломорфизм */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink), #C80060);
    color: #fff;
    box-shadow: 0 0 25px var(--neon-pink-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--neon-pink);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 25px var(--neon-cyan-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    padding: 14px 20px;
}

.btn-ghost:hover {
    color: var(--neon-cyan);
}

/* Бейджи */
.badge-neon {
    display: inline-block;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* =========================================
   4. ШАПКА САЙТА (HEADER)
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(7, 8, 15, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-icon {
    width: 14px;
    height: 14px;
    background: var(--neon-pink);
    border-radius: 3px;
    transform: rotate(45deg);
    box-shadow: 0 0 12px var(--neon-pink);
}

.badge-ver {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    box-shadow: 0 0 10px var(--neon-cyan);
}

.main-nav a.nav-hub {
    color: var(--neon-cyan);
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
}

.dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* =========================================
   5. HERO-СЕКЦИЯ
   ========================================= */
.hero-section {
    padding: 60px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-top-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Правый блок Hero */
.hero-visual {
    position: relative;
}

.countdown-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin-bottom: 16px;
    border-color: rgba(255, 0, 122, 0.4);
    background: linear-gradient(90deg, rgba(255, 0, 122, 0.15), rgba(20, 23, 40, 0.8));
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--neon-pink);
}

.countdown-timer {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: radial-gradient(circle at center, rgba(255, 0, 122, 0.2), transparent 70%);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
}

.cyber-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px dashed var(--neon-cyan);
    animation: spin 12s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.floating-widget {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(7, 8, 15, 0.85);
}

.widget-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 700;
}

.widget-sub {
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

/* =========================================
   6. СЕКЦИИ И КАРТОЧКИ
   ========================================= */
.section {
    padding: 70px 0;
}

.section-header {
    margin-bottom: 44px;
    max-width: 680px;
}

.section-header.flex-between {
    max-width: 100%;
    display: flex;
    align-items: flex-end;


justify-content: space-between;
gap: 20px;
}
.section-tag {
display: inline-block;
font-family: var(--font-mono);
font-size: 0.8rem;
color: var(--neon-pink);
margin-bottom: 10px;
letter-spacing: 0.08em;
}
.section-header h2 {
font-size: clamp(1.6rem, 3vw, 2.3rem);
margin-bottom: 12px;
}
.section-header p {
color: var(--text-muted);
}
/* Сетка возможностей */
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.feature-card {
padding: 32px;
display: flex;
flex-direction: column;
}
.card-badge {
align-self: flex-start;
padding: 4px 10px;
border-radius: 6px;
font-family: var(--font-mono);
font-size: 0.75rem;
font-weight: 700;
margin-bottom: 20px;
}
.card-badge.pink {
background: rgba(255, 0, 122, 0.15);
color: var(--neon-pink);
border: 1px solid rgba(255, 0, 122, 0.4);
}
.card-badge.cyan {
background: rgba(0, 240, 255, 0.12);
color: var(--neon-cyan);
border: 1px solid rgba(0, 240, 255, 0.4);
}
.feature-card h3 {
font-size: 1.2rem;
margin-bottom: 12px;
}
.feature-card p {
color: var(--text-muted);
font-size: 0.95rem;
margin-bottom: 24px;
flex: 1;
}
.card-footer {
font-size: 0.75rem;
color: var(--text-muted);
padding-top: 16px;
border-top: 1px solid var(--glass-border);
}
/* Секция Поколение 2.0 */
.gen2-box {
padding: 48px;
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 40px;
align-items: center;
background: linear-gradient(135deg, rgba(255, 0, 122, 0.08), rgba(0, 240, 255, 0.06));
}
.gen2-info h2 {
font-size: clamp(1.5rem, 2.8vw, 2.1rem);
margin: 16px 0;
}
.gen2-info p {
color: var(--text-muted);
margin-bottom: 20px;
}
.cyber-list {
margin-bottom: 28px;
display: flex;
flex-direction: column;
gap: 10px;
}
.cyber-list li {
position: relative;
padding-left: 22px;
font-size: 0.95rem;
}
.cyber-list li::before {
content: '▹';
position: absolute;
left: 0;
color: var(--neon-cyan);
font-weight: bold;
}
.gen2-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.gen2-chart {
padding: 24px;
background: rgba(7, 8, 15, 0.6);
}
.chart-header {
display: flex;
justify-content: space-between;
font-size: 0.8rem;
font-weight: 700;
margin-bottom: 24px;
}
.chart-bars {
height: 200px;
display: flex;
align-items: flex-end;
justify-content: space-around;
gap: 16px;
padding-top: 20px;
border-bottom: 1px solid var(--glass-border);
}
.bar-group {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
}
.bar {
width: 100%;
max-width: 48px;
background: rgba(255, 255, 255, 0.12);
border-radius: 6px 6px 0 0;
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 6px;
font-family: var(--font-mono);
font-size: 0.65rem;
font-weight: 700;
}
.bar.active-cyan {
background: linear-gradient(180deg, var(--neon-cyan), rgba(0, 240, 255, 0.2));
color: #000;
}
.bar.active-pink {
background: linear-gradient(180deg, var(--neon-pink), rgba(255, 0, 122, 0.2));
box-shadow: 0 0 20px var(--neon-pink-glow);
}
.bar-label {
margin-top: 8px;
font-size: 0.75rem;
color: var(--text-muted);
}
/* Новости */
.news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.news-card {
padding: 28px;
display: flex;
flex-direction: column;
}
.news-meta {
font-size: 0.75rem;
margin-bottom: 14px;
color: var(--text-muted);
}
.news-card h3 {
font-size: 1.1rem;
margin-bottom: 12px;
}
.news-card p {
color: var(--text-muted);
font-size: 0.9rem;
margin-bottom: 20px;
flex: 1;
}
.read-more {
font-size: 0.875rem;
font-weight: 700;
color: var(--neon-cyan);
}
.read-more:hover {
color: var(--neon-pink);
}
/* =========================================
7. ПОДВАЛ И МОДАЛЬНОЕ ОКНО
========================================= */
.site-footer {
border-top: 1px solid var(--glass-border);
background: rgba(5, 6, 12, 0.9);
padding: 60px 0 30px;
margin-top: 60px;
}
.footer-grid {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 40px;
}
.footer-desc {
color: var(--text-muted);
font-size: 0.9rem;
margin: 16px 0;
}
.system-status {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.8rem;
padding: 6px 12px;
background: rgba(0, 240, 255, 0.08);
border-radius: 6px;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #00FF9D;
box-shadow: 0 0 8px #00FF9D;
}
.footer-links h4 {
font-size: 0.95rem;
margin-bottom: 16px;
}
.footer-links ul {
display: flex;
flex-direction: column;
gap: 10px;
}
.footer-links a {
font-size: 0.9rem;
color: var(--text-muted);
}
.footer-links a:hover {
color: var(--neon-cyan);
}
.footer-bottom {
padding-top: 24px;
border-top: 1px solid var(--glass-border);
display: flex;
justify-content: space-between;
font-size: 0.8rem;
color: var(--text-muted);
}
/* Модальное окно */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.78);
backdrop-filter: blur(8px);
display: none;
align-items: center;
justify-content: center;
padding: 20px;
z-index: 2000;
}
.modal-backdrop.open {
display: flex;
}
.modal-window {
width: 100%;
max-width: 540px;
padding: 36px;
position: relative;
background: #0F1222;
}
.modal-close {
position: absolute;
top: 18px;
right: 22px;
background: none;
border: none;
color: var(--text-muted);
font-size: 1.8rem;
cursor: pointer;
}
.modal-window h3 {
margin: 14px 0 10px;
font-size: 1.4rem;
}
.modal-window p {
color: var(--text-muted);
font-size: 0.925rem;
margin-bottom: 24px;
}
.os-grid {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 20px;
}
.os-card {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--glass-border);
}
.os-card:hover {
border-color: var(--neon-pink);
background: rgba(255, 0, 122, 0.1);
}
.os-name { font-weight: 700; }
.os-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--neon-cyan); }
.modal-footer-note {
font-size: 0.825rem;
color: var(--text-muted);
text-align: center;
}
.modal-footer-note a {
color: var(--neon-cyan);
text-decoration: underline;
}
/* =========================================
8. АДАПТИВНОСТЬ (КРОССПЛАТФОРМЕННОСТЬ)
========================================= */
@media (max-width: 992px) {
.hero-grid,
.gen2-box {
grid-template-columns: 1fr;
}
.features-grid,
.news-grid {
grid-template-columns: repeat(2, 1fr);
}
.footer-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 768px) {
.main-nav {
position: fixed;
top: 80px;
left: 0;
width: 100%;
background: rgba(7, 8, 15, 0.98);
flex-direction: column;
padding: 24px;
gap: 18px;
border-bottom: 1px solid var(--glass-border);
display: none;
}
.main-nav.open {
display: flex;
}
.burger-btn {
display: flex;
}
.features-grid,
.news-grid,
.footer-grid {
grid-template-columns: 1fr;
}
.gen2-box {
padding: 28px 20px;
}
.section-header.flex-between {
flex-direction: column;
align-items: flex-start;
}
.footer-bottom {
flex-direction: column;
gap: 10px;
text-align: center;
}
}

/* =========================================
   9. АНИМАЦИЯ ГОЛОСОВОГО МОДУЛЯ
   ========================================= */
   .floating-widget {
    cursor: pointer;
}

.floating-widget:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px var(--neon-cyan-glow);
}

.floating-widget.speaking .widget-dot {
    background: var(--neon-pink);
    box-shadow: 0 0 18px var(--neon-pink);
    animation: voicePulse 0.45s infinite alternate;
}

@keyframes voicePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 1; }
}
