/* Tourflow landing — tokens follow docs/04_DESIGN_SYSTEM.md and the auth-screen gradient */
:root {
  --indigo: #4F46E5;
  --indigo-700: #4338CA;
  --violet: #6D28D9;
  --violet-500: #7A5AF8;
  --lilac: #C7D2FE;
  --lav: #EEF0FF;
  --lav-2: #F4F3FF;
  --navy: #0E0F1A;
  --navy-2: #17143D;
  --bg: #F7F7F8;
  --surface: #FFFFFF;
  --line: #E6E7EA;
  --text: #0F1115;
  --muted: #5A606B;
  --dimmed: #8A909A;
  --ok: #12B76A;
  --ok-bg: #ECFDF3;
  --ok-text: #067647;
  --warn: #F79009;
  --warn-bg: #FFFAEB;
  --warn-text: #B54708;
  --bad: #F04438;
  --bad-bg: #FEF3F2;
  --bad-text: #B42318;
  --wa: #25D366;
  --ig: #E1306C;
  --grad: linear-gradient(135deg, #4F46E5 0%, #6D28D9 100%);
  --grad-logo: linear-gradient(135deg, #8379FF 0%, #3F35C9 100%);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-pop: 0 12px 32px rgba(16, 24, 40, .14);
  --shadow-soft: 0 24px 60px -24px rgba(49, 38, 160, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.money, .tabular { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: 112px 0; }
.section--tight { padding: 88px 0; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  background: var(--lav); color: var(--indigo);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
  margin-top: 16px; text-wrap: balance;
}
.h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 16px; max-width: 640px; text-wrap: pretty; }
.head { margin-bottom: 56px; }
.head--center { text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .8); }
.btn--primary:hover { background: var(--indigo-700); box-shadow: 0 14px 30px -10px rgba(79, 70, 229, .9); }
.btn--white { background: #fff; color: var(--indigo); box-shadow: 0 10px 30px -12px rgba(10, 8, 40, .6); }
.btn--white:hover { box-shadow: 0 16px 36px -12px rgba(10, 8, 40, .7); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--line { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--indigo); color: var(--indigo); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .55); outline-offset: 3px; border-radius: 10px; }

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 40;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 10px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.nav.is-solid .nav__bar {
  background: rgba(255, 255, 255, .86);
  border-color: rgba(15, 17, 21, .06);
  color: var(--text);
  box-shadow: 0 10px 30px -18px rgba(16, 24, 40, .35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 800; }
.brand b span { opacity: .55; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .2s, background-color .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 160, .12); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__login { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: background-color .2s; }
.nav__login:hover { background: rgba(127, 127, 160, .12); }
[data-app-link][hidden] { display: none; }
.nav .btn--primary { box-shadow: none; }
.nav:not(.is-solid) .nav__cta .btn--primary { background: #fff; color: var(--indigo); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; margin-left: auto; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 26px; }
.nav.is-open .burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .burger i:nth-child(2) { opacity: 0; }
.nav.is-open .burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu {
  pointer-events: auto;
  display: none;
  margin-top: 8px; padding: 12px;
  border-radius: 24px; background: #fff; color: var(--text);
  box-shadow: var(--shadow-pop);
}
.menu a { display: block; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 17px; }
.menu a:hover { background: var(--lav); }
.menu .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 148px 0 0;
  color: #fff;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(131, 121, 255, .55) 0%, transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(225, 48, 108, .22) 0%, transparent 70%),
    linear-gradient(160deg, #3F35C9 0%, #4F46E5 35%, #6D28D9 75%, #4C1D95 100%);
}
.hero::before {
  /* thin orbit lines, echo of the Instagram style */
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 900px; height: 900px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 90px rgba(255, 255, 255, .02), 0 0 0 91px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.hero .eyebrow i { background: #8CF0B7; box-shadow: 0 0 0 4px rgba(140, 240, 183, .25); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 800;
  text-wrap: balance;
}
.hero h1 span { color: var(--lilac); }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .82); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.chip svg { width: 16px; height: 16px; }

.stage { position: relative; min-height: 520px; }
.frame {
  position: relative;
  border-radius: 18px; padding: 8px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 80px -30px rgba(10, 6, 50, .7);
}
.frame__inner { border-radius: 12px; overflow: hidden; background: #fff; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F1F2F4; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5D7DC; }
.frame__bar span { margin-left: 10px; font-size: 11px; color: var(--dimmed); background: #fff; border-radius: 6px; padding: 2px 10px; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.stage .frame { position: absolute; top: 24px; left: 0; width: 132%; transform: perspective(1600px) rotateY(-10deg) rotateX(4deg); transform-origin: left center; }

.float {
  position: absolute; z-index: 2;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: #fff; color: var(--text);
  box-shadow: 0 24px 50px -18px rgba(16, 10, 70, .55);
  font-size: 14px; line-height: 1.35;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 600; }
.float small { color: var(--muted); font-size: 13px; }
.float .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float .ic svg { width: 18px; height: 18px; }
.float--pay { left: -24px; bottom: 70px; }
.float--pay .ic { background: var(--ok-bg); color: var(--ok-text); }
.float--sign { right: -8px; top: -6px; animation-delay: -2s; }
.float--sign .ic { background: var(--lav); color: var(--indigo); }
.float--status { right: 24px; bottom: -6px; animation-delay: -4s; }
.float--status .ic { background: #FFF1F6; color: var(--ig); }
.bubble {
  position: absolute; z-index: 2; left: 8%; top: 46%;
  max-width: 270px; padding: 12px 14px 8px; border-radius: 16px 16px 16px 4px;
  background: #DCF8C6; color: #0F1115; font-size: 14px; line-height: 1.4;
  box-shadow: 0 20px 40px -18px rgba(16, 10, 70, .55);
  animation: bob 7s ease-in-out infinite; animation-delay: -1s;
}
.bubble small { display: block; text-align: right; font-size: 11px; color: #667; margin-top: 2px; }
.bubble .who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #128C4B; margin-bottom: 4px; }
.bubble .who svg { width: 14px; height: 14px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__wave { position: relative; height: 120px; margin-top: 64px; }
.hero__wave svg { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }

/* trust strip */
.strip { padding: 8px 0 0; }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip__item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.strip__item .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lav); color: var(--indigo); }
.strip__item .ic svg { width: 22px; height: 22px; }
.strip__item b { display: block; font-size: 15px; }
.strip__item span { font-size: 14px; color: var(--muted); }

/* ---------- icons ---------- */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pains: before / after ---------- */
#pains { background: linear-gradient(180deg, var(--bg) 0%, var(--lav-2) 100%); }
.ba { display: grid; grid-template-columns: 1fr 64px 1fr; grid-template-rows: auto repeat(5, auto); }
.ba__col, .ba__mid { grid-row: 1 / span 6; display: grid; grid-template-rows: subgrid; }
.ba__col { padding: 12px 32px 16px; border-radius: var(--r-xl); }
.ba__col--was { background: #fff; border: 1px solid var(--line); }
.ba__col--now { background: var(--grad); color: #fff; box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .8); }
.ba__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 18px; }
.ba__head b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ba__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.ba__tags span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.ba__col--was .ba__tags span { background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.ba__col--was .ba__tags span:nth-child(1) { transform: rotate(-3deg); }
.ba__col--was .ba__tags span:nth-child(3) { transform: rotate(2deg); }
.ba__col--now .ba__tags span { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ba__tags img { width: 16px; height: 16px; border-radius: 4px; }
.ba__item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--line); font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.ba__col--was .ba__item { color: var(--muted); }
.ba__col--now .ba__item { border-top-color: rgba(255, 255, 255, .22); font-weight: 600; }
.ba__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.ba__ic svg { width: 16px; height: 16px; }
.ba__col--was .ba__ic { background: var(--bad-bg); color: var(--bad-text); }
.ba__col--now .ba__ic { background: #fff; color: var(--indigo); }
.ba__arrow { align-self: center; justify-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--indigo); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .55), inset 0 0 0 1px #E4E1FF; }
.ba__arrow svg { width: 18px; height: 18px; }
.is-in .ba__arrow { animation: nudge .6s var(--ease) both; }
.ba__arrow:nth-child(3) { animation-delay: .08s; }
.ba__arrow:nth-child(4) { animation-delay: .16s; }
.ba__arrow:nth-child(5) { animation-delay: .24s; }
.ba__arrow:nth-child(6) { animation-delay: .32s; }
@keyframes nudge { from { opacity: 0; transform: translateX(-10px); } }
.ba__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; }
.ba__cta p { font-size: 17px; font-weight: 600; }
@media (max-width: 860px) {
  .ba { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .ba__col, .ba__mid { grid-row: auto; display: block; }
  .ba__mid { display: none; }
  .ba__col { padding: 4px 22px 8px; }
  .ba__item { font-size: 15.5px; }
}

/* ---------- features (bento) ---------- */
.features { background: #fff; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  grid-column: span 4;
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r-xl);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card--6 { grid-column: span 6; }
.card--8 { grid-column: span 8; }
.card--lav { background: var(--lav-2); border-color: #E4E1FF; }
.card--grad { background: var(--grad); color: #fff; border-color: transparent; }
.card--grad p { color: rgba(255, 255, 255, .8) !important; }
.card--navy { background: radial-gradient(80% 80% at 100% 0%, #3A2FB8 0%, transparent 60%), var(--navy-2); color: #fff; border-color: transparent; }
.card--navy p { color: rgba(255, 255, 255, .72) !important; }
.card__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--indigo); box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .5); }
.card--grad .card__ic, .card--navy .card__ic { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.card h3 { margin-top: 20px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.card__demo { margin-top: auto; padding-top: 24px; }

/* mini UI inside cards */
.mini { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 14px; color: var(--text); font-size: 13.5px; box-shadow: 0 10px 30px -20px rgba(16, 24, 40, .4); }
.mini + .mini { margin-top: 10px; }
.mini__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; }
.mini__row + .mini__row { border-top: 1px solid #F0F1F3; }
.mini__row span { color: var(--muted); }
.mini__row b { font-weight: 600; }
.pos { color: var(--ok-text); }
.neg { color: var(--bad-text); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tag svg { width: 13px; height: 13px; }
.tag--wa { background: #E8FBEF; color: #128C4B; }
.tag--ig { background: #FFF0F5; color: #C1205A; }
.tag--ok { background: var(--ok-bg); color: var(--ok-text); }
.tag--sys { background: var(--lav-2); color: #5925DC; }
.tag--warn { background: var(--warn-bg); color: var(--warn-text); }
.bar { height: 8px; border-radius: 99px; background: #ECEDF1; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8379FF, #4F46E5); transform-origin: left; }
.is-in .bar i { animation: grow 1.2s var(--ease) both .3s; }
@keyframes grow { from { transform: scaleX(0); } }

.leads { display: grid; gap: 8px; }
.lead-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.lead-row .av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--lav); color: var(--indigo); }
.lead-row .t { flex: 1; min-width: 0; }
.lead-row .t b { display: block; font-weight: 600; }
.lead-row .t span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.steps-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.steps-mini span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.steps-mini span.done { background: #fff; color: var(--indigo); }
.steps-mini svg { width: 14px; height: 14px; }

.kaspi { display: flex; align-items: center; gap: 14px; }
.kaspi .amt { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.kaspi .pay { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; background: #F14635; color: #fff; font-weight: 600; font-size: 14px; }
.kaspi .pay svg { width: 16px; height: 16px; }

.ok-word { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 14px 14px 4px 14px; background: #DCF8C6; font-weight: 800; letter-spacing: .02em; }

.reminders { display: grid; gap: 8px; }
.rem { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 13.5px; }
.rem .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.rem .ic svg { width: 16px; height: 16px; }
.rem small { display: block; opacity: .7; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi b { display: block; margin-top: 2px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.funnel { margin-top: 10px; display: grid; gap: 6px; }
.funnel div { display: grid; grid-template-columns: 120px 1fr 24px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.funnel div i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #8379FF, #4F46E5); transform-origin: left; }
.is-in .funnel div i { animation: grow 1s var(--ease) both; }
.funnel div:nth-child(2) i { animation-delay: .1s; }
.funnel div:nth-child(3) i { animation-delay: .2s; }
.funnel div:nth-child(4) i { animation-delay: .3s; }
.funnel div:nth-child(5) i { animation-delay: .4s; }
.funnel b { color: var(--text); text-align: right; }

/* ---------- how it works ---------- */
.how { background: var(--bg); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.timeline::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--lilac) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__n {
  position: relative; z-index: 1;
  width: 64px; height: 64px; margin: 0 auto; border-radius: 20px;
  display: grid; place-items: center;
  background: #fff; color: var(--indigo);
  box-shadow: 0 0 0 6px var(--lav-2), 0 14px 30px -14px rgba(79, 70, 229, .6);
}
.step:nth-child(odd) .step__n { background: var(--grad); color: #fff; }
.step__n svg { width: 26px; height: 26px; }
.step small { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.step h3 { margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- screens ---------- */
.screens { background: var(--navy); color: #fff; overflow: hidden; }
.screens::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 40% at 50% 0%, rgba(99, 88, 255, .45), transparent 70%), radial-gradient(40% 40% at 100% 100%, rgba(109, 40, 217, .35), transparent 70%);
  pointer-events: none;
}
.screens .eyebrow { background: rgba(255, 255, 255, .1); color: #fff; }
.screens .eyebrow i { background: var(--lilac); }
.screens .lead { color: rgba(255, 255, 255, .7); }
.tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab {
  height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-weight: 600; font-size: 15px;
  transition: background-color .2s, color .2s;
}
.tab:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--indigo); box-shadow: none; }
.shots { position: relative; max-width: 1040px; margin: 0 auto; }
.shots .frame { background: rgba(255, 255, 255, .08); }
.shot { display: none; }
.shot.is-active { display: block; animation: fadeUp .45s var(--ease); }
.shot__cap { margin-top: 20px; text-align: center; color: rgba(255, 255, 255, .75); font-size: 16px; }
.shot__cap b { color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- audience ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud__card {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.aud__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c, var(--lav)); opacity: .7; }
.aud__card .card__ic { position: relative; z-index: 1; }
.aud__card h3 { position: relative; z-index: 1; margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.aud__card > p { margin-top: 8px; color: var(--muted); }
.aud__card ul { margin-top: 20px; display: grid; gap: 10px; }
.aud__card li { display: flex; gap: 10px; font-size: 15px; }
.aud__card li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--indigo); }

/* ---------- compare ---------- */
.compare { background: #fff; }
.table-wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid #F0F1F3; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: var(--bg); }
.cmp thead th.us { color: #fff; background: var(--indigo); }
.cmp td.us { background: var(--lav-2); font-weight: 600; }
.cmp td:first-child { font-weight: 600; width: 34%; }
.mark { display: inline-flex; align-items: center; gap: 8px; }
.mark svg { flex: none; width: 20px; height: 20px; }
.mark--y svg { color: var(--ok); }
.mark--n svg { color: var(--bad); }
.mark--m svg { color: var(--warn); }
.cmp td:not(.us) .mark { color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line);
}
.plan--pop { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .8); }
.plan__badge { position: absolute; top: 20px; right: 20px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--indigo); }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan > p { margin-top: 6px; font-size: 15px; color: var(--muted); min-height: 46px; }
.plan--pop > p, .plan--pop .plan__price small { color: rgba(255, 255, 255, .78); }
.plan__price { margin-top: 22px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.plan__price small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.plan ul { margin: 24px 0 28px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--indigo); }
.plan--pop li svg { color: #fff; }
.plan .btn { margin-top: auto; }
.plans__note { margin-top: 24px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq { background: #fff; }
.faq__list { display: grid; gap: 10px; }
.faq__more { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; }
.faq__more p { font-size: 17px; font-weight: 600; }
.qa { border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.qa[open] { background: #fff; border-color: #DCD8FF; box-shadow: 0 16px 40px -28px rgba(79, 70, 229, .6); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--indigo); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- lead form ---------- */
.cta {
  overflow: hidden; color: #fff;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(131, 121, 255, .6), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(225, 48, 108, .25), transparent 70%),
    linear-gradient(150deg, #3F35C9 0%, #4F46E5 40%, #6D28D9 100%);
}
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.cta .eyebrow i { background: #8CF0B7; }
.cta .lead { color: rgba(255, 255, 255, .82); }
.cta__list { margin-top: 28px; display: grid; gap: 14px; }
.cta__list li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.cta__list li span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.cta__list li svg { width: 18px; height: 18px; }
.form {
  position: relative;
  padding: 32px; border-radius: var(--r-xl);
  background: #fff; color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(10, 6, 50, .6);
}
.form h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.form > p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); background: var(--bad-bg); }
.field__err { display: none; margin-top: 6px; font-size: 13px; color: var(--bad-text); }
.field.has-error .field__err { display: block; }
.form .btn { margin-top: 20px; }
.form__fine { margin-top: 12px; font-size: 13px; color: var(--dimmed); text-align: center; }
.form__alert { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: var(--bad-bg); color: var(--bad-text); }
.form__alert.is-shown { display: block; }
.form__done { display: none; text-align: center; padding: 28px 8px; }
.form.is-done .form__body { display: none; }
.form.is-done .form__done { display: block; animation: fadeUp .5s var(--ease); }
.form__done .ok { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.form__done .ok svg { width: 36px; height: 36px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.form.is-done .form__done .ok svg { animation: draw .6s var(--ease) .2s forwards; }
.form__done h3 { margin-top: 18px; }
.form__done p { margin-top: 6px; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: rot .8s linear infinite; display: none; }
.is-loading .spin { display: block; }
.is-loading .btn__label { opacity: .8; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 64px 0 40px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot p { margin-top: 14px; max-width: 360px; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot ul { margin-top: 14px; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; margin-top: 24px; }
  .stage .frame { position: relative; top: 0; width: 100%; transform: none; }
  .float--pay { left: 8px; bottom: -28px; }
  .float--sign { right: 8px; top: -24px; }
  .float--status { display: none; }
  .bubble { left: auto; right: 6%; top: 52%; }
  .card, .card--6, .card--8 { grid-column: span 6; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .aud, .plans { grid-template-columns: 1fr; }
  .plan > p { min-height: 0; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .head { margin-bottom: 36px; }
  .wrap { padding: 0 16px; }
  .nav { inset: 8px 0 auto; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav.is-open .menu { display: block; animation: fadeUp .3s var(--ease); }
  .hero { padding-top: 112px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__chips { margin-top: 28px; }
  .hero__wave { height: 64px; margin-top: 56px; }
  .hero__wave svg { height: 64px; }
  .bubble { display: none; }
  .float { font-size: 13px; padding: 10px 12px 10px 10px; }
  .float .ic { width: 30px; height: 30px; }
  .float--sign { top: -30px; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--6, .card--8 { grid-column: auto; padding: 22px; }
  .timeline { grid-template-columns: 1fr; text-align: left; row-gap: 24px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .step__n { grid-row: span 3; width: 56px; height: 56px; margin: 0; border-radius: 16px; }
  .step small { margin-top: 2px; }
  .strip__row { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .funnel div { grid-template-columns: 96px 1fr 20px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .form, .plan, .aud__card { padding: 24px; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { transform: none; }
  .form__done .ok svg { stroke-dashoffset: 0; }
}

/* full-width report card */
.card--12 { grid-column: span 12; }
.card--split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.card--split .card__demo { margin: 0; padding: 0; }
@media (max-width: 1080px) { .card--12 { grid-column: span 12; } .card--split { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 760px) { .card--12 { grid-column: auto; } }

.status-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.status-note .bar { background: rgba(255, 255, 255, .2); margin-top: 8px; }
.status-note .bar i { background: #fff; }
