/* ==========================================================================
   FoxyGift — design system v2
   Navy (trust) + Amber (brand) · Manrope (headings) + Inter (text)
   ========================================================================== */

:root {
  --ink: #0B1324;
  --navy-950: #070D1A;
  --navy-900: #0E1A30;
  --navy-800: #16243F;
  --navy-700: #22345A;
  --text: #1E293B;
  --muted: #5B6779;
  --line: #E3E7ED;
  --line-strong: #CFD6E0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-warm: #FFF8EC;

  --brand: #F59E0B;
  --brand-600: #D97706;
  --brand-700: #B45309;
  --brand-50: #FFF4DE;

  --ok: #059669;
  --ok-50: #E7F7F0;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06);
  --shadow: 0 8px 24px -10px rgba(11, 19, 36, .14), 0 2px 6px rgba(11, 19, 36, .05);
  --shadow-lg: 0 30px 60px -24px rgba(11, 19, 36, .30), 0 10px 20px -10px rgba(11, 19, 36, .10);

  --container: 1200px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #C9D3E3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--dark .eyebrow { color: var(--brand); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section--dark .section-head p { color: #9FB0C8; }

.badge-new {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--brand-50); color: var(--brand-700); border: 1px solid #FBD38D;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(245, 158, 11, .55); }
.btn--primary:hover { background: #FBB02E; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.logo__text span { color: var(--brand-600); }
.logo__sub { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text); transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.lang__btn:hover { border-color: var(--line-strong); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s var(--ease);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; width: 100%; justify-content: space-between; padding: 9px 12px; border: 0; background: none;
  border-radius: 8px; cursor: pointer; font-size: 14px; text-align: left;
}
.lang__menu button:hover { background: var(--bg-soft); }
.lang__menu button[aria-current="true"] { font-weight: 700; color: var(--brand-700); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(245, 158, 11, .10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 26, 48, .05), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--brand-600); }
.hero__lead { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
.hero__trust .icon { color: var(--ok); width: 20px; height: 20px; }

/* Hero visual: phone terminal + card */
.hero__grid > *, .split > *, .order > *, .calc > * { min-width: 0; }
body { overflow-x: clip; }
.stage { position: relative; height: 560px; }
.phone {
  position: absolute; right: 0; top: 10px; width: 280px; height: 540px;
  background: var(--navy-950); border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg); z-index: 2;
}
.phone__screen { position: relative; width: 100%; height: 100%; background: var(--bg-soft); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: 12px; font-weight: 600; color: var(--ink); }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 80px; height: 22px; margin-left: -40px; background: var(--navy-950); border-radius: 12px; }
.phone__head { padding: 14px 20px 0; }
.phone__shop { font-size: 12px; color: var(--muted); }
.phone__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin-top: 2px; }
.phone__amount { margin: 18px 20px 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.phone__amount small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.phone__amount strong { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.phone__tap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; }
.tap-ring { position: relative; width: 96px; height: 96px; border-radius: 50%; background: var(--brand-50); display: flex; align-items: center; justify-content: center; color: var(--brand-700); }
.tap-ring::before, .tap-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(245, 158, 11, .5); animation: ring 2.4s var(--ease) infinite; }
.tap-ring::after { animation-delay: 1.2s; }
.tap-ring .icon { width: 40px; height: 40px; }
.phone__hint { font-size: 14px; font-weight: 600; color: var(--ink); }
.phone__ok {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-soft); opacity: 0; transition: opacity .35s var(--ease);
}
.phone__ok-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; transform: scale(.6); transition: transform .45s var(--ease); }
.phone__ok-icon .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.phone__ok strong { font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.phone__ok span { font-size: 14px; color: var(--muted); }
.stage.is-paid .phone__ok { opacity: 1; }
.stage.is-paid .phone__ok-icon { transform: scale(1); }
.phone__btn { margin: 0 20px 22px; height: 52px; border-radius: 14px; background: var(--brand); color: var(--ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; letter-spacing: .02em; }

.gift-card {
  position: absolute; left: -10px; top: 190px; width: 300px; height: 190px; z-index: 3;
  border-radius: 18px; padding: 22px; color: #fff;
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(245, 158, 11, .35), transparent 70%),
    linear-gradient(135deg, #1A2A4A 0%, #0B1324 100%);
  box-shadow: 0 30px 50px -20px rgba(11, 19, 36, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-8deg);
  animation: cardTap 6s var(--ease) infinite;
}
.gift-card__top { display: flex; justify-content: space-between; align-items: center; }
.gift-card__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.gift-card__brand svg { width: 30px; height: 30px; }
.gift-card__nfc { width: 26px; height: 26px; opacity: .8; }
.gift-card__chip { width: 44px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #F8D58A, #C98B1E); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.gift-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.gift-card__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.gift-card__value { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }

.receipt {
  position: absolute; left: 30px; bottom: 6px; z-index: 4; width: 230px; padding: 16px 18px;
  background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 13px; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.stage.is-paid .receipt { opacity: 1; transform: none; }
.receipt__row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.receipt__row strong { color: var(--ink); }
.receipt__row--total { border-top: 1px dashed var(--line-strong); margin-top: 6px; padding-top: 8px; color: var(--ink); font-weight: 600; }

@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cardTap {
  0%, 12% { transform: translate(0, 0) rotate(-8deg); }
  30%, 52% { transform: translate(150px, -10px) rotate(-2deg); }
  70%, 100% { transform: translate(0, 0) rotate(-8deg); }
}

/* ---------- Compat strip ---------- */
.compat { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.compat__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 24px; flex-wrap: wrap; }
.compat__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.compat__list { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; }
.compat__list li { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #7A8597; }
.compat__list .icon { width: 20px; height: 20px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 34px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat strong span { color: var(--brand-600); }
.stat p { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.compare__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 18px; transition: box-shadow .25s var(--ease), border-color .25s; }
.compare__item:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.compare__vs { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare__row { display: flex; gap: 14px; }
.compare__row .dot { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.compare__row--bad .dot { background: #FDECEC; color: #C2410C; }
.compare__row--good .dot { background: var(--ok-50); color: var(--ok); }
.compare__row .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.compare__row p { font-size: 15.5px; color: var(--muted); }
.compare__row--good p { color: var(--text); font-weight: 500; }

/* ---------- Platform (3 parts) ---------- */
.platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform__card { position: relative; background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); padding: 34px 30px; }
.platform__num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.platform__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(245, 158, 11, .12); color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 22px 0; }
.platform__icon .icon { width: 28px; height: 28px; }
.platform__card h3 { font-size: 22px; font-weight: 700; }
.platform__card p { margin-top: 12px; color: #A8B6CB; font-size: 15.5px; }
.platform__tag { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 600; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); color: var(--navy-800); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.feature__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.feature p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step__num { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--bg-soft); }
.step h3 { font-size: 20px; font-weight: 700; margin-top: 24px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 320px; margin-left: auto; margin-right: auto; }
.steps-note { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; color: var(--muted); flex-wrap: wrap; text-align: center; }
.steps-note a { color: var(--brand-700); font-weight: 600; }

/* ---------- Split sections (networks, dashboard) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split--rev .split__media { order: -1; }
.split h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; margin-top: 14px; }
.split__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.checklist { margin-top: 30px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; font-size: 16px; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checklist .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.section--dark .checklist li { color: #D5DDEA; }
.section--dark .checklist .tick { background: rgba(245, 158, 11, .15); color: var(--brand); }

/* Network diagram */
.network { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.network__hub { margin: 0 auto; width: max-content; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 14px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); }
.network__hub .logo__mark { width: 34px; height: 34px; }
.network__hub strong { display: block; font-family: var(--font-head); font-size: 16px; }
.network__hub small { font-size: 12px; color: #9FB0C8; }
.network__rules { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; }
.network__rules span { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.network__lines { height: 48px; position: relative; margin: 6px 0; }
.network__lines svg { width: 100%; height: 100%; }
.network__lines path { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.network__shops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shop { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg-soft); }
.shop__top { display: flex; align-items: center; gap: 8px; color: var(--navy-800); }
.shop__top .icon { width: 18px; height: 18px; }
.shop strong { display: block; font-size: 14px; color: var(--ink); }
.shop small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.shop__sum { margin-top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); }
.shop__status { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--ok); font-weight: 600; }
.shop__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* Dashboard mock */
.dash { background: var(--navy-950); border-radius: var(--radius-lg); padding: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); }
.dash__bar { display: flex; gap: 6px; padding: 6px 8px 12px; }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2B3A57; }
.dash__body { background: #fff; border-radius: 14px; padding: 20px; color: var(--text); }
.dash__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash__top strong { font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.dash__chips { display: flex; gap: 6px; }
.dash__chips span { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.dash__chips span.is-on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; font-size: 11.5px; color: var(--muted); }
.kpi strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); margin-top: 2px; }
.kpi em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.dash__chart { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 10px; }
.dash__chart-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.dash__legend { display: flex; gap: 12px; }
.dash__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars div { flex: 1; display: flex; gap: 3px; align-items: flex-end; height: 100%; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.bars span:nth-child(1) { background: var(--navy-800); }
.bars span:nth-child(2) { background: var(--brand); }
.is-visible .bars span { transform: scaleY(1); }
.dash__table { margin-top: 14px; font-size: 12.5px; }
.dash__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr; gap: 8px; padding: 9px 4px; border-top: 1px solid var(--line); align-items: center; }
.dash__row--head { color: var(--muted); font-weight: 600; border-top: 0; font-size: 11.5px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tag--in { background: var(--ok-50); color: var(--ok); }
.tag--out { background: var(--brand-50); color: var(--brand-700); }
.tag--ext { background: #EEF2FF; color: #4338CA; }
.num { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Security ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust__item { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.trust__item--wide { grid-column: span 1; }
.trust__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.trust__item h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.trust__item p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.trust__company { grid-column: span 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--bg-warm); border: 1px solid #F8E3B8; flex-wrap: wrap; }
.trust__company-text { display: flex; align-items: center; gap: 18px; }
.trust__flag { width: 54px; height: 36px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.trust__company strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.trust__company span { font-size: 15px; color: var(--muted); }
.trust__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.trust__pills span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #F1D9A6; color: var(--ink); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry { padding: 26px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.industry:hover { border-color: var(--brand); box-shadow: 0 10px 30px -14px rgba(245, 158, 11, .45); }
.industry .icon { width: 30px; height: 30px; color: var(--brand-600); }
.industry h3 { font-size: 17px; font-weight: 700; margin-top: 18px; }
.industry p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.calc__inputs { padding: 40px; }
.calc__field + .calc__field { margin-top: 34px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--ink); }
.calc__label output { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--brand-700); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin-top: 18px; background: linear-gradient(90deg, var(--brand) var(--p, 50%), var(--line) var(--p, 50%)); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: var(--shadow); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.range__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.calc__note { margin-top: 34px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.calc__results { background: var(--navy-900); color: #C9D3E3; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.result { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.result small { display: block; font-size: 13px; color: #9FB0C8; }
.result strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #fff; margin-top: 6px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result span { display: block; font-size: 12.5px; margin-top: 4px; color: #7F92AE; }
.result--accent { background: var(--brand); border-color: var(--brand); grid-column: span 2; }
.result--accent small, .result--accent span { color: rgba(11, 19, 36, .7); }
.result--accent strong { color: var(--ink); font-size: 38px; }
.calc__results .btn { grid-column: span 2; margin-top: 8px; }

/* ---------- Pricing ---------- */
.free-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; border-radius: var(--radius-lg); background: var(--navy-900); color: #C9D3E3; margin-bottom: 24px; flex-wrap: wrap; }
.free-banner__price { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1; }
.free-banner__text strong { display: block; font-family: var(--font-head); font-size: 20px; color: #fff; }
.free-banner__text { flex: 1; min-width: 260px; }
.free-banner__list { display: flex; gap: 8px; flex-wrap: wrap; }
.free-banner__list span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.plan--featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(245, 158, 11, .5); }
.plan__flag { position: absolute; top: -14px; left: 38px; padding: 6px 14px; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 26px; font-weight: 800; margin-top: 6px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.plan__price strong { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan__price span { font-size: 15px; color: var(--muted); }
.plan__desc { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.plan .checklist { margin: 26px 0 32px; gap: 13px; flex: 1; }
.plan .checklist li { font-size: 15.5px; }
.plans-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); }
.download__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.download h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.download p { margin-top: 10px; font-size: 15px; color: #A8B6CB; flex: 1; }
.download__meta { margin-top: 16px; font-size: 13px; color: #7F92AE; }
.download .btn { margin-top: 18px; }
.download .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.download .btn--ghost:hover { border-color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--font-head); font-weight: 700; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--brand-700); }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ---------- Order form ---------- */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.order h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; margin-top: 14px; }
.order__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.kit { margin-top: 32px; display: flex; gap: 14px; }
.kit__card { width: 120px; height: 76px; border-radius: 10px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kit__card:nth-child(1) { background: radial-gradient(circle at 80% 20%, #FFB347 0 18%, transparent 19%), linear-gradient(135deg, #E8505B, #7B2CBF); transform: rotate(-6deg); }
.kit__card:nth-child(2) { background: radial-gradient(circle at 75% 70%, rgba(255,255,255,.35) 0 22%, transparent 23%), linear-gradient(135deg, #F5A623, #E8505B 60%, #2D6CDF); transform: translateY(-6px); }
.kit__card:nth-child(3) { background: radial-gradient(circle at 20% 80%, #8BE0A4 0 20%, transparent 21%), linear-gradient(135deg, #12B5CB, #2D6CDF 55%, #1A2A4A); transform: rotate(6deg); }
.kit__card::after { content: ""; position: absolute; left: 12px; top: 14px; width: 22px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #C62828; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 600; }
.form__error[hidden] { display: none; }
.kit-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.order__contacts { margin-top: 36px; display: grid; gap: 14px; }
.order__contacts a, .order__contacts div { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.order__contacts .icon { color: var(--brand-700); width: 20px; height: 20px; }
.form { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: span 2; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 15.5px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.check { grid-column: span 2; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--bg-warm); border: 1px solid #F8E3B8; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-600); flex-shrink: 0; }
.check strong { display: block; font-size: 15px; color: var(--ink); }
.check span { font-size: 14px; color: var(--muted); }
.form .btn { margin-top: 24px; }
.form__privacy { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #8D9BB3; padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer .logo__text { color: #fff; }
.footer .logo__sub { color: #7F92AE; }
.footer__about { margin-top: 18px; font-size: 14.5px; max-width: 360px; }
.footer h4 { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { font-size: 14.5px; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; flex-wrap: wrap; }

/* ---------- Modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(7, 13, 26, .6); opacity: 0; visibility: hidden; transition: opacity .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { max-width: 440px; width: 100%; background: #fff; border-radius: var(--radius-lg); padding: 36px; text-align: center; transform: translateY(10px); transition: transform .25s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.modal__icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.modal h3 { font-size: 22px; margin-top: 20px; }
.modal p { margin-top: 10px; color: var(--muted); }
.modal .btn { margin-top: 24px; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bars span { transform: scaleY(1); }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .mobile-nav { position: fixed; inset: 76px 0 auto 0; z-index: 49; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 24px 24px; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 18px; }
  .hero__grid, .split, .order { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split--rev .split__media { order: 0; }
  .stage { max-width: 560px; margin: 0 auto; width: 100%; }
  .features, .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__company { grid-column: span 2; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 72px; }
  .header .logo__sub { display: none; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .stage { width: 540px; max-width: none; left: 50%; transform: translateX(-50%) scale(.64); transform-origin: top center; margin-bottom: -200px; }
  .stage.reveal { transform: translateX(-50%) scale(.64); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat strong { font-size: 36px; }
  .compare, .platform, .features, .trust, .plans, .downloads { grid-template-columns: 1fr; }
  .trust__company { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .industries { grid-template-columns: 1fr 1fr; }
  .network { padding: 22px; }
  .network__shops { grid-template-columns: 1fr; }
  .network__lines { display: none; }
  .network__shops { margin-top: 18px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__row { grid-template-columns: 1fr 1fr .9fr; }
  .dash__row > :nth-child(2) { display: none; }
  .calc__inputs, .calc__results, .form, .plan { padding: 26px; }
  .calc__results { grid-template-columns: 1fr; }
  .result--accent, .calc__results .btn { grid-column: span 1; }
  .form__grid { grid-template-columns: 1fr; }
  .field--full, .check { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .free-banner { padding: 24px; }
}
