/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

:root {
  --bg:      #F5F4F2;
  --text:    #1A1A18;
  --muted:   #8C8A82;
  --accent:  #E97459;
  --surface: #E8E6E0;

  --candy-pink:   #F2B5B5;
  --candy-mint:   #BFE3D2;
  --candy-lemon:  #F4DDA0;
  --candy-violet: #C9B8E0;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;

  --border: color-mix(in srgb, var(--muted) 30%, transparent);
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
section {
  padding-block: clamp(64px, 8vw, 120px);
  position: relative;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.lead { color: color-mix(in srgb, var(--text) 70%, transparent); font-size: clamp(16px, 1.2vw, 18px); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 500; font-size: 15px;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--candy-pink), var(--accent) 70%);
  box-shadow: inset -3px -4px 6px rgba(0,0,0,.14), inset 3px 4px 6px rgba(255,255,255,.55);
}
.nav-links { display: none; gap: 28px; font-size: 14px; color: color-mix(in srgb, var(--text) 75%, transparent); }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--accent);
}
.hero-copy { display: grid; gap: 28px; }
.hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero candy stage */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.phone {
  position: absolute; inset: 0;
  margin: auto;
  width: 62%; aspect-ratio: 9 / 19;
  border-radius: 38px;
  background: #0F0F0E;
  padding: 10px;
  box-shadow:
    0 30px 80px -20px rgba(26,26,24,.45),
    0 8px 20px -4px rgba(26,26,24,.18),
    inset 0 0 0 1px rgba(255,255,255,.08);
  z-index: 2;
}
.phone-screen {
  height: 100%; width: 100%;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--candy-pink) 60%, transparent), transparent 60%),
    linear-gradient(180deg, #2a1f3a, #170f24);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px 14px 18px;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.85); font-size: 11px; font-weight: 600; }
.phone-status .lvl { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.phone-status .stars { display: flex; gap: 3px; color: var(--candy-lemon); }
.board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 4px;
  align-self: center;
  width: 100%; aspect-ratio: 1;
  background: rgba(255,255,255,.04);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
}
.candy {
  border-radius: 50%;
  position: relative;
  box-shadow: inset -2px -3px 4px rgba(0,0,0,.25), inset 2px 3px 4px rgba(255,255,255,.45);
}
.candy::after {
  content: "";
  position: absolute; top: 14%; left: 22%;
  width: 22%; height: 22%;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  filter: blur(1px);
}
.candy.pink   { background: radial-gradient(circle at 35% 30%, #FFC8C8, #E36C8A 75%); }
.candy.mint   { background: radial-gradient(circle at 35% 30%, #D8F3E4, #4FB591 80%); }
.candy.lemon  { background: radial-gradient(circle at 35% 30%, #FFF1B8, #E8B931 80%); }
.candy.violet { background: radial-gradient(circle at 35% 30%, #E4D6F4, #8C6FBF 80%); }
.candy.orange { background: radial-gradient(circle at 35% 30%, #FFD4B8, var(--accent) 80%); }
.candy.cyan   { background: radial-gradient(circle at 35% 30%, #C9EBF4, #4AB1C7 80%); }
.candy.bomb {
  background: radial-gradient(circle at 35% 30%, #5a5a5a, #111 80%);
  box-shadow: inset -2px -3px 4px rgba(0,0,0,.5), inset 2px 3px 4px rgba(255,255,255,.25), 0 0 0 2px var(--accent), 0 0 14px color-mix(in srgb, var(--accent) 60%, transparent);
}
.phone-bar { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.85); font-size: 11px; }
.phone-bar .moves { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; }

/* Floating candy badges */
.float-candy {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -3px -4px 6px rgba(0,0,0,.18), inset 3px 4px 6px rgba(255,255,255,.5), 0 12px 24px -8px rgba(26,26,24,.35);
  z-index: 1;
  animation: float 7s ease-in-out infinite;
}
.float-candy.a { width: 96px; height: 96px; background: radial-gradient(circle at 35% 30%, #FFC8C8, #E36C8A 75%); top: 5%; left: 0; animation-delay: -1s; }
.float-candy.b { width: 72px; height: 72px; background: radial-gradient(circle at 35% 30%, #D8F3E4, #4FB591 80%); bottom: 12%; right: 4%; animation-delay: -3s; }
.float-candy.c { width: 56px; height: 56px; background: radial-gradient(circle at 35% 30%, #FFF1B8, #E8B931 80%); top: 14%; right: 6%; animation-delay: -5s; }
.float-candy.d { width: 44px; height: 44px; background: radial-gradient(circle at 35% 30%, #E4D6F4, #8C6FBF 80%); bottom: 4%; left: 14%; animation-delay: -2s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-14px) rotate(8deg); }
}

@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding-block: 22px;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: scroll 28s linear infinite;
  width: max-content;
  font-family: var(--serif); font-style: italic; color: color-mix(in srgb, var(--text) 60%, transparent);
  font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after {
  content: "✦"; color: var(--accent); font-style: normal; font-size: 16px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.section-head {
  display: grid; gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
}
.section-head h2 { font-size: clamp(34px, 5vw, 60px); }

/* ---------- Features ---------- */
.features-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: grid; gap: 18px;
  align-content: start;
  transition: transform .35s ease, background .35s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover { transform: translateY(-4px); }
.feature .glyph {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 24px;
}
.feature h3 { font-size: clamp(22px, 2vw, 26px); }
.feature p { color: color-mix(in srgb, var(--text) 70%, transparent); margin: 0; font-size: 15px; }
.feature.lg { grid-column: span 1; }
@media (min-width: 1080px) {
  .feature.lg { grid-column: span 2; }
  .feature.lg .glyph { width: 64px; height: 64px; font-size: 28px; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid; gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  padding: clamp(32px, 4vw, 48px);
  background: var(--text);
  color: var(--bg);
  border-radius: 28px;
  margin-top: 24px;
}
.stat { display: grid; gap: 6px; }
.stat .num { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.stat .num em { color: var(--accent); font-style: italic; }
.stat .lbl { font-size: 13px; color: color-mix(in srgb, var(--bg) 65%, transparent); text-transform: uppercase; letter-spacing: 0.14em; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Testimonial ---------- */
.testimonial {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}
.testimonial blockquote::before { content: "« "; color: var(--accent); }
.testimonial blockquote::after  { content: " »"; color: var(--accent); }
.testimonial-meta { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-violet));
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: var(--text);
}
.testimonial-meta .name { font-weight: 500; }
.testimonial-meta .role { color: var(--muted); font-size: 14px; }
@media (min-width: 1080px) {
  .testimonial { grid-template-columns: 1.6fr 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  display: grid; gap: 24px;
  align-content: start;
  position: relative;
}
.tier.featured {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: translateY(-8px);
}
.tier.featured .price-num,
.tier.featured h3 { color: var(--bg); }
.tier .badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 600; padding: 6px 10px;
  border-radius: 999px; background: var(--accent); color: #fff;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.tier h3 { font-size: 26px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price-num { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.price-cycle { color: var(--muted); font-size: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.tier ul li { display: flex; gap: 10px; align-items: flex-start; }
.tier ul li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.tier .btn { width: 100%; justify-content: center; }
.tier.featured .btn-primary { background: var(--accent); color: #fff; }
.tier.featured .btn-primary:hover { background: var(--bg); color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 26px);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans); font-weight: 300; font-size: 28px;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 0 24px;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  max-width: 70ch;
}

/* ---------- CTA ---------- */
.cta-card {
  background: var(--text);
  color: var(--bg);
  border-radius: 32px;
  padding: clamp(48px, 7vw, 88px);
  display: grid; gap: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 { font-size: clamp(40px, 6vw, 72px); }
.cta-card .lead { color: color-mix(in srgb, var(--bg) 70%, transparent); margin-inline: auto; }
.cta-card .btn-primary { background: var(--accent); color: #fff; }
.cta-card .btn-primary:hover { background: var(--bg); color: var(--text); }
.cta-card .btn-secondary { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 50%, transparent); }
.cta-card .btn-secondary:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }
.cta-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  pointer-events: none;
}
.cta-card::before { width: 280px; height: 280px; background: var(--accent); top: -80px; left: -80px; }
.cta-card::after  { width: 320px; height: 320px; background: var(--candy-violet); bottom: -120px; right: -100px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  margin-top: clamp(64px, 8vw, 120px);
}
.footer-inner {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.footer h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 13px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.4fr 2fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .float-candy, .marquee-track { animation: none !important; }
}
