:root {
  --ink: #2e0a5e;
  --body: #4a3a6a;
  --muted: #6f5a88;
  --lilac: #f6eeff;
  --lavender: #ebd8ff;
  --sheet: #f3e8ff;
  --purple: #6a0dad;
  --deep: #2a0a4c;
  --orange: #ff8a00;
  --orange-strong: #c85000;
  --pink: #f957c3;
  --amber: #ffb547;
  --radius: 24px;
  --shadow: 0 18px 40px -18px rgba(90, 20, 160, 0.35);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--lilac);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- top bar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img { height: 34px; width: auto; }
.nav .links { display: flex; gap: 22px; align-items: center; }
.nav .links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.92; }
.nav .links a:hover { opacity: 1; }
.nav.scrolled { background: rgba(42, 10, 76, 0.82); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(20, 0, 40, 0.25); }
@media (max-width: 640px) { .nav .links a.hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 130px 0 120px;
  background: #3a0a6e url('assets/sunrise.webp') center 62% / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 6, 80, 0.72) 0%, rgba(58, 8, 104, 0.35) 55%, rgba(42, 6, 80, 0.15) 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--lilac);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V40C240 0 480 0 720 30s480 40 720 0v60z' fill='black'/%3E%3C/svg%3E") center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V40C240 0 480 0 720 30s480 40 720 0v60z' fill='black'/%3E%3C/svg%3E") center / 100% 100%;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: inline-block; }
h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 22px 0 18px; font-weight: 800; color: #fff;
  text-shadow: 0 2px 18px rgba(40, 6, 70, 0.45);
}
h1 em { font-style: normal; background: linear-gradient(90deg, #ffc266, #ff8a00 45%, #f957c3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 520px; color: rgba(255, 255, 255, 0.92); margin: 0 0 30px; }
.tagline { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; margin-top: 26px; color: rgba(255, 255, 255, 0.9); }
.tagline i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 16px; border-radius: 999px; padding: 15px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #c85000, #a63e00); box-shadow: 0 12px 28px -10px rgba(200, 80, 0, 0.8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(30, 6, 56, 0.35); }
.play-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px;
  border-radius: 14px; background: #120222; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.25);
}
.play-badge small { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.play-badge b { font-size: 18px; font-weight: 700; line-height: 1.1; }

/* phone frames */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; border-radius: 38px; padding: 9px;
  background: linear-gradient(145deg, #4b1a86, #22073f);
  box-shadow: 0 40px 80px -30px rgba(20, 0, 40, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phone.front { right: 30px; top: 10px; z-index: 2; animation: float 7s ease-in-out infinite; }
.phone.back { right: 220px; top: 70px; transform: rotate(-7deg) scale(0.9); opacity: 0.95; animation: float2 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-7deg) scale(0.9) translateY(0); } 50% { transform: rotate(-7deg) scale(0.9) translateY(10px); } }

@media (max-width: 900px) {
  .hero { padding: 110px 0 100px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row, .tagline { justify-content: center; }
  .phones { height: 470px; margin-top: 10px; }
  .phone { width: 210px; }
  .phones { height: 450px; }
  .phone.front { right: 50%; transform: translateX(50%); animation: none; }
  .phone.back { display: none; }
}

/* ---------- sections ---------- */
section { padding: 90px 0; position: relative; }
.kicker { color: var(--orange-strong); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
h2 { color: var(--ink); font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.015em; margin: 10px 0 14px; font-weight: 800; }
.section-lead { font-size: 18px; max-width: 620px; margin: 0 0 44px; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 22px 20px 26px; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 20px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ff9a1f, #c85000); box-shadow: 0 8px 18px -6px rgba(200, 80, 0, 0.7);
}
.step img { border-radius: 18px; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; margin-bottom: 16px; }
.step h3 { color: var(--ink); margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* features */
.features { background: linear-gradient(180deg, var(--lilac), #fff 60%, var(--lilac)); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: rgba(255, 255, 255, 0.92); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #fff; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(90, 20, 160, 0.45); }
.card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(145deg, #fff3e0, #ffe0c2); }
.card .ico svg { width: 30px; height: 30px; }
.card h3 { color: var(--ink); margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split.flip .art { order: 2; }
.split .art { position: relative; }
.split .art .glow { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 154, 92, 0.55), rgba(249, 87, 195, 0.25) 45%, transparent 70%); filter: blur(30px); }
.split .art img.photo { position: relative; border-radius: 32px; box-shadow: var(--shadow); }
.split .art .mini-phone { position: relative; width: min(300px, 80%); margin-inline: auto; }
.split ul { padding: 0; list-style: none; margin: 18px 0 0; }
.split li { padding-left: 32px; position: relative; margin: 10px 0; }
.split li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffc266, #ff8a00); box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.15); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.flip .art { order: 0; } }

/* gallery */
.gallery { background: linear-gradient(180deg, var(--lilac), var(--lavender)); overflow: hidden; }
.strip { display: flex; gap: 22px; overflow-x: auto; padding: 10px 20px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: 0 0 240px; scroll-snap-align: center; }
.strip figure .phone { position: relative; width: 100%; }
.strip figcaption { text-align: center; font-weight: 600; color: var(--ink); margin-top: 14px; }

/* privacy promise */
.promise { background: radial-gradient(120% 120% at 50% 0%, #6a1bb0 0%, #3a0a6e 55%, #2a0a4c 100%); color: #fff; overflow: hidden; }
.promise h2 { color: #fff; }
.promise .section-lead { color: rgba(255, 255, 255, 0.88); }
.promise .grid .card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; color: rgba(255, 255, 255, 0.9); }
.promise .grid .card h3 { color: #fff; }
.promise .grid .card .ico { background: rgba(255, 255, 255, 0.12); }
.promise .lotus { position: absolute; right: -60px; bottom: -40px; width: 360px; opacity: 0.35; pointer-events: none; }

/* final CTA */
.final { text-align: center; }
.final .badge-big { width: 120px; margin: 0 auto 18px; filter: drop-shadow(0 20px 30px rgba(90, 20, 160, 0.35)); animation: float 6s ease-in-out infinite; }

/* footer */
footer { background: var(--deep); color: rgba(255, 255, 255, 0.8); padding: 44px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer img { height: 30px; width: auto; }
footer a { color: #fff; text-decoration: none; margin-left: 20px; }
footer a:hover { text-decoration: underline; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone.front, .phone.back, .final .badge-big { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- privacy page ---------- */
.doc-hero { padding: 120px 0 70px; }
.doc { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); margin: -50px auto 80px; position: relative; z-index: 2; max-width: 820px; }
.doc h2 { font-size: 24px; margin-top: 34px; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { font-size: 16.5px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc .note { background: var(--lilac); border-radius: 16px; padding: 16px 20px; }
