/* ============================================================
   «Складно» — лендинг. Палитра «зелёный + графит».
   ============================================================ */
:root {
  --brand: #199a4c; --brand-dark: #12723a; --brand-tint: #e6f4ec;
  --brand-lite: #2fce74; --teal: #14b8a6;
  --graphite: #23272e; --graphite-2: #2c313a; --ink: #23272e; --muted: #5b6270;
  --bg: #f3f6f3; --surface: #fff; --line: #e3e8e3;
  --ok: #12b76a; --warn: #f79009; --err: #e5484d;
  --font-ui: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --shadow-sm: 0 1px 2px rgba(20, 40, 25, .06), 0 4px 14px rgba(20, 40, 25, .05);
  --shadow-md: 0 10px 30px rgba(18, 60, 35, .10);
  --shadow-lg: 0 24px 60px rgba(18, 60, 35, .18);
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-ui); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--brand-dark); text-decoration: none; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: .01em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; width: 100%; }
.container-narrow { max-width: 760px; }
img, svg { max-width: 100%; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
  text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  will-change: transform; position: relative;
}
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--brand-lite), var(--brand)); color: #fff; box-shadow: 0 10px 24px rgba(25, 154, 76, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(25, 154, 76, .45); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Полоса прогресса чтения */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-lite), var(--teal)); z-index: 60;
  transition: width .1s linear; box-shadow: 0 0 10px rgba(47, 206, 116, .6);
}

/* ---------- Шапка ---------- */
#site-header {
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); }
.head-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--graphite); transition: color .3s var(--ease); }
.logo .mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-lite), var(--brand)); color: #fff; box-shadow: 0 6px 16px rgba(25, 154, 76, .4); }
.logo .mark svg { width: 22px; height: 22px; }
.head-nav { display: flex; gap: 24px; margin-left: auto; }
.head-nav a { color: var(--muted); font-weight: 600; font-size: 15px; position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.head-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand-lite); transition: width .2s var(--ease); }
.head-nav a:hover::after { width: 100%; }
.head-cta { display: flex; gap: 10px; }
.head-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Шапка поверх тёмного героя (до скролла) */
#site-header.over-dark:not(.scrolled) .logo { color: #fff; }
#site-header.over-dark:not(.scrolled) .head-nav a { color: rgba(255, 255, 255, .78); }
#site-header.over-dark:not(.scrolled) .head-nav a:hover { color: #fff; }
#site-header.over-dark:not(.scrolled) .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }

/* ---------- Общие секции ---------- */
section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-dark);
  background: var(--brand-tint); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow-on-dark { color: #a9f4c9; background: rgba(255, 255, 255, .08); }
.eyebrow-glow { color: #baf7d3; background: rgba(47, 206, 116, .14); border: 1px solid rgba(47, 206, 116, .3); box-shadow: 0 0 26px rgba(47, 206, 116, .25); }
h1, h2, h3 { color: var(--graphite); }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 17px; margin: 0 auto; max-width: 560px; }
.sub-on-dark { color: #c3ccd0; }
.note { font-size: 13px; color: var(--muted); }
.note-center { text-align: center; margin-top: 22px; }
.section-tint { background: var(--brand-tint); }
.section-dark { background: var(--graphite); color: #eef1f2; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Reveal-анимации (масштаб + расфокус) ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px) scale(.97); filter: blur(6px); transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); will-change: opacity, transform, filter; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- 3D-наклон карточек ---------- */
.tilt { transform: perspective(880px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transform-style: preserve-3d; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.tilt:hover { --ty: -6px; }

/* ============================================================
   ГЕРОЙ — тёмный, с аврора-свечением и подсветкой курсора
   ============================================================ */
.hero { position: relative; padding: 120px 0 118px; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, #2a3038 0%, #1c2027 45%, #14171c 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: -60px; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 15%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 70% at 60% 15%, #000 0%, transparent 78%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora.a1 { width: 560px; height: 560px; top: -160px; right: -60px; background: radial-gradient(closest-side, rgba(47, 206, 116, .9), transparent 70%); animation: aur1 16s ease-in-out infinite alternate; }
.aurora.a2 { width: 480px; height: 480px; top: 40px; left: -140px; background: radial-gradient(closest-side, rgba(20, 184, 166, .7), transparent 70%); animation: aur2 20s ease-in-out infinite alternate; }
.aurora.a3 { width: 420px; height: 420px; bottom: -180px; left: 40%; background: radial-gradient(closest-side, rgba(25, 154, 76, .6), transparent 70%); animation: aur3 18s ease-in-out infinite alternate; }
@keyframes aur1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, 50px) scale(1.15); } }
@keyframes aur2 { from { transform: translate(0,0) scale(1); } to { transform: translate(70px, -30px) scale(1.1); } }
@keyframes aur3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, -60px) scale(1.2); } }
/* Подсветка под курсором */
.hero-spot { position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx, 70%) var(--my, 30%), rgba(47, 206, 116, .18), transparent 60%); transition: background .12s linear; }

/* Дрейфующие товарные бирки */
.hero-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-chips .chip {
  position: absolute; left: var(--x); top: var(--y);
  font-size: 13px; font-weight: 700; color: #d7f5e4;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(4px);
  white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  animation: floaty 7s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.025em; color: #fff; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--brand-lite), #7ef2b3 40%, var(--teal) 80%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 0 30px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand-lite); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Живая карточка «скан → принято» */
.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; }
.scan-card {
  width: 100%; max-width: 384px; background: var(--surface); border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px; padding: 20px; position: relative; color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(47, 206, 116, .15);
  animation: card-float 8s ease-in-out infinite;
}
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scan-card-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.scan-card-top b { color: var(--graphite); background: var(--brand-tint); padding: 1px 7px; border-radius: 6px; }
.scan-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 183, 106, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .5); } 70% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); } }
.scan-window { position: relative; margin: 14px 0; border-radius: 14px; overflow: hidden; background: #101418; padding: 22px 18px 14px; text-align: center; }
.scan-line { position: absolute; left: 8%; right: 8%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #6ff2a6, transparent); box-shadow: 0 0 14px 2px rgba(111, 242, 166, .6); animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0% { top: 12%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 76%; opacity: 0; } }
.barcode { display: flex; gap: 3px; justify-content: center; align-items: end; height: 54px; }
.barcode i { width: 4px; background: #e8f0ea; border-radius: 1px; display: block; }
.barcode i:nth-child(odd) { height: 100%; }
.barcode i:nth-child(even) { height: 74%; opacity: .8; }
.barcode i:nth-child(3n) { width: 7px; }
.barcode i:nth-child(4n) { height: 88%; }
.scan-sku { margin-top: 10px; color: #9fb0a4; font-size: 13px; }
.scan-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.scan-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdfb; opacity: 0; animation: row-in .5s var(--ease) forwards; }
.scan-row:nth-child(1) { animation-delay: .3s; }
.scan-row:nth-child(2) { animation-delay: .7s; }
.scan-row:nth-child(3) { animation-delay: 1.1s; }
@keyframes row-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.scan-row.muted { opacity: 0; }
.scan-row.muted { animation-name: row-in-muted; }
@keyframes row-in-muted { from { opacity: 0; transform: translateX(10px); } to { opacity: .72; transform: none; } }
.scan-name { font-weight: 700; color: var(--graphite); font-size: 14px; }
.scan-qty { font-size: 14px; color: var(--graphite); font-weight: 700; }
.scan-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.scan-badge.ok { color: var(--ok); background: rgba(18, 183, 106, .12); }
.scan-badge.wait { color: var(--warn); background: rgba(247, 144, 9, .14); }
.scan-check { position: absolute; right: -14px; top: -14px; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-lite), var(--brand)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(25, 154, 76, .5); animation: pop 8s ease-in-out infinite; }
.scan-check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { 0%, 40%, 100% { transform: scale(1); } 48% { transform: scale(1.2); } 56% { transform: scale(1); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--brand-lite); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Лента площадок ---------- */
.marquee { background: var(--graphite); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: marq 26s linear infinite; }
.marquee span { color: rgba(255, 255, 255, .82); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.marquee i { color: var(--brand-lite); font-style: normal; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- ЦИФРЫ ---------- */
.stats { padding: 52px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat:hover { box-shadow: var(--shadow-md); border-color: #d3e0d6; }
.stat-num { font-size: clamp(36px, 5vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -.02em; background: linear-gradient(135deg, var(--brand-dark), var(--brand-lite)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- КАК ЭТО РАБОТАЕТ / таймлайн ---------- */
.how .aurora.a-soft { width: 560px; height: 560px; top: -160px; right: -120px; opacity: .3; background: radial-gradient(closest-side, rgba(47, 206, 116, .7), transparent 70%); animation: aur1 18s ease-in-out infinite alternate; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; position: relative; z-index: 1; }
.timeline-rail { position: absolute; left: 23px; top: 8px; bottom: 8px; width: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.timeline-rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--brand-lite), var(--brand)); border-radius: 3px; transition: height .15s linear; box-shadow: 0 0 12px rgba(47, 206, 116, .6); }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 0 0 36px 0; }
.tl-step:last-child { padding-bottom: 0; }
.tl-node { width: 48px; height: 48px; border-radius: 14px; background: var(--graphite-2); border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; color: #a9f4c9; font-weight: 800; position: relative; z-index: 1; transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.tl-node .mono { font-size: 15px; }
.tl-step.in .tl-node { background: linear-gradient(135deg, var(--brand-lite), var(--brand)); border-color: var(--brand); color: #fff; transform: scale(1.06); box-shadow: 0 10px 26px rgba(25, 154, 76, .5); }
.tl-body { padding-top: 4px; }
.tl-body h3 { margin: 0 0 6px; font-size: 20px; }
.tl-body p { margin: 0; color: #c3ccd0; font-size: 15px; }

/* ---------- Карточки-сетки ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:not(.tilt):hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3e0d6; }
.card.tilt:hover { box-shadow: var(--shadow-lg); border-color: #cfe6d8; }

.pain-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.pain .pain-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; }
.pain-icon.warn { background: rgba(247, 144, 9, .12); }
.pain-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--warn); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { margin: 0 0 8px; font-size: 18px; }
.pain p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.pain .solve { margin: 0; color: var(--ink); }
.tick { color: var(--brand-dark); font-weight: 800; }

.feature .f-ico { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--brand-tint), #d3f0de); display: grid; place-items: center; margin-bottom: 14px; }
.feature .f-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.profile { display: flex; flex-direction: column; gap: 4px; }
.profile .p-ico { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--brand-tint), #d3f0de); display: grid; place-items: center; margin-bottom: 10px; }
.profile .p-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile strong { color: var(--graphite); font-size: 16px; }
.profile small { color: var(--muted); font-size: 14px; }

/* ---------- ТАРИФЫ ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; cursor: pointer; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); outline: none; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe6d8; }
.price:focus-visible { box-shadow: 0 0 0 3px rgba(25, 154, 76, .35); }
.price.featured { border-color: var(--brand); box-shadow: 0 16px 38px rgba(25, 154, 76, .18); }
.price.selected { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow-md); }
.price-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand-lite), var(--brand)); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(25, 154, 76, .4); white-space: nowrap; }
.price-check { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: background .2s var(--ease), border-color .2s var(--ease); }
.price-check svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s var(--ease); }
.price.selected .price-check { background: var(--brand); border-color: var(--brand); }
.price.selected .price-check svg { opacity: 1; }
.price .name { font-weight: 800; color: var(--graphite); font-size: 17px; }
.price .amount { font-size: 30px; font-weight: 800; margin: 10px 0 4px; color: var(--brand-dark); letter-spacing: -.02em; }
.price .amount small { font-size: 13px; color: var(--muted); font-weight: 700; }
.price ul { list-style: none; padding: 0; margin: 14px 0 20px; font-size: 14px; color: var(--muted); flex: 1; }
.price li { padding: 5px 0 5px 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.price-btn { width: 100%; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; cursor: pointer; color: var(--graphite); list-style: none; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 16px; }

/* ---------- ЗАЯВКА ---------- */
.lead-box { position: relative; background: linear-gradient(135deg, #23272e, #1a1e24); color: #fff; border-radius: 24px; padding: 46px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; box-shadow: var(--shadow-lg); overflow: hidden; }
.lead-box .aurora.a-soft { width: 380px; height: 380px; top: -120px; right: -60px; opacity: .5; background: radial-gradient(closest-side, rgba(47, 206, 116, .5), transparent 70%); }
.lead-box h2 { color: #fff; position: relative; z-index: 1; }
.lead-copy .sub { color: #c3ccd0; position: relative; z-index: 1; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.lead-form input { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.lead-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 154, 76, .3); }
.lead-form .btn { grid-column: 1 / -1; }
.lead-msg { grid-column: 1 / -1; text-align: center; margin: 4px 0 0; font-weight: 700; min-height: 20px; color: #a9f4c9; }

/* ---------- Подвал ---------- */
footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; background: var(--surface); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand .mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; }
.foot-brand .mark svg { width: 18px; height: 18px; }
.foot-links a { margin-left: 20px; color: var(--muted); }
.foot-links a:first-child { margin-left: 0; }
.foot-links a:hover { color: var(--brand-dark); }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 940px) {
  .hero { padding: 96px 0 84px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .scan-card { max-width: 340px; }
  .hero-chips { display: none; }
  .head-nav { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .feature-grid, .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-box { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  section { padding: 62px 0; }
  .hero { padding: 72px 0 64px; }
  .head-cta .btn-ghost { display: none; }
  .stat-grid, .pain-grid, .feature-grid, .profile-grid, .price-grid { grid-template-columns: 1fr; }
  .lead-box { padding: 28px 20px; }
  .lead-form { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .price.featured { order: -1; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .marquee span { font-size: 16px; }
}

/* Отключаем «тяжёлые» эффекты там, где нет мыши (телефоны/планшеты) */
@media (hover: none), (pointer: coarse) {
  .tilt { transform: none !important; }
  .hero-spot { display: none; }
}

/* ============================================================
   Уважение к «уменьшить движение»
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .aurora, .hero-grid, .scan-card, .scan-line, .scan-dot, .scan-check, .scroll-cue span, .hero-chips .chip, .marquee-track, .hero h1 .hl, .scan-row { animation: none !important; }
  .scan-line { display: none; }
  .scan-row, .scan-row.muted { opacity: 1; }
  .tilt { transform: none !important; }
  * { transition-duration: .001ms !important; }
}
