/* Титан Дашборд v1.0 — премиальная цветовая схема: тёмно‑серый фон, фиолетовый подтон, нежно‑голубые акценты */

/* =========================================================
   ДАШБОРД (страницы /dashboard, /screener, /funding)
   Плоские цвета, тонкие рамки — без градиентов, теней и «стекла».
   Лендинг (.landing-page) ниже — отдельно, чтобы не смешивать палитры.
   ========================================================= */

/* --- Палитра дашборда --- */
body:not(.landing-page) {
    --dash-bg: #12121f;           /* основной фон страницы */
    --dash-surface: #1e1e2f;      /* карточки, шапки, чётные строки */
    --dash-stripe: #161624;      /* нечётные строки таблицы */
    --dash-hover: #2a2a40;       /* наведение / выделение */
    --dash-accent: #89bcf4;      /* рамки, иконки, акценты */
    --dash-accent-bright: #a6d8f9; /* рамка кнопок при hover */
    --dash-text: #ffffff;        /* основной текст */
    --dash-muted: #b0b0c0;       /* подписи */
    margin: 0;
    padding: 20px;
    background-color: var(--dash-bg);
    color: var(--dash-text);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.45;
    box-sizing: border-box;
}

body:not(.landing-page) *,
body:not(.landing-page) *::before,
body:not(.landing-page) *::after {
    box-sizing: border-box;
}

/* Заголовки — белые, жирные. Заголовок дашборда — голубой */
body:not(.landing-page) h1 {
    color: var(--dash-text);
    font-weight: 700;
    border-bottom: 1px solid var(--dash-accent);
    padding-bottom: 10px;
    margin: 0 0 16px;
}

body:not(.landing-page) h1.page-title {
    color: #a6d8f9;
}

/* Верхняя панель: навигация + мета — legacy (заменена на .dash-header) */
body:not(.landing-page) .top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

body:not(.landing-page) .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Кнопки навигации: фон поверхности, голубая рамка, белый текст */
body:not(.landing-page) .nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--dash-text);
    background: var(--dash-surface);
    border: 1px solid var(--dash-accent);
    font-size: 0.95em;
}

body:not(.landing-page) .nav a:hover {
    background: var(--dash-hover);
    border-color: var(--dash-accent-bright);
}

body:not(.landing-page) .nav a.active {
    background: var(--dash-hover);
    border-color: var(--dash-accent-bright);
    color: var(--dash-text);
    font-weight: 600;
}

body:not(.landing-page) .meta {
    color: var(--dash-muted);
    font-size: 0.9em;
    text-align: right;
}

body:not(.landing-page) .meta strong {
    color: var(--dash-accent);
}

/* =========================================================
   Шапка дашборда: Земля + бренд + мировые часы + свежесть
   ========================================================= */
body:not(.landing-page) .dash-header {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dash-accent);
    border-radius: 10px;
    margin: 0 0 18px;
    min-height: 148px;
    background: var(--dash-surface);
}

/* Картинка Земли (заглушка .earth-bg — подставь свой файл в static/img/earth.jpg) */
body:not(.landing-page) .earth-bg {
    position: absolute;
    inset: 0;
    background-image: url('/static/img/earth.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    filter: brightness(0.55) contrast(1.05);
    z-index: 0;
}

/* Затемняющая плашка поверх Земли */
body:not(.landing-page) .dash-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 18, 31, 0.88) 0%,
        rgba(30, 30, 47, 0.72) 45%,
        rgba(18, 18, 31, 0.55) 100%
    );
    z-index: 1;
}

body:not(.landing-page) .dash-header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px 24px;
    padding: 18px 20px;
}

body:not(.landing-page) a.dash-brand-name {
    text-decoration: none;
    color: #c5e8ff;
}

body:not(.landing-page) .dash-brand-name {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c5e8ff;
    line-height: 1;
    margin-bottom: 6px;
    display: inline-block;
    border-bottom: 2px solid rgba(137, 188, 244, 0.9);
    padding-bottom: 4px;
}

body:not(.landing-page) .dash-brand-desc {
    color: #a6d8f9;
    font-size: 0.98em;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: auto;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.45);
}

body:not(.landing-page) .dash-brand {
    display: flex;
    flex-direction: column;
}

body:not(.landing-page) .dash-nav {
    margin-top: 0;
    padding-top: 0;
}

body:not(.landing-page) .dash-nav a {
    color: #89bcf4;
    font-size: 1.15rem;
    padding: 12px 24px;
    box-shadow: 0 0 8px rgba(137, 188, 244, 0.4);
}

body:not(.landing-page) .dash-nav a:hover,
body:not(.landing-page) .dash-nav a.active {
    color: #c5e8ff;
    box-shadow: 0 0 12px rgba(166, 216, 249, 0.55);
}

body:not(.landing-page) .dash-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 200px;
}

/* Подпись пакета: чей терминал и на сколько человек */
body:not(.landing-page) .license-sign {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35em;
    max-width: 100%;
    text-align: right;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #c5e8ff;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.35);
}

body:not(.landing-page) .license-sign-seats {
    color: #89bcf4;
    font-weight: 500;
}

/* Мировые часы */
body:not(.landing-page) .world-clocks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    color: #89bcf4;
    font-size: 0.95em;
    line-height: 1.35;
    text-align: right;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(137, 188, 244, 0.4);
    background: rgba(18, 18, 31, 0.35);
    box-shadow: 0 0 12px rgba(137, 188, 244, 0.35);
}

body:not(.landing-page) .clock-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}

body:not(.landing-page) .clock-tz {
    opacity: 0.9;
    min-width: 11em;
    text-align: left;
    border-bottom: 1px solid rgba(137, 188, 244, 0.75);
    padding-bottom: 2px;
}

body:not(.landing-page) .clock-time {
    font-weight: 600;
    letter-spacing: 0.04em;
    min-width: 7.2em;
    text-align: right;
    border-bottom: 1px solid rgba(137, 188, 244, 0.75);
    padding-bottom: 2px;
}

/* Индикатор актуальности данных */
body:not(.landing-page) .freshness {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(137, 188, 244, 0.4);
    background: rgba(18, 18, 31, 0.4);
    box-shadow: 0 0 12px rgba(137, 188, 244, 0.35);
}

body:not(.landing-page) .freshness-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--dash-accent);
    background: rgba(30, 30, 47, 0.85);
    color: #c5e8ff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.45);
}

body:not(.landing-page) .freshness-timer-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

body:not(.landing-page) .freshness-timer {
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #9d4dff;
}

/* Только буквы «Обновлено» — сиреневые */
body:not(.landing-page) .freshness.fresh-ok .freshness-timer,
body:not(.landing-page) .freshness.fresh-warn .freshness-timer,
body:not(.landing-page) .freshness.fresh-stale .freshness-timer {
    color: #9d4dff;
}

/* Пульсирующая точка — тоже сиреневая */
body:not(.landing-page) .freshness-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    color: #9d4dff;
    box-shadow: 0 0 0 0 rgba(157, 77, 255, 0.55);
    animation: freshness-pulse 1.6s ease-out infinite;
}

body:not(.landing-page) .freshness.fresh-ok .freshness-pulse,
body:not(.landing-page) .freshness.fresh-warn .freshness-pulse,
body:not(.landing-page) .freshness.fresh-stale .freshness-pulse {
    color: #9d4dff;
    box-shadow: 0 0 0 0 rgba(157, 77, 255, 0.55);
    animation: freshness-pulse 1.6s ease-out infinite;
    opacity: 1;
}

@keyframes freshness-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(157, 77, 255, 0.55);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(157, 77, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(157, 77, 255, 0);
    }
}

@media (max-width: 800px) {
    body:not(.landing-page) .dash-header {
        min-height: 0;
    }

    body:not(.landing-page) .dash-header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    /* На мобильных Земля уходит под текст сильнее */
    body:not(.landing-page) .earth-bg {
        background-position: center 55%;
        filter: brightness(0.4);
    }

    body:not(.landing-page) .dash-header-overlay {
        background: rgba(18, 18, 31, 0.82);
    }

    body:not(.landing-page) .dash-header-right {
        align-items: stretch;
        min-width: 0;
    }

    body:not(.landing-page) .world-clocks {
        text-align: left;
        width: 100%;
    }

    body:not(.landing-page) .clock-row {
        justify-content: space-between;
    }

    body:not(.landing-page) .freshness {
        align-items: flex-start;
    }
}

/* =========================================================
   Футер: копирайт · автор · год и оферта (дашборд + лендинг)
   ========================================================= */
.app-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    margin-top: 24px;
    padding: 20px 22px;
    background: #12121f;
    border: 1px solid rgba(137, 188, 244, 0.45);
    border-radius: 8px;
    color: #89bcf4;
    font-size: 19px;
    line-height: 1.45;
    position: relative;
    z-index: 5;
}

.app-footer-left,
.app-footer-center,
.app-footer-right {
    min-width: 0;
}

.app-footer-center {
    text-align: center;
    flex: 1 1 auto;
}

.app-footer-right {
    text-align: right;
    max-width: 42%;
}

.app-footer-sep {
    margin: 0 4px;
    opacity: 0.7;
}

.app-footer-copy,
.app-footer-author,
.app-footer-legal,
.app-footer-year,
.app-footer-sep {
    color: #89bcf4;
    font-size: inherit;
}

.landing-page .landing-app-footer a,
.app-footer a {
    color: #c5e8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-body .legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 48px) 48px;
    color: #d7efff;
    line-height: 1.55;
}

.legal-body .legal-wrap h1,
.legal-body .legal-wrap h2 {
    color: #c5e8ff;
}

.legal-body .legal-wrap a {
    color: #8ecbff;
}

.legal-back {
    margin-bottom: 18px;
}

.legal-requisites {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid rgba(137, 188, 244, 0.35);
    border-radius: 10px;
}

.landing-page .landing-app-footer {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 22px clamp(16px, 4vw, 5cm);
    font-size: 20px;
}

@media (max-width: 800px) {
    .app-footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .app-footer-left,
    .app-footer-center,
    .app-footer-right {
        text-align: center;
        max-width: 100%;
    }
}

/* Карточки / панели */
body:not(.landing-page) .panel {
    background-color: var(--dash-surface);
    border: 1px solid var(--dash-accent);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

/* =========================================================
   Настроение рынка (быки / медведи / flat)
   ========================================================= */
body:not(.landing-page) .market-mood-title {
    margin: 0 0 14px;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dash-accent);
    border-bottom: none;
    padding-bottom: 0;
    text-align: center;
}

body:not(.landing-page) .mood-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

body:not(.landing-page) .mood-btn {
    flex: 1 1 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    user-select: none;
}

body:not(.landing-page) .mood-btn .mood-emoji {
    font-size: 1.35em;
    line-height: 1;
}

/* Яркие кнопки в рамках с лёгким свечением */
body:not(.landing-page) .mood-bull {
    --mood-glow: #3dff93;
    background: rgba(18, 150, 78, 0.72);
    border-color: #3dff93;
    color: #e7ffef;
    box-shadow:
        0 0 0 1px rgba(61, 255, 147, 0.35),
        0 0 14px rgba(46, 210, 110, 0.45);
}

body:not(.landing-page) .mood-bear {
    --mood-glow: #ff4d6d;
    background: rgba(150, 22, 52, 0.78);
    border-color: #ff4d6d;
    color: #ffe4ea;
    box-shadow:
        0 0 0 1px rgba(255, 77, 109, 0.4),
        0 0 14px rgba(176, 24, 56, 0.55);
}

body:not(.landing-page) .mood-flat {
    --mood-glow: #d08bff;
    background: rgba(124, 48, 210, 0.72);
    border-color: #d08bff;
    color: #f7e9ff;
    box-shadow:
        0 0 0 1px rgba(208, 139, 255, 0.4),
        0 0 14px rgba(150, 70, 240, 0.5);
}

/* Активная загорается и мигает своим цветом: быки = лонг, медведи = шорт, фиолетовая = флет */
body:not(.landing-page) .mood-btn.is-active {
    z-index: 1;
    animation: mood-ignite 1.15s ease-in-out infinite;
}

@keyframes mood-ignite {
    0%, 100% {
        filter: brightness(1);
        box-shadow:
            0 0 0 1px var(--mood-glow),
            0 0 10px color-mix(in srgb, var(--mood-glow) 55%, transparent);
    }
    50% {
        filter: brightness(1.28);
        box-shadow:
            0 0 0 2px var(--mood-glow),
            0 0 18px var(--mood-glow),
            0 0 32px color-mix(in srgb, var(--mood-glow) 70%, transparent);
    }
}

body:not(.landing-page) .mood-advice {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(137, 188, 244, 0.4);
    background: rgba(18, 18, 31, 0.65);
}

body:not(.landing-page) .mood-advice-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dash-accent);
    border: none;
    padding: 0;
}

body:not(.landing-page) .mood-ticker {
    overflow: hidden;
    width: 100%;
}

body:not(.landing-page) .mood-ticker-track {
    display: flex;
    width: max-content;
    animation: mood-ticker 22s linear infinite;
}

body:not(.landing-page) .mood-ticker-track span {
    color: var(--dash-accent);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(137, 188, 244, 0.55);
}

body:not(.landing-page) .mood-ticker-track > span::after {
    content: "•";
    padding: 0 2.2rem;
    color: var(--dash-accent);
}

body:not(.landing-page) .mood-hold {
    font-style: normal;
    color: #f4fbff;
    background: rgba(137, 188, 244, 0.2);
    text-shadow: 0 0 8px rgba(186, 224, 255, 0.65);
    box-shadow: 0 0 10px rgba(137, 188, 244, 0.4);
    border-radius: 0.35em;
    padding: 0 0.28em;
}

body:not(.landing-page) .mood-ticker:hover .mood-ticker-track {
    animation-play-state: paused;
}

@keyframes mood-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.landing-page) .mood-btn.is-active {
        animation: none;
        filter: brightness(1.25);
        box-shadow:
            0 0 0 2px var(--mood-glow),
            0 0 18px var(--mood-glow);
    }

    body:not(.landing-page) .mood-ticker-track {
        animation: none;
        width: auto;
        flex-wrap: wrap;
    }

    body:not(.landing-page) .mood-ticker-track span[aria-hidden="true"] {
        display: none;
    }

    body:not(.landing-page) .mood-ticker-track span {
        white-space: normal;
    }
}

@media (max-width: 800px) {
    body:not(.landing-page) .mood-buttons {
        flex-direction: column;
    }

    body:not(.landing-page) .mood-btn {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* Фильтры */
body:not(.landing-page) .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: end;
    justify-content: center;
}

body:not(.landing-page) .filters label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95em;
    font-weight: 600;
    color: #a6d8f9;
}

/* Поля ввода и select */
body:not(.landing-page) .filters select,
body:not(.landing-page) .filters input {
    background: var(--dash-bg);
    color: #89bcf4;
    border: 1px solid var(--dash-accent);
    border-radius: 4px;
    padding: 8px 10px;
    min-width: 140px;
    box-shadow: 0 0 8px rgba(137, 188, 244, 0.4);
}

body:not(.landing-page) .filters input::placeholder {
    color: #89bcf4;
    opacity: 0.85;
}

body:not(.landing-page) .filters select:focus,
body:not(.landing-page) .filters input:focus {
    outline: none;
    border-color: var(--dash-accent-bright);
    background: var(--dash-hover);
    color: #a6d8f9;
    box-shadow: 0 0 12px rgba(166, 216, 249, 0.5);
}

/* Счётчик строк в фильтрах (перебивает старые inline-цвета) */
body:not(.landing-page) .filters > div {
    color: #a6d8f9 !important;
    font-weight: 600;
}

body:not(.landing-page) .filters strong {
    color: #a6d8f9 !important;
}

/* Таблица: резиновая ширина + скролл только когда экран уже минимума */
body:not(.landing-page) .table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 8px;
}

/* Одна строка на всю таблицу: 100% на ноутбуке и 27", не уже 56rem — иначе скролл */
body:not(.landing-page) table {
    width: max(100%, 56rem);
    border-collapse: collapse;
    margin-top: 0;
    border: 1px solid var(--dash-accent);
    background: var(--dash-surface);
}

/* Заголовки переносятся по словам и не раздувают колонки */
body:not(.landing-page) th {
    background-color: var(--dash-surface);
    color: var(--dash-text);
    font-weight: 700;
    padding: 10px;
    text-align: left;
    font-size: 0.85em;
    line-height: 1.3;
    vertical-align: bottom;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    border-bottom: 1px solid var(--dash-accent);
}

body:not(.landing-page) td {
    padding: 10px;
    border-bottom: 1px solid var(--dash-accent);
    color: var(--dash-text);
    font-size: 0.92em;
}

/* Полосатость: нечётные / чётные */
body:not(.landing-page) tbody tr:nth-child(odd) td {
    background-color: var(--dash-stripe);
}

body:not(.landing-page) tbody tr:nth-child(even) td {
    background-color: var(--dash-surface);
}

/* Наведение на строку */
body:not(.landing-page) tbody tr:hover td {
    background-color: var(--dash-hover);
    border-bottom-color: var(--dash-accent);
}

/* Прибыль / убыток — белый акцент + лёгкая разница через насыщенность */
body:not(.landing-page) .spread-pos {
    color: var(--dash-accent);
    font-weight: 700;
}

body:not(.landing-page) .spread-neg {
    color: #f0a0a0;
    font-weight: 700;
}

body:not(.landing-page) .spread-with-liq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Индекс ликвидности — нежно‑голубые полоски */
body:not(.landing-page) .liq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    color: var(--dash-accent);
}

body:not(.landing-page) .liq i {
    display: block;
    width: 4px;
    border-radius: 1px;
    background: currentColor;
}

body:not(.landing-page) .liq i:nth-child(1) { height: 6px; }
body:not(.landing-page) .liq i:nth-child(2) { height: 10px; }
body:not(.landing-page) .liq i:nth-child(3) { height: 14px; }

body:not(.landing-page) .liq-1 { color: var(--dash-muted); }
body:not(.landing-page) .liq-2 { color: var(--dash-accent); }
body:not(.landing-page) .liq-3 { color: var(--dash-text); }

/* Тепловая карта бирж */
body:not(.landing-page) .exchange-heatmap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

body:not(.landing-page) .ex-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.78em;
    /* Лёгкая голубая подсветка брокеров */
    background: rgba(137, 188, 244, 0.12);
    border: 1px solid var(--dash-accent);
    color: var(--dash-text);
    box-shadow: 0 0 0 1px rgba(137, 188, 244, 0.08), 0 0 10px rgba(137, 188, 244, 0.18);
}

body:not(.landing-page) .ex-badge strong { font-weight: 600; }
body:not(.landing-page) .ex-badge em { font-style: normal; font-weight: 700; color: var(--dash-accent); }
body:not(.landing-page) .ex-badge small { color: var(--dash-muted); }

body:not(.landing-page) .ex-badge.ex-active {
    background: rgba(137, 188, 244, 0.22);
    border-color: var(--dash-accent-bright);
    box-shadow: 0 0 0 1px rgba(166, 216, 249, 0.15), 0 0 14px rgba(137, 188, 244, 0.32);
}

body:not(.landing-page) .ex-badge.ex-active em {
    color: var(--dash-accent-bright);
}

body:not(.landing-page) .ex-badge.ex-quiet {
    color: var(--dash-muted);
    background: rgba(137, 188, 244, 0.06);
    border-color: rgba(137, 188, 244, 0.45);
    box-shadow: 0 0 8px rgba(137, 188, 244, 0.1);
}

body:not(.landing-page) .ex-badge.ex-quiet em {
    color: var(--dash-muted);
}

body:not(.landing-page) .type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78em;
    background: var(--dash-bg);
    border: 1px solid var(--dash-accent);
    color: var(--dash-text);
}

body:not(.landing-page) .empty {
    text-align: center;
    color: var(--dash-muted);
    padding: 40px 10px;
}

body:not(.landing-page) .empty-note {
    color: #a6d8f9;
}

/* Мобильные: чуть больше отступов, чтобы не было тесно */
@media (max-width: 800px) {
    body:not(.landing-page) {
        padding: 16px 14px 28px;
    }

    body:not(.landing-page) .panel {
        padding: 18px 16px;
    }

    body:not(.landing-page) table { font-size: 0.85em; }
    body:not(.landing-page) th,
    body:not(.landing-page) td { padding: 10px 8px; }
    body:not(.landing-page) .meta { text-align: left; }
    body:not(.landing-page) .filters { gap: 12px; }
}

/* =========================================================
   ЛЕНДИНГ — классический одностраничник
   Первый экран = hero на весь viewport, дальше секции на всю ширину
   ========================================================= */

.landing-page {
    --bg: #0d1117;
    --bg-elevated: #161b22;
    --bg-card: #1a1a2e;
    --text: #ffffff;
    --muted: #b0b0c0;
    --accent: #00d68f;
    --accent-dim: rgba(0, 214, 143, 0.14);
    --blue: #89bcf4;
    --blue-bright: #a6d8f9;
    --lilac: #4e3d6e;
    --lilac-soft: #5f4d82;
    --lilac-bg: rgba(78, 61, 110, 0.32);
    --border: rgba(137, 188, 244, 0.35);
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    /* 16px — обычный размер браузера: читается и не требует отдалять страницу */
    font-size: 16px;
    line-height: 1.5;
    /* Мягкий snap по секциям — как у одностраничников */
    scroll-snap-type: y proximity;
    overflow-x: hidden;
}

.landing-page * {
    box-sizing: border-box;
}

.landing-root {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.landing-wrap {
    /* Блоки почти на всю ширину — отступ от краёв ~5 см */
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 48px);
    box-sizing: border-box;
}

/* --- Бегущая строка (лёгкая CSS‑анимация) --- */
.marquee {
    overflow: hidden;
    width: 100%;
    margin: 0 0 18px;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    align-items: center;
    animation: land-marquee 16s linear infinite;
    will-change: transform;
}

.marquee-track > * {
    flex-shrink: 0;
    white-space: nowrap;
}

.marquee-title {
    margin-top: 0;
    margin-bottom: 18px;
}

.marquee-title .marquee-track {
    animation-duration: 14s;
}

.marquee-lead .marquee-track {
    animation-duration: 24s;
}

.marquee-item {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.marquee-item .marquee-track {
    animation-duration: 14s;
    gap: 2.5rem;
}

.marquee-title-center {
    text-align: center;
}

@keyframes land-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Даже при «уменьшить движение» оставляем медленный бег заголовков */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation-duration: 40s !important;
    }
}

/* --- Hero: слева текст+кнопки, справа Земля + мировые часы --- */
.landing-hero {
    position: relative;
    min-height: 62vh;
    min-height: 62dvh;
    max-height: 760px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 40px 0;
    background-color: #12121f;
    background-image: none;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Лёгкий фон без полноэкранной Земли — планета справа в рамке */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 85% 45%, rgba(137, 188, 244, 0.08), transparent 60%),
        linear-gradient(180deg, #12121f 0%, #161624 50%, #12121f 100%);
    pointer-events: none;
    z-index: 0;
}

/* Переливание цветов (рамка «Связь») */
@keyframes brand-color-pulse {
    0%, 100% {
        color: #c5e8ff;
        text-shadow:
            0 0 8px rgba(197, 232, 255, 1),
            0 0 20px rgba(137, 188, 244, 0.9),
            0 0 36px rgba(137, 188, 244, 0.5);
    }
    50% {
        color: #8b7ab8;
        text-shadow:
            0 0 10px rgba(139, 122, 184, 0.95),
            0 0 22px rgba(78, 61, 110, 0.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-box,
    .tg-handle-glow,
    .hero-title-name,
    .landing-hero-inner { animation: none; }
}

/* Строгий шрифт для заголовков — без курсива */
.landing-hero h1,
.landing-section h2,
.marquee-title h2,
.landing-final h2,
.roi-value,
.step-card h3,
.buy-card h3,
.pain-card .pain-problem {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.landing-hero .landing-wrap {
    position: relative;
    z-index: 1;
    text-align: left;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(28px, 4vw, 5cm);
    padding-bottom: 0;
    transform: none;
}

/* Сетка шапки 2×2: текст|Земля ; кнопки|часы */
.landing-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr);
    grid-template-areas:
        "copy earth"
        "cta clocks";
    column-gap: clamp(24px, 3.5vw, 44px);
    row-gap: 14px;
    align-items: stretch;
    max-width: none;
    width: 100%;
    animation: hero-rise 0.7s ease-out both;
}

.hero-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    width: 100%;
    max-width: none;
    align-self: start;
}

.hero-copy .hero-title {
    margin-bottom: 22px;
}

.hero-eyebrow {
    margin: 6px 0 0;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.3;
}

/* Акцент: сканирование в реальном времени */
.hero-realtime {
    margin: 4px 0 0;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--blue);
}

/* Фото и часы — одна ширина, ровно друг под другом */
.hero-earth-frame,
.hero-world-clocks {
    margin-left: -20px;
    width: calc(100% + 20px);
    box-sizing: border-box;
}

.hero-earth-frame {
    grid-area: earth;
}

.landing-hero .landing-cta-row.hero-cta {
    grid-area: cta;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    align-self: center;
    justify-self: start;
    gap: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.landing-hero .hero-cta .landing-btn {
    flex: 0 0 auto;
    min-width: 0;
}

.landing-hero .hero-cta .landing-btn-telegram {
    /* ~5 см правее от кнопки «Демо» */
    margin-left: 5cm;
}

.hero-world-clocks {
    grid-area: clocks;
    align-self: center;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-hero h1.hero-title,
.landing-hero .hero-title {
    margin: 0;
    max-width: none;
    display: block;
    color: var(--blue);
    font-size: inherit;
    font-weight: 800;
    line-height: 1;
}

/* Текст под «Титан Трекер» — опускаем вниз (высокая специфичность) */
.landing-hero .hero-copy > .hero-title {
    margin: 0 0 2.5rem 0 !important;
}

.landing-hero .hero-copy > .hero-eyebrow {
    margin-top: 0.5rem !important;
}

.hero-title-name {
    display: inline-block;
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 0.95;
    text-transform: uppercase;
    transform: scaleX(1.04);
    transform-origin: left center;
    color: #c5e8ff;
    text-shadow:
        0 0 18px rgba(137, 188, 244, 0.45),
        0 0 40px rgba(137, 188, 244, 0.2);
    animation: brand-color-pulse 3.5s ease-in-out infinite;
    white-space: nowrap;
    /* Подчёркивание бренда */
    border-bottom: 3px solid rgba(137, 188, 244, 0.9);
    padding-bottom: 6px;
    box-shadow: 0 10px 18px -10px rgba(137, 188, 244, 0.55);
}

.hero-eyebrow {
    margin: 4px 0 0;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.3;
}

.hero-hook {
    margin: 4px 0 0;
    max-width: 36ch;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue);
}

.hero-lead {
    margin: 4px 0 0;
    max-width: 48ch;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue);
}

.landing-hero .hero-cta .landing-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 180px;
    max-width: 280px;
    padding: 20px 22px;
    font-size: clamp(1.15rem, 1.85vw, 1.5rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    overflow: hidden;
    /* Буквы — тот же голубой, что у текста шапки */
    color: #89bcf4 !important;
    text-shadow: 0 0 10px rgba(137, 188, 244, 0.45);
}

.landing-hero .hero-cta .landing-btn-telegram {
    flex: 0 0 auto;
    margin-left: 5cm;
    color: #89bcf4 !important;
}

.landing-hero .hero-cta .tg-icon {
    width: 1.35em;
    height: 1.35em;
    flex-shrink: 0;
    color: #89bcf4 !important;
    fill: currentColor;
}

/* Рамка с Землёй */
.hero-earth-frame {
    position: relative;
    /* Чуть выше — фото тянется кверху */
    aspect-ratio: 5 / 4;
    min-height: 320px;
    max-height: 480px;
    border-radius: 14px;
    border: 1px solid #89bcf4;
    overflow: hidden;
    background: #1e1e2f;
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.25),
        0 0 22px rgba(137, 188, 244, 0.28),
        0 10px 28px rgba(137, 188, 244, 0.18),
        0 18px 40px rgba(18, 18, 31, 0.55);
}

.hero-earth-bg {
    position: absolute;
    inset: 0;
    background-image: url('/static/img/earth.jpg');
    background-size: cover;
    background-position: 12% 18%;
    background-repeat: no-repeat;
    filter: brightness(0.72) contrast(1.05);
    z-index: 0;
}

.hero-earth-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 31, 0.08) 0%,
        rgba(18, 18, 31, 0.2) 70%,
        rgba(18, 18, 31, 0.35) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Плашка с временем — на одном уровне с кнопками */
.hero-world-clocks {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(137, 188, 244, 0.75);
    background: rgba(30, 30, 47, 0.95);
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    color: #89bcf4;
    font-size: 1.35rem;
    line-height: 1.35;
    box-sizing: border-box;
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 18px rgba(137, 188, 244, 0.35),
        0 0 36px rgba(137, 188, 244, 0.15),
        inset 0 0 12px rgba(137, 188, 244, 0.08);
}

.hero-clock-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    white-space: nowrap;
}

.hero-clock-tz {
    opacity: 0.95;
    min-width: 12em;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    /* Красивое подчёркивание названий рынков/городов */
    text-decoration: none;
    border-bottom: 2px solid rgba(137, 188, 244, 0.85);
    padding-bottom: 3px;
    box-shadow: 0 6px 12px -8px rgba(137, 188, 244, 0.55);
}

.hero-clock-time {
    font-weight: 800;
    letter-spacing: 0.08em;
    min-width: 6.5em;
    text-align: right;
    font-size: 1.55rem;
    /* Подчёркивание времени */
    border-bottom: 2px solid rgba(137, 188, 244, 0.85);
    padding-bottom: 3px;
    box-shadow: 0 6px 12px -8px rgba(137, 188, 244, 0.55);
}

.marquee-lead {
    margin: 0 auto 26px;
    max-width: 100%;
}

.marquee-lead .marquee-track span {
    color: var(--blue);
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
}

.landing-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.45rem;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* Базовый вид всех кнопок лендинга — как квадраты 1–2–3 + лёгкая голубая подсветка */
.landing-btn,
.landing-btn-demo,
.landing-btn-telegram {
    background: var(--lilac);
    color: var(--blue);
    border: 1px solid var(--blue);
    gap: 8px;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.75);
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 12px rgba(137, 188, 244, 0.28),
        0 0 22px rgba(137, 188, 244, 0.12);
}

.landing-btn:hover,
.landing-btn-demo:hover,
.landing-btn-telegram:hover {
    background: var(--lilac-soft);
    color: var(--blue-bright);
    border-color: var(--blue-bright);
    box-shadow:
        0 0 0 1px rgba(166, 216, 249, 0.35),
        0 0 16px rgba(137, 188, 244, 0.4),
        0 0 28px rgba(137, 188, 244, 0.18);
}

.landing-btn-sm {
    padding: 16px 22px;
    font-size: 1.35rem;
    margin-top: 14px;
}

.tg-icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    color: var(--blue);
}

.landing-btn-xl {
    padding: 24px 40px;
    font-size: 1.55rem;
}

/* --- Секции --- */
.landing-section {
    /* Заголовки ближе к верху секции */
    padding: 40px 0 64px;
    border-top: 1px solid var(--border);
    width: 100%;
    scroll-snap-align: start;
}

/* Первая секция после hero — ещё чуть выше */
.landing-hero + .landing-section {
    padding-top: 28px;
}

.landing-final {
    text-align: center;
    padding: 80px 0 88px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    width: 100%;
    scroll-snap-align: start;
}

.landing-footer {
    padding: 32px 0 44px;
    text-align: center;
    border-top: 1px solid var(--border);
    width: 100%;
}

.pain-card,
.step-card,
.buy-card,
.roi-card,
.includes-list li {
    width: 100%;
    min-width: 0;
}

.landing-section h2,
.marquee-title h2 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--blue);
    text-shadow: 0 0 12px rgba(137, 188, 244, 0.35);
}

.title-blue {
    margin: 0 0 36px;
    color: var(--blue);
}

.section-note {
    color: var(--blue);
    margin: -4px 0 32px;
    font-size: 2.05rem; /* ~33px */
}

/* Плашка «Один платёж» — как кнопки 1–2–3 */
.section-note-bright {
    display: inline-block;
    background: var(--lilac);
    color: var(--blue);
    border: 3px solid var(--blue);
    border-radius: 8px;
    padding: 12px 18px;
    margin: 0 0 32px;
    font-size: 2.05rem; /* ~33px */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.7);
    box-shadow: 0 0 10px rgba(78, 61, 110, 0.4);
}

/* --- Боль: карточки с голубой подсветкой --- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    width: 100%;
}

.pain-card {
    background: var(--lilac-bg);
    border: 3px solid var(--blue);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 0 14px rgba(185, 168, 230, 0.28);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pain-card:hover {
    border-color: var(--blue-bright);
}

.pain-card .pain-problem {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 2.15rem; /* ~34px */
    line-height: 1.35;
    color: var(--blue);
}

.pain-card .pain-solution {
    margin: 0;
    color: var(--blue);
    font-size: 2.05rem; /* ~33px */
    line-height: 1.5;
}

/* «Титан» в рамке — как квадраты 1–2–3 */
/* Подчёркивание ключевых фраз в блоках лендинга */
.landing-page .u-mark {
    display: inline;
    color: inherit;
    font: inherit;
    border-bottom: 2px solid rgba(137, 188, 244, 0.9);
    padding-bottom: 2px;
    box-shadow: 0 6px 10px -8px rgba(137, 188, 244, 0.5);
}

.titan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 10px;
    background: var(--lilac);
    color: var(--blue);
    border: 1px solid var(--blue);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 1.55rem; /* ~25px */
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.75);
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 12px rgba(137, 188, 244, 0.3);
}

.pain-card .pain-solution strong {
    color: var(--blue-bright);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.55);
}

/* --- Как это работает --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    width: 100%;
}

.step-card {
    background: var(--lilac-bg);
    border: 3px solid var(--blue);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 0 14px rgba(185, 168, 230, 0.28);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.step-card:hover {
    border-color: var(--blue-bright);
    box-shadow: 0 0 18px rgba(137, 188, 244, 0.35);
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--lilac);
    color: var(--blue);
    border: 1px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.75);
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 12px rgba(137, 188, 244, 0.3);
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 2.15rem; /* ~34px */
    color: var(--blue);
}

.step-card p {
    margin: 0;
    color: var(--blue);
    font-size: 2.05rem; /* ~33px */
    line-height: 1.5;
}

/* --- Что входит: голубой текст + нежная подсветка строк --- */
.includes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* Одна колонка на всю ширину — полосы от края до края */
    grid-template-columns: 1fr;
    gap: clamp(12px, 1.5vw, 18px);
    width: 100%;
}

.includes-list li {
    display: flex;
    gap: 14px;
    align-items: center;
    /* Как у карточек шагов 1–2–3: тёмный фон + голубая рамка */
    background: var(--lilac-bg);
    border: 3px solid var(--blue);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 0 14px rgba(137, 188, 244, 0.18);
    color: var(--blue);
    overflow: hidden;
}

.includes-list .check {
    color: var(--blue);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.9rem;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.7);
}

.includes-list .marquee-item .marquee-track span {
    color: var(--blue);
    font-size: 2.05rem; /* ~33px */
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.55);
}

/* --- Окупаемость --- */
.landing-roi {
    background: #161b22;
}

.landing-roi .roi-lead {
    margin: -4px 0 32px;
    color: var(--blue);
    font-size: clamp(2rem, 2.8vw, 2.25rem); /* ~32–36px */
    max-width: min(72rem, 100%);
    line-height: 1.55;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    width: 100%;
}

.roi-card {
    background: var(--lilac-bg);
    border: 3px solid var(--blue);
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 0 14px rgba(137, 188, 244, 0.18);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.roi-card:hover {
    border-color: var(--blue-bright);
    box-shadow: 0 0 18px rgba(137, 188, 244, 0.35);
}

.roi-value {
    margin: 0 0 12px;
    font-size: clamp(2.15rem, 4vw, 2.85rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1.15;
    text-shadow: 0 0 10px rgba(137, 188, 244, 0.6);
}

.roi-caption {
    margin: 0;
    font-size: 2rem; /* ~32px */
    color: var(--blue);
    line-height: 1.45;
}

.roi-disclaimer {
    margin: 28px auto 0;
    font-size: 2.05rem; /* ~33px */
    color: var(--blue);
    line-height: 1.55;
    max-width: min(72rem, 100%);
    text-align: center;
}

.roi-tg-note {
    margin: 18px auto 0;
    font-size: 2.15rem; /* ~34px */
    color: var(--blue);
    text-align: center;
}

.roi-tg-note a {
    color: var(--blue-bright);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.55);
}

.roi-tg-note a:hover {
    text-decoration: underline;
}

/* Фраза «не подписка» — в блоке «Как купить» */
.landing-buy .forever-note {
    margin: 0 0 28px;
    color: var(--blue);
    font-size: 2.25rem;
    line-height: 1.45;
}

/* --- Финальный CTA (блок убран, стили на случай остатков) --- */
.landing-final .forever-note {
    margin: 22px auto 20px;
    color: var(--blue);
    font-size: 2.25rem; /* ~36px */
    line-height: 1.45;
}

.landing-final .contact-line {
    margin: 0 auto;
    color: var(--blue);
    font-size: 1.55rem;
}

.contact-box {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    text-align: center;
    background: #161b22;
    border: 3px solid var(--blue);
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1.55rem;
    /* То же переливание цветов, что у Titan Tracker */
    color: #c5e8ff;
    font-weight: 700;
    animation: brand-color-pulse 3.5s ease-in-out infinite;
}

.landing-final .contact-box {
    margin-left: auto;
    margin-right: auto;
}

/* Ник Telegram — наследует переливание рамки */
.contact-box .tg-handle-glow {
    color: inherit !important;
    text-decoration: none;
    font-weight: 700;
    text-shadow: inherit;
    animation: none;
}

.tg-handle-glow {
    color: #c5e8ff;
    text-decoration: none;
    font-weight: 700;
    animation: brand-color-pulse 3.5s ease-in-out infinite;
}

.tg-handle-glow:hover {
    filter: brightness(1.1);
}

/* --- Как купить --- */
.landing-buy {
    background: #161b22;
    text-align: left;
}

.buy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    width: 100%;
}

.buy-card {
    background: var(--lilac-bg);
    border: 3px solid var(--blue);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 0 14px rgba(185, 168, 230, 0.28);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.buy-card:hover {
    border-color: var(--blue-bright);
    box-shadow: 0 0 18px rgba(137, 188, 244, 0.35);
}

.buy-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--lilac);
    color: var(--blue);
    border: 1px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(137, 188, 244, 0.75);
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 12px rgba(137, 188, 244, 0.3);
}

.buy-card h3 {
    margin: 0 0 10px;
    font-size: 2.15rem; /* ~34px */
    color: var(--blue);
}

.buy-card p {
    margin: 0;
    color: var(--blue);
    font-size: 2.05rem; /* ~33px */
    line-height: 1.5;
}

.buy-note {
    margin-top: 12px !important;
    color: var(--blue-bright) !important;
    font-weight: 600;
    font-size: 2rem !important; /* ~32px */
}

/* Толстая рамка + мягкая голубая подсветка */
.landing-page .pain-card,
.landing-page .step-card,
.landing-page .buy-card,
.landing-page .roi-card,
.landing-page .includes-list li,
.landing-page .section-note-bright,
.landing-page .contact-box {
    border: 3px solid var(--blue) !important;
    box-shadow:
        0 0 0 1px rgba(137, 188, 244, 0.2),
        0 0 12px rgba(137, 188, 244, 0.28),
        0 0 24px rgba(137, 188, 244, 0.14) !important;
}

.landing-page .pain-card:hover,
.landing-page .step-card:hover,
.landing-page .buy-card:hover,
.landing-page .roi-card:hover {
    border-color: var(--blue-bright) !important;
    box-shadow:
        0 0 0 1px rgba(166, 216, 249, 0.28),
        0 0 16px rgba(137, 188, 244, 0.35),
        0 0 28px rgba(137, 188, 244, 0.18) !important;
}

.buy-cta {
    margin-top: 28px;
    text-align: center;
}

/* Футер: крупнее, голубой */
.footer-brand {
    color: var(--blue);
    font-size: 2.15rem; /* ~34px */
    font-weight: 600;
}

@media (max-width: 1100px) {
    .landing-wrap,
    .landing-hero .landing-wrap {
        padding-left: clamp(20px, 4vw, 48px);
        padding-right: clamp(20px, 4vw, 48px);
    }
}

/* Адаптив */
@media (max-width: 800px) {
    .landing-page {
        scroll-snap-type: none;
    }

    .landing-wrap,
    .landing-hero .landing-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .landing-hero {
        min-height: 0;
        max-height: none;
        padding: 28px 0 32px;
    }

    .landing-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
    }

    .hero-copy,
    .hero-earth-frame,
    .landing-hero .landing-cta-row.hero-cta,
    .hero-world-clocks {
        grid-area: auto;
        margin-left: 0;
        width: 100%;
    }

    .landing-hero .landing-cta-row.hero-cta {
        max-width: none;
        flex-direction: column;
        flex-wrap: wrap;
        order: 4;
    }

    .hero-world-clocks {
        order: 3;
    }

    .hero-earth-frame {
        order: 2;
        max-height: none;
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .hero-copy {
        order: 1;
    }

    .landing-hero .hero-cta .landing-btn-telegram {
        margin-left: 0;
    }

    .hero-hook,
    .hero-lead {
        max-width: none;
    }

    .pain-grid,
    .steps-grid,
    .roi-grid,
    .buy-grid,
    .includes-list {
        grid-template-columns: 1fr;
    }

    .landing-cta-row {
        flex-direction: column;
    }

    .landing-btn {
        width: 100%;
    }

    .landing-hero h1 {
        max-width: none;
    }
}

/* Читаемый масштаб: обычные px/rem, без zoom — одинаково в Chrome, Firefox, Safari */
.hero-title-name {
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
}

.landing-hero .hero-copy > .hero-title {
    margin: 0 0 0.75rem 0 !important;
}

.hero-eyebrow,
.hero-hook,
.hero-lead {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
}

.hero-realtime {
    font-size: clamp(1rem, 1.05vw, 1.1rem);
}

.landing-hero .hero-cta .landing-btn,
.landing-btn {
    padding: 12px 18px;
    font-size: 1rem;
}

.landing-btn-sm {
    padding: 10px 16px;
    font-size: 0.95rem;
}

.landing-btn-xl {
    padding: 14px 22px;
    font-size: 1.05rem;
}

.landing-hero .landing-cta-row.hero-cta .landing-btn-telegram,
.landing-hero .hero-cta .landing-btn-telegram {
    margin-left: clamp(16px, 2.5vw, 40px);
}

.hero-world-clocks {
    font-size: 0.95rem;
    padding: 10px 14px;
    gap: 6px;
}

.hero-clock-tz,
.hero-clock-time {
    font-size: 1rem;
}

.landing-section h2,
.marquee-title h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.section-note,
.section-note-bright {
    font-size: 1.05rem;
}

.section-note-bright {
    padding: 8px 14px;
}

.pain-card .pain-problem,
.step-card h3,
.buy-card h3 {
    font-size: 1.15rem;
}

.pain-card .pain-solution,
.step-card p,
.buy-card p,
.roi-caption,
.roi-disclaimer,
.includes-list .marquee-item .marquee-track span,
.marquee-lead .marquee-track span {
    font-size: 1rem;
    line-height: 1.5;
}

.titan-badge {
    font-size: 0.85rem;
    padding: 3px 8px;
}

.step-icon,
.buy-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.landing-roi .roi-lead,
.roi-tg-note,
.buy-note,
.landing-buy .forever-note,
.landing-final .forever-note,
.footer-brand,
.contact-box,
.landing-final .contact-line,
.includes-list .check,
.landing-page .landing-app-footer {
    font-size: 1.05rem;
}

.buy-note {
    font-size: 1rem !important;
}

.roi-value {
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.pain-card,
.step-card,
.buy-card,
.roi-card {
    padding: 16px;
}

.landing-section {
    padding: 28px 0 36px;
}

.landing-final {
    padding: 40px 0 48px;
}

@media (min-width: 801px) {
    .landing-hero {
        min-height: 0;
        max-height: none;
        padding: 20px 0 8px;
        overflow: visible;
    }

    .hero-earth-frame {
        min-height: 0;
        max-height: 240px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 800px) {
    .landing-hero .hero-cta .landing-btn-telegram {
        margin-left: 0;
    }

    .hero-title-name {
        font-size: 1.65rem;
        white-space: normal;
    }

    .hero-earth-frame {
        max-height: none;
        min-height: 180px;
        aspect-ratio: 16 / 10;
    }
}
