/* ==========================================================================
   ASPAT.PRO GLOBAL STYLESHEET (Refactored 2026-06-26)
   ========================================================================== */

/* /css/main.css */
@import url('shared_tokens.css');

body { 
    background: var(--bg); 
    color: var(--text);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.aspat-nav-bar {
    background: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid var(--border); /* Использовали новую переменную */
    backdrop-filter: blur(10px);
    width: 100%;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
    gap: 20px;
}

.nav-brand {
    justify-self: start;
    font-weight: 800; font-size: 16px; letter-spacing: 2px;
    color: var(--accent); text-transform: uppercase; text-decoration: none;
}

.nav-links {
    justify-self: center;
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 8px 16px; border-radius: 6px; background: rgba(255,255,255,0.03);
    color: var(--text-dim); text-decoration: none; font-size: 12px;
    font-weight: 600; text-transform: uppercase; transition: 0.2s;
}

.nav-btn.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: 6px 6px 0 0;
}

.nav-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.lang-selector-wrapper { justify-self: end; }

/* --- 3. DASHBOARD & CONTENT AREA --- */
.dashboard-container { 
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto; 
    padding: 20px 20px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.stage-card {
    background: var(--card); padding: 20px; border-radius: 16px;
    border: 1px solid var(--border); transition: 0.3s;
}

.stage-card:hover { border-color: var(--accent); transform: translateY(-5px); }

/* --- 4. AUTH & FORMS (Login/Reg/Profile) --- */
.aspat-input, .form-control {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    padding: 12px; color: var(--text); border-radius: 8px; box-sizing: border-box;
}

.aspat-input:focus, .form-control:focus { border-color: var(--accent); outline: none; }

.btn-main {
    width: 100%; padding: 15px; background: var(--accent); color: var(--bg);
    border: none; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.2s;
}

/* --- 5. MODALS --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(5px);
    display: none; justify-content: center; align-items: center; z-index: 5000;
}

.modal-content {
    background: var(--card); padding: 30px; border-radius: 20px;
    border: 1px solid var(--accent); width: 90%; max-width: 450px;
}

/* --- 6. FOOTER --- */
.aspat-footer {
    padding: 40px 0; 
    text-align: center; 
    color: var(--text-dim); /* Переведено на системный токен (было #475569) */
    font-size: 9px; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    margin-top: auto;
    line-height: 1.6;
}

/* --- СТИЛИЗАЦИЯ ЯЗЫКОВОГО СЕЛЕКТОРА --- */
.lang-selector-wrapper select {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-selector-wrapper select:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================================================
   PUBLIC LANDING BLOCKS: SMART LAYOUT SYSTEM
   ========================================================================== */

/* Базовый контейнер контентного блока: Две колонки по умолчанию */
.content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    padding: 80px 0; /* Ритм между блоками */
    width: 100%;
}

/* Распределение пространства между картинкой и текстом */
.content-block .block-visual,
.content-block .block-text {
    flex: 1 1 45%;
    min-width: 320px;
}

/* Шахматный порядок: Четные блоки меняют направление (Картинка слева, текст справа) */
.content-block:nth-child(even):not(.zone-epigraph) {
    flex-direction: row-reverse;
}

/* --- БЛОК 1: ЭПИГРАФ --- */
.content-block.zone-epigraph {
    display: block !important;
    padding: 10px 0 !important;
}
.main-epigraph {
    font-family: monospace; 
    font-size: 1.25rem; 
    color: #e2e8f0; 
    line-height: 1.7;
}

/* --- ТЕМНЫЕ И СВЕТЛЫЕ ЗОНЫ --- */
.zone-dark {
    color: var(--text);
}
.zone-dark h2 { color: #93c5fd; font-size: 2.5rem; margin-bottom: 25px; line-height: 1.2; }
.zone-dark strong { color: #ffffff; }

.zone-light {
    color: #0f172a;
    background-color: #f8fafc;
    /* Оптический трюк для растягивания фона за пределы ограничителя 1200px */
    box-shadow: 0 0 0 100vmax #f8fafc;
    clip-path: inset(0 -100vmax);
}
.zone-light h2 { color: #0f172a; font-size: 2.5rem; margin-bottom: 25px; line-height: 1.2; }
.zone-light strong { color: #0f172a; }

/* --- ЭЛЕМЕНТЫ ТЕКСТА (Вшитые в БД) --- */
.hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; opacity: 0.9; }
.hero-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.feature-group ul { list-style: none; padding-left: 0; margin-top: 10px; }
.feature-group ul li { position: relative; padding-left: 15px; margin-bottom: 8px; font-size: 0.95rem; }
.feature-group ul li::before { content: "-"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.zone-dark .feature-group ul li { color: #cbd5e1; }
.zone-light .feature-group ul li { color: #475569; }

.block-quote {
    font-style: italic; line-height: 1.6; font-size: 1.05rem;
    opacity: 0.85; margin-top: 30px;
}

/* --- КНОПКИ --- */
.btn-solid {
    background-color: var(--accent); color: #fff !important;
    padding: 14px 32px; border-radius: 6px; font-weight: 700; text-transform: uppercase;
    text-decoration: none; display: inline-block; transition: 0.3s;
    border: 2px solid var(--accent);
}
.btn-solid:hover { background-color: #0284c7; border-color: #0284c7; }

.btn-outline {
    background-color: transparent; color: var(--accent) !important;
    padding: 14px 32px; border-radius: 6px; font-weight: 700; text-transform: uppercase;
    text-decoration: none; display: inline-block; transition: 0.3s;
    border: 2px solid var(--accent);
}
.btn-outline:hover { background-color: rgba(56, 189, 248, 0.1); }


/* ==========================================================================
   ГЕНЕРАТИВНЫЙ ЦИКЛ (CROSSFADE ANIMATION)
   ========================================================================== */

/* Фиксируем пропорции контейнера для анимации */
.content-block .block-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Квадратная область, идеальна для диаграмм и матриц */
    border-radius: 12px;
    overflow: hidden;
    background: rgba(100, 116, 139, 0.05); /* Легкая подложка пока грузится графика */
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.05);
}

/* Стандартная картинка (если нет анимации) */
.content-block .block-visual > img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 1. Глобальные свойства слоя (базовая геометрия) */
.anim-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0;
}

/* 2. Контекстные настройки блоков */

/* Блок ANALYZER: Динамика (32 сек) */
#analyzer .anim-layer {
    animation: aspatCrossfade 32s infinite;
}
#analyzer .layer-0 { animation-delay: 0s; }
#analyzer .layer-1 { animation-delay: 8s; }
#analyzer .layer-2 { animation-delay: 16s; }
#analyzer .layer-3 { animation-delay: 24s; }

/* Блок MIRROR: Статика */
#mirror .anim-layer {
    animation: none;
    opacity: 1;
}

/* Блок TELEMETRY: Статика */
#telemetry .anim-layer {
    animation: none;
    opacity: 1;
}

/* Блок SOVEREIGNTY: Статика */
#sovereignty .anim-layer {
    animation: none;
    opacity: 1;
}

/* Блок EPIGRAPH: Статика (если в нем появится визуализация) */
#epigraph .anim-layer {
    animation: none;
    opacity: 1;
}

@keyframes aspatCrossfade {
    0%   { opacity: 0; transform: scale(1); }
    10%  { opacity: 1; }
    25%  { opacity: 1; }
    35%  { opacity: 0; transform: scale(1.05); } 
    100% { opacity: 0; }
}

/* Убираем внутренний отступ снизу у эпиграфа */
#epigraph.content-block {
    padding-bottom: 20px !important; /* Уменьшили 80px до 20px */
}

/* Если нужно сжать и следующий блок (analyzer), чтобы они «встретились» плотнее: */
#analyzer.content-block {
    padding-top: 20px !important; /* Уменьшили 80px до 20px */
}

/* --- ГЛОБАЛЬНЫЙ СТАТУС ГАМБУРГЕРА --- */
/* По умолчанию на десктопе кнопка скрыта */
.menu-toggle { 
    display: none !important; 
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (<= 768px) --- */
@media (max-width: 768px) {
    /* 1. Показываем кнопку только на мобильных */
    .menu-toggle { 
        display: block !important; 
        background: none; 
        border: none; 
        color: #fff; 
        font-size: 1.8rem; 
        padding: 10px;
        cursor: pointer;
    }
    
    /* 2. Скрываем десктопное меню, чтобы оно не мешало */
    .nav-links {
        display: none !important; 
        position: absolute;
        top: 60px; left: 0; width: 100%;
        background: #0f172a;
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        border-bottom: 2px solid #1e293b;
    }

    /* 3. Логика открытия меню */
    .nav-links.is-active {
        display: flex !important; 
    }

    /* 4. Стили ссылок для мобильного интерфейса */
    .nav-btn { 
        margin: 10px 0 !important; 
        text-align: center; 
        display: block !important;
    }
}

/* =========================================================
   ASPAT PUBLIC: Subscription Matrix (INVERTED LIGHT THEME)
   ========================================================= */
.subscriptions-matrix {
    padding: 80px 0;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    /* Инверсия фона: чистый белый с легким синеватым отливом */
    background: #f8fafc; 
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Базовый цвет текста для светлой карточки */
    color: #334155; 
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.active-tier {
    border: 2px solid var(--accent, #3b82f6);
    background: #ffffff; /* Чуть ярче для активного тарифа */
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.locked-tier {
    background: #f1f5f9; /* Слегка затемненный светлый для неактивных */
    opacity: 0.85; 
}

.card-header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px dashed #cbd5e1;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #0f172a; /* Очень темный заголовок */
    font-weight: 700;
}

.card-header .price {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.card-body {
    padding: 30px 20px;
    flex-grow: 1;
}

.tier-desc {
    font-size: 0.85rem;
    color: #475569;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Обновленная типографика списков для тарифов */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex; /* Flexbox для идеального выравнивания точки и текста */
    align-items: flex-start;
    gap: 12px; /* Комфортный отступ от точки до текста */
    color: #1e293b;
    line-height: 1.45; /* Увеличенный интерлиньяж для мобильных */
}

/* Скрываем старые иконки (галочки и плюсы) */
.feature-list i {
    display: none;
}

/* Рисуем минималистичные маркеры (точки) */
.feature-list li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent, #3b82f6); /* Системный синий цвет АСПАТ */
    border-radius: 50%;
    margin-top: 7px; /* Опускаем точку так, чтобы она стояла по центру первой строки текста */
    flex-shrink: 0; /* Жестко фиксируем размер точки, чтобы она не сплющивалась при переносе текста */
}

/* Выделение первой строки в платных тарифах (опционально для иерархии) */
.locked-tier .feature-list li:first-child::before {
    background-color: #64748b; /* Приглушенный цвет для "All Foundation features, plus:" */
}

.beta-tag {
    font-size: 0.7rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent, #3b82f6);
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    white-space: nowrap;
}

.card-footer {
    padding: 20px;
    text-align: center;
}

/* Переопределение кнопки для светлого фона */
.card-footer .btn-reg {
    background: var(--accent, #3b82f6);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.card-footer .btn-reg:hover {
    background: #2563eb;
}

.card-footer .btn-reg.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

/* =========================================================
   ASPAT PUBLIC: COMMUNICATION GATEWAY (Refactored Layout)
   ========================================================= */

/* --- 1. ТЕМНАЯ ИНФОРМАЦИОННАЯ ЗОНА --- */
.gateway-manifesto-zone {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    color: #e2e8f0;
}

.manifesto-content {
    max-width: 1000px;
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.6;
}

.manifesto-lead {
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
}

.manifesto-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.manifesto-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.manifesto-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dim, #94a3b8);
}

/* --- 2. ЗОНА СВЕТЛЫХ КАРТОЧЕК (ШЛЮЗЫ) --- */
.gateway-channels-zone {
    max-width: 750px;
    margin: 0 auto 60px auto;
    width: 100%;
    padding: 0 20px;
}

.channel-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Тень для выделения на темном фоне */
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #cbd5e1;
}

.channel-header h2 {
    margin: 0;
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
}

.channel-header i {
    font-size: 1.5rem;
}

/* Специфика иконок каналов */
.channel-text .channel-header i { color: #64748b; }
.channel-telegram .channel-header i { color: #10b981; }

/* --- 3. ЭЛЕМЕНТЫ ФОРМЫ --- */
.gateway-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    text-transform: uppercase;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* --- 4. КНОПКИ И БУФЕР ОБМЕНА --- */
.btn-submit {
    background: var(--accent, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #2563eb;
}

.channel-telegram .btn-submit {
    background: #10b981;
}

.channel-telegram .btn-submit:hover {
    background: #059669;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    background: #e2e8f0;
    color: #475569;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.copy-box {
    background: #ffffff;
    border: 2px dashed #3b82f6;
    padding: 20px;
    text-align: left;
    font-family: monospace;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 20px 0;
    border-radius: 6px;
    position: relative;
}

.copy-box .copy-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #3b82f6;
    font-size: 1.5rem;
    transition: 0.2s;
}

.copy-box .copy-icon:hover {
    color: #2563eb;
    transform: scale(1.1);
}

/* =========================================================
   ASPAT PUBLIC: EVOLUTION PAGE
   Архитектура, типографика и визуальные контейнеры
   ========================================================= */

/* --- 1. ЗАГОЛОВОЧНАЯ ЗОНА --- */
.evo-header-zone {
    text-align: center;
    padding: 60px 20px 20px 20px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 40px;
}
.evo-header-zone h1 {
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- 2. ГЛОБАЛЬНАЯ СЕТКА БЛОКОВ (Журнальное обтекание) --- */
.content-block.evo-block {
    display: flex !important;
    flex-direction: column !important; /* На мобильных оставляем картинку сверху */
    gap: 0;
    margin-bottom: 50px;
    clear: both !important; /* Изолируем блоки друг от друга */
}

@media (min-width: 768px) {
    /* ОТКЛЮЧАЕМ FLEXBOX: Переходим к блочной модели для обтекания текстом */
    .content-block.evo-block {
        display: block !important; 
        margin-bottom: 80px !important;
    }

    /* Нечетные (1, 3): Картинка прилипает к ПРАВОМУ краю, текст обтекает СЛЕВА */
    .content-block.evo-block:nth-of-type(odd) .block-visual.evo-visual {
        float: right !important;
        margin: 0 0 25px 50px !important; /* Отступы: снизу и слева (от текста) */
    }

    /* Четные (2): Картинка прилипает к ЛЕВОМУ краю, текст обтекает СПРАВА */
    .content-block.evo-block:nth-of-type(even) .block-visual.evo-visual {
        float: left !important;
        margin: 0 50px 25px 0 !important; /* Отступы: снизу и справа (от текста) */
    }
}

/* --- 3. ГРАФИЧЕСКИЙ КОНТЕЙНЕР И ТЕКСТ --- */
.evo-block .block-visual.evo-visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 280px; 
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 30px auto !important; /* Отступ снизу на мобильных */
}

@media (min-width: 768px) {
    .evo-block .block-visual.evo-visual {
        width: 320px !important;
        max-width: 320px !important;
        min-height: 320px !important; /* Квадрат */
        /* Отступы (margin) для десктопа уже заданы выше в правилах float */
    }
    
    /* Освобождаем текст от жестких рамок, позволяя ему обтекать картинку */
    .evo-block .block-text.evo-text {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }
}

/* --- 4. ФОРСИРОВАННЫЙ ВЫВОД КАРТИНКИ (ULTIMATE OVERRIDE) --- */
.evo-visual .anim-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 10 !important;
    
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* --- 5. ТЕКСТОВАЯ ЗОНА --- */
.evo-block .block-text.evo-text {
    flex: 1 1 auto;
    max-width: 100%;
}

/* --- 6. ТИПОГРАФИКА И ЭЛЕМЕНТЫ --- */
.academic-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: inherit;
}

.epigraph-compact {
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 15px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(59, 130, 246, 0.05);
    margin-bottom: 25px;
    opacity: 0.9;
}

/* --- 7. СЕТКА ПАРАМЕТРОВ (ACT / SOC) --- */
.evo-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.evo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
}
.zone-light .evo-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.evo-card h4 {
    margin-top: 0;
    color: var(--accent);
    font-family: monospace;
    font-size: 1.1rem;
}

/* --- 8. МЕХАНИКА СВЕРТКИ (СПОЙЛЕРЫ) --- */
.aspat-spoiler {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
}
.zone-light .aspat-spoiler {
    background: #f1f5f9;
}
.aspat-spoiler summary {
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    outline: none;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.aspat-spoiler summary::after {
    content: "[+]";
    font-family: monospace;
}
.aspat-spoiler[open] summary::after {
    content: "[-]";
}
.spoiler-content {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    opacity: 0.85;
    border-top: 1px dashed var(--border);
    margin-top: 10px;
    padding-top: 15px;
}

/* --- 9. СПИСКИ --- */
.evo-feature-list {
    list-style: none;
    padding-left: 0;
}
.evo-feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
}
.evo-feature-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 5px;
}

.kb-article {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #ddd;
}
.kb-article summary {
    cursor: pointer;
    font-weight: bold;
    outline: none;
}
.kb-body {
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}