:root {
  --ink: #2F2F2F;
  --ink-2: #4E4E55;
  --muted: #6B6B6B;
  --bg: #FFFFFF;
  --bg-soft: #F0F0F3;
  --line: #E4E4E8;
  --cyan: #17E3F5;
  --pink: #F2489A;
  --purple: #7A44D6;
  --blue: #4A78E8;
  --card: #FFFFFF;
  --shadow: 0 10px 30px rgba(40, 30, 70, .08);
  --radius: 22px;
  --max: 1160px;
  --ribbon: linear-gradient(90deg, var(--cyan), var(--pink) 45%, var(--purple) 80%, var(--blue));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--ribbon); }
.grad {
  background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--purple); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: .95rem;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--purple); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(23, 227, 245, .22), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(242, 72, 154, .18), transparent 60%),
              radial-gradient(circle at 40% 80%, rgba(122, 68, 214, .16), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy p.lead { font-size: 1.2rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9rem; color: var(--muted); font-weight: 600;
}
.badge-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(242, 72, 154, .18); }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; border-radius: 38px; padding: 10px; background: #111;
  box-shadow: 0 30px 60px rgba(40, 30, 70, .22);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phones .p1 { left: 4%; top: 40px; transform: rotate(-6deg); z-index: 1; }
.phones .p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }

/* sections */
section { padding: 96px 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.soft { background: var(--bg-soft); }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media .phone { position: relative; width: 290px; }
.feature-media::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: var(--blob, rgba(23, 227, 245, .18)); z-index: -1; filter: blur(10px);
}
.feature.f-pink .feature-media { --blob: rgba(242, 72, 154, .16); }
.feature.f-purple .feature-media { --blob: rgba(122, 68, 214, .16); }
.feature.f-blue .feature-media { --blob: rgba(74, 120, 232, .16); }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--ink-2); }
.feature li::before {
  content: ""; flex: 0 0 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--ribbon);
}

/* records grid */
.records { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.record {
  background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  border-top: 4px solid var(--c, var(--cyan));
}
.record h3 { margin-bottom: 6px; }
.record p { font-size: .93rem; margin: 0; }
.record:nth-child(4n+2) { --c: var(--pink); }
.record:nth-child(4n+3) { --c: var(--purple); }
.record:nth-child(4n+4) { --c: var(--blue); }

/* life stages */
.stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.stages::before {
  content: ""; position: absolute; top: 26px; left: 4%; right: 4%; height: 4px; border-radius: 4px; background: var(--ribbon); opacity: .5;
}
.stage { text-align: center; position: relative; }
.stage .dot {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 4px solid var(--c, var(--cyan));
  display: grid; place-items: center; font-weight: 800; color: var(--ink);
}
.stage:nth-child(2) { --c: var(--pink); }
.stage:nth-child(3) { --c: var(--purple); }
.stage:nth-child(4) { --c: var(--blue); }
.stage:nth-child(5) { --c: var(--pink); }
.stage:nth-child(6) { --c: var(--purple); }
.stage h3 { font-size: 1rem; }
.stage p { font-size: .88rem; }

/* gallery */
.gallery { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.gallery .phone { position: relative; width: 220px; padding: 8px; border-radius: 32px; }
.gallery .phone img { border-radius: 25px; }
.gallery figcaption { text-align: center; font-weight: 600; font-size: .9rem; margin-top: 12px; color: var(--ink-2); }

/* cta */
.cta-band {
  border-radius: 32px; padding: 64px 48px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--purple), var(--pink) 60%, #ff7bb5);
  display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 24px;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .92; font-size: 1.1rem; }
.cta-band img { width: 220px; justify-self: end; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .2)); }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.store {
  display: inline-flex; flex-direction: column; padding: 10px 20px; border-radius: 14px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 700; line-height: 1.2;
}
.store small { font-weight: 500; opacity: .85; font-size: .75rem; }

/* footer */
footer { padding: 48px 0; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: .9rem; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 1000px) {
  .records { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .stages::before { display: none; }
}
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .feature, .cta-band { grid-template-columns: 1fr; }
  .feature { gap: 36px; margin-bottom: 72px; }
  .feature.flip .feature-media { order: 0; }
  .phones { height: 480px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .cta-band { padding: 44px 28px; }
  .cta-band img { justify-self: center; width: 160px; }
  section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .records { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .phones { height: 400px; }
  .phone { width: 170px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .phones .p1 { left: 0; }
  .phones .p2 { right: 0; }
  .feature-media .phone { width: 240px; }
  .feature-media::before { width: 280px; height: 280px; }
}
