/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    background-color: #05050a;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 90px; 
}
/* Жестко убираем стандартный курсор у всех элементов */
body, a, button, input, label, span, div { 
    cursor: none !important; 
}
/* --- ULTIMATE CYBERPUNK PACK --- */

/* 1. Cyber Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #05050a; }
::-webkit-scrollbar-thumb { background: #5c4dff; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00e5ff; }

/* Фоновая тонкая серая сетка (цифровое пространство) */
body::before {
    content: '';
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px; /* Размер ячейки сетки */
    z-index: -2;
    pointer-events: none;
}

/* 3. Tech Hover (Плавное неоновое свечение вместо резкого глитча) */
.btn-primary:hover {
    letter-spacing: 1px;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

/* 4. Scroll Reveal (Плавное появление) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Cyber HUD Cursor (Точный стильный прицел) */
body, a, button, input { cursor: none; }

.hud-cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    background: #00e5ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
    box-shadow: 0 0 8px #00e5ff;
}

.hud-cursor-cross {
    position: fixed; top: 0; left: 0;
    width: 24px; height: 24px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.1s ease, width 0.2s, height 0.2s;
}

/* Рисуем уголки прицела через псевдоэлементы */
.hud-cursor-cross::before,
.hud-cursor-cross::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border-color: rgba(0, 229, 255, 0.8);
    border-style: solid;
}
.hud-cursor-cross::before {
    top: 0; left: 0;
    border-width: 2px 0 0 2px;
}
.hud-cursor-cross::after {
    bottom: 0; right: 0;
    border-width: 0 2px 2px 0;
}

/* При наведении на интерактивные элементы прицел слегка раздвигается и меняет цвет на фиолетовый */
.hud-cursor-cross.active {
    width: 36px; height: 36px;
}
.hud-cursor-cross.active::before,
.hud-cursor-cross.active::after {
    border-color: #5c4dff;
}

/* Отключаем на мобильных */
@media (max-width: 1024px) {
    body, a, button, input { cursor: auto !important; }
    .hud-cursor-dot, .hud-cursor-cross { display: none !important; }
}
/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #05050a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}
.preloader-content { text-align: center; }
.progress-bar-container {
    width: 200px; height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 20px auto; overflow: hidden;
}
.progress-bar {
    width: 0%; height: 100%;
    background: #00e5ff;
    animation: load 1.5s ease forwards;
}
.preloader-text {
    font-family: monospace;
    font-size: 12px;
    color: #00e5ff;
    letter-spacing: 2px;
}
@keyframes load { to { width: 100%; } }

/* Global Market Ticker (Top Bar) */
.market-ticker-top {
    position: fixed;
    top: 0 !important; 
    left: 0; 
    width: 100%;
    background: #020205; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 35px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 9999 !important; /* Выносим на самый передний план */
}
.market-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: market-ticker 40s linear infinite;
}
.market-item {
    font-family: monospace;
    font-size: 11px;
    margin-right: 60px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.market-item .coin { color: #8a8a9d; font-weight: bold; }
.market-item .price { color: #fff; }
.market-item .change.pos { color: #27c93f; }
.market-item .change.neg { color: #ff5f56; }

@keyframes market-ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Сдвигаем основную шапку вниз, чтобы она не перекрывала тикер */
/* Сдвигаем основную шапку вниз, чтобы она не перекрывала тикер */
header {
    top: 35px !important; 
}
/* Header */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { 
    font-family: monospace;
    font-size: 22px; 
    font-weight: 800; 
    color: #fff;
    letter-spacing: 1px; 
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Светящийся бирюзовый квадрат перед текстом */
.logo::before {
    content: '■';
    color: #00e5ff;
    font-size: 24px;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    line-height: 1;
}
.logo:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}
/* Выделяем приставку zk */
.zk {
    color: #5c4dff;
    text-shadow: 0 0 10px rgba(92, 77, 255, 0.5);
}
nav { display: flex; gap: 30px; }
nav a {
    color: #a0a0b5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
nav a:hover { color: #fff; }
.header-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: #00e5ff;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.3s;
    text-decoration: none;
}
.header-btn:hover { background: rgba(0, 229, 255, 0.1); }

/* Typography & Labels */
.tech-label {
    font-family: monospace;
    color: #8a8a9d;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.tech-label span { color: #5c4dff; margin: 0 5px; }
.justify-center { justify-content: center; }
.section-header { text-align: left; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; margin: 0 0 15px 0; }
.section-subtitle { color: #a0a0b5; font-size: 16px; max-width: 600px; line-height: 1.6; margin: 0; }

/* Buttons */
.btn-primary {
    background: #5c4dff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    background: #473acc;
    box-shadow: 0 0 20px rgba(92, 77, 255, 0.4);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-secondary:hover { border-color: #fff; }

/* Hero Section */
.hero {
    display: flex;
    padding: 150px 5% 100px 5%;
    position: relative;
    min-height: 80vh;
}
.hero-left { flex: 1; z-index: 10; padding-right: 50px; }
.hero-left h1 { font-size: 55px; margin: 0 0 20px 0; line-height: 1.1; }
.hero-left p { color: #a0a0b5; font-size: 18px; line-height: 1.6; margin-bottom: 40px; max-width: 500px; }
.hero-actions { display: flex; gap: 20px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 40px; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 30px; }
.stat-item { display: flex; flex-direction: column; gap: 5px; }
.stat-value { font-size: 24px; font-weight: bold; color: #00e5ff; }
.stat-label { font-family: monospace; font-size: 10px; color: #8a8a9d; }
.hero-tags { font-family: monospace; font-size: 12px; color: #5c4dff; display: flex; gap: 20px; }

.hero-right { 
    flex: 1.2; /* Даем правой колонке чуть больше места для маневра */
    position: relative; 
    z-index: 10; 
    display: flex; 
    justify-content: center; /* Сдвигаем карточку к центру (раньше было flex-end) */
    align-items: center; 
}
.terminal-card {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    width: 550px; /* Делаем окно сильно шире (было 400px) */
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); /* Добавляем тень для отрыва от 3D фона */
}
.terminal-header {
    background: rgba(255,255,255,0.05);
    padding: 15px 25px; /* Увеличили отступы шапки */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dots { display: flex; gap: 8px; margin-right: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title { font-family: monospace; font-size: 14px; color: #8a8a9d; } /* Сделали шрифт крупнее */
.terminal-body { 
    padding: 30px 40px; /* Сильно увеличили внутренние поля текста */
    font-family: monospace; 
    font-size: 15px; /* Увеличили размер шрифта (был 13px) */
    color: #a0a0b5; 
}
.terminal-body p { margin: 8px 0; }
.text-accent { color: #00e5ff; }
.terminal-table { border-left: 2px solid #5c4dff; padding-left: 25px; margin-top: 25px; }
.t-row { display: flex; justify-content: space-between; margin-bottom: 15px; }
.t-row span:first-child { color: #8a8a9d; }
.t-row span:last-child { color: #fff; font-size: 16px; } /* Сделали цифры чуть крупнее текста */
.blinking { animation: blink 1s step-end infinite; margin-top: 20px !important; }
@keyframes blink { 50% { opacity: 0; } }

#webgl-container {
    position: absolute;
    top: 0; right: 0; width: 50%; height: 100%;
    z-index: 1;
}

/* Fund Numbers */
.fund-numbers { padding: 100px 5%; background: rgba(5,5,10,0.5); border-top: 1px solid rgba(255,255,255,0.05); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.number-card { background: rgba(10, 10, 20, 0.5); padding: 30px 20px; border: 1px solid rgba(255,255,255,0.05); text-align: center; }
.number-card h3 { font-size: 32px; color: #00e5ff; margin: 0 0 10px 0; }
.number-card p { font-size: 12px; color: #8a8a9d; margin: 0; text-transform: uppercase; font-family: monospace; }

/* What We Do */
.what-we-do { padding: 100px 5%; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 30px;
    transition: all 0.3s;
}
.service-card:hover { border-color: #5c4dff; transform: translateY(-5px); background: rgba(17, 17, 43, 0.8); }
.card-icon { font-size: 24px; color: #5c4dff; margin-bottom: 20px; }
.card-step { font-family: monospace; font-size: 10px; color: #8a8a9d; margin-bottom: 15px; }
.service-card h3 { font-size: 18px; margin: 0 0 15px 0; letter-spacing: 1px; }
.service-card p { font-size: 14px; color: #a0a0b5; line-height: 1.6; margin-bottom: 25px; }
.card-tags { font-family: monospace; font-size: 10px; color: #00e5ff; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 15px; }

/* Portfolio Section */
.portfolio-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    background: linear-gradient(0deg, rgba(5,5,10,0) 0%, rgba(17,17,43,0.3) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.portfolio-card {
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    border-color: #5c4dff;
    background: rgba(17, 17, 43, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(92, 77, 255, 0.1);
}
.portfolio-card.highlight { border-left: 2px solid #5c4dff; }
.card-ticker { font-family: monospace; font-size: 16px; color: #fff; font-weight: bold; margin-bottom: 12px; }
.portfolio-card h3 { font-size: 16px; margin: 0 0 15px 0; letter-spacing: 1px; text-transform: uppercase; }
.card-badge {
    display: inline-block;
    border: 1px solid rgba(92, 77, 255, 0.4);
    color: #5c4dff;
    font-family: monospace;
    font-size: 9px;
    padding: 4px 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}
.portfolio-card p { font-size: 13px; color: #8a8a9d; margin: 0; line-height: 1.5; }

/* Case Study Section */
.case-study-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    background: radial-gradient(circle at center, rgba(92, 77, 255, 0.05) 0%, transparent 70%);
}
#case-webgl-container {
    position: absolute;
    top: -100px; bottom: -100px; left: 0; width: 100%;
    z-index: -1; 
}
.case-card {
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid rgba(92, 77, 255, 0.3);
    box-shadow: 0 0 30px rgba(92, 77, 255, 0.1), inset 0 0 20px rgba(92, 77, 255, 0.05);
    backdrop-filter: blur(10px);
    margin-top: 40px;
    display: flex;
    position: relative;
    padding: 50px;
    gap: 50px;
}
.corner { position: absolute; width: 12px; height: 12px; border: 2px solid #00e5ff; }
.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.case-content-left { flex: 1.2; border-right: 1px dashed rgba(255, 255, 255, 0.15); padding-right: 50px; }
.case-ticker { font-family: monospace; font-size: 32px; color: #fff; margin: 0 0 10px 0; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.case-subtitle { font-family: monospace; font-size: 12px; color: #8a8a9d; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 25px 0; }
.case-description { font-size: 15px; line-height: 1.7; color: #a0a0b5; margin-bottom: 30px; }
.case-quote { border-left: 3px solid #5c4dff; margin: 0; padding: 15px 0 15px 20px; font-style: italic; color: #fff; background: linear-gradient(90deg, rgba(92,77,255,0.1) 0%, transparent 100%); }
.case-content-right { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: center; }
.case-stat { display: flex; flex-direction: column; gap: 8px; }
.highlight-cyan { color: #00e5ff; font-family: monospace; font-size: 36px; font-weight: bold; text-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }

/* Coalition Section */
.coalition-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(5,5,10,0) 0%, rgba(17,17,43,0.2) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.coalition-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-top: 50px; }
.coalition-left { display: flex; flex-direction: column; gap: 15px; }
.coalition-feature {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    padding: 20px 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.coalition-feature:hover {
    background: rgba(17, 17, 43, 0.6);
    border-color: rgba(92, 77, 255, 0.3);
    border-left: 3px solid #5c4dff;
    transform: translateX(5px);
}
.coalition-feature h4 { margin: 0 0 10px 0; font-size: 14px; font-family: monospace; letter-spacing: 1px; color: #fff; text-transform: uppercase; }
.square { color: #5c4dff; margin-right: 10px; }
.coalition-feature p { margin: 0; font-size: 13px; color: #8a8a9d; line-height: 1.5; }

.coalition-right { position: relative; z-index: 1; }
#coalition-webgl-container {
    position: absolute;
    top: -50px; bottom: -50px; left: -50px; right: -50px;
    z-index: -1; 
}
.terms-card {
    background: rgba(10, 10, 20, 0.15); 
    padding: 40px;
    position: relative; 
    backdrop-filter: blur(4px);
}
.terms-header { font-family: monospace; font-size: 12px; color: #5c4dff; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px; font-weight: bold; }
.terms-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); padding-bottom: 15px; margin-bottom: 15px; }
.terms-label { font-family: monospace; font-size: 11px; color: #8a8a9d; letter-spacing: 1px; text-transform: uppercase; }
.terms-value { font-family: monospace; font-size: 16px; color: #fff; font-weight: bold; }
.btn-coalition { display: block; width: 100%; text-align: center; margin-top: 35px; box-sizing: border-box; text-decoration: none; }

/* Thesis Section */
.thesis-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; 
}
#thesis-webgl-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.thesis-card {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 30px;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    position: relative;
}
.thesis-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; width: 0; height: 2px;
    background: #00e5ff;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.thesis-card:hover::before { width: 100%; }
.thesis-card:hover { transform: translateY(-10px); background: rgba(17, 17, 43, 0.6); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.thesis-number { font-family: monospace; font-size: 14px; color: #00e5ff; margin-bottom: 25px; letter-spacing: 2px; }
.thesis-card h3 { font-size: 20px; margin: 0 0 20px 0; letter-spacing: 1px; }
.thesis-card p { font-size: 14px; color: #8a8a9d; line-height: 1.7; margin: 0; }

/* Events Section */
.events-section {
    padding: 120px 5%;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17,17,43,0.3) 0%, rgba(5,5,10,0) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}
#events-webgl-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.events-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-top: 50px; }
.event-featured {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid #5c4dff;
    padding: 50px 40px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(92, 77, 255, 0.15), inset 0 0 20px rgba(92, 77, 255, 0.05);
}
.event-glow { position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.2), transparent 70%); }
.event-date { font-family: monospace; color: #00e5ff; letter-spacing: 2px; margin-bottom: 15px; font-size: 13px; }
.event-title { font-size: 32px; margin: 0 0 20px 0; font-weight: 800; text-transform: uppercase; }
.event-desc { color: #a0a0b5; line-height: 1.8; font-size: 15px; margin-bottom: 30px; }
.event-tags { display: flex; gap: 20px; margin-bottom: 40px; font-family: monospace; font-size: 11px; color: #8a8a9d; border-top: 1px dashed rgba(255, 255, 255, 0.15); padding-top: 20px; }
.event-tags span { color: #fff; }
.event-btn { display: inline-block; padding: 15px 40px; }
.events-list { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.event-item {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid transparent;
    padding: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.event-item:hover { border-left: 2px solid #00e5ff; background: rgba(17, 17, 43, 0.6); transform: translateX(10px); }
.event-date-small { font-family: monospace; color: #5c4dff; font-size: 11px; margin-bottom: 10px; letter-spacing: 1px; }
.event-item h4 { margin: 0 0 10px 0; font-size: 18px; }
.event-item p { margin: 0; font-size: 13px; color: #8a8a9d; line-height: 1.6; }
/* Live Portfolio Ticker */
.live-ticker-bar {
    width: 100%;
    background: #0a0a14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 999;
    margin-top: 115px; /* ИСПРАВЛЕНО: Сдвигаем ниже, чтобы выйти из-под шапки */
}
.live-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: liveticker 30s linear infinite;
}
.live-item {
    font-family: monospace;
    font-size: 13px;
    margin-right: 40px;
    color: #fff;
    font-weight: bold;
}
.live-item span:first-child { color: #8a8a9d; margin-right: 8px; }
.tick-val.pos { color: #27c93f; }
.tick-val.neg { color: #ff5f56; }
.tick-val.neutral { color: #a0a0b5; font-size: 11px; }
@keyframes liveticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ROI Calculator */
.roi-section { padding: 100px 5%; background: radial-gradient(circle at center, rgba(0, 229, 255, 0.03) 0%, transparent 60%); }
.roi-container { width: 100%; max-width: 800px; margin: 0 auto; }
.roi-body { padding: 40px; }
.slider-group { margin-bottom: 40px; }
.slider-labels { display: flex; justify-content: space-between; font-family: monospace; font-size: 14px; margin-bottom: 15px; color: #8a8a9d; }
.cyber-slider {
    -webkit-appearance: none;
    width: 100%; height: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none; border-radius: 2px;
}
.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: #00e5ff;
    cursor: pointer; border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
    transition: transform 0.1s;
}
.cyber-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.roi-results {
    display: flex; gap: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 30px; margin-bottom: 30px;
}
.result-box { flex: 1; background: rgba(0,0,0,0.4); padding: 25px; border: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.result-box.highlight-box { border-color: rgba(0, 229, 255, 0.3); background: rgba(0, 229, 255, 0.05); }
.result-box h4 { font-family: monospace; font-size: 12px; color: #8a8a9d; margin: 0 0 10px 0; }
.result-value { font-size: 32px; font-weight: bold; color: #fff; font-family: monospace; }
.roi-disclaimer { font-family: monospace; font-size: 11px; color: #5c4dff; margin: 0; text-align: center; }

/* FAQ Terminal */
.faq-section { padding: 100px 5%; }
.faq-terminal { width: 100%; max-width: 900px; margin: 0 auto; }
.faq-layout { display: flex; min-height: 300px; }
.faq-commands {
    flex: 1; border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.faq-cmd {
    background: transparent; border: none; color: #8a8a9d; font-family: monospace; font-size: 13px;
    text-align: left; padding: 15px; cursor: none; transition: all 0.2s;
    border-left: 2px solid transparent;
}
.faq-cmd:hover { color: #fff; background: rgba(255,255,255,0.05); }
.faq-cmd.active { color: #00e5ff; border-left: 2px solid #00e5ff; background: rgba(0, 229, 255, 0.05); }
.faq-output { flex: 1.5; padding: 40px; background: rgba(0, 0, 0, 0.6); }
.output-text { font-family: monospace; font-size: 15px; color: #a0a0b5; line-height: 1.8; margin: 0; }
/* Impact Section */
.impact-section {
    padding: 120px 5%;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.02) 0%, transparent 60%);
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    overflow: hidden; 
}
#impact-webgl-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.impact-container { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.massive-stat { font-family: monospace; font-size: 80px; color: #00e5ff; margin: 20px 0 15px 0; text-shadow: 0 0 30px rgba(0, 229, 255, 0.2); letter-spacing: -2px; }
.stat-divider { width: 60px; height: 3px; background: #5c4dff; margin: 0 auto 30px auto; box-shadow: 0 0 15px rgba(92, 77, 255, 0.5); }
.impact-text {
    font-size: 14px;
    color: #a0a0b5; 
    line-height: 1.8;
    margin-bottom: 60px;
    font-family: monospace;
    background: rgba(5, 5, 10, 0.7); 
    padding: 20px 30px;
    border: 1px dashed rgba(92, 77, 255, 0.4); 
    border-left: 3px solid #00e5ff; 
    backdrop-filter: blur(8px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); 
    max-width: 600px; 
}
.text-white { color: #fff; font-weight: bold; }
.impact-bottom-stats { display: flex; justify-content: space-between; width: 100%; border-top: 1px dashed rgba(255, 255, 255, 0.1); padding-top: 30px; gap: 15px; }
.micro-stat { font-family: monospace; font-size: 10px; color: #8a8a9d; text-transform: uppercase; letter-spacing: 1px; }
.micro-stat .highlight-cyan { font-size: 16px; margin-right: 5px; }

/* Modal (Всплывающее окно) */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 10, 0.85); backdrop-filter: blur(15px);
    z-index: 9999; display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-card {
    background: rgba(10, 10, 20, 0.8); border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 50px 40px; width: 90%; max-width: 450px; position: relative;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.1);
}
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #8a8a9d; cursor: pointer; transition: color 0.2s; }
.close-modal:hover { color: #00e5ff; }
.modal-title { text-align: center; font-size: 24px; margin: 0 0 30px 0; letter-spacing: 2px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-family: monospace; font-size: 11px; color: #5c4dff; margin-bottom: 8px; letter-spacing: 1px; }
.input-group input {
    width: 100%; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(0, 229, 255, 0.5); padding: 12px 15px; color: #fff;
    font-family: monospace; font-size: 14px; box-sizing: border-box; transition: all 0.3s ease; outline: none;
}
.input-group input:focus { border-bottom: 2px solid #00e5ff; background: rgba(0, 229, 255, 0.05); }
.btn-full { width: 100%; text-align: center; margin-top: 10px; box-sizing: border-box; cursor: pointer; }
.success-icon { font-size: 50px; color: #00e5ff; text-align: center; margin-bottom: 20px; text-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
.modal-desc { text-align: center; color: #a0a0b5; font-size: 14px; line-height: 1.6; }

/* Ticker Tape (Бегущая строка) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #00e5ff;
    padding: 10px 0;
    position: relative;
    z-index: 20;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.ticker-move {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}
.ticker-item {
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    color: #05050a;
    margin-right: 50px;
    letter-spacing: 2px;
}
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Footer (Подвал) */
.cyber-footer {
    background: #05050a;
    padding: 80px 5% 30px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}
.footer-left .logo {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}
.footer-desc {
    color: #8a8a9d;
    font-size: 14px;
    max-width: 300px;
    line-height: 1.6;
    margin: 0;
}
.footer-bottom {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}
.copyright {
    color: #8a8a9d;
    font-size: 13px;
}

/* Пульсирующий зеленый статус (MacOS style) */
.system-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: monospace;
    font-size: 14px;
    color: #00e5ff;
    letter-spacing: 2px;
}
.status-dot {
    width: 12px;
    height: 12px;
    background-color: #27c93f;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(39, 201, 63, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}
/* Simulator Section */
.simulator-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(5,5,10,0) 0%, rgba(0, 229, 255, 0.02) 100%);
}
.sim-card {
    max-width: 750px;
    margin: 0 auto;
    width: 100% !important;
}
.sim-screen {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sim-progress {
    font-family: monospace;
    font-size: 12px;
    color: #5c4dff;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.sim-pitch-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}
.sim-metrics-grid {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}
.sim-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}
.sim-actions button {
    flex: 1;
    padding: 12px;
    font-family: monospace;
    letter-spacing: 1px;
}
/* Магнитные кнопки (Hero) */
.hero .btn-primary, .hero .btn-secondary {
    transition: transform 0.3s ease, background-color 0.3s, box-shadow 0.3s;
    will-change: transform;
}
.hero .btn-primary.magnet-active, .hero .btn-secondary.magnet-active {
    transition: background-color 0.3s, box-shadow 0.3s;
}
/* --- Интерактивная строка CLI --- */
.cli-input-wrapper {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.cli-input-wrapper:focus-within {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.cli-prompt {
    color: #27c93f;
    font-family: monospace;
    font-size: 14px;
    white-space: nowrap;
}
.cli-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    width: 100%;
    outline: none;
}
.cli-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* --- Уведомления пайплайна (Toasts) --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Чтобы не мешали кликать по сайту */
}
.cyber-toast {
    background: rgba(5, 5, 10, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-left: 3px solid #00e5ff;
    padding: 12px 15px;
    font-family: monospace;
    font-size: 12px;
    color: #a0a0b5;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    /* Никакого opacity: 0; тут быть не должно */
    animation: slideInRight 0.5s ease forwards, fadeOut 0.5s ease 4.5s forwards;
    max-width: 320px;
}
.cyber-toast .highlight { color: #00e5ff; font-weight: bold; }

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
/* --- MEDIA QUERIES (Адаптивность) --- */
@media (max-width: 1024px) {
    .faq-layout { flex-direction: column; } и .roi-results { flex-direction: column; }
    .hero { flex-direction: column; padding-top: 120px; }
    .hero-left { padding-right: 0; margin-bottom: 50px; }
    #webgl-container { width: 100%; top: 0; left: 0; opacity: 0.3; pointer-events: none; }
    
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    
    .case-card { flex-direction: column; padding: 40px; gap: 40px; }
    .case-content-left { border-right: none; padding-right: 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.15); padding-bottom: 40px; }
    
    .coalition-layout { grid-template-columns: 1fr; gap: 40px; }
    
    .thesis-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .thesis-card:last-child { grid-column: span 2; width: calc(50% - 10px); margin: 0 auto; }
    
    .events-layout { grid-template-columns: 1fr; gap: 30px; }
    .event-tags { flex-wrap: wrap; }
    
    .impact-bottom-stats { flex-wrap: wrap; justify-content: center; gap: 30px; }
}

@media (max-width: 600px) {
    /* Подвал на мобильных */
    .footer-content { flex-direction: column; gap: 40px; text-align: center; }
    .footer-left .logo { margin-bottom: 10px; }
    header { padding: 15px; }
    nav { display: none; /* Прячем меню на мобильных для чистоты, либо нужно делать гамбургер */ }
    .hero-left h1 { font-size: 40px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .terminal-card { width: 100%; }
    
    .fund-numbers { padding: 50px 15px; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .number-card { padding: 20px 15px; }
    .number-card h3 { font-size: 24px; margin-bottom: 10px; }
    .number-card p { font-size: 9px; }

    .what-we-do, .portfolio-section { padding: 60px 15px; }
    .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    .service-card:last-child:nth-child(odd),
    .portfolio-card:last-child:nth-child(odd) {
        grid-column: span 2; width: calc(50% - 5px); margin: 0 auto;
    }

    .service-card { padding: 15px 12px; }
    .card-icon { font-size: 18px; margin-bottom: 10px; }
    .card-step { font-size: 8px; margin-bottom: 10px; }
    .service-card h3 { font-size: 13px; margin-bottom: 8px; }
    .service-card p { font-size: 9px; margin-bottom: 15px; }
    .card-tags { font-size: 8px; padding-top: 10px; }

    .portfolio-card { padding: 15px 12px; }
    .card-ticker { font-size: 13px; margin-bottom: 10px; }
    .portfolio-card h3 { font-size: 11px; margin-bottom: 10px; }
    .card-badge { font-size: 7px; padding: 3px 6px; margin-bottom: 10px; }
    .portfolio-card p { font-size: 9px; line-height: 1.4; }
    
    .case-study-section { padding: 60px 15px; }
    .case-card { padding: 25px; }
    .case-content-right { grid-template-columns: 1fr; gap: 25px; }
    .highlight-cyan { font-size: 28px; }
    .case-ticker { font-size: 24px; }
    
    .coalition-section { padding: 60px 15px; }
    .terms-card { padding: 25px; }
    .coalition-feature { padding: 15px; }
    
    .thesis-section { padding: 60px 15px; }
    .thesis-grid { grid-template-columns: 1fr; }
    .thesis-card:last-child { grid-column: span 1; width: 100%; }
    .thesis-card { padding: 30px 20px; }
    
    .events-section { padding: 60px 15px; }
    .event-featured { padding: 30px 20px; }
    .event-title { font-size: 24px; }
    .event-item { padding: 20px; }
    .event-btn { width: 100%; text-align: center; box-sizing: border-box; }
    
    .impact-section { padding: 80px 15px; }
    .massive-stat { font-size: 55px; }
    .impact-bottom-stats { flex-direction: column; align-items: center; gap: 20px; }
}