/* Стили SEO-лендингов.
 *
 * Намеренно НЕ Tailwind. Страницы генерируются скриптом вне сборки Vite,
 * а Tailwind вычищает классы, которых не нашёл в исходниках, — вёрстка
 * разъезжалась бы молча и только на проде. Здесь один самодостаточный
 * файл: ничего не purge-ится, страница рендерится без единого килобайта
 * JS. Палитра совпадает с приложением (#08080c / indigo-500).
 */

:root {
    --bg: #08080c;
    --panel: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --dim: #64748b;
    --brand: #6366f1;
    --brand-bright: #818cf8;
    --accent: #d946ef;
    --ok: #34d399;
    --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-bright); text-decoration: none; }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- ШАПКА */

.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8, 8, 12, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav .wrap {
    height: 64px; display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
}
.logo {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 900; font-size: 18px; color: #fff; letter-spacing: -0.02em;
}
.logo svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--muted); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 11px;
    font-weight: 800; font-size: 15px; line-height: 1;
    border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -12px rgba(99, 102, 241, .8); }
.btn-primary:hover { background: #4f46e5; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .15); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }

/* ----------------------------------------------------------------- ГЕРОЙ */

.hero { position: relative; padding: 76px 0 56px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -30% 0 auto 50%;
    width: 900px; height: 520px; transform: translateX(-50%);
    background: rgba(99, 102, 241, .18);
    border-radius: 100%; filter: blur(120px); z-index: -1;
}
.eyebrow {
    display: inline-block; margin: 0 0 18px;
    font-size: 12px; font-weight: 900; letter-spacing: .22em;
    text-transform: uppercase; color: var(--brand-bright);
}
h1 {
    margin: 0 0 20px; font-size: clamp(32px, 5.2vw, 56px);
    line-height: 1.08; letter-spacing: -0.03em; font-weight: 900; color: #fff;
}
.lede { margin: 0 0 28px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin: 14px 0 0; font-size: 13px; color: var(--dim); }

.checks { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 10px;
          grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 900; line-height: 1.5; }

/* --------------------------------------------------------------- СЕКЦИИ */

section { padding: 52px 0; border-top: 1px solid var(--border); }
h2 { margin: 0 0 16px; font-size: clamp(24px, 3.2vw, 33px); line-height: 1.2;
     letter-spacing: -0.02em; font-weight: 900; color: #fff; }
h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
p { margin: 0 0 16px; color: var(--muted); max-width: 780px; }
strong { color: var(--text); font-weight: 700; }

.bullets { margin: 0 0 16px; padding-left: 22px; color: var(--muted); max-width: 780px; }
.bullets li { margin-bottom: 8px; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0;
         display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: s; position: relative;
            border: 1px solid var(--border); background: var(--panel);
            border-radius: 15px; padding: 18px 18px 18px 20px; color: var(--muted); font-size: 15px; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 8px;
                    font-size: 12px; font-weight: 900; color: var(--brand-bright); letter-spacing: .1em; }
.steps b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ FAQ */

details {
    border: 1px solid var(--border); background: var(--panel);
    border-radius: 15px; margin-bottom: 10px; overflow: hidden;
}
summary {
    cursor: pointer; padding: 16px 20px; font-weight: 800; color: #fff;
    font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand-bright); font-weight: 900; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 18px; margin: 0; }

/* -------------------------------------------------------------- ССЫЛКИ */

.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
    display: block; border: 1px solid var(--border); background: var(--panel);
    border-radius: 15px; padding: 18px; transition: border-color .15s ease;
}
.card:hover { border-color: rgba(99, 102, 241, .45); }
.card b { display: block; color: #fff; font-size: 15px; margin-bottom: 5px; font-weight: 800; }
.card span { color: var(--muted); font-size: 14px; }
.group-label { font-size: 11px; font-weight: 900; letter-spacing: .18em;
               text-transform: uppercase; color: var(--dim); margin: 26px 0 10px; }

/* ------------------------------------------------------------- ФИНАЛ */

.final { text-align: center; padding: 66px 0; }
.final h2 { margin-bottom: 14px; }
.final p { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 32px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 20px; font-size: 13px; font-weight: 700; }
.foot-links a { color: var(--muted); }
.copy { font-size: 13px; color: var(--dim); margin: 0; }

/* Хлебные крошки */
.crumbs { font-size: 13px; color: var(--dim); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
