:root {
  --ink: #17133f;
  --muted: #605881;
  --purple: #6f2de1;
  --purple-dark: #241755;
  --pink: #ed4098;
  --lavender: #f2ebff;
  --surface: #ffffff;
  --soft: #fbf9ff;
  --line: #e3d7fb;
  --shadow: 0 30px 80px rgba(47, 29, 101, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px;
  transform: translateY(-160%); border-radius: 10px; background: var(--ink); color: #fff;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, video:focus-visible { outline: 3px solid #198fb5; outline-offset: 4px; }

.topbar {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(111, 45, 225, 0.09);
  background: rgba(251, 249, 255, 0.88); backdrop-filter: blur(20px);
}
.nav {
  display: grid; min-height: 78px; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px; width: max-content;
  color: var(--ink); font-size: 19px; font-weight: 850; letter-spacing: -0.03em; text-decoration: none;
}
.brand img { border-radius: 14px; box-shadow: 0 12px 30px rgba(76, 29, 149, 0.24); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a, .footer-links a {
  color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none;
}
.nav-links a:hover, .footer-links a:hover { color: var(--purple); }
.nav-cta {
  justify-self: end; padding: 10px 17px; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple) 58%, var(--pink));
  color: #fff; font-size: 13px; font-weight: 850; text-decoration: none;
  box-shadow: 0 10px 24px rgba(111,45,225,.2); transition: transform 160ms ease, box-shadow 160ms ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(111,45,225,.28); }

.hero {
  position: relative; min-height: 790px; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, rgba(255,255,255,.96), rgba(249,244,255,.74)), var(--soft);
}
.hero::before {
  position: absolute; z-index: -2; inset: 0; content: "";
  background-image: linear-gradient(rgba(111,45,225,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(111,45,225,.045) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero::after {
  position: absolute; z-index: -1; width: 760px; height: 760px; right: -350px; bottom: -430px;
  border-radius: 50%; background: rgba(111,45,225,.14); content: "";
}
.hero-grid {
  display: grid; min-height: 710px; grid-template-columns: minmax(0,1fr) minmax(430px,.9fr);
  align-items: center; gap: clamp(48px,8vw,110px); padding-block: 74px 92px;
}
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 25px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8);
  color: var(--purple-dark); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase;
}
.status span { width: 9px; height: 9px; border-radius: 50%; background: #18b974; box-shadow: 0 0 0 6px rgba(24,185,116,.12); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 760px; margin: 0; font-size: clamp(54px,7vw,92px); line-height: .95; letter-spacing: -.07em; }
h1 strong { color: var(--pink); font-weight: 900; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px,2vw,22px); }
.download-block { margin-top: 30px; scroll-margin-top: 100px; }
.download-label { margin: 0 0 12px; font-weight: 800; }
.store-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 500px; }
.store-links .store-button { min-height: 74px; padding: 12px; text-align: center; font-size: 18px; line-height: 1.2; }
.store-button small { display: block; margin-top: 5px; font-size: 12px; font-weight: 650; }
.demo-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--purple); font-weight: 750; text-underline-offset: 4px; }
.button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 21px;
  border-radius: 17px; font-weight: 850; text-decoration: none; transition: transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--purple-dark), var(--purple) 52%, var(--pink)); color: #fff; box-shadow: 0 20px 42px rgba(111,45,225,.26); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.8); }
.quick-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 0; padding: 0; list-style: none; }
.quick-points li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: 12px; font-weight: 750; }

.hero-visual { position: relative; min-height: 620px; }
.phone { position: absolute; overflow: hidden; border: 10px solid #171231; border-radius: 46px; background: #171231; box-shadow: var(--shadow); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-front { z-index: 2; width: 284px; height: 616px; right: 24px; top: 0; transform: rotate(3deg); }
.phone-back { z-index: 1; width: 235px; height: 510px; left: 0; bottom: 10px; transform: rotate(-7deg); opacity: .96; }
.floating-card {
  position: absolute; z-index: 4; min-width: 215px; padding: 12px 15px; border: 1px solid rgba(111,45,225,.14);
  border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 18px 45px rgba(47,29,101,.15); backdrop-filter: blur(18px);
}
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: 13px; }
.floating-card small { color: var(--muted); font-size: 11px; }
.card-top { top: 94px; left: 70px; }
.card-bottom { right: -22px; bottom: 82px; }

.proof-strip { border-block: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.proof-grid div { padding: 26px clamp(18px,3vw,38px); }
.proof-grid div + div { border-left: 1px solid var(--line); }
.proof-grid b, .proof-grid span { display: block; }
.proof-grid b { margin-bottom: 3px; color: var(--purple); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.proof-grid span { color: var(--muted); font-size: 14px; }

.section { padding-block: 100px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(38px,5.2vw,64px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p, .demo-copy > p, .launch-card > p { margin: 0; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.feature {
  position: relative; display: flex; min-height: 235px; flex-direction: column; overflow: hidden;
  padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: #fff;
  box-shadow: 0 18px 52px rgba(47,29,101,.065);
}
.feature::after {
  position: absolute; width: 170px; height: 170px; right: -92px; bottom: -105px;
  border: 1px solid rgba(111,45,225,.13); border-radius: 50%; content: "";
}
.feature-accent {
  border-color: transparent;
  background: radial-gradient(300px 210px at 100% 0,rgba(237,64,152,.28),transparent 68%),linear-gradient(145deg,#281b61,#702de1);
  color: #fff;
}
.feature-accent::after { border-color: rgba(255,255,255,.18); }
.feature-topline { display: flex; align-items: center; gap: 11px; margin-bottom: 28px; }
.feature-topline span {
  display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px;
  background: var(--lavender); color: var(--purple); font-size: 12px; font-weight: 900;
}
.feature-topline b { color: var(--purple); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.feature-accent .feature-topline span { background: rgba(255,255,255,.15); color: #fff; }
.feature-accent .feature-topline b { color: #e4d9ff; }
.feature h3, .steps h3 { margin: 20px 0 8px; font-size: 25px; line-height: 1.15; letter-spacing: -.035em; }
.feature h3 { margin: 0 0 9px; }
.feature p, .steps p, .data-points p { margin: 0; color: var(--muted); }
.feature-accent p { color: #e0d7f7; }
.nav-badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.nav-badges span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--purple-dark); font-size: 12px; font-weight: 800; }

.how-it-works { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 10px clamp(20px,3vw,40px) 10px 0; }
.steps li + li { padding-left: clamp(20px,3vw,40px); border-left: 1px solid var(--line); }
.steps > li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: linear-gradient(135deg,var(--purple),var(--pink)); color: #fff; font-weight: 900; }
.steps h3 { margin-top: 4px; }

.demo-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,440px); align-items: center; gap: clamp(50px,9vw,120px); }
.demo-copy h2 { margin-bottom: 24px; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--purple-dark); font-weight: 750; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #e1f8ee; color: #098653; font-size: 12px; content: "✓"; }
.video-shell { width: min(100%,390px); margin-inline: auto; padding: 11px; border: 1px solid rgba(111,45,225,.22); border-radius: 42px; background: #18132f; box-shadow: var(--shadow); }
.video-shell video { width: 100%; aspect-ratio: 9 / 19.5; border-radius: 32px; background: #eee8ff; object-fit: cover; }

.screenshots-section { overflow: hidden; background: linear-gradient(180deg,#fff 0%,#f7f2ff 100%); }
.showcase-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.showcase-heading h2 { font-size: clamp(38px,4.8vw,58px); }
.showcase-heading > p:last-child { max-width: 610px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.screen-tour { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.screen-step {
  position: relative; display: grid; min-height: 520px; grid-template-columns: minmax(0,1fr) 238px;
  align-items: end; gap: 20px; overflow: hidden; padding: 32px 28px 0; border: 1px solid var(--line);
  border-radius: 32px; background: linear-gradient(145deg,#fff 15%,#f3ebff 100%);
  box-shadow: 0 22px 60px rgba(47,29,101,.08);
}
.screen-step-copy { align-self: start; padding-top: 8px; }
.screen-step-copy > span {
  display: inline-flex; padding: 8px 11px; border-radius: 999px; background: rgba(111,45,225,.1);
  color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
}
.screen-step h3 { margin: 20px 0 12px; font-size: clamp(27px,2.7vw,36px); line-height: 1.02; letter-spacing: -.05em; }
.screen-step p { margin: 0; color: var(--muted); font-size: 15px; }
.screen-preview {
  align-self: end; height: 455px; margin: 0; overflow: hidden; padding: 8px 8px 0;
  border: 1px solid rgba(111,45,225,.16); border-bottom: 0; border-radius: 30px 30px 0 0;
  background: rgba(255,255,255,.72); box-shadow: 0 24px 45px rgba(40,27,97,.17); transform: translateY(12px);
}
.screen-preview img { display: block; width: 100%; height: auto; border-radius: 22px 22px 0 0; }
.screen-step.is-reverse { grid-template-columns: 238px minmax(0,1fr); }
.screen-step.is-reverse .screen-step-copy { grid-column: 2; grid-row: 1; }
.screen-step.is-reverse .screen-preview { grid-column: 1; grid-row: 1; }
.screen-step-dark { border-color: rgba(255,255,255,.1); background: linear-gradient(145deg,#191334,#30206f); color: #fff; }
.screen-step-dark .screen-step-copy > span { background: rgba(255,255,255,.12); color: #f5d5ff; }
.screen-step-dark p { color: #d5cdea; }
.screen-step-pink { background: radial-gradient(420px 320px at 88% 10%,rgba(237,64,152,.2),transparent 64%),linear-gradient(145deg,#fff,#f9eff9); }

.data-section { background: var(--ink); color: #fff; }
.data-section .eyebrow { color: #f892c2; }
.data-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,1.1fr); gap: clamp(50px,9vw,120px); }
.data-points { display: grid; gap: 15px; }
.data-points article { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.06); }
.data-points b { display: block; margin-bottom: 4px; font-size: 18px; }
.data-points p { color: #cfc8ea; }

.launch { padding: 100px 0; background: radial-gradient(650px 400px at 12% 15%, rgba(237,64,152,.15), transparent 65%), radial-gradient(650px 400px at 88% 90%, rgba(111,45,225,.15), transparent 65%), var(--soft); }
.launch-card { padding: clamp(45px,8vw,90px); border: 1px solid var(--line); border-radius: 36px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); text-align: center; }
.launch-card > img { margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 18px 40px rgba(76,29,149,.24); }
.launch-card h2 { max-width: 800px; margin-inline: auto; }
.launch-card > p:not(.eyebrow) { max-width: 650px; margin: 20px auto 0; }
.launch-download { margin: 30px auto 0; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.social-links a { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--purple-dark); font-size: 14px; font-weight: 850; text-decoration: none; }

footer { padding: 50px 0 28px; background: #fff; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-grid p { max-width: 580px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-grid, .section-heading, .demo-section, .data-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-copy, .demo-copy { max-width: 760px; }
  .hero-visual { width: min(100%,570px); margin-inline: auto; }
  .section-heading { gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li, .steps li + li { padding: 0; border: 0; }
  .screen-tour { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section[id] { scroll-margin-top: 68px; }
  .shell { width: min(100% - 28px,1180px); }
  .nav { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .nav-cta { padding-inline: 12px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-grid { gap: 38px; padding-block: 48px 62px; }
  h1 { font-size: clamp(44px,13vw,56px); line-height: .98; }
  .hero-lead { font-size: 17px; }
  .button { width: 100%; }
  .launch-download { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .phone-front { width: 240px; height: 520px; top: 0; right: auto; left: 50%; transform: translateX(-50%); }
  .phone-back, .floating-card { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section, .launch { padding-block: 60px; }
  .section-heading { margin-bottom: 28px; }
  h2 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 23px; border-radius: 24px; }
  .feature-topline { margin-bottom: 22px; }
  .showcase-heading { margin-inline: 0; text-align: left; }
  .showcase-heading > p:last-child { margin-left: 0; }
  .screen-tour {
    display: flex; gap: 14px; margin-right: -14px; padding: 0 14px 18px 0; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .screen-tour::-webkit-scrollbar { display: none; }
  .screen-step, .screen-step.is-reverse {
    min-height: 610px; flex: 0 0 min(86vw,340px); grid-template-columns: 1fr; gap: 0;
    padding: 22px 18px 0; border-radius: 27px; scroll-snap-align: center;
  }
  .screen-step .screen-step-copy, .screen-step.is-reverse .screen-step-copy { grid-column: 1; grid-row: 1; }
  .screen-step .screen-preview, .screen-step.is-reverse .screen-preview { width: min(72vw,265px); height: 410px; grid-column: 1; grid-row: 2; margin: 24px auto 0; }
  .screen-step h3 { margin-top: 16px; font-size: 28px; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html, *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
