/* Главная BotPay: живой первый экран (чат бота → кабинет → USDT), калькулятор, анимации. Подключается только на главной. */
body.lp { position: relative; overflow-x: clip; }
.aurora { position: absolute; inset: 0 0 auto 0; height: 900px; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -120px; background: rgba(var(--accent-rgb), .55); animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: -120px; top: 40px; background: rgba(46, 230, 166, .26); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: 38%; top: 280px; background: rgba(90, 80, 255, .30); animation: drift 26s ease-in-out infinite alternate; }
:root[data-theme="light"] .aurora i { opacity: .38; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(70% 60% at 50% 20%, #000, transparent); mask: radial-gradient(70% 60% at 50% 20%, #000, transparent); }
body.lp main, body.lp .lp-top, body.lp footer { position: relative; z-index: 1; }

/* Первый экран */
.hero { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; gap: 24px; grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; animation: rise .8s var(--ease) both; }
.hero .hero-kicker { animation: rise .6s var(--ease) both; }
.hero p.lead { animation: rise .8s .12s var(--ease) both; }
.hero .actions { animation: rise .8s .22s var(--ease) both; }
.hero-facts { animation: rise .8s .32s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.btn-glow { position: relative; box-shadow: 0 10px 34px -8px rgba(var(--accent-rgb), .85); }
.btn-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }

/* Сцена: телефон + кабинет */
.stage { position: relative; display: flex; justify-content: flex-start; padding-left: 8px; align-items: flex-start; min-height: 600px; animation: rise 1s .15s var(--ease) both; }
.phone { position: relative; width: 304px; flex: none; border-radius: 42px; padding: 9px; background: linear-gradient(160deg, #2b3345, #0d111b); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-3deg); z-index: 2; margin-right: -30px; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #05070c; z-index: 3; }
.ph-bar { display: flex; align-items: center; gap: 10px; padding: 40px 14px 10px; background: #17212b; border-radius: 33px 33px 0 0; color: #fff; }
.ph-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #46D2FF, #2F6BFF); font: 700 .95rem var(--body); }
.ph-t { display: grid; line-height: 1.15; flex: 1; font-size: .9rem; } .ph-t small { color: #6c7f93; font-size: .74rem; }
.ph-dots { display: grid; gap: 3px; } .ph-dots i { width: 3px; height: 3px; border-radius: 50%; background: #8696a8; }
.chat { height: 408px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px 10px; background: #0e1621 radial-gradient(120% 60% at 100% 0, rgba(46, 120, 255, .12), transparent) ; color: #e8eef6; font: 400 .84rem/1.35 var(--body); }
.msg { max-width: 88%; display: grid; gap: 6px; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .35s, transform .35s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg > span { padding: 8px 11px; border-radius: 14px; }
.msg.me { align-self: flex-end; } .msg.me > span { background: #2b5278; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; } .msg.bot > span { background: #182533; border-bottom-left-radius: 4px; }
.msg.ok > span { background: rgba(46, 230, 166, .16); color: #5ff0bd; font-weight: 600; }
.msg code { display: inline-block; margin-top: 3px; padding: 2px 8px; border-radius: 7px; background: #0b121b; color: #7fe3ff; font: 600 .82rem ui-monospace, Menlo, monospace; letter-spacing: .02em; }
.kb { display: grid; gap: 4px; } .kb b { display: block; text-align: center; padding: 7px 9px; border-radius: 10px; background: rgba(120, 160, 220, .16); color: #cfe3ff; font-weight: 500; font-size: .8rem; transition: background .3s, transform .3s; }
.kb b.pay { background: linear-gradient(135deg, #2f6bff, #46d2ff); color: #fff; font-weight: 700; }
.kb b.tap { transform: scale(.96); background: rgba(120, 190, 255, .38); }
.ph-input { display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; background: #17212b; border-radius: 0 0 33px 33px; color: #5c6d80; font-size: .82rem; }
.ph-input span { flex: 1; } .ph-input i { width: 22px; height: 22px; border-radius: 50%; background: #2f6bff; }

/* Кабинет рядом с телефоном */
.cab { position: absolute; right: -22px; top: 250px; width: 280px; z-index: 3; background: #fff; color: #0D1626; border-radius: 22px; padding: 18px; box-shadow: 0 40px 70px -26px rgba(10, 30, 110, .65); transform: rotate(2deg); transition: box-shadow .5s; }
.cab.pulse { animation: cab-pulse 1.2s var(--ease); }
@keyframes cab-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, .7), 0 40px 70px -26px rgba(10, 30, 110, .65); } 100% { box-shadow: 0 0 0 26px rgba(46, 230, 166, 0), 0 40px 70px -26px rgba(10, 30, 110, .65); } }
.cab-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cab-h b { font-family: var(--display); font-size: 1.05rem; }
.cab .demo-pill { border-color: #cdd8ee; color: #5B6880; }
.cab small { color: #5B6880; font-size: .76rem; display: block; }
.cab-sum { font: 800 2.1rem/1.1 var(--display); letter-spacing: -.03em; margin: 2px 0 12px; font-variant-numeric: tabular-nums; }
.cab-sum.bump { animation: bump .5s var(--ease); color: #0F9D6B; }
.cab-sale { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #F1F6FF; opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease); }
.cab-sale.show { opacity: 1; transform: none; }
.cab-sale .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E0EAFF; color: #1D4ED8; flex: none; }
.cab-sale div { flex: 1; line-height: 1.2; min-width: 0; } .cab-sale b { font-size: .88rem; }
.cab-sale em { font-style: normal; font-weight: 800; color: #0F9D6B; white-space: nowrap; }
.cab-out { margin-top: 10px; display: grid; grid-template-columns: auto 1fr auto; white-space: nowrap; gap: 2px 8px; align-items: center; padding: 11px 12px; border-radius: 14px; background: linear-gradient(135deg, #0f9d6b, #20c997); color: #fff; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
.cab-out.show { opacity: 1; transform: none; }
.cab-out .ico { width: 20px; height: 20px; grid-row: span 2; } .cab-out span { font-size: .78rem; opacity: .9; } .cab-out b { font: 800 .92rem var(--display); }
.cab-out small { color: rgba(255, 255, 255, .85); grid-column: 2 / -1; }
.coin-fly { position: absolute; left: 50%; top: 270px; z-index: 4; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #46D2FF, #2F6BFF); color: #fff; font: 800 .85rem var(--display); box-shadow: 0 8px 24px rgba(47, 107, 255, .6); opacity: 0; pointer-events: none; }
.coin-fly.go { animation: coin 1.1s var(--ease) forwards; }
@keyframes coin { 0% { opacity: 0; transform: translate(-30px, 30px) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(150px, -70px) scale(1.1); } }

/* Бегущая строка */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; gap: 14px; padding: 16px 0; animation: mq 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; background: var(--surface); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Появление блоков при прокрутке */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Как работает касса: конвейер */
.pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: p; }
.pipe::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px; background: var(--line-2); }
.pipe::after { content: ""; position: absolute; left: 8%; top: 34px; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), #2EE6A6); box-shadow: 0 0 14px rgba(var(--accent-rgb), .8); transition: width 1.6s .2s var(--ease); }
.pipe.in::after { width: 84%; }
.pipe li { position: relative; padding: 0 6px; text-align: left; }
.pipe-n { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 18px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; box-shadow: 0 0 0 6px var(--bg); }
.pipe-n .ico { width: 28px; height: 28px; }
.pipe li:hover .pipe-n { transform: translateY(-4px) rotate(-4deg); border-color: var(--accent); box-shadow: 0 0 0 6px var(--bg), 0 14px 30px -12px rgba(var(--accent-rgb), .7); }
.pipe li:last-child .pipe-n { color: #2EE6A6; }
.pipe h3 { font-size: 1.15rem; margin-bottom: 6px; } .pipe p { color: var(--muted); margin: 0; max-width: 34ch; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 34px; border-radius: 30px; border: 1px solid var(--line-2); background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, var(--accent)), var(--surface)); box-shadow: var(--shadow, 0 30px 70px -40px rgba(0, 0, 0, .6)); position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(rgba(46, 230, 166, .28), transparent 65%); pointer-events: none; }
.calc-in label { font-weight: 600; color: var(--muted); }
.calc-v { font: 800 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--display); letter-spacing: -.035em; margin: 6px 0 16px; font-variant-numeric: tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; padding: 0; border: 0; background: linear-gradient(90deg, var(--accent) var(--p, 10%), var(--surface-3) var(--p, 10%)); outline: none; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 14px rgba(var(--accent-rgb), .6); transition: transform .15s; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.calc input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.calc-scale { display: flex; justify-content: space-between; color: var(--faint); font-size: .8rem; margin-top: 8px; }
.calc-out { margin: 0; display: grid; gap: 10px; position: relative; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.calc-out dt { color: var(--muted); } .calc-out dd { margin: 0; font: 700 1.2rem var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out .big { background: var(--hero-card); border: 0; color: #fff; } .calc-out .big dt { color: rgba(255, 255, 255, .8); } .calc-out .big dd { font-size: 1.7rem; }
.calc-out .usdt dd { color: #2EE6A6; font-size: 1.5rem; }
.calc-note { grid-column: 1 / -1; margin: 0; color: var(--faint); font-size: .82rem; }

/* Bento: подсветка под курсором */
.bento > div { position: relative; overflow: hidden; transition: border-color .25s, transform .35s var(--ease); }
.bento > div::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bento > div:hover { transform: translateY(-3px); } .bento > div:hover::before { opacity: 1; }
.b-ic { transition: transform .4s var(--ease); } .bento > div:hover .b-ic { transform: scale(1.1) rotate(-6deg); }
.price-main, .cta-band { background-size: 200% 200%; animation: grad 12s ease-in-out infinite alternate; }
@keyframes grad { to { background-position: 100% 100%; } }
.lp-steps li { transition: transform .35s var(--ease), border-color .3s; } .lp-steps li:hover { transform: translateY(-4px); border-color: var(--accent); }

/* Адаптив */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { max-width: 18ch; }
  .stage { min-height: 0; padding-bottom: 20px; }
  .calc { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 640px) {
  .pipe { grid-template-columns: 1fr; gap: 26px; } .pipe::before, .pipe::after { left: 34px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .pipe::after { height: 0; transition: height 1.6s .2s var(--ease); width: 2px; } .pipe.in::after { width: 2px; height: calc(100% - 40px); }
  .pipe li { display: grid; grid-template-columns: 68px 1fr; column-gap: 16px; } .pipe-n { grid-row: span 2; margin: 0; }
  .stage { flex-direction: column; align-items: center; }
  .phone { transform: none; width: min(304px, 100%); }
  .cab { position: relative; right: auto; top: auto; margin: -70px 0 0 70px; width: min(250px, 80%); }
  .coin-fly { display: none; }
  .calc-out dd { font-size: 1.05rem; } .calc-out .big dd { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .mq-track, .btn-glow::after, .price-main, .cta-band { animation: none !important; }
  .hero h1, .hero .hero-kicker, .hero p.lead, .hero .actions, .hero-facts, .stage { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .msg, .cab-sale, .cab-out { opacity: 1; transform: none; transition: none; }
  .pipe::after { width: 84%; transition: none; }
}

/* ===== extra motion ===== */
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes bob2 { 0%,100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes spin { to { --a: 360deg; } }
@keyframes beam { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46,230,166,.55); } 100% { box-shadow: 0 0 0 14px rgba(46,230,166,0); } }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.js .cab { animation: bob 6s ease-in-out infinite; }
.js .phone { animation: bob2 7s ease-in-out infinite; }
.price-main { position: relative; isolation: isolate; }
.price-main::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; background: conic-gradient(from var(--a), #2ee6a6, #3b82ff, #8b5cf6, #2ee6a6); animation: spin 6s linear infinite; opacity: .9; }
.price-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: inherit; }
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%); background-size: 200% 100%; animation: beam 5s linear infinite; }
.pipe { position: relative; }
.pipe li { transition: transform .4s var(--ease), box-shadow .4s; }
.pipe li:hover { transform: translateY(-6px); }
.pipe-n { animation: ping 2.4s ease-out infinite; }
.pipe li:nth-child(2) .pipe-n { animation-delay: .8s; } .pipe li:nth-child(3) .pipe-n { animation-delay: 1.6s; }
@media (min-width: 900px) {
  .pipe::before { content: ""; position: absolute; left: 12%; right: 12%; top: 38px; height: 2px; background: linear-gradient(90deg, transparent, #3b82ff, #2ee6a6, transparent); background-size: 200% 100%; animation: beam 3.5s linear infinite; opacity: .6; z-index: 0; }
}
.bento > * { transition: transform .35s var(--ease), border-color .3s; }
.bento > *:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .js .cab, .js .phone, .price-main::before, .cta-band::after, .pipe-n, .pipe::before { animation: none !important; }
}

/* Блок «Рост продаж» */
.grow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.grow > div { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.grow > div:hover { transform: translateY(-4px); border-color: var(--accent); }
.grow h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.grow p { margin: 0; color: var(--muted); font-size: .94rem; }
.faq { margin-top: 18px; }
@media (max-width: 900px) { .grow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grow { grid-template-columns: minmax(0, 1fr); } }
.lp-nav a { white-space: nowrap; } .lp-nav { gap: clamp(10px, 1.6vw, 22px); }

/* ===== Шлифовка главной ===== */
/* «Как работает»: шаги — такие же карточки, как остальные блоки */
.pipe { gap: 16px; }
.pipe::before, .pipe::after { display: none !important; }
.pipe li { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card, rgba(255,255,255,.03)); }
.pipe li:hover { border-color: rgba(var(--accent-rgb), .4); }
.pipe-n { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; }
.pipe-n .ico { width: 24px; height: 24px; }
.pipe p { max-width: none; }
@media (max-width: 860px) { .pipe li { display: block; padding: 20px; } .pipe-n { margin-bottom: 14px; } }
/* Заголовки секций не слипаются в две строки */
.lp-section h2 { line-height: 1.14; }
/* Тариф: единая заливка без шва */
.price-main::after { right: 0; bottom: 0; width: auto; height: auto; border-radius: inherit; background: linear-gradient(150deg, #2a5cf0 0%, #1a3fc4 55%, #1638b8 100%); }
:root[data-theme="light"] .price-main::after { background: linear-gradient(150deg, #2563F5 0%, #1840C9 100%); }
/* FAQ — блоки в две колонки */
.faq { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card, rgba(255,255,255,.03)); padding: 0 20px; transition: border-color .15s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), .4); }
.faq summary { padding: 18px 0; font-size: 1rem; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }
/* Футер: ссылки-«таблетки» */
.land-foot .wrap > span:last-child { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0; }
.land-foot .wrap > span:last-child a { font-size: .84rem; text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: color .15s, border-color .15s; }
.land-foot .wrap > span:last-child a:hover { color: var(--text); border-color: rgba(var(--accent-rgb), .5); }
@media (max-width: 560px) { .land-foot .wrap { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ===== Первый экран v2: тёмная карточка кабинета, «печатает…», вспышка монет, график, смена способа вывода ===== */
.chat { -webkit-mask: linear-gradient(transparent, #000 46px); mask: linear-gradient(transparent, #000 46px); }
.msg.typing:not(.show) { display: none; }
.msg.typing > span { display: flex; gap: 4px; padding: 11px 13px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #7f93ab; animation: tdot 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.kb b.tap { position: relative; overflow: hidden; }
.kb b.tap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }
.chk { width: 17px; height: 17px; margin: -3px 7px -3px 0; vertical-align: middle; fill: none; stroke: #5ff0bd; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chk circle { stroke-dasharray: 63; stroke-dashoffset: 63; } .chk path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.msg.show .chk circle { animation: draw .5s .1s ease-out forwards; } .msg.show .chk path { animation: draw .35s .5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.cab { color: #eaf2ff; background: linear-gradient(165deg, rgba(22, 36, 64, .94), rgba(8, 14, 30, .97)); border: 0; width: 290px; box-shadow: 0 44px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.cab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 55%, rgba(70, 210, 255, .95), rgba(47, 107, 255, .95), rgba(46, 230, 166, .9), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; animation: spin 5s linear infinite; }
.cab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
.cab.pulse::after { animation: cab-ring 1.2s var(--ease); }
@keyframes cab-ring { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 230, 166, .65); } 100% { opacity: 0; box-shadow: 0 0 0 28px rgba(46, 230, 166, 0); } }
.cab small { color: #8fa3bf; }
.cab .demo-pill { border-color: rgba(255, 255, 255, .22); color: #b9c8de; display: inline-flex; align-items: center; gap: 6px; }
.demo-pill .live { width: 7px; height: 7px; border-radius: 50%; background: #2ee6a6; animation: ping 1.8s infinite; }
.cab-sum { color: #fff; } .cab-sum.bump { color: #5ff0bd; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin: 0 0 12px; }
.spark i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(120, 160, 230, .26); transform-origin: bottom; transition: height .9s var(--ease), background .4s; }
.spark i.now { background: rgba(120, 160, 230, .26); }
.spark i.now.up { background: linear-gradient(180deg, #46d2ff, #2f6bff); }
.js .spark i { animation: sp-in .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes sp-in { from { transform: scaleY(.2); opacity: 0; } }
.cab-sale { background: rgba(70, 210, 255, .10); }
.cab-sale .ic { background: rgba(70, 210, 255, .18); color: #7fe3ff; }
.cab-sale b { color: #fff; } .cab-sale em { color: #5ff0bd; }
.cab-out b, .cab-out small { transition: opacity .25s, transform .25s; }
.cab-out.swap b, .cab-out.swap small { opacity: 0; transform: translateY(5px); }
.burst { position: absolute; left: 50%; top: 74px; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i { position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #ffd666; box-shadow: 0 0 10px rgba(255, 214, 102, .9); opacity: 0; }
.burst i:nth-child(3n) { background: #46d2ff; box-shadow: 0 0 10px rgba(70, 210, 255, .9); } .burst i:nth-child(3n+1) { background: #5ff0bd; box-shadow: 0 0 10px rgba(95, 240, 189, .9); }
.burst.go i { animation: burst .95s var(--ease) forwards; animation-delay: calc(var(--i) * 22ms); }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.1); } }
.flow { display: none; }
@media (max-width: 640px) {
  .stage { gap: 0; }
  .phone { margin-right: 0; }
  .flow { display: block; position: relative; width: 2px; height: 38px; margin: 2px 0; background: repeating-linear-gradient(180deg, rgba(120, 190, 255, .55) 0 5px, transparent 5px 10px); }
  .flow i { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #46d2ff, #2f6bff); box-shadow: 0 0 12px rgba(70, 210, 255, .9); animation: flowdot 1.8s ease-in-out infinite; }
  @keyframes flowdot { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 100% { top: 30px; opacity: 0; } }
  .cab { position: relative; right: auto; top: auto; margin: 0; width: min(304px, 100%); transform: none; }
  .js .cab { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cab::before, .demo-pill .live, .flow i, .msg.typing i, .spark i { animation: none !important; }
  .msg.typing { display: none !important; }
  .chk circle, .chk path { stroke-dashoffset: 0; }
  .spark i.now { --h: 96% !important; }
}
/* пока продажи нет — строки карточки показываются «скелетом», а не пустотой */
.cab-sale:not(.show), .cab-out:not(.show) { opacity: 1; transform: none; background: linear-gradient(100deg, rgba(120, 160, 230, .07) 30%, rgba(120, 160, 230, .17) 50%, rgba(120, 160, 230, .07) 70%) 0 0 / 220% 100%; animation: skel 1.8s linear infinite; }
.cab-sale:not(.show) > *, .cab-out:not(.show) > * { visibility: hidden; }
@keyframes skel { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .cab-sale:not(.show), .cab-out:not(.show) { animation: none; } }

div.w3.w-full{grid-column:1/-1 !important}

/* ===== pricing: no overflow, tidy cards ===== */
.price { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: stretch; }
.price > * { min-width: 0; max-width: 100%; }
.price-main { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.price-main .v { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.05; overflow-wrap: anywhere; }
.price-main p { margin: 0; }
.price-main .btn { margin-top: auto; }
.price-list { grid-template-rows: repeat(3, 1fr); min-width: 0; }
.price-list > div { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 16px; }
.price-list > div > span { min-width: 0; overflow-wrap: anywhere; }
.price-list b { white-space: normal; text-align: right; max-width: 11em; overflow-wrap: anywhere; font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 860px) {
  .price { grid-template-columns: minmax(0,1fr); }
  .price-list { grid-template-rows: none; }
}
@media (max-width: 560px) {
  .price-main { padding: 24px 20px; }
  .price-list > div { grid-template-columns: minmax(0,1fr); padding: 16px 18px; }
  .price-list b { text-align: left; max-width: none; font-size: 1.15rem; color: var(--text); }
}
