@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #050a1f;
  --deep: #0a1433;
  --line: #1b2b5c;
  --neon: #2de2ff;
  --ice: #eaf6ff;
  --mist: #93a6cf;
  --signal: #ff4d6d;
  --glow: 0 0 0 1px rgba(45, 226, 255, .55), 0 0 28px rgba(45, 226, 255, .22);
  --wrap: min(1120px, 100% - 40px);
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--ice); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--neon); text-underline-offset: 3px; }
a:hover { color: var(--ice); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.01em; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 600; }
p { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--neon); color: var(--night); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px max(20px, (100% - 1120px) / 2); background: rgba(5, 10, 31, .86); border-bottom: 1px solid rgba(27, 43, 92, .7); }
.logo { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--ice); text-decoration: none; }
.top-cta { font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--neon); border-radius: 10px; min-height: 40px; display: inline-flex; align-items: center; }

main > section { width: var(--wrap); margin: 0 auto; padding: clamp(56px, 9vw, 112px) 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 54px; padding: 14px 26px; border-radius: 12px; border: 0; background: var(--neon); color: var(--night); font: 700 1.05rem/1.2 var(--text); text-decoration: none; cursor: pointer; box-shadow: 0 0 32px rgba(45, 226, 255, .35); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: var(--night); transform: translateY(-1px); box-shadow: 0 0 44px rgba(45, 226, 255, .5); }
.btn:disabled { background: var(--line); color: var(--mist); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-wide { width: 100%; }
.btn-ghost { min-height: 48px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ice); font: 600 1rem var(--text); cursor: pointer; }

/* Рамка с угловыми скобками, как на слайдах */
.frame { position: relative; background: linear-gradient(180deg, rgba(10, 20, 51, .9), rgba(5, 10, 31, .9)); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.frame::before, .frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--neon); pointer-events: none; filter: drop-shadow(0 0 6px rgba(45, 226, 255, .7)); }
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 88px) !important; }
.badge { display: inline-block; padding: 6px 14px; border: 1px solid var(--neon); border-radius: 8px; color: var(--neon); font-weight: 600; font-size: .95rem; box-shadow: var(--glow); }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.lead { margin-top: 22px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #cfe3ff; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--mist); }
.facts b { color: var(--ice); font-weight: 700; }
.hero-buy { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { color: var(--mist); }

.demo { position: relative; display: grid; gap: 0; }
.phone { width: min(320px, 82%); background: #0b1430; border: 1px solid #22356b; border-radius: 28px; padding: 18px 14px 22px; box-shadow: var(--glow); }
.phone-head { text-align: center; font-weight: 600; margin-bottom: 12px; color: var(--ice); }
.voice { display: flex; align-items: center; gap: 10px; background: #13204a; border-radius: 14px; padding: 9px 12px; margin-top: 8px; opacity: .8; }
.voice i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; position: relative; }
.voice i::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #60a5fa 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(90deg, #000 0 70%, rgba(0,0,0,.3)); mask: linear-gradient(90deg, #000 0 70%, rgba(0,0,0,.3)); clip-path: polygon(0 40%, 10% 10%, 20% 50%, 32% 0, 45% 30%, 58% 5%, 70% 45%, 82% 20%, 100% 50%, 100% 50%, 82% 80%, 70% 55%, 58% 95%, 45% 70%, 32% 100%, 20% 50%, 10% 90%, 0 60%); }
.wave.w2 { clip-path: polygon(0 30%, 14% 0, 26% 40%, 40% 15%, 55% 45%, 68% 0, 84% 35%, 100% 45%, 100% 55%, 84% 65%, 68% 100%, 55% 55%, 40% 85%, 26% 60%, 14% 100%, 0 70%); }
.wave.w3 { clip-path: polygon(0 45%, 8% 15%, 22% 35%, 36% 5%, 50% 40%, 64% 20%, 78% 0, 100% 40%, 100% 60%, 78% 100%, 64% 80%, 50% 60%, 36% 95%, 22% 65%, 8% 85%, 0 55%); }
.voice small { color: var(--mist); font-size: .75rem; font-variant-numeric: tabular-nums; }
.bot { position: relative; margin: -120px 0 0 auto; width: min(300px, 78%); background: #0d1a3d; border: 1px solid var(--neon); border-radius: 18px 18px 4px 18px; padding: 18px; box-shadow: var(--glow); font-size: .95rem; animation: arrive .7s .5s cubic-bezier(.2, .8, .2, 1) both; }
.bot-name { color: var(--neon); font-weight: 700; margin-bottom: 6px; }
.bot ul { list-style: none; padding: 0; margin: 10px 0 12px; display: grid; gap: 6px; }
.bot li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; background: rgba(45, 226, 255, .08); border-radius: 8px; }
.bot li b { color: var(--neon); font-variant-numeric: tabular-nums; }
.bot-remind { color: #cfe3ff; border-top: 1px solid var(--line); padding-top: 10px; }
@keyframes arrive { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* Боль */
.pain-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; max-width: 46rem; }
.pain-list li { position: relative; padding-left: 44px; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; }
.pain-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 28px; height: 3px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 12px rgba(255, 77, 109, .8); }

/* Результат */
.result-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.result-grid p { margin-top: 12px; color: #cfe3ff; }
.result-note { margin-top: 24px; color: var(--mist); max-width: 46rem; }

/* Формат */
.format-list { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.format-list div { border-top: 1px solid var(--line); padding-top: 18px; }
.format-list dt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.format-list dd { margin: 8px 0 0; color: #cfe3ff; }

.earn p { margin-top: 20px; max-width: 40rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #cfe3ff; }
.needs ul { margin: 24px 0 0; padding-left: 1.2em; display: grid; gap: 10px; max-width: 40rem; }
.needs li::marker { color: var(--neon); }

/* Покупка */
.buy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.price { margin-top: 16px; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.1; }
.price s { font-family: var(--text); font-size: 1.1rem; font-weight: 400; color: var(--mist); margin-left: 8px; }
.price-note { margin-top: 8px; color: var(--signal); font-weight: 600; }
.seats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: 24px; max-width: 320px; }
.seats span { aspect-ratio: 1; border-radius: 4px; background: var(--neon); box-shadow: 0 0 10px rgba(45, 226, 255, .5); }
.seats span.taken { background: var(--line); box-shadow: none; }
.seats-text { margin-top: 10px; color: var(--mist); }
.buy-after { margin-top: 20px; color: #cfe3ff; }

.buy-form { display: grid; gap: 6px; }
.buy-form label { font-weight: 600; margin-top: 12px; }
.buy-form label:first-of-type { margin-top: 0; }
.buy-form input:not([type="checkbox"]) { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #060d26; color: var(--ice); font: inherit; }
.buy-form input:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 0 3px rgba(45, 226, 255, .25); }
.buy-form input[aria-invalid="true"] { border-color: var(--signal); }
.buy-form input::placeholder { color: #5f709b; }
.field-hint { color: var(--mist); font-size: .9rem; }
.field-err { color: var(--signal); font-size: .9rem; }
.form-alert { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--signal); background: rgba(255, 77, 109, .08); }
.form-alert.ok { border-color: var(--neon); background: rgba(45, 226, 255, .08); }
.promo { margin-top: 12px; }
.promo summary { cursor: pointer; color: var(--neon); width: fit-content; min-height: 32px; }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 8px 0 4px; }
.check { display: grid !important; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400 !important; margin-top: 18px !important; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--neon); }
.buy-form .btn { margin-top: 18px; }
.form-note { color: var(--mist); font-size: .9rem; text-align: center; margin-top: 6px; }

/* Вопросы */
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); max-width: 52rem; }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem/1 var(--display); color: var(--neon); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: #cfe3ff; max-width: 44rem; }

.foot { width: var(--wrap); margin: clamp(64px, 9vw, 112px) auto 0; padding: 32px 0 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; color: var(--mist); }
.foot p + p { margin-top: 6px; }
.foot-title { color: var(--ice); font-weight: 600; margin-bottom: 10px; }
.foot-legal { grid-column: 1 / -1; font-size: .875rem; }

@media (max-width: 860px) {
  .hero, .buy { grid-template-columns: minmax(0, 1fr); }
  .demo { max-width: 460px; }
  .result-grid, .format-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .foot { grid-template-columns: minmax(0, 1fr); }
  .hero-buy .btn { width: 100%; }
  .top-cta { padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bot { animation: none; }
  .btn { transition: none; }
}

/* Страница после оплаты и документы */
.status { min-height: 60vh; display: grid; place-items: center; }
.status-card { width: min(560px, 100%); }
.status-card h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; }
.status-card p { margin-top: 14px; color: #cfe3ff; }
.status-card .btn { margin-top: 24px; }
.status-note { font-size: .9rem; color: var(--mist) !important; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--neon); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.doc { max-width: 46rem; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; }
.doc h2 { font-size: 1.2rem; margin-top: 32px; max-width: none; }
.doc p, .doc li { color: #cfe3ff; margin-top: 12px; }
.doc .muted { color: var(--mist); }
