/* ============================================================
   Главная страница
   Действует только под классом .home у body (его ставит Views/Home/Index.cshtml): общие части сайта — шапка,
   подвал, кнопки, ролик — лежат в site.css, здесь главная уточняет их под себя и рисует свои блоки.

   Система страницы:
   — шрифт Inter со своего сайта (на устройствах Apple — системный SF Pro): вес 400 для текста, 600 для заголовков
     и акцентов, других весов нет; заголовки не делятся некрасиво (text-wrap: balance);
   — один акцент — синий: #0071e3 заливкой, #0066cc текстом на светлом, #2997ff текстом на тёмном;
   — скругления: 28px у больших карточек, 18px у малых, 14px у плашек значков, кнопки и бейджи — «таблетки»;
   — вертикальный ритм: у всех блоков одинаковые поля (--section-y) и расстояние от заголовка до содержимого
     (--head-gap); сетка страницы — 1200px.
   Mobile-first.
   ============================================================ */

/* Два начертания по ~31 КБ: латиница, кириллица и знаки сайта. Их собирает tools/fonts-subset.py из полных файлов
   Assets/Fonts; в имени файла — версия набора (статика кэшируется на неделю: изменили состав — поднимите номер там
   и здесь). Обычное отвечает и за вес 500, полужирное — за 700: третьего файла нет, браузер ничего не «дожирняет». */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/inter-400-v1.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("../fonts/inter-600-v1.woff2") format("woff2");
}

/* Запасной шрифт на долю секунды, пока Inter не загрузился: системный Arial, подогнанный под ширину и высоту Inter
   (замерено на русском тексте) — когда Inter приходит, строки не переносятся заново и страница не дёргается. */
@font-face {
    font-family: "Inter Fallback";
    font-weight: 400 500;
    src: local("Arial");
    size-adjust: 106.3%;
    ascent-override: 91.1%;
    descent-override: 22.7%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Inter Fallback";
    font-weight: 600 700;
    src: local("Arial Bold"), local("Arial-BoldMT");
    size-adjust: 101.6%;
    ascent-override: 95.3%;
    descent-override: 23.7%;
    line-gap-override: 0%;
}

.home {
    --container: 1200px;
    --section-y: clamp(68px, 9.6vw, 140px);
    --head-gap: clamp(40px, 5vw, 64px);
    --hairline-dark: rgba(255, 255, 255, .09);
    --card-dark: rgba(255, 255, 255, .04);
    --ease-rise: cubic-bezier(.16, 1, .3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Inter Fallback",
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Типографика ---------- */
.home .eyebrow {
    font-size: clamp(.9375rem, 1.45vw, 1.0625rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.008em;
    text-transform: none;
    color: var(--accent-ink);
}
.home .eyebrow--bright { color: var(--accent-bright); }

.home .section-head { max-width: 800px; margin-bottom: var(--head-gap); }
.home .section-title,
.home .section-head .section-title {
    margin: .3em 0 0;
    font-size: clamp(2rem, 5vw, 3.375rem);
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -.03em;
    text-wrap: balance;
}
.home .section-sub {
    margin: 1.05em auto 0;
    max-width: 700px;
    font-size: clamp(1.0625rem, 1.75vw, 1.3125rem);
    line-height: 1.45;
    letter-spacing: -.012em;
    text-wrap: balance;
}

.home .nowrap { white-space: nowrap; }

/* надпись бренда набрана заглавными: дефис встаёт по центру букв, а не строчных (формы знаков для заглавных) */
.home .brand-word { font-feature-settings: "case"; }

.home .btn { letter-spacing: -.012em; }
.home .btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
@media (hover: hover) {
    .home .btn--ghost:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .55); }
}

/* ---------- Шапка ---------- */
/* В самом верху страницы шапка прозрачная — первый экран цельный, без серой полосы над ним; при прокрутке к ней
   возвращается стекло (класс is-scrolled ставит js/site.js). */
.home .nav:not(.is-scrolled) {
    background-color: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.home .nav { transition: background-color .3s var(--ease), border-color .3s var(--ease); }

/* Телефон: кнопки, вставшие друг под другом, — одной ширины, а не каждая по своей надписи. */
@media (max-width: 519px) {
    .hero__actions .btn,
    .promo__actions .btn,
    .app__more .btn { flex: 1 1 100%; max-width: 340px; }
}

/* ---------- Первый экран ---------- */
/* Сверху текст и кнопки (видны сразу, без прокрутки и без скриптов), под ними — планета. Размер заголовка следит
   и за шириной, и за высотой окна: на невысоком экране ноутбука кнопка не уезжает за край. */
.hero {
    padding-top: calc(var(--nav-h) + clamp(32px, 8.5vh, 96px));
    padding-bottom: clamp(12px, 2vw, 24px);
    text-align: center;
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(58% 44% at 50% -8%, rgba(41, 151, 255, .17), transparent 72%);
}

.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.hero__inner > * { animation: rise .9s var(--ease-rise) both; }
.hero__inner > :nth-child(2) { animation-delay: .06s; }
.hero__inner > :nth-child(3) { animation-delay: .12s; }
.hero__inner > :nth-child(4) { animation-delay: .18s; }
.hero__inner > :nth-child(5) { animation-delay: .24s; }
.hero__inner > :nth-child(6) { animation-delay: .3s; }
.hero__inner > :nth-child(7) { animation-delay: .36s; }

.hero__title {
    margin: .16em 0 0;
    font-size: clamp(2.25rem, min(10.6vw, 11.4vh), 6rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
}
/* серебро слева, синий справа — как свет на планете под заголовком */
.hero__title .text-gradient { background-image: linear-gradient(100deg, #fff 4%, #dfe6f3 36%, #8fb6ff 70%, #3d8bff 98%); }
.hero__lead {
    margin: clamp(16px, 2.6vh, 26px) auto 0;
    max-width: 31em;
    font-size: clamp(1.0625rem, 1.75vw, 1.3125rem);
    line-height: 1.45;
    letter-spacing: -.012em;
    color: var(--on-dark-2);
    text-wrap: balance;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    justify-content: center;
    margin-top: clamp(24px, 3.8vh, 38px);
}
.hero__trust {
    margin: clamp(18px, 3vh, 30px) 0 0;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--on-dark-3);
    text-wrap: balance;
}
.hero__trust svg {
    display: inline-block;
    color: var(--accent-bright);
    vertical-align: -3px;
    margin-right: 6px;
}

/* Планета. Квадрат --planet — место под шар с кольцом; холст шире на 48px с каждой стороны — под свечение (то же
   число в js/hero3d.js). Рисует её скрипт по ширине блока; без скриптов вместо холста готовая картинка. */
.hero__visual {
    --planet: min(92vw, 420px);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: clamp(4px, 1.6vh, 20px);
    animation: bloom 1.4s var(--ease-rise) .2s both;
}
.hero__visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--planet) * 1.9);
    height: var(--planet);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    /* свечение гаснет раньше края: квадрат планеты снизу подрезан отступом, шва на границе блока быть не должно */
    background: radial-gradient(closest-side, rgba(27, 100, 255, .24), rgba(27, 100, 255, .08) 48%, transparent 78%);
    pointer-events: none;
}
/* сам шар занимает две трети квадрата: лишнее поле сверху и снизу убрано отрицательными отступами */
.hero3d {
    position: relative;
    width: var(--planet);
    height: var(--planet);
    margin-block: calc(var(--planet) * -.05) calc(var(--planet) * -.09);
}
.hero3d__canvas,
.hero3d__poster {
    position: absolute;
    left: -48px;
    top: -48px;
    width: calc(100% + 96px);
    height: calc(100% + 96px);
    max-width: none;
    pointer-events: none;
}
.hero3d__canvas { opacity: 0; transition: opacity .6s var(--ease); }
.hero3d.is-live .hero3d__canvas { opacity: 1; }

@media (min-width: 734px) {
    .hero__visual { --planet: clamp(420px, 46vw, 600px); }
}

/* ---------- Показатели ---------- */
.stats { padding-block: clamp(32px, 4.4vw, 60px) clamp(64px, 7.4vw, 104px); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 16px;
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}
.stat__num {
    font-size: clamp(2.25rem, 6.4vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
    background: linear-gradient(180deg, #fff 20%, #b9c4d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat__unit { color: var(--accent-bright); -webkit-text-fill-color: var(--accent-bright); }
.stat__label {
    max-width: 13em;
    margin: 12px auto 0;
    font-size: .9375rem;
    line-height: 1.35;
    color: var(--on-dark-2);
    text-wrap: balance;
}

/* четыре равные колонки с тонкими разделителями — когда в колонку помещается самое длинное число («AES-256») */
@media (min-width: 900px) {
    .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: none; }
    .stat { padding: 6px 16px; }
    .stat + .stat { border-left: 1px solid var(--line-dark); }
    .stat__num { font-size: clamp(2.25rem, 4.1vw, 3.5rem); }
}

/* ---------- Столпы ---------- */
.features { padding-block: var(--section-y); }
.features__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* на телефоне значок и название в одну строку — карточка короче; дальше значок над названием */
.feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px 16px;
    padding: 24px;
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
}
.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--accent);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 22px -10px rgba(0, 0, 0, .18);
}
.feature-card h3 { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.feature-card p { grid-column: 1 / -1; margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.feature-card a { color: var(--accent-ink); text-underline-offset: 3px; }

@media (min-width: 734px) {
    /* все четыре карточки одного размера, какой бы длины ни был текст */
    .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
    .feature-card { display: block; padding: clamp(28px, 3.2vw, 40px); }
    .feature-card__icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: clamp(22px, 2.6vw, 30px); }
    .feature-card h3 { margin-bottom: .5em; font-size: clamp(1.3rem, 2.1vw, 1.5rem); }
    .feature-card p { max-width: 46ch; font-size: 1.0625rem; }
}

/* ---------- Безопасность и надёжность (текст + картинка) ---------- */
.showcase { padding-block: var(--section-y); }
.showcase__inner {
    display: grid;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}
.showcase__media { display: flex; align-items: center; justify-content: center; }
.showcase__text {
    margin: 1.05em 0 0;
    font-size: clamp(1.0625rem, 1.75vw, 1.3125rem);
    line-height: 1.45;
    letter-spacing: -.012em;
    color: var(--on-dark-2);
    text-wrap: pretty;
}
.section--soft .showcase__text { color: var(--ink-2); }

/* тексту чуть больше места, чем картинке: заголовок из двух фраз ложится в две строки */
@media (min-width: 834px) {
    .showcase__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .showcase--reverse .showcase__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .showcase--reverse .showcase__media { order: 2; }
    .home .showcase .section-title { font-size: clamp(2.125rem, 4vw, 3rem); }
}

/* чек-лист: галочка стоит у первой строки пункта */
.checklist { list-style: none; margin: 1.7em 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
    position: relative;
    padding-left: 34px;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: var(--on-dark);
}
.section--soft .checklist li { color: var(--ink); }
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(.7em - 11px);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
}
.checklist li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(.7em - 4px);
    width: 8px;
    height: 4.5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* замок в кольцах (безопасность) */
.secure-core {
    position: relative;
    width: min(400px, 66vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.secure-core::before {
    content: "";
    position: absolute;
    inset: -4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(41, 151, 255, .2), rgba(41, 151, 255, .05) 58%, transparent);
}
.secure-core__ring,
.secure-core__orbit { position: absolute; border-radius: 50%; }
.secure-core__ring--1 {
    inset: 0;
    background: conic-gradient(from 0deg, transparent 0 62%, rgba(41, 151, 255, .9) 88%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    animation: spin 9s linear infinite;
}
.secure-core__ring--2 { inset: 15%; border: 1px solid rgba(255, 255, 255, .11); }
.secure-core__ring--3 { inset: 30%; border: 1px solid rgba(255, 255, 255, .14); }
.secure-core__orbit--1 { inset: 15%; animation: spin 16s linear infinite; }
.secure-core__orbit--2 { inset: 30%; animation: spin 11s linear infinite reverse; }
.secure-core__orbit i {
    position: absolute;
    left: 50%;
    top: -3px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: #b9dbff;
    box-shadow: 0 0 12px 2px rgba(41, 151, 255, .85);
}
.secure-core__chip {
    position: relative;
    width: 34%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 27%;
    background: linear-gradient(160deg, #202127, #0b0b0e);
    border: 1px solid rgba(255, 255, 255, .13);
    color: var(--accent-bright);
    box-shadow: 0 26px 60px -14px rgba(41, 151, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .13);
}
.secure-core__chip svg { width: 36%; height: auto; }

/* земной шар с узлами (надёжность) */
.globe { width: min(400px, 70vw); height: auto; overflow: visible; }
.globe__sphere { stroke: rgba(0, 113, 227, .34); stroke-width: 1.2; }
.globe__line { fill: none; stroke: rgba(29, 29, 31, .1); stroke-width: 1; }
.globe__arc {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 4 7;
    opacity: .6;
    animation: globeFlow 1.8s linear infinite;
}
.globe__node {
    fill: var(--accent);
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 4px rgba(0, 113, 227, .7));
}
.globe__node--1 { animation: nodePulse 2.4s ease-in-out infinite; }
.globe__node--2 { animation: nodePulse 2.4s ease-in-out infinite .8s; }
.globe__node--3 { animation: nodePulse 2.4s ease-in-out infinite 1.6s; }

/* ---------- Приложение (анонс) ---------- */
/* Тёмный блок перед тарифами: ролик и плитки систем. Сам ролик (.film) — общий со страницей приложения, в site.css. */
.app { padding-block: var(--section-y); }
.app__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(52% 38% at 50% 50%, rgba(41, 151, 255, .15), transparent 72%);
}
.app__inner { position: relative; z-index: 2; }
.home .film {
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 60px 120px -50px #000, 0 30px 90px -36px rgba(27, 100, 255, .4);
}

/* плитки систем: на телефоне готовая система во всю ширину, под ней 2×2; на планшете 1 + 4; на компьютере пять в ряд */
.platforms {
    list-style: none;
    margin: clamp(14px, 2vw, 20px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.platform {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--card-dark);
    border: 1px solid var(--hairline-dark);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.platform__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
    color: var(--on-dark-2);
}
.platform__icon svg { width: 22px; height: 22px; }
.platform__body { display: grid; gap: 3px; }
.platform__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: var(--on-dark); }
.platform__status { font-size: .875rem; line-height: 1.35; color: var(--on-dark-3); }

.platform--ready {
    position: relative;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(41, 151, 255, .26), transparent 62%),
        var(--card-dark);
    border-color: rgba(41, 151, 255, .42);
}
/* рамка под указателем: переход дописан к переходам появления (.reveal), а не вместо них */
.home .platform--ready.reveal {
    transition: opacity .8s var(--ease-rise), transform .8s var(--ease-rise), border-color .25s var(--ease);
}
.platform--ready .platform__icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -6px rgba(0, 113, 227, .7);
}
.platform--ready .platform__status { color: var(--accent-bright); font-weight: 600; }
/* плитка готовой системы целиком — ссылка на страницу приложения: ссылка на названии растянута на всю плитку */
.platform__link { color: inherit; text-decoration: none; }
.platform__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.platform__link:focus-visible { outline: none; }
.platform__link:focus-visible::after { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
@media (hover: hover) { .platform--ready:hover { border-color: rgba(41, 151, 255, .8); } }
.app__more { display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

@media (min-width: 734px) {
    .platforms { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .platform { gap: 16px; padding: 22px; }
    .platform__icon { width: 46px; height: 46px; border-radius: 14px; }
}
@media (min-width: 1000px) {
    .platforms { grid-template-columns: repeat(5, 1fr); }
    .platform--ready { grid-column: auto; flex-direction: column; align-items: flex-start; }
}

/* ---------- Тарифы ---------- */
.pricing { padding-block: var(--section-y); }
.pricing__grid { display: grid; gap: 10px; }

/* Карточка тарифа — целиком ссылка. До 734px это компактная строка (название и подпись слева, цена и шеврон
   справа), дальше — колонка с кнопкой; «Популярный» — тёмная и чуть выше остальных. */
.plan {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
        "head price chevron"
        "note price chevron";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 18px 16px 18px 20px;
    background: var(--surface-soft);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
}
/* Появляются карточки анимацией, а не переходом, как остальные блоки: переход у карточки занят наведением, и
   задержка «по очереди» тормозила бы его. backwards — чтобы после появления анимация не держала transform. */
.pricing__grid .plan.is-in {
    animation: rise .8s var(--ease-rise) backwards;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pricing__grid .plan.is-in:nth-child(2) { animation-delay: .06s; }
.pricing__grid .plan.is-in:nth-child(3) { animation-delay: .12s; }
.pricing__grid .plan.is-in:nth-child(4) { animation-delay: .18s; }
.pricing__grid .plan.is-in:nth-child(5) { animation-delay: .24s; }
.pricing__grid .plan.is-in:nth-child(6) { animation-delay: .3s; }
@media (hover: hover) {
    .pricing__grid .plan:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .28); }
}

/* в строке бейдж всегда под названием — иначе у длинного названия он переносится, а у короткого нет */
.plan__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.plan__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.plan__badges { display: inline-flex; gap: 6px; white-space: nowrap; }
.plan__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 980px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--accent-ink);
    background: #e3eefd;
}
.plan__badge--hot { color: #fff; background: var(--accent); }
.plan__price {
    grid-area: price;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.plan__cur { font-size: .66em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.plan__note { grid-area: note; font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.plan__chevron { grid-area: chevron; color: var(--ink-3); }

/* кнопка внутри ссылки — только оформление; на телефоне её заменяет шеврон */
.plan__cta {
    display: none;
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
    font-size: .9375rem;
    padding: .7em 1.15em;
}
@media (hover: hover) {
    .pricing__grid .plan:hover .plan__cta { background: var(--ink); border-color: var(--ink); color: #fff; }
}

.plan--popular {
    z-index: 1;
    background:
        radial-gradient(130% 90% at 100% 0%, rgba(41, 151, 255, .3), transparent 60%),
        #0a0b10;
    border-color: rgba(255, 255, 255, .1);
    color: var(--on-dark);
    box-shadow: 0 24px 50px -22px rgba(0, 70, 190, .6);
}
.plan--popular .plan__cur, .plan--popular .plan__note { color: var(--on-dark-2); }
.plan--popular .plan__chevron { color: var(--on-dark-3); }
.plan--popular .plan__badge { color: var(--accent-bright); background: rgba(41, 151, 255, .16); }
.plan--popular .plan__badge--hot { color: #fff; background: var(--accent); }
.plan--popular .plan__cta { background: var(--accent); border-color: transparent; color: #fff; }
@media (hover: hover) {
    .pricing__grid .plan--popular:hover { box-shadow: 0 30px 60px -22px rgba(0, 80, 210, .75); }
    .pricing__grid .plan--popular:hover .plan__cta { background: var(--accent-hover); border-color: transparent; }
}

@media (min-width: 734px) {
    /* поле сверху — под бейджи, которые сидят на верхней кромке карточек */
    .pricing__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: stretch; padding-top: 12px; }
    .plan {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 22px 22px;
        border-radius: var(--radius-lg);
    }
    /* пять карточек: 3 + 2, вторая строка по центру; четыре: 3 + 1 по центру */
    .plan:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
    .plan:nth-child(4):last-child { grid-column: 3 / span 2; }

    .plan__head { width: 100%; }
    .plan__badges {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .plan__price { margin-top: 14px; font-size: 2.25rem; letter-spacing: -.04em; }
    .plan__cur { font-size: .56em; }
    .plan__note { margin-top: 10px; margin-bottom: 24px; }
    .plan__cta { display: inline-flex; width: 100%; margin-top: auto; }
    .plan__chevron { display: none; }

    .plan--popular { margin-block: -8px; padding-block: 38px 30px; }
}

@media (min-width: 1100px) {
    .pricing__grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .plan, .plan:nth-child(4):nth-last-child(2), .plan:nth-child(4):last-child { grid-column: auto; }

    /* шестая карточка (самый долгий срок) — строка во всю ширину под рядом. Внутри у неё те же пять колонок, что
       у ряда сверху: название стоит под первой карточкой, цена — под четвёртой, кнопка — ровно под кнопкой пятой. */
    .plan--wide {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-areas: none;
        column-gap: 14px;
        row-gap: 0;
        align-items: center;
        padding: 20px 0;
        border-inline-width: 0; /* без боковых рамок внутренние колонки совпадают с колонками ряда до пикселя */
    }
    /* 23px — рамка и поле карточек ряда сверху: содержимое стоит на тех же линиях */
    .plan--wide .plan__head {
        grid-area: 1 / 1;
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding-left: 23px;
    }
    .plan--wide .plan__badges { position: static; transform: none; }
    .plan--wide .plan__note { grid-area: 1 / 2 / auto / span 2; margin: 0; padding-left: 23px; }
    .plan--wide .plan__price { grid-area: 1 / 4; margin: 0; padding-left: 23px; }
    .plan--wide .plan__cta { grid-area: 1 / 5; width: auto; margin: 0 23px; }
}

/* подарок за Telegram-канал: узкая строка под тарифами, целиком ссылка на канал. Тише карточек тарифов — без
   заливки, только тонкая рамка; на телефоне ссылка «Открыть канал» уходит под текст. */
.pricing__gift {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon body"
        "icon cta";
    column-gap: 14px;
    row-gap: 8px;
    align-items: center;
    margin-top: 14px;
    padding: 14px 18px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
}
.pricing__gift-icon { grid-area: icon; align-self: start; display: inline-flex; width: 48px; height: 48px; }
.pricing__gift-icon img { width: 100%; height: 100%; object-fit: contain; }
.pricing__gift-body { grid-area: body; display: grid; gap: 3px; }
.pricing__gift-title { font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.pricing__gift-text { font-size: .875rem; line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.pricing__gift-cta {
    grid-area: cta;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--accent-ink);
    white-space: nowrap;
}
.pricing__gift-cta svg { transition: transform .2s ease; }
@media (hover: hover) {
    .pricing__gift:hover { background: var(--surface-soft); border-color: transparent; }
    .pricing__gift:hover .pricing__gift-cta svg { transform: translateX(3px); }
}
.pricing__gift:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (min-width: 734px) {
    .pricing__gift {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "icon body cta";
        column-gap: 18px;
        max-width: 760px;
        margin: 22px auto 0;
        padding: 16px 26px 16px 18px;
    }
    .pricing__gift-icon { align-self: center; }
}

/* что входит в каждый тариф */
.pricing__includes {
    margin-top: clamp(44px, 6vw, 72px);
    padding-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--line);
}
.pricing__includes-title {
    margin: 0 0 clamp(24px, 3.4vw, 36px);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-align: center;
    color: var(--ink);
}
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.include { display: flex; gap: 16px; align-items: flex-start; }
.include__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--accent);
}
.include__body { display: grid; gap: 4px; padding-top: 1px; }
.include__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.include__text { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

@media (min-width: 734px) { .includes { grid-template-columns: repeat(2, 1fr); gap: 32px 36px; } }
@media (min-width: 1000px) { .includes { grid-template-columns: repeat(3, 1fr); gap: 36px 40px; } }

.pricing__fine {
    max-width: 720px;
    margin: clamp(36px, 5vw, 56px) auto 0;
    text-align: center;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--ink-3);
    text-wrap: pretty;
}

/* акция «+N дней к месяцу»: бейдж и подпись у месячного тарифа */
.plan__badge--gift,
.plan--popular .plan__badge--gift {
    color: #fff;
    background: linear-gradient(135deg, #1b5fff, var(--accent));
}
.plan__note--gift { color: var(--accent-ink); font-weight: 600; }
.plan--popular .plan__note--gift { color: var(--accent-bright); }

/* карточка тарифа акции: рамка-перелив (угол градиента крутится; без @property рамка просто градиентная) */
@property --promo-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--promo {
    border: 1.5px solid transparent;
    background:
        radial-gradient(130% 90% at 100% 0%, rgba(41, 151, 255, .32), transparent 60%) padding-box,
        linear-gradient(#0a0b10, #0a0b10) padding-box,
        conic-gradient(from var(--promo-angle), #1b64ff, #8cc4ff, #2997ff, #0a3fb8, #5aa2ff, #1b64ff) border-box;
    animation: promoSpin 6s linear infinite;
}
.pricing__grid .plan--promo.is-in { animation: rise .8s var(--ease-rise) backwards, promoSpin 6s linear infinite; }

/* ---------- Акция «+N дней к месяцу» ---------- */
/* Включается в /admin/settings. Пока идёт, главное действие страницы — купить месяц: плашка над заголовком, кнопка
   «Купить месяц + 7 дней» с ценой и датой окончания под ней, баннер под первым экраном (крупное «+7», подарок,
   «дней бесплатно»), полоса под шапкой при прокрутке и переливающаяся рамка у месяца.
   Движение лёгкое и по одному на элемент: блик на плашке и кнопке, покачивание подарка, искорки у числа; при
   «меньше движения» его нет (правило в site.css). */
.hero__promo {
    position: relative;
    overflow: hidden;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    margin: 0 auto clamp(18px, 3vh, 28px);
    padding: 5px 14px 5px 5px;
    border-radius: 980px;
    background: rgba(41, 151, 255, .13);
    border: 1px solid rgba(90, 162, 255, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    color: var(--on-dark);
    font-size: .9375rem;
    line-height: 1.25;
    text-decoration: none;
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.hero__promo b { font-weight: 600; color: #fff; }
/* блик пробегает по плашке и по кнопке раз в несколько секунд */
.hero__promo::after,
.btn--promo::after,
.promo-bar__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .26) 50%, transparent 68%);
    transform: translateX(-130%);
    animation: promoShine 5.6s ease-in-out 1.6s infinite;
}
.hero__promo-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}
.hero__promo-icon svg { width: 14px; height: 14px; }
.hero__promo-arrow { flex: none; color: var(--accent-bright); transition: transform .25s var(--ease), color .25s var(--ease); }
@media (hover: hover) {
    .hero__promo:hover { background: rgba(41, 151, 255, .2); border-color: rgba(140, 196, 255, .7); }
    .hero__promo:hover .hero__promo-arrow { transform: translateX(2px); color: #fff; }
}

/* главная кнопка первого экрана, баннера и последнего блока: подарок, блик и мягкое свечение */
.btn--promo {
    position: relative;
    overflow: hidden;
    gap: .55em;
    /* градиент не светлее обычной синей кнопки: белая надпись читается по всей высоте */
    background: linear-gradient(180deg, var(--accent), #005fcc);
    box-shadow: 0 12px 32px -10px rgba(0, 113, 227, .8), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--promo svg { flex: none; transform-origin: 50% 60%; animation: promoWiggle 5.6s ease-in-out infinite; }
@media (hover: hover) {
    .home .btn--promo:hover { background: linear-gradient(180deg, var(--accent-hover), #0068d6); }
}

/* цена и срок акции — строкой во всю ширину ряда кнопок первого экрана */
.hero__offer {
    flex-basis: 100%;
    order: 3;
    margin: 4px auto 0;
    max-width: 560px;
    font-size: .9375rem;
    line-height: 1.5;
    color: var(--on-dark-2);
}
.hero__offer b { color: #fff; font-weight: 600; }
.hero__offer-sep { margin: 0 .35em; color: var(--on-dark-3); }
.hero__offer-left { white-space: nowrap; }
.hero__offer-date { color: var(--on-dark); font-weight: 600; }

/* телефон: «Купить», цена и срок должны попасть в первый экран — плашка в одну строку, строка с ценой сразу под
   «Купить», «Все тарифы» — после неё */
@media (max-width: 733px) {
    .hero--promo { padding-top: calc(var(--nav-h) + clamp(20px, 3.4vh, 32px)); }
    .hero__promo-date { display: none; }
    .hero__actions--promo { gap: 12px; }
    .hero__actions--promo .btn--promo { order: 1; }
    .hero__actions--promo .hero__offer { order: 2; margin-top: 0; }
    .hero__actions--promo .btn--ghost { order: 3; }
    .hero__offer-sep { display: none; }
    .hero__offer-left { display: block; }
}

/* телефон, повёрнутый набок: окно совсем низкое — отступы плотнее, чтобы «Купить» осталась в первом экране */
@media (max-height: 480px) and (orientation: landscape) {
    .hero--promo { padding-top: calc(var(--nav-h) + 10px); }
    .hero--promo .hero__promo { margin-bottom: 10px; }
    .hero--promo .hero__lead { margin-top: 10px; }
    .hero--promo .hero__actions { margin-top: 14px; }
}

/* полоса под шапкой: появляется, когда кнопка первого экрана ушла вверх (js/promo.js) */
.promo-bar {
    position: fixed;
    z-index: 990;
    left: 0;
    right: 0;
    top: var(--nav-h);
    color: #fff;
    background: linear-gradient(90deg, #0058d0, var(--accent) 50%, #0058d0);
    box-shadow: 0 10px 30px -12px rgba(0, 40, 130, .7);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--ease), opacity .3s var(--ease), visibility 0s linear .45s;
}
.promo-bar.is-shown {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .45s var(--ease), opacity .3s var(--ease), visibility 0s;
}
.promo-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding-block: 6px;
}
.promo-bar__gift {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}
.promo-bar__gift svg { width: 15px; height: 15px; }
.promo-bar__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: .9375rem;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.promo-bar__text b { font-weight: 600; }
.promo-bar__short { display: none; }
.promo-bar__until {
    flex: none;
    padding: 4px 11px;
    border-radius: 980px;
    background: rgba(0, 20, 80, .28);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}
.promo-bar__btn {
    position: relative;
    overflow: hidden;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .3em; /* пробел перед «за 199 ₽»: у flex-элемента ведущий пробел внутри span схлопывается */
    padding: 7px 15px;
    border-radius: 980px;
    background: #fff;
    color: #0050c8;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--ease);
}
.promo-bar__btn::after { background: linear-gradient(110deg, transparent 32%, rgba(41, 151, 255, .26) 50%, transparent 68%); }
.promo-bar__btn:active { transform: scale(.96); }

@media (max-width: 733px) {
    .promo-bar__inner { gap: 8px; padding-inline: 14px; }
    .promo-bar__gift { width: 26px; height: 26px; }
    .promo-bar__long { display: none; }
    .promo-bar__short { display: inline; }
    .promo-bar__text { font-size: .875rem; }
    .promo-bar__until { padding: 3px 9px; }
    .promo-bar__btn { padding: 7px 13px; }
    .promo-bar__price { display: none; }
}
@media (max-width: 439px) { .promo-bar__gift { display: none; } }
@media (max-width: 359px) { .promo-bar__until { display: none; } }
/* пока идёт акция, покупку с телефона и планшета ведёт полоса — второй кнопки в шапке над ней не нужно
   (на компьютере «Подключиться» в шапке остаётся, как и раньше) */
@media (max-width: 1099px) {
    .home:has([data-promo-bar]) .nav__cta { display: none; }
}

/* якоря ниже баннера не прячутся под полосой */
.promo[id],
.promo ~ section[id] { scroll-margin-top: 112px; }

/* нижнее поле не меньше хода тени карточки (40px): блок обрезает всё, что выходит за его край */
.promo { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 4vw, 48px); }

.promo__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    justify-items: center;
    gap: 28px;
    padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 64px);
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline-dark);
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(41, 151, 255, .22), transparent 58%),
        radial-gradient(80% 110% at 100% 100%, rgba(27, 100, 255, .17), transparent 62%),
        #0a0c13;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 26px 50px -36px rgba(0, 80, 210, .8);
}
/* медленный блик по всему баннеру */
.promo__card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .06) 50%, transparent 62%);
    transform: translateX(-110%);
    animation: promoShine 8s ease-in-out 2.2s infinite;
}
.promo__glow {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: -40px;
    width: 440px;
    height: 440px;
    margin-left: -220px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(41, 151, 255, .34), transparent);
    opacity: .7;
    pointer-events: none;
}

/* число досчитывает до N при появлении (js/promo.js), подарок покачивается, искорки мерцают по очереди */
.promo__art { position: relative; display: grid; justify-items: center; gap: 10px; }
.promo__gift {
    width: 46px;
    height: 46px;
    color: var(--accent-bright);
    animation: promoFloat 3.6s ease-in-out infinite;
}
.promo__sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #fff, #8cc4ff);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    opacity: 0;
    animation: promoTwinkle 3.4s ease-in-out infinite;
}
.promo__sparkle--1 { left: -8%; top: 30%; }
.promo__sparkle--2 { right: -6%; top: 10%; width: 16px; height: 16px; animation-delay: .85s; }
.promo__sparkle--3 { right: -12%; top: 60%; width: 10px; height: 10px; animation-delay: 1.7s; }
.promo__sparkle--4 { left: 2%; bottom: 16%; width: 9px; height: 9px; animation-delay: 2.55s; }
.promo__num {
    font-size: clamp(5.5rem, 23vw, 9rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.06em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff 6%, #cfe0ff 40%, #5aa2ff 76%, #1b64ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.promo__num.is-done { animation: promoPop .5s var(--ease); }
.promo__unit { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--accent-bright); }

.promo__body { max-width: 560px; }
.promo__title {
    margin: .35em 0 0;
    font-size: clamp(1.75rem, 4.4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-wrap: balance;
}
.promo__text {
    margin: .85em auto 0;
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    line-height: 1.5;
    color: var(--on-dark-2);
    text-wrap: pretty;
}
/* «Берёте надолго? 6 месяцев + 1 месяц и 1 год + 2 месяца — тоже в подарок»: строка тише основного текста */
.promo__more {
    margin: .9em auto 0;
    font-size: clamp(.9375rem, 1.4vw, 1.0625rem);
    line-height: 1.5;
    color: var(--on-dark-2);
    text-wrap: pretty;
}
.promo__more a {
    color: var(--accent-bright);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
    text-underline-offset: .2em;
}
.promo__more a:hover { text-decoration-color: currentColor; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center; margin-top: 28px; }

@media (min-width: 834px) {
    .promo__card {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: center;
        justify-items: start;
        gap: 40px;
        text-align: left;
    }
    .promo__glow { left: 21%; top: 50%; margin-top: -220px; }
    .promo__art { justify-self: center; }
    .promo__text,
    .promo__more { margin-inline: 0; }
    .promo__actions { justify-content: flex-start; }
}

/* ---------- Последний блок ---------- */
.cta { padding-block: clamp(84px, 12vw, 168px); text-align: center; }
.cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(64% 72% at 50% 112%, rgba(27, 100, 255, .4), transparent 70%),
        radial-gradient(44% 40% at 50% -6%, rgba(41, 151, 255, .1), transparent 70%);
}
.cta__inner { position: relative; z-index: 2; max-width: 860px; margin-inline: auto; }
.cta__mark { display: flex; justify-content: center; margin-bottom: clamp(22px, 3vw, 32px); }
.cta__mark .brand-mark { width: clamp(56px, 6vw, 72px); height: auto; filter: drop-shadow(0 14px 34px rgba(27, 100, 255, .55)); }
.cta__title {
    margin: 0;
    font-size: clamp(1.875rem, 6vw + .4rem, 4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.cta__sub {
    margin: 1.1em auto 2em;
    font-size: clamp(1.0625rem, 1.75vw, 1.3125rem);
    line-height: 1.45;
    color: var(--on-dark-2);
}
/* предложение под кнопкой */
.cta__offer { margin: 18px 0 0; font-size: .9375rem; color: var(--on-dark-2); }
.cta__offer b { color: #fff; font-weight: 600; }

/* ---------- Устройства Apple ---------- */
/* Там текст рисует системный SF Pro, а не Inter. У него крупные размеры уже собраны плотнее, поэтому заголовкам и
   числам оставлена прежняя, более свободная разрядка (условие ниже понимает только Safari и браузеры на iPhone). */
@supports (font: -apple-system-body) {
    .hero__title { letter-spacing: -.03em; }
    .home .section-title,
    .home .section-head .section-title,
    .promo__title,
    .cta__title { letter-spacing: -.022em; }
    .stat__num, .plan__price { letter-spacing: -.02em; }
    /* у системного шрифта жирное начертание есть и так — числу акции оно к лицу */
    .promo__num { font-weight: 700; letter-spacing: -.05em; }
}

/* ---------- Появление при прокрутке ---------- */
/* Общее правило .reveal — в site.css (класс .is-in ставит js/site.js); на главной ход короче и мягче. */
.home .reveal { transform: translateY(20px); transition: opacity .8s var(--ease-rise), transform .8s var(--ease-rise); }
.home .reveal.is-in { transform: none; }

.features__grid .feature-card:nth-child(2) { transition-delay: .07s; }
.features__grid .feature-card:nth-child(3) { transition-delay: .14s; }
.features__grid .feature-card:nth-child(4) { transition-delay: .21s; }
.stats__grid .stat:nth-child(2) { transition-delay: .07s; }
.stats__grid .stat:nth-child(3) { transition-delay: .14s; }
.stats__grid .stat:nth-child(4) { transition-delay: .21s; }
.showcase__body .reveal:nth-child(2) { transition-delay: .06s; }
.showcase__body .reveal:nth-child(3) { transition-delay: .12s; }
.showcase__body .reveal:nth-child(4) { transition-delay: .18s; }
.platforms .platform:nth-child(2) { transition-delay: .06s; }
.platforms .platform:nth-child(3) { transition-delay: .12s; }
.platforms .platform:nth-child(4) { transition-delay: .18s; }
.platforms .platform:nth-child(5) { transition-delay: .24s; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nodePulse { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes globeFlow { to { stroke-dashoffset: -22; } }
@keyframes promoSpin { to { --promo-angle: 360deg; } }
@keyframes promoShine { 0% { transform: translateX(-130%); } 30%, 100% { transform: translateX(130%); } }
@keyframes promoWiggle {
    0%, 70%, 100% { transform: rotate(0); }
    76% { transform: rotate(-13deg); }
    82% { transform: rotate(10deg); }
    88% { transform: rotate(-6deg); }
    94% { transform: rotate(3deg); }
}
@keyframes promoFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes promoTwinkle {
    0%, 100% { opacity: 0; transform: scale(.3) rotate(0); }
    40% { opacity: .9; transform: scale(1) rotate(45deg); }
    70% { opacity: 0; transform: scale(.4) rotate(90deg); }
}
@keyframes promoPop { 0% { transform: scale(1); } 45% { transform: scale(1.1); } 100% { transform: scale(1); } }
