/* zleap landing page */
:root {
  --bg: #FBFAFF;
  --surface: #FFFFFF;
  --ink: #1E0B36;
  --ink-2: #3A2B52;
  --muted: #625C78;
  --line: #ECE8F6;
  --tint: #F4F0FF;
  --violet: #6B21FF;
  --violet-2: #8E2CFE;
  --coral: #FC4B67;
  --grad: linear-gradient(120deg, #651EFE 0%, #8E2CFE 55%, #FC4B67 100%);
  --c1: #5B4BE0; --c2: #0E9F8E; --c3: #E8875B; --c4: #D94F70; --c5: #2F80ED; --c6: #C08A1E;
  --radius: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(30, 11, 54, .55); }
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(107, 33, 255, .55); background: #2A0E4D; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #D9D0F5; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 255, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms, background 200ms; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251, 250, 255, .92); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 24px; font-weight: 600; letter-spacing: -.04em; color: #250546; }
.logo img { width: 32px; height: auto; }
.logo-sm { font-size: 19px; }
.logo-sm img { width: 24px; }
.nav-links { display: flex; gap: 30px; margin-left: 28px; }
.nav-links a, .link { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 160ms; }
.nav-links a:hover, .link:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background:
  radial-gradient(closest-side, rgba(142, 44, 254, .20), transparent 70%) 30% 30% / 70% 70% no-repeat,
  radial-gradient(closest-side, rgba(252, 75, 103, .16), transparent 70%) 80% 60% / 60% 60% no-repeat; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 26px; box-shadow: 0 6px 20px -14px rgba(30, 11, 54, .3); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1.06; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: var(--c1); flex: none; }
.dot-violet { background: var(--grad); }
.dot[data-c="1"] { background: var(--c1); } .dot[data-c="2"] { background: var(--c2); } .dot[data-c="3"] { background: var(--c3); }
.dot[data-c="4"] { background: var(--c4); } .dot[data-c="5"] { background: var(--c5); } .dot[data-c="6"] { background: var(--c6); }

/* Product mock */
.mock-stage { position: relative; padding: 24px 0 24px 12px; }
.mock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(56, 22, 120, .45), 0 2px 0 rgba(255, 255, 255, .8) inset; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform 600ms var(--ease); }
.mock-stage:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-eyebrow { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.mock-h { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.mock-pill { font-size: 11px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.mock-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; align-items: center; }
.mock-ring { position: relative; background: #FDFCFF; border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.mock-ring svg { width: 100%; height: auto; }
.seg-dim { stroke-opacity: .25; }
#mock-progress { transition: stroke-dasharray 900ms linear; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 26%; }
.ring-now { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.ring-title { font-size: 10.5px; font-weight: 500; line-height: 1.25; margin-top: 2px; color: var(--ink-2); }
.ring-time { font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ring-sub { font-size: 9.5px; color: var(--muted); }
.mock-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.mock-list li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; background: #fff; }
.mock-list .t { width: 34px; flex: none; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.mock-list .n { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-list .d { font-size: 10px; font-weight: 600; color: var(--muted); background: #F4F2F9; border-radius: 999px; padding: 2px 8px; }
.mock-list .badge { font-size: 10px; font-weight: 600; color: #fff; background: var(--violet); border-radius: 999px; padding: 2px 8px; }
.mock-list li.done .n { color: var(--muted); text-decoration: line-through; text-decoration-color: #B9B4C9; }
.mock-list li.now { border-color: #D6C8FF; background: var(--tint); box-shadow: 0 10px 22px -16px rgba(107, 33, 255, .6); }
.ck { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--c1); flex: none; position: relative; }
.ck.c1 { border-color: var(--c1); } .ck.c2 { border-color: var(--c2); } .ck.c3 { border-color: var(--c3); } .ck.c4 { border-color: var(--c4); }
.done .ck { background: var(--c1); }
.done .ck::after { content: ""; position: absolute; left: 3.5px; top: 1.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.ck-now::after { content: ""; position: absolute; inset: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--c2) 50%, transparent 50%); }

.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; font-size: 13px; font-weight: 500; box-shadow: 0 22px 40px -24px rgba(56, 22, 120, .5); animation: bob 6s var(--ease) infinite; white-space: nowrap; }
.float-a { left: -18px; bottom: 6px; }
.float-b { right: -10px; top: 0; animation-delay: -3s; }
.fi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.fi svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fi-ok { background: #1E9E6A; }
.fi-pdf { background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.strip p { font-size: 14px; font-weight: 500; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: linear-gradient(180deg, var(--tint), var(--bg)); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head-left { text-align: left; margin: 0; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; }
.sub { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms; }
.card:hover { transform: translateY(-4px); border-color: #DDD3FA; box-shadow: 0 26px 50px -34px rgba(56, 22, 120, .45); }
.card h3 { font-weight: 600; font-size: 18px; margin: 22px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-violet { background: #F0E9FF; color: var(--violet); }
.ic-coral { background: #FFEBEE; color: #E23552; }
.ic-teal { background: #E2F5F2; color: #0B8476; }
.ic-amber { background: #FDF0E6; color: #C4652F; }

/* Spotlight */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.breakdown { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -50px rgba(56, 22, 120, .5); }
.bd-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 22px; }
.bd-head .muted { font-weight: 500; font-size: 14px; }
.bd-row { display: grid; grid-template-columns: 150px 1fr 64px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.bd-name { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-bar { position: relative; height: 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bd-bar i { display: block; height: 8px; border-radius: 999px; width: 0; transition: width 1.1s var(--ease); }
.bd-bar .p { background: #E6E0F6; }
.bd-bar .f { background: var(--grad); }
:where(.in, html:not(.js)) .bd-bar i.w12 { width: 12%; } :where(.in, html:not(.js)) .bd-bar i.w20 { width: 20%; }
:where(.in, html:not(.js)) .bd-bar i.w22 { width: 22%; } :where(.in, html:not(.js)) .bd-bar i.w30 { width: 30%; }
:where(.in, html:not(.js)) .bd-bar i.w45 { width: 45%; } :where(.in, html:not(.js)) .bd-bar i.w48 { width: 48%; }
:where(.in, html:not(.js)) .bd-bar i.w55 { width: 55%; } :where(.in, html:not(.js)) .bd-bar i.w62 { width: 62%; }
.bd-val { text-align: right; font-size: 14px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bd-legend { display: flex; gap: 20px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.bd-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 18px; height: 8px; border-radius: 999px; }
.lg-p { background: #E6E0F6; } .lg-f { background: var(--grad); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; }
.steps li:nth-child(2) .step-n { background: var(--violet); }
.steps li:nth-child(3) .step-n { background: var(--coral); }
.steps h3 { font-weight: 600; font-size: 19px; margin: 20px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Privacy */
.section-dark { background: #170828; color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(closest-side, rgba(142, 44, 254, .35), transparent); pointer-events: none; }
.kicker-light { background: linear-gradient(120deg, #B78BFF, #FF8DA0); -webkit-background-clip: text; background-clip: text; }
.privacy { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-list li { padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: #CFC6E2; font-size: 15px; }
.privacy-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color 200ms, box-shadow 200ms; }
.faq details[open] { border-color: #DDD3FA; box-shadow: 0 20px 40px -32px rgba(56, 22, 120, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform 220ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15px; }

/* CTA */
.section-cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 80px 32px; color: #fff; background: var(--grad); box-shadow: 0 50px 90px -50px rgba(107, 33, 255, .7); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -10%, rgba(255, 255, 255, .28), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta-mark { width: 56px; height: auto; margin: 0 auto 24px; padding: 12px; background: #fff; border-radius: 18px; box-sizing: content-box; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.cta p { margin: 14px auto 32px; font-size: 17px; opacity: .9; max-width: 520px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer p { font-size: 14px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .split, .privacy, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .mock-stage { max-width: 620px; margin: 0 auto; padding-left: 0; }
  .mock { transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .float-a { left: -6px; } .float-b { right: -6px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-inner { height: 64px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { gap: 14px; }
  .hero { padding: 36px 0 64px; }
  .lede { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mock { padding: 14px; border-radius: 20px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-ring { max-width: 260px; margin: 0 auto; width: 100%; }
  .mock-pill { display: none; }
  .float { font-size: 12px; }
  .float-b { top: -14px; right: 0; }
  .float-a { bottom: -10px; left: 0; }
  .section { padding: 76px 0; }
  .section-cta { padding-top: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .bd-row { grid-template-columns: 1fr 52px; }
  .bd-bar { grid-column: 1 / -1; grid-row: 2; }
  .breakdown { padding: 20px; }
  .cta { padding: 56px 20px; border-radius: 24px; }
  .footer-links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
