/* ai.ads: сайт под рекламу (заявка → «Спасибо» → WhatsApp). Стиль сайта ai.ads: ночной фиолетовый, лайм на кнопках, Onest.
   Набор landing-kit: всё по центру, блеск на кнопках, плавная прокрутка, круглая стрелка к #start, видеоотзыв на весь экран. */
@font-face { font-family: 'Onest'; src: url('/fonts/onest-cyrillic.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.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+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #1A0947; --deep: #280F61; --violet: #5318EB; --violet-2: #7B4DFF; --lav: #DFD4FB;
  --lime: #C4EE87; --lime-2: #A6DD62; --lime-3: #E2F8BE; --ink: #0C021C;
  --white: #fff; --text: #F4F0FF; --muted: rgba(244, 240, 255, .74); --line: rgba(223, 212, 251, .16);
  --card: rgba(255, 255, 255, .055); --red: #FF6B7A;
  --r: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font: 400 17px/1.5 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text);
  background: radial-gradient(120% 700px at 50% -160px, #4A1BC9 0%, rgba(74, 27, 201, 0) 70%) no-repeat, var(--night);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
h1, h2, .lead, .sub, .cta-note, .center, .shot-note, .calc, .answer, .step, .review, .form-lead, .foot { text-align: center; }
h2 { font-size: clamp(28px, 7.4vw, 46px); }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 680px; }
.nw { white-space: nowrap; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(26, 9, 71, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.on { border-bottom-color: var(--line); background: rgba(26, 9, 71, .94); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 19px; font-weight: 800; }
.brand small { font-size: 13px; color: var(--muted); }

/* кнопки: лайм, блеск раз в 3,6 с */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border: 0; border-radius: 16px;
  font: 700 18px/1.15 'Onest', system-ui, sans-serif; color: var(--ink); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:not(.other) {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--lime-3) 0%, var(--lime) 45%, var(--lime-2) 100%);
  box-shadow: 0 12px 30px -12px rgba(196, 238, 135, .65), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn:not(.other):hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(196, 238, 135, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn:not(.other)::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
.nav .btn::after { animation-delay: 1.2s; }
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 135%; } }
.btn.other { background: transparent; color: var(--lime); box-shadow: inset 0 0 0 2px var(--lime); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.big { min-height: 62px; font-size: 19px; padding: 0 36px; }
.btn.wide { width: 100%; }
.btn:focus-visible, .fab:focus-visible, .thumb:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn:disabled { opacity: .7; cursor: default; }
.center { margin-top: 30px; }

/* первый экран */
.hero { position: relative; padding: 34px 0 54px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg img { position: absolute; width: 150px; border-radius: 16px; opacity: .3; filter: blur(1.5px) saturate(1.1); }
.hero-bg img:nth-child(1) { left: -70px; top: 70px; transform: rotate(-8deg); }
.hero-bg img:nth-child(2) { right: -78px; top: 40px; transform: rotate(9deg); }
.hero-bg img:nth-child(3) { left: -60px; top: 470px; transform: rotate(6deg); }
.hero-bg img:nth-child(4) { right: -70px; top: 520px; transform: rotate(-7deg); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 28%, rgba(26, 9, 71, .2) 0%, rgba(26, 9, 71, .85) 100%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(196, 238, 135, .12); color: var(--lime); font-size: 14px; font-weight: 600; text-align: center; }
h1 { margin-top: 16px; font-size: clamp(36px, 10.4vw, 72px); line-height: 1.02; }
h1 em { font-style: normal; color: var(--lime); }
.lead { margin-top: 16px; max-width: 560px; font-size: 18px; color: var(--muted); }
.hero .btn { margin-top: 24px; }
.cta-note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; }
.chips li::before { content: "✓"; color: var(--lime); margin-right: 6px; }
.hero-shot { position: relative; margin-top: 34px; width: 100%; max-width: 420px; padding-bottom: 6px; }
.phone { position: relative; width: 66%; max-width: 270px; margin: 0 auto; border-radius: 34px; padding: 8px; background: #0b0420; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { border-radius: 27px; width: 100%; }
.phone.sm { width: 58%; max-width: 230px; }
.float { position: absolute; width: 62%; max-width: 260px; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .65); }
.float.f1 { right: -2%; bottom: 48px; transform: rotate(2.5deg); }
.shot-note { margin-top: 14px; font-size: 13px; color: var(--muted); opacity: .8; }

/* секции */
.sec { padding: 64px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sub { margin: 14px auto 0; max-width: 600px; color: var(--muted); }

.pains { display: grid; gap: 12px; margin-top: 30px; }
.pain { padding: 22px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: center; }
.pain h3 { color: var(--white); }
.pain h3::before { content: "✕"; display: block; width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255, 107, 122, .14); color: var(--red); font: 800 16px/34px 'Onest', sans-serif; }
.pain p { margin-top: 8px; color: var(--muted); }

/* калькулятор */
.calc { margin-top: 28px; padding: 26px 20px; border-radius: 26px; color: var(--ink);
  background: linear-gradient(160deg, #FFFFFF 0%, #F1ECFF 60%, #E7DEFF 100%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.rng label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 16px; color: #3B2A66; }
.rng output { font-size: 22px; font-weight: 800; color: var(--violet); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin-top: 6px; background: transparent; cursor: pointer; --p: 7%; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--violet) var(--p), #D9CFF6 var(--p)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: #D9CFF6; }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--violet); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--violet); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(83, 24, 235, .45); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(83, 24, 235, .45); }
.calc-lbl { margin-top: 18px; font-size: 15px; font-weight: 600; color: #5B4A86; }
.sum { margin-top: 2px; font-size: clamp(46px, 13vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--violet) 0%, #2A0C8F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-kzt { margin-top: 4px; color: #5B4A86; }
.calc-kzt b { color: var(--ink); }
.calc-q { margin-top: 20px; padding-top: 18px; border-top: 1px solid #DDD3F6; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.answer { margin-top: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(196, 238, 135, .1); border: 1px solid rgba(196, 238, 135, .35); }
.answer b { color: var(--lime); }

/* как работает */
.steps { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.step { position: relative; padding: 26px 18px 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.step i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font: 800 18px/1 'Onest', sans-serif; font-style: normal; box-shadow: 0 8px 20px -6px rgba(83, 24, 235, .8); }
.step p { margin: 10px auto 0; max-width: 460px; color: var(--muted); }
.step .ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 360px; margin: 20px auto 0; }
.step .ads img { border-radius: 12px; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.step .card-img { max-width: 380px; margin: 20px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.step .phone { margin-top: 20px; }

/* деньги и кабинет */
.ctrl { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.ctrl li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.ctrl b { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.ctrl b::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 13px; }
.ctrl span { font-size: 18px; font-weight: 600; color: var(--white); }

/* видеоотзывы */
.reviews { display: grid; gap: 16px; margin-top: 28px; }
.review { padding: 24px 18px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.review .name { font-size: 18px; font-weight: 700; color: var(--white); }
.review .ctx { font-size: 15px; color: var(--muted); margin-top: 2px; }
.review .thumb { position: relative; display: block; width: 150px; aspect-ratio: 9 / 16; margin: 14px auto 0; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8); }
.review .thumb img { width: 100%; height: 100%; object-fit: cover; }
.review .thumb .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 8px rgba(196, 238, 135, .25); }
.review .thumb .play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.review .thumb .dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600; }
.review blockquote { margin-top: 16px; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--white); }
.review details { margin-top: 14px; font-size: 15px; }
.review summary { cursor: pointer; color: var(--lime); font-weight: 600; list-style: none; }
.review summary::-webkit-details-marker { display: none; }
.review summary::after { content: " ↓"; }
.review details[open] summary::after { content: " ↑"; }
.review details p { margin-top: 10px; color: var(--muted); text-align: left; }
.vmodal { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; align-items: center; justify-content: center; }
.vmodal[hidden] { display: none; }
.vmodal video { width: auto; height: auto; max-width: 100vw; max-height: 100vh; max-height: 100dvh; }
.vmodal .close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; font-size: 26px; line-height: 44px; cursor: pointer; z-index: 1; }

/* подойдёт, если */
.fit { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.fit li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 18px; font-weight: 600; text-align: center; }
.fit li::before { content: "✓"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 800; }

/* вопросы */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 50px 18px 18px; font-size: 18px; font-weight: 700; color: var(--white); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: rgba(196, 238, 135, .14); color: var(--lime); font: 700 20px/28px 'Onest', sans-serif; text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

/* заявка */
.start { background: radial-gradient(90% 420px at 50% 0%, rgba(83, 24, 235, .55) 0%, rgba(83, 24, 235, 0) 70%) no-repeat; scroll-margin-top: 64px; }
.gets { list-style: none; display: grid; gap: 8px; margin: 22px auto 0; max-width: 460px; }
.gets li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; font-weight: 600; text-align: left; }
.gets li::before { content: "✓"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 800; }
.form-card { margin-top: 26px; padding: 26px 20px 22px; border-radius: 26px; color: var(--ink);
  background: linear-gradient(160deg, #FFFFFF 0%, #F4F0FF 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .5); }
.form-lead { font-size: 17px; font-weight: 600; color: #2A1A52; }
form { margin-top: 18px; }
form label { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; color: #3B2A66; }
form input:not([type=hidden]) { width: 100%; height: 56px; margin-top: 6px; padding: 0 16px; border: 2px solid #D9CFF6; border-radius: 14px; background: #fff; color: var(--ink); font: 500 18px 'Onest', system-ui, sans-serif; transition: border-color .15s, box-shadow .15s; }
form input:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(83, 24, 235, .15); }
form input[aria-invalid=true] { border-color: #E5484D; }
.error { min-height: 0; margin-top: 4px; font-size: 14px; color: #D12E3A; }
.error:empty { display: none; }
form .btn { margin-top: 20px; box-shadow: 0 14px 30px -12px rgba(110, 160, 40, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.consent { margin-top: 10px; font-size: 13px; color: #6B5C92; text-align: center; }
.failure { margin-top: 14px; text-align: center; }
.failure p { font-weight: 600; color: #D12E3A; }
.failure .btn { margin-top: 10px; color: var(--violet); box-shadow: inset 0 0 0 2px var(--violet); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot { padding: 36px 0 90px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot p + p { margin-top: 6px; }
.foot b { color: var(--white); }
.foot .fine { font-size: 13px; opacity: .8; }

/* круглая кнопка «вниз к заявке» */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
  background: linear-gradient(135deg, var(--lime-3) 0%, var(--lime) 50%, var(--lime-2) 100%);
  box-shadow: 0 10px 26px -8px rgba(196, 238, 135, .7); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; }
.fab.off { opacity: 0; transform: scale(.8); pointer-events: none; }

/* плавное появление */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .sec { padding: 88px 0; }
  .hero { padding: 56px 0 80px; }
  .hero-bg img { width: 210px; }
  .hero-bg img:nth-child(1) { left: 2%; top: 60px; }
  .hero-bg img:nth-child(2) { right: 2%; top: 40px; }
  .hero-bg img:nth-child(3) { left: 6%; top: 460px; }
  .hero-bg img:nth-child(4) { right: 6%; top: 480px; }
  .pains { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ctrl { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .calc { padding: 34px 36px; }
  .form-card { padding: 34px 36px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:not(.other)::after { animation: none; display: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
