/* ============================================================
   AItransform — поиск будущего · 2026
   Дизайн-система: тёмная тема, аврора-градиенты, glass, bento
   ============================================================ */

:root {
    /* Палитра */
    --bg-0: #06070f;
    --bg-1: #0a0c1c;
    --ink-0: #f4f6ff;
    --ink-1: #b8bdd4;
    --ink-2: #7d83a0;

    --c-violet: #7c6cff;
    --c-cyan: #00d2ff;
    --c-magenta: #ff2e9a;
    --c-lime: #b6ff3d;

    --grad-main: linear-gradient(100deg, var(--c-violet) 0%, var(--c-cyan) 55%, var(--c-magenta) 115%);

    /* Стекло */
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-bg-strong: rgba(13, 16, 34, 0.72);
    --glass-line: rgba(255, 255, 255, 0.09);
    --glass-line-hover: rgba(255, 255, 255, 0.2);

    /* Типографика */
    --font-display: "Unbounded", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, sans-serif;

    --fs-h1: clamp(2.1rem, 1.1rem + 4.6vw, 4.6rem);
    --fs-h2: clamp(1.6rem, 1rem + 2.6vw, 2.9rem);
    --fs-h3: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    --fs-body: clamp(0.98rem, 0.93rem + 0.25vw, 1.12rem);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --container: 1180px;
    --header-h: 72px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

/* ============ Сброс и база ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg-0);
    color: var(--ink-0);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.92em;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-line);
    border-radius: 7px;
    padding: 0.1em 0.45em;
    white-space: nowrap;
}

/* Атрибут hidden обязан побеждать любой author display */
[hidden] { display: none !important; }

::selection { background: rgba(124, 108, 255, 0.45); color: #fff; }

/* Скроллбар */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a3f63, #23263e);
    border-radius: 99px;
    border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { background: #4b517d; }

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}
.container--narrow { max-width: 820px; }

/* ============ Аврора-фон ============ */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 108, 255, 0.16), transparent 60%),
        var(--bg-0);
}

.aurora__blob {
    position: absolute;
    width: 46vw;
    height: 46vw;
    min-width: 420px;
    min-height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
    animation: blob-drift 26s var(--ease-out) infinite alternate;
}
.aurora__blob--1 { background: radial-gradient(circle, rgba(124,108,255,.55), transparent 65%); top: -18vw; left: -10vw; }
.aurora__blob--2 { background: radial-gradient(circle, rgba(0,210,255,.4), transparent 65%); top: 8vw; right: -16vw; animation-delay: -9s; animation-duration: 31s; }
.aurora__blob--3 { background: radial-gradient(circle, rgba(255,46,154,.32), transparent 65%); bottom: -20vw; left: 22vw; animation-delay: -17s; animation-duration: 37s; }

@keyframes blob-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
    100% { transform: translate3d(-4vw, 8vh, 0) scale(0.95); }
}

.aurora__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 75%);
}

/* Свечение за курсором — только desktop */
.cursor-glow {
    position: fixed;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.07), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
@media (pointer: fine) {
    body:hover .cursor-glow { opacity: 1; }
}

/* ============ Кнопки и чипы ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
    white-space: nowrap;
}
.btn--primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 10px 32px -10px rgba(96, 130, 255, 0.55);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 42px -10px rgba(96, 130, 255, 0.7); }
.btn--primary:active { transform: translateY(0) scale(0.99); }
.btn--ghost {
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    color: var(--ink-0);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--glass-line-hover); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 17px 36px; font-size: 1.06rem; }

.chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    color: var(--ink-1);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s var(--ease-out);
}
.chip small { color: var(--ink-2); font-size: 0.78em; font-weight: 500; }
.chip:hover {
    color: #fff;
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(0, 210, 255, 0.09);
    transform: translateY(-1px);
}

/* ============ Шапка ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(7, 8, 18, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--glass-line);
}
.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
}
.logo__text em {
    font-style: normal;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-1);
    transition: color 0.2s;
    position: relative;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: right 0.3s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { right: 0; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 110;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--ink-0);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(48px, 9vh, 96px));
    padding-bottom: clamp(56px, 9vh, 110px);
    text-align: center;
    overflow: hidden;
}

/* -- Фоновое видео hero (Sora): приглушено + затемняющий оверлей -- */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1; /* над авророй (-2), под контентом */
}
/* два слоя видео: активный + подгружаемый, кроссфейд по ended */
.hero__bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    filter: saturate(1.15);
    transition: opacity 0.9s ease;
}
.hero__bg video.is-faded { opacity: 0; }
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%, rgba(6, 7, 15, 0.42), transparent 75%),
        linear-gradient(180deg,
            rgba(6, 7, 15, 0.88) 0%,
            rgba(6, 7, 15, 0.52) 30%,
            rgba(6, 7, 15, 0.6) 62%,
            var(--bg-0) 97%);
}

/* мобильные и reduced-motion: вместо видео — постер */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .hero__video { display: none; }
    .hero__bg {
        background: url(../img/hero-poster.jpg) center / cover no-repeat;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 99px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-1);
    margin-bottom: 28px;
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-lime);
    box-shadow: 0 0 0 0 rgba(182, 255, 61, 0.5);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(182, 255, 61, 0.45); }
    70% { box-shadow: 0 0 0 9px rgba(182, 255, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(182, 255, 61, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}

.grad-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__sub {
    max-width: 660px;
    margin: 0 auto 44px;
    color: var(--ink-1);
    font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
}

/* ============ Поиск (демо) ============ */
.search {
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.search__box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 20px;
    border-radius: 20px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.search__box::before {
    /* градиентная обводка при фокусе */
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1.5px;
    background: var(--grad-main);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.search__box:focus-within { transform: translateY(-1px); box-shadow: 0 24px 70px -24px rgba(64, 105, 255, 0.45); }
.search__box:focus-within::before { opacity: 1; }

.search__icon { width: 24px; height: 24px; flex: none; color: var(--ink-2); }
.search__box:focus-within .search__icon { color: var(--c-cyan); }

.search__input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--ink-0);
    font: inherit;
    font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
    font-weight: 500;
    padding: 16px 0;
    cursor: pointer; /* readonly-триггер: клик открывает виджет */
}
.search__input::placeholder { color: var(--ink-2); }
.search__input::-webkit-search-cancel-button { display: none; }

.search__open-hint {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--c-lime);
    background: rgba(182, 255, 61, 0.08);
    border: 1px solid rgba(182, 255, 61, 0.25);
    pointer-events: none;
}
.search__open-hint::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-lime);
    animation: pulse 2.2s infinite;
}

.search__note {
    margin-top: 14px;
    text-align: center;
    color: var(--ink-2);
    font-size: 0.88rem;
}

.search__hints {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    justify-content: center;
}
.search__hints-label { color: var(--ink-2); font-size: 0.88rem; margin-right: 2px; }

/* ---- Боевой виджет поиска (его дизайн не трогаем) ----
   Возвращаем виджету родной системный шрифт: body лендинга
   задаёт Manrope, а дизайн виджета свёрстан под -apple-system. */
/* Типографика и контраст выровнены по референсу multisearch.io
   (просьба владельца): Lato (их шрифт, OFL, самохост с кириллицей),
   почти чёрный текст, «грн» у цен. */
@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.motolite-search-wrapper {
    font-family: "Lato", Helvetica, Arial, sans-serif;
    color: rgba(0, 0, 0, 0.9);
    /* переменная, которую ждёт сайдбар виджета (в билде не определена) */
    --color-text: rgba(0, 0, 0, 0.9);
}

/* пункты категорий: обычный вес и без Capitalize Каждого Слова */
.motolite-search-wrapper [class*="item__name"] {
    font-weight: 400;
    text-transform: none;
}

/* счётчики — спокойный серый; активный остаётся фиолетовой пилюлей виджета */
.motolite-search-wrapper [class*="item__count"]:not([class*="active"]) {
    color: #8a93a6;
}

/* цена как у конкурента: «55 грн», а не голое число */
.motolite-search-wrapper [class*="card__price"]::after {
    content: " грн";
}

/* В оригинале виджет живёт на пустой странице и панель стоит в потоке
   сверху. У лендинга #root в конце body — пиним слой панели на весь
   экран (контейнер, ширины и цвета внутри — его родные).
   z-index в его билде задан селектором `.wrapper .modal-root` и на
   корневом узле не матчится — выставляем здесь, выше шапки (z:100). */
.motolite-search-wrapper.motolite-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 16, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2147483000;
}
.motolite-search-wrapper.motolite-modal-root {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2147483001;
}

/* Глобальный `section { padding: clamp(...) }` лендинга не должен
   протекать в <section> панели виджета */
.motolite-search-wrapper section { padding: 0; }

/* ---- Статистика hero ---- */
.hero__stats {
    margin-top: clamp(44px, 7vh, 72px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.stat {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(10px);
}
.stat__num {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.84rem; color: var(--ink-2); font-weight: 500; }

/* ============ Секции: общее ============ */
section { padding: clamp(64px, 11vh, 120px) 0; }

.kicker {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}
.h2 {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: clamp(36px, 6vh, 56px);
    max-width: 880px;
}

/* ============ Pain: до/после ============ */
.pain { padding-top: 0; }
.pain__grid {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 20px;
    align-items: stretch;
}
.pain__col {
    padding: 30px 30px 34px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-line);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}
.pain__col--before { border-color: rgba(255, 84, 112, 0.25); }
.pain__col--after {
    border-color: rgba(182, 255, 61, 0.3);
    background: linear-gradient(160deg, rgba(182,255,61,0.05), rgba(0,210,255,0.05));
}
.pain__title {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.pain__col--before .pain__title { color: #ff8298; }
.pain__col--after .pain__title { color: var(--c-lime); }
.pain__list { display: flex; flex-direction: column; gap: 12px; color: var(--ink-1); font-size: 0.97rem; }
.pain__list li { padding-left: 26px; position: relative; }
.pain__col--before .pain__list li::before { content: "✕"; position: absolute; left: 0; color: #ff5470; font-weight: 800; }
.pain__col--after .pain__list li::before { content: "✓"; position: absolute; left: 0; color: var(--c-lime); font-weight: 800; }
.pain__list b { color: #fff; }
.pain__arrow {
    align-self: center;
    width: 48px; height: 48px;
    opacity: 0.9;
}

/* ============ Bento возможностей ============ */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.card {
    position: relative;
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 210, 255, 0.08), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--glass-line-hover); }
.card:hover::after { opacity: 1; }
.card--lg { grid-column: span 2; }

.card__icon {
    font-size: 1.6rem;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-line);
    margin-bottom: 18px;
}
.card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 10px;
}
.card p { color: var(--ink-1); font-size: 0.95rem; }

.card__demo {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.card__demo code.ok {
    border-color: rgba(182, 255, 61, 0.35);
    background: rgba(182, 255, 61, 0.08);
    color: var(--c-lime);
}
.card__demo-arr { color: var(--ink-2); }

/* ============ Шаги ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: steps;
    position: relative;
}
.step {
    position: relative;
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(10px);
}
.step__num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}
.step h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 10px;
}
.step p { color: var(--ink-1); font-size: 0.95rem; }

/* ============ Тарифы ============ */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(10px);
    transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--glass-line-hover); }

.plan--hot {
    background: linear-gradient(170deg, rgba(124, 108, 255, 0.13), rgba(0, 210, 255, 0.07) 55%, rgba(255, 46, 154, 0.07));
    border-color: rgba(124, 108, 255, 0.45);
    box-shadow: 0 30px 80px -30px rgba(96, 80, 255, 0.5);
}
.plan--hot:hover { border-color: rgba(0, 210, 255, 0.55); }

.plan__tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    border-radius: 99px;
    background: var(--grad-main);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.plan__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.plan__for { color: var(--ink-2); font-size: 0.88rem; margin-bottom: 22px; }
.plan__price {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 24px;
}
.plan__price span { font-size: 0.45em; color: var(--ink-2); font-weight: 600; }
.plan__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    color: var(--ink-1);
    font-size: 0.94rem;
}
.plan__list li { padding-left: 26px; position: relative; }
.plan__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.plan__btn { margin-top: auto; width: 100%; }

.onprem {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 46, 154, 0.3);
    background:
        radial-gradient(600px circle at 0% 50%, rgba(255, 46, 154, 0.1), transparent 60%),
        var(--glass-bg);
}
.onprem h3 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}
.onprem p { color: var(--ink-1); max-width: 600px; }
.onprem .btn { flex: none; }

/* ============ FAQ ============ */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    overflow: hidden;
    transition: border-color 0.25s;
}
.faq__item[open] { border-color: rgba(124, 108, 255, 0.4); }
.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    translate: 0 -50%;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink-2);
    transition: rotate 0.3s var(--ease-out), color 0.2s;
}
.faq__item[open] summary::after { rotate: 45deg; color: var(--c-cyan); }
.faq__item p {
    padding: 0 24px 22px;
    color: var(--ink-1);
    font-size: 0.96rem;
}

/* ============ CTA ============ */
.cta { padding-bottom: clamp(64px, 11vh, 130px); }
.cta__card {
    position: relative;
    text-align: center;
    padding: clamp(44px, 8vh, 80px) 30px;
    border-radius: 32px;
    border: 1px solid rgba(124, 108, 255, 0.35);
    background:
        radial-gradient(900px circle at 50% -40%, rgba(124, 108, 255, 0.28), transparent 65%),
        radial-gradient(700px circle at 85% 120%, rgba(255, 46, 154, 0.16), transparent 60%),
        var(--bg-1);
    overflow: hidden;
}
.cta__card .h2 { margin-inline: auto; margin-bottom: 16px; }
.cta__card p { color: var(--ink-1); margin-bottom: 36px; font-size: 1.05rem; }
.cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============ Footer ============ */
.footer {
    border-top: 1px solid var(--glass-line);
    padding: 48px 0 36px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__head {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.footer__link {
    color: var(--ink-1);
    font-size: 0.94rem;
    transition: color 0.2s;
}
.footer__link:hover { color: #fff; }
.footer__tag { color: var(--ink-1); font-size: 0.92rem; line-height: 1.6; }
.footer__copy {
    color: var(--ink-2);
    font-size: 0.84rem;
    padding-top: 22px;
    border-top: 1px solid var(--glass-line);
}

/* ============ Улучшения 2026 ============ */

/* -- Тикер «сейчас ищут» -- */
.ticker {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 880px;
    margin-inline: auto;
}
.ticker__label {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.ticker__label::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-cyan);
    animation: pulse 2.2s infinite;
}
.ticker__viewport {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: ticker-scroll 36s linear infinite;
}
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker__item {
    flex: none;
    padding: 7px 15px;
    border-radius: 99px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    color: var(--ink-1);
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ticker__item:hover {
    color: #fff;
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(0, 210, 255, 0.09);
}

/* -- Платформы -- */
.platforms { padding-top: 0; }
.platforms__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.platform-chip {
    padding: 13px 26px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(8px);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-1);
    transition: transform 0.25s var(--ease-out), border-color 0.25s, color 0.25s;
}
.platform-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 108, 255, 0.5);
    color: #fff;
}
.platforms__note { margin-top: 18px; color: var(--ink-2); font-size: 0.92rem; }

/* -- Переливание primary-кнопок -- */
.btn--primary {
    position: relative;
    overflow: hidden;
}
.btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: btn-sheen 5.5s var(--ease-out) infinite;
    pointer-events: none;
}
@keyframes btn-sheen {
    0%, 72% { transform: translateX(-120%); }
    88%, 100% { transform: translateX(120%); }
}

/* -- Линия-коннектор шагов (desktop) -- */
.steps { position: relative; }
@media (min-width: 1025px) {
    .steps::before {
        content: "";
        position: absolute;
        top: 46px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: var(--grad-main);
        opacity: 0.45;
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 1.1s var(--ease-out) 0.2s;
        z-index: -1;
    }
    .steps.in-view::before { transform: scaleX(1); }
}

/* -- Стаггер пунктов «до/после» и тарифов -- */
html.js .pain__list li,
html.js .plan__list li {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
html.js .in-view .pain__list li,
html.js .in-view .plan__list li {
    opacity: 1;
    transform: none;
}
.in-view .pain__list li:nth-child(1), .in-view .plan__list li:nth-child(1) { transition-delay: 0.05s; }
.in-view .pain__list li:nth-child(2), .in-view .plan__list li:nth-child(2) { transition-delay: 0.14s; }
.in-view .pain__list li:nth-child(3), .in-view .plan__list li:nth-child(3) { transition-delay: 0.23s; }
.in-view .pain__list li:nth-child(4), .in-view .plan__list li:nth-child(4) { transition-delay: 0.32s; }
.in-view .pain__list li:nth-child(5), .in-view .plan__list li:nth-child(5) { transition-delay: 0.41s; }
.in-view .pain__list li:nth-child(6), .in-view .plan__list li:nth-child(6) { transition-delay: 0.5s; }

/* -- Плавное раскрытие FAQ (CSS 2026, прогрессивно) -- */
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq__item::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
    }
    .faq__item[open]::details-content { block-size: auto; }
}

/* -- Активный пункт меню -- */
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { right: 0; }

/* -- Скролл-параллакс авроры (прогрессивно) -- */
@supports (animation-timeline: scroll()) {
    .aurora__blob--1, .aurora__blob--3 {
        animation-name: blob-drift, aurora-rise;
        animation-timeline: auto, scroll();
        animation-duration: 26s, 1ms;
    }
    @keyframes aurora-rise {
        to { translate: 0 -9vh; }
    }
}

/* -- Мобильный sticky-CTA -- */
.mobile-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 90;
    padding: 13px 26px;
    border-radius: 99px;
    background: var(--grad-main);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 14px 40px -10px rgba(80, 110, 255, 0.65);
    animation: cta-up 0.4s var(--ease-out);
}
@keyframes cta-up {
    from { transform: translate(-50%, 70px); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
}
@media (min-width: 769px) {
    .mobile-cta { display: none; }
}

/* ============ Reveal-анимации ============
   Скрываем только когда JS подтвердил себя классом html.js —
   без JS (или при его падении) весь контент остаётся видимым. */
html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js .reveal.in-view { opacity: 1; transform: none; }

/* ============ Адаптив ============ */
@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card--lg { grid-column: span 2; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
    .plan--hot { order: -1; }
    .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .onprem { flex-direction: column; text-align: center; }
    .onprem p { max-width: none; }
}

@media (max-width: 860px) {
    .pain__grid { grid-template-columns: 1fr; }
    .pain__arrow { transform: rotate(90deg); margin-inline: auto; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        inset: 0;
        z-index: 105;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        background: rgba(6, 7, 15, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    .nav.is-open { opacity: 1; pointer-events: auto; }
    .nav__link { font-size: 1.3rem; }
    .burger { display: flex; }

    .search__box { padding: 4px 16px; border-radius: 16px; }
    .search__input { padding: 14px 0; }
    .search__open-hint { display: none; }
    .search__hints { justify-content: flex-start; }
    .search__hints-label { width: 100%; }
}

@media (max-width: 860px) {
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .container { width: min(100% - 28px, var(--container)); }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat { padding: 16px 10px; }
    .bento { grid-template-columns: 1fr; }
    .card--lg { grid-column: span 1; }
    .cta__actions .btn { width: 100%; }
    .ticker { gap: 0; }
    .ticker__label { display: none; }
    .platform-chip { padding: 11px 18px; font-size: 0.84rem; }
}

/* ============ Доступность ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; }
}

:focus-visible {
    outline: 2px solid var(--c-cyan);
    outline-offset: 3px;
    border-radius: 4px;
}
