/* GRWD 2026: FINAL PRODUCTION BUILD */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    --bg-core: #050505;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.2);
    --text-main: #EDEDED;
    --text-muted: #888888;
    --accent-blue: #3291FF;
    --accent-cyan: #00F0FF;
    --alert-red: #FF3366;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-core);
    background-image: 
        radial-gradient(circle at 50% 0%, #111 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILS --- */
.wrapper { padding: 120px 20px; display: flex; justify-content: center; position: relative; }
.inner { width: 100%; max-width: 1000px; position: relative; z-index: 2; }
.fullscreen { min-height: 90vh; display: flex; align-items: center; }

/* --- SIDEBAR --- */
#sidebar {
    position: fixed;
    top: 0; left: 0; width: 260px; height: 100vh;
    background: #030303; /* Deep solid black */
    border-right: 1px solid var(--border-light);
    padding: 50px 30px;
    z-index: 1000;
    display: flex; flex-direction: column; justify-content: flex-start;
}

.sidebar-header {
    text-align: left;
    margin-bottom: 40px;
}

.logo-image {
    width: 60px; /* Чуть уменьшили, чтобы гармонировало с текстом */
    height: auto;
    display: block;
}

.brand-logo {
    display: block !important; /* Возвращаем видимость */
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-top: 15px; /* Отступ от картинки */
}

.brand-sub {
    display: block !important; /* Возвращаем видимость */
    font-size: 10px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 5px;
    opacity: 0.8;
}

#sidebar nav a {
    color: #666; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
    display: block; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
}
#sidebar nav a:hover, #sidebar nav a.active {
    color: #fff; padding-left: 10px; text-shadow: 0 0 10px rgba(255,255,255,0.3); opacity: 1;
}

#wrapper, #footer { margin-left: 260px; }

/* --- HERO SECTION --- */
#intro { position: relative; overflow: hidden; }
/* Spotlight effect */
#intro::before {
    content: ''; position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}

.hero-title {
    font-family: var(--font-head); font-size: 72px; line-height: 1.05;
    font-weight: 700; margin-bottom: 24px; letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 20%, #888 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 20px; color: #999; max-width: 580px; margin-bottom: 40px; font-weight: 300; }

/* --- BUTTONS (FIXED & POLISHED) --- */
.button.primary {
    display: inline-flex; /* Fix alignment */
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Modern subtle roundness */
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 14px;
    font-weight: 700; /* Bold for visibility */
    padding: 18px 36px; /* Clickable area */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    text-decoration: none;
}

.button.primary:hover {
    background: var(--accent-cyan);
    color: #050505;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    transform: translateY(-3px);
}

.button.primary:active {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* --- METRICS BAR --- */
.metrics-bar {
    border-bottom: 1px solid var(--border-light);
    background: rgba(255,255,255,0.01);
    padding: 30px 0;
    margin-left: 260px; /* Aligned with wrapper */
}
.metrics-grid {
    display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px;
    max-width: 1000px; margin: 0 auto; padding: 0 20px;
}
.metric-item { text-align: center; }
.metric-val {
    display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700;
    color: #fff; letter-spacing: -0.02em;
}
.metric-lbl {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}

/* --- ALERT BOX --- */
.wrapper.style-alert {
    padding: 60px 20px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 51, 102, 0.02);
}
.alert-box {
    background: rgba(255, 51, 102, 0.03);
    border: 1px solid rgba(255, 51, 102, 0.15);
    border-left: 4px solid var(--alert-red);
    padding: 40px; border-radius: 8px;
}
.alert-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.alert-icon { color: var(--alert-red); font-size: 18px; }
.alert-title { color: var(--alert-red); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.alert-box h3 { font-size: 28px; color: #fff; margin-bottom: 15px; font-family: var(--font-head); font-weight: 600; }
.alert-box p { color: #aaa; max-width: 700px; font-size: 17px; }

/* --- THE FILTER (FIT) SECTION --- */
.wrapper.style-fit {
    padding: 100px 20px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(255,255,255,0.01) 100%);
}
.fit-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.fit-desc {
    font-size: 18px; color: var(--text-muted); max-width: 450px; margin-top: 20px;
    line-height: 1.6; border-left: 2px solid var(--accent-blue); padding-left: 20px;
}
.fit-checklist { display: flex; flex-direction: column; gap: 20px; }
.check-item {
    display: flex; align-items: flex-start; gap: 20px; padding: 20px;
    background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 8px; transition: 0.3s;
}
.check-item:hover { border-color: var(--accent-cyan); transform: translateX(5px); }
.check-icon {
    font-size: 18px; color: var(--accent-cyan); margin-top: 4px;
    background: rgba(0, 240, 255, 0.1); padding: 10px; border-radius: 6px;
}
.check-text strong { display: block; color: #fff; font-family: var(--font-head); font-size: 16px; margin-bottom: 5px; }
.check-text p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* --- BENTO GRID --- */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px;
}
.bento-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 36px; border-radius: 12px;
    transition: all 0.3s ease;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 320px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.bento-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    transform: translateY(-5px) scale(1.01);
}
.card-icon { font-size: 32px; margin-bottom: 25px; filter: drop-shadow(0 0 8px rgba(0,240,255,0.3)); }
.card-icon.blue { color: var(--accent-blue); }
.card-icon.pink { color: var(--alert-red); }
.card-icon { color: var(--accent-cyan); }

.tag {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent-cyan); background: rgba(0, 240, 255, 0.05); border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 4px 10px; border-radius: 100px; display: inline-block; margin-bottom: 15px; font-weight: 600;
}
.bento-card h3 { font-size: 22px; color: #fff; margin-bottom: 12px; font-family: var(--font-head); }
.bento-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- TIMELINE --- */
.timeline { margin-top: 60px; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 23px; top: 20px; bottom: 20px;
    width: 2px; background: rgba(255,255,255,0.1);
}
.timeline-item { position: relative; padding-left: 80px; margin-bottom: 60px; }
.timeline-number {
    position: absolute; left: 0; top: 0;
    width: 48px; height: 48px;
    background: #000; border: 2px solid var(--accent-cyan);
    border-radius: 50%; color: var(--accent-cyan);
    text-align: center; line-height: 44px; font-size: 14px; font-weight: 600; font-family: var(--font-head);
    z-index: 2; box-shadow: 0 0 15px rgba(0,240,255,0.2);
}
.timeline-content h3 { font-size: 24px; color: #fff; margin-bottom: 10px; }
.timeline-content p { font-size: 16px; color: var(--text-muted); max-width: 600px; }

/* --- FOUNDER --- */
.founder-profile {
    display: flex; align-items: flex-start; gap: 40px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid var(--border-light);
    padding: 50px; border-radius: 16px;
}
.founder-info h2 { font-size: 36px; color: #fff; margin-bottom: 5px; }
.founder-role { color: var(--accent-blue); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; display: block; }
.badges { display: flex; gap: 12px; margin-top: 24px; }
.badge {
    font-size: 12px; background: rgba(255,255,255,0.05); color: #fff;
    padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05);
}
.founder-link { margin-top: 25px; display: inline-block; color: #fff; border-bottom: 1px solid #666; font-size: 14px; padding-bottom: 2px;}
.founder-link:hover { border-color: #fff; }

/* --- FOOTER CTA --- */
#cta {
    text-align: center; padding: 140px 0; border-top: 1px solid var(--border-light);
    background: #080808; position: relative;
    display: flex; justify-content: center; /* Horiz Center */
}
#cta::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}
#cta .inner {
    display: flex; flex-direction: column; align-items: center; width: 100%;
}
#cta h2 { font-size: 36px; margin-bottom: 40px; font-family: 'Inter', sans-serif; font-weight: 300; }

#footer { text-align: center; padding: 40px; color: #444; font-size: 12px; border-top: 1px solid var(--border-light); }

/* --- MOBILE --- */
@media screen and (max-width: 900px) {
    #sidebar { display: none; }
    #wrapper, #footer, .metrics-bar { margin-left: 0; }
    .hero-title { font-size: 42px; }
    .bento-grid { grid-template-columns: 1fr; }
    .founder-profile { flex-direction: column; padding: 30px; }
    .wrapper { padding: 80px 20px; }
    .timeline::before { left: 16px; }
    .timeline-number { width: 32px; height: 32px; line-height: 28px; left: 0; }
    .timeline-item { padding-left: 50px; }
    .metrics-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .fit-container { grid-template-columns: 1fr; gap: 40px; }
    .fit-desc { border-left: none; padding-left: 0; }
}

/* --- UPDATES JAN 2026 (CONTENT EXPANSION) --- */

/* 1. Hero Filter Styling */
.icp-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}
.icp-label {
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 0.1em;
}
.icp-tag {
    font-size: 13px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.icp-tag i { color: var(--accent-cyan); font-size: 10px; }

/* 2. Problem Grid (Diagnostics) */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 51, 102, 0.2);
    padding-top: 30px;
}
.pain-item strong { color: #fff; display: block; margin-bottom: 10px; font-family: var(--font-head); }
.pain-item p { font-size: 14px; margin: 0; color: #aaa; }

/* 3. Services Lists */
.card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.card-desc { font-style: italic; color: #fff; opacity: 0.7; margin-bottom: 20px !important; font-size: 15px !important; }
.card-list { padding: 0; margin: 0; list-style: none; }
.card-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.card-list li i { color: var(--accent-cyan); margin-top: 3px; font-size: 10px; }

/* 4. Founder Track Record */
.track-record { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.tr-item {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-left: 2px solid var(--accent-blue);
}
.tr-item strong { display: block; color: #fff; font-size: 14px; margin-bottom: 5px; }
.tr-item span { font-size: 13px; color: #999; }

/* 5. New CTA Box Design */
.cta-box {
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0));
    padding: 60px;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}
/* Glitch/Tech Line */
.cta-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}
#cta p { margin-bottom: 40px; color: #888; }

/* 6. Legal Footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 11px;
    color: #555;
    text-align: left;
}
.legal-info { text-align: right; line-height: 1.4; }

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .legal-info { text-align: center; }
    .cta-box { padding: 30px; }
    .icp-filter { justify-content: flex-start; }
}


/* --- TEAM LEADS IN CARDS --- */
.card-lead {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.lead-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.lead-name {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-head);
    transition: color 0.3s;
}

/* Эффект при наведении на карточку: имя подсвечивается */
.bento-card:hover .lead-name {
    color: var(--accent-cyan);
}

/* --- SCALING UPDATE (BIGGER & BOLDER) --- */

/* 1. Global Scale */
body {
    font-size: 18px; /* Было 16px, делаем крупнее базу */
}

/* 2. Hero Booster */
.hero-title {
    font-size: 80px; /* Было 72px */
}
.hero-sub {
    font-size: 24px; /* Было 20px - теперь это читается как стейтмент */
    max-width: 700px;
    color: #bbb; /* Чуть светлее для контраста */
}

/* 3. Filter Tags (Expertise) */
.icp-tag {
    font-size: 14px; /* Было 12px */
    padding: 10px 16px; /* Больше кликабельная область */
    font-weight: 500;
}

/* 4. Modules (Cards) */
.bento-card {
    padding: 40px; /* Больше воздуха внутри */
}
.bento-card h3 {
    font-size: 26px; /* Заголовки услуг крупнее */
}
.card-desc {
    font-size: 17px !important; /* Описание крупнее */
    line-height: 1.5;
    margin-bottom: 25px !important;
}
.card-list li {
    font-size: 15px; /* Список читабельнее */
    margin-bottom: 14px;
}
.tag {
    font-size: 11px;
    padding: 6px 12px;
}

/* 5. Team Leads */
.lead-label {
    font-size: 11px;
    margin-bottom: 6px;
}
.lead-name {
    font-size: 16px; /* Имя лида крупнее */
}

/* 6. Protocol (Timeline) */
.timeline-content h3 {
    font-size: 26px;
}
.timeline-content p {
    font-size: 18px; /* Основной текст этапов */
    color: #aaa;
}

/* 7. Founder Track Record (Fixing the mess) */
.tr-item {
    padding: 20px; /* Больше отступы */
    margin-bottom: 10px;
}
.tr-item strong {
    font-size: 16px;
    color: var(--accent-cyan); /* Выделяем название цветом */
    margin-bottom: 8px;
}
.tr-item span {
    font-size: 15px;
    line-height: 1.5;
    color: #ccc;
    display: block; /* Гарантирует перенос строки */
}

/* 8. Footer Legal */
.footer-content {
    font-size: 13px; /* Юридический текст тоже должен читаться */
    color: #666;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .hero-title { font-size: 48px; }
    .hero-sub { font-size: 20px; }
    body { font-size: 16px; }
}

/* --- SECTION HEADERS SCALE UP --- */

/* 1. Main Section Titles (Modules, Protocol, Founder) */
.inner h2 {
    font-size: 52px !important; /* Значительное увеличение */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em; /* Плотный кернинг для стиля */
    background: linear-gradient(180deg, #FFFFFF 0%, #AAA 100%); /* Градиент как в Hero */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. Sub-text under headers (Intro paragraphs) */
.inner > p {
    font-size: 20px !important;
    color: #888;
    max-width: 600px;
    line-height: 1.6;
}

/* 3. CTA Heading (Ready to stop guessing?) */
#cta h2 {
    font-size: 64px !important; /* Финальный призыв должен быть огромным */
    margin-bottom: 30px;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .inner h2 { font-size: 36px !important; }
    #cta h2 { font-size: 42px !important; }
}

/* --- INTERACTION PACK 2026 --- */

/* 1. Global Spotlight Logic (PINK VERSION) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Используем RGB вашего розового #DB53AA -> 219, 83, 170 */
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(219, 83, 170, 0.08), 
        transparent 40%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
body:hover::before { opacity: 1; }

/* 2. Expertise Tags Hover */
.icp-tag {
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.icp-tag:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* 3. Timeline Scroll Activation */
.timeline-item {
    transition: all 0.5s ease;
    opacity: 0.3; /* По умолчанию полупрозрачные */
    transform: translateX(-20px); /* Слегка сдвинуты */
}
.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}
/* Когда активен, кружок горит цианом */
.timeline-item.active .timeline-number {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px var(--accent-cyan);
    border-color: var(--accent-cyan);
}
/* Линия тоже подсвечивается */
.timeline-item.active::before { 
    background: var(--accent-cyan); 
}

/* 4. Sidebar Menu Hover */
#sidebar nav a {
    position: relative;
    overflow: hidden;
}
/* Эффект заполнения слева направо */
#sidebar nav a::before {
    content: '';
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-cyan);
    transition: 0.3s;
}
#sidebar nav a:hover::before, 
#sidebar nav a.active::before {
    left: 0;
}
#sidebar nav a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0,240,255,0.6);
}

/* 5. Logo Glow */
.logo-image { transition: 0.3s; }
.logo-image:hover {
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
    transform: scale(1.05);
}

/* 6. Card Hover (Advanced) */
.bento-card {
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.bento-card:hover {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}


/* --- FOOTER LINKS --- */
.copyright-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.footer-links {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--accent-cyan);
}
.separator {
    color: #444;
    margin: 0 5px;
}

@media screen and (max-width: 900px) {
    .copyright-block { text-align: center; }
}

/* --- MOBILE HEADER & MENU SYSTEM --- */

/* 1. По умолчанию скрываем мобильную шапку на ПК */
#mobile-header {
    display: none;
}

/* 2. Стили только для мобильных (меньше 900px) */
@media screen and (max-width: 900px) {
    
    /* Показываем шапку */
    #mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 60px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 2000; /* Очень высокий слой, поверх всего */
        padding: 0 20px;
    }

    /* Брендинг в шапке */
    .mh-brand { display: flex; align-items: center; gap: 10px; }
    .mh-brand img { height: 24px; width: auto; }
    .mh-brand span { font-family: 'Outfit', sans-serif; font-weight: 800; color: #fff; letter-spacing: 0.1em; font-size: 16px; }

    /* Кнопка меню */
    #mobile-menu-btn {
        background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer;
    }

    /* 3. Изменяем поведение САЙДБАРА на мобильных */
    #sidebar {
        display: flex !important; /* Принудительно включаем (раньше было none) */
        transform: translateX(-100%); /* Прячем за левый край экрана */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000; /* Поверх даже мобильной шапки */
        width: 80%; /* Занимает 80% экрана */
        max-width: 300px;
        box-shadow: 10px 0 50px rgba(0,0,0,0.8);
        background: #080808; /* Плотный фон */
    }

    /* Класс, который JS добавит при клике */
    #sidebar.active {
        transform: translateX(0); /* Выезжает на экран */
    }

    /* 4. Сдвигаем контент вниз, чтобы не прятался под шапкой */
    #wrapper {
        padding-top: 60px !important; 
        margin-left: 0 !important;
    }
    
    /* Фикс для Квиза */
    .quiz-container {
        margin-top: 20px;
    }
}

/* --- NEON PULSE ANIMATION (CRO BOOSTER) --- */
@keyframes signalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

.button.primary {
    /* Интегрируем анимацию в основной класс кнопки */
    animation: signalPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    position: relative;
    z-index: 10;
}

/* При наведении: замораживаем пульс и включаем "форсаж" (жесткое свечение) */
.button.primary:hover {
    animation: none;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), inset 0 0 10px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(0, 240, 255, 1);
}

/* --- LOGO LINK STYLES --- */
a.logo-link,
a.mh-brand {
    text-decoration: none;
    border: none;
    display: block; /* Занимает всю ширину контейнера */
    cursor: pointer;
    color: inherit; /* Наследуем белый цвет */
    transition: opacity 0.3s;
}

a.logo-link:hover,
a.mh-brand:hover {
    border-bottom: none; /* Убираем стандартное подчеркивание темы */
    opacity: 0.8;
}

/* Фикс для мобильной версии, чтобы элементы стояли в ряд */
a.mh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
