/* ============================================================
   WOO promo one-pager — brand-matched to the app (magenta #E2007A,
   Manrope headlines / Inter body). Vanilla CSS, no framework.
   ============================================================ */

:root {
  --primary: #E2007A;
  --primary-dark: #b80063;
  --primary-tint: #ffe5f3;
  --ink: #1a1320;
  --ink-soft: #5a4f60;
  --bg: #ffffff;
  --bg-soft: #fdf4f9;
  --surface: #ffffff;
  --border: #f0e3ea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(226, 0, 122, .28);
  --shadow-soft: 0 10px 30px -12px rgba(26, 19, 32, .15);
  --maxw: 1120px;
  --font-h: 'Manrope', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-h); line-height: 1.1; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.grad {
  background: linear-gradient(100deg, var(--primary), #ff5fb0 60%, #ff9d4d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-h); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 6px 24px -16px rgba(0,0,0,.25); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 20px;
}
.brand img { height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--primary); }
.nav .btn { margin-left: 22px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 88vh;
  background: var(--bg-soft) url('./assets/hero.jpg') right center / cover no-repeat;
}
/* light scrim so the headline stays readable over the image's left negative space */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,247,251,.97) 0%, rgba(255,247,251,.9) 30%,
    rgba(255,247,251,.55) 52%, rgba(255,247,251,.12) 72%, rgba(255,247,251,0) 88%);
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 90px 22px;
}
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-block; font-family: var(--font-h); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
  background: #fff; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-soft); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
@media (max-width: 880px) {
  .hero { min-height: auto; background-position: 72% center; }
  /* near-solid vertical scrim on small screens so text never sits on busy food */
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,247,251,.94) 0%, rgba(255,247,251,.82) 55%, rgba(255,247,251,.6) 100%);
  }
  .hero-grid { padding: 52px 22px 64px; }
  .lead { max-width: none; }
}

/* ---------- stats ---------- */
.stats {
  max-width: var(--maxw); margin: -40px auto 0; position: relative; z-index: 5;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 30px 22px; box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat .num { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.stat .lbl { font-size: .85rem; opacity: .9; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* ---------- generic section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 22px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker {
  font-family: var(--font-h); font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary);
}
.kicker.light { color: #fff; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 10px; }
.section-sub { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); }
.compare-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.compare-card ul { list-style: none; display: grid; gap: 12px; }
.compare-card li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.compare-card.old li::before { content: '✕'; position: absolute; left: 0; color: #c0b3bc; font-weight: 700; }
.compare-card.new { border-color: var(--primary); background: linear-gradient(180deg, #fff, var(--primary-tint)); }
.compare-card.new li { color: var(--ink); }
.compare-card.new li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.compare-arrow { font-size: 2rem; color: var(--primary); font-weight: 800; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } .compare-arrow { transform: rotate(90deg); justify-self: center; } }

/* ---------- features ---------- */
.feature-row {
  display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center;
  margin-bottom: 70px;
}
.feature-row.reverse { grid-template-columns: 1fr 360px; }
.feature-row.reverse .phone { order: 2; }
.feature-text .step-no { font-family: var(--font-h); font-weight: 800; font-size: 3rem; color: var(--primary-tint); line-height: 1; }
.feature-text h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 14px; }
.feature-text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }
.phone {
  justify-self: center; width: 100%; max-width: 300px; border-radius: 38px;
  padding: 12px; background: #1a1320; box-shadow: var(--shadow);
  transition: transform .4s ease;
}
.phone:hover { transform: translateY(-8px) rotate(-1deg); }
.phone img { border-radius: 28px; }
@media (max-width: 760px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .feature-row.reverse .phone { order: 0; }
  .feature-text p { margin: 0 auto; }
}

/* ---------- AI band ---------- */
.aiband { background: radial-gradient(120% 120% at 80% 20%, #2a0d2c, #14060f); color: #fff; overflow: hidden; }
.aiband-inner { max-width: var(--maxw); margin: 0 auto; padding: 80px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.aiband h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 12px 0 18px; }
.aiband p { color: #e8d6e3; font-size: 1.1rem; max-width: 46ch; }
.aiband-note { margin-top: 16px; color: #ffaede !important; font-weight: 600; font-size: .98rem !important; }
.aiband-art img { border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(226,0,122,.6); }
@media (max-width: 820px) { .aiband-inner { grid-template-columns: 1fr; } }

/* ---------- how ---------- */
.how { background: var(--bg-soft); max-width: none; }
.how > .section-head, .steps { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 22px; }
.how-step { background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.how-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; margin-bottom: 18px; }
.how-step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.how-step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
/* Two-column split: lifestyle photo on the left (fully visible), price card on
   the right, over a brand-magenta gradient. */
.pricing { max-width: none; padding: 0; background: linear-gradient(135deg, var(--primary) 0%, #7a0046 100%); }
.price-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 80px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch;
}
.pricing-photo {
  border-radius: 26px; overflow: hidden; min-height: 460px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
}
.pricing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.price-card { background: #fff; border-radius: 26px; padding: 40px; width: 100%; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
@media (max-width: 880px) {
  .price-wrap { grid-template-columns: 1fr; gap: 28px; }
  .pricing-photo { min-height: 0; aspect-ratio: 16 / 11; }
}
.price-amount { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.price-amount .cur { font-family: var(--font-h); font-weight: 700; font-size: 1.4rem; color: var(--ink-soft); }
.price-amount .big { font-family: var(--font-h); font-weight: 800; font-size: 4rem; color: var(--ink); line-height: 1; }
.price-sub { color: var(--ink-soft); }
.price-feats { list-style: none; display: grid; gap: 10px; margin: 22px 0 28px; }
.price-feats li { padding-left: 30px; position: relative; }
.price-feats li::before { content: '✓'; position: absolute; left: 0; width: 20px; height: 20px; background: var(--primary-tint); color: var(--primary); border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; top: 3px; }

/* checkout */
.checkout { border-top: 1px solid var(--border); padding-top: 26px; }
.checkout h3 { font-size: 1.3rem; margin-bottom: 8px; }
.hint { color: var(--ink-soft); font-size: .92rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-soft); }
.field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 1rem; font-family: var(--font-b); background: #fff; color: var(--ink); cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E2007A' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center;
}
.field select:focus { outline: none; border-color: var(--primary); }
#buy-btn { margin-top: 8px; }
#buy-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.checkout-msg { margin-top: 12px; color: var(--primary-dark); font-weight: 600; font-size: .92rem; min-height: 1em; }
.checkout-msg.ok { color: #1a8f4a; }
.pay-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.pay-badge { font-family: var(--font-h); font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 6px 10px; border-radius: 6px; background: #f3eef1; color: #6a5d66; }
.pay-badge.twint { background: #000; color: #fff; }
.secure { font-size: .82rem; color: var(--ink-soft); margin-left: auto; }
@media (max-width: 540px) { .price-card { padding: 28px 22px; } .secure { margin-left: 0; width: 100%; } }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-soft); }
.faq-list summary { font-family: var(--font-h); font-weight: 700; cursor: pointer; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; color: var(--primary); font-size: 1.4rem; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); padding-bottom: 18px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfc3cd; text-align: center; padding: 54px 22px; }
.footer-logo { height: 28px; margin: 0 auto 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer p { max-width: 40ch; margin: 0 auto 8px; }
.footer-meta a { color: #ff8fcb; }

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

/* ---------- success overlay ---------- */
/* flex + margin:auto centers the card when it fits AND stays fully scrollable
   (incl. top + bottom) when it's taller than the viewport — grid place-items
   center would clip the overflow and trap the scroll. */
.success-overlay { position: fixed; inset: 0; z-index: 100; background: linear-gradient(160deg, #fff, var(--bg-soft)); overflow-y: auto; display: flex; padding: 24px; }
.success-overlay[hidden] { display: none; }
.success-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow); max-width: 760px; width: 100%; margin: auto; padding: 44px; text-align: center; border: 1px solid var(--border); }
.success-emoji { font-size: 3rem; margin-bottom: 8px; }
.success-card h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.success-lead { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 8px; }
.success-profile { display: inline-block; margin: 10px auto 0; font-weight: 700; color: var(--primary); background: var(--primary-tint); padding: 6px 16px; border-radius: 999px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 18px; }
.qr-box { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.qr-box.highlight { border-color: var(--primary); background: linear-gradient(180deg,#fff,var(--primary-tint)); }
.qr-step { font-family: var(--font-h); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.qr-box h3 { font-size: 1.2rem; margin: 4px 0 16px; }
.qr { width: 200px; height: 200px; margin: 0 auto 14px; display: grid; place-items: center; }
.qr img, .qr svg { width: 100%; height: 100%; }
.qr-box p { font-size: .92rem; color: var(--ink-soft); }
.qr-code-copy { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; }
.qr-code-text { display: inline-block; font-family: ui-monospace, monospace; font-size: .95rem; letter-spacing: .05em; background: #fff; border: 1px dashed var(--primary); border-radius: 8px; padding: 6px 12px; color: var(--primary-dark); transition: background .15s, border-color .15s; }
.qr-code-copy:hover .qr-code-text, .qr-code-copy:active .qr-code-text { background: var(--primary-tint); }
.qr-copy-hint { font-size: .72rem; letter-spacing: .04em; color: var(--ink-soft); }
.qr-code-copy.copied .qr-code-text { border-style: solid; background: var(--primary-tint); }
.qr-code-copy.copied .qr-copy-hint { color: var(--primary-dark); font-weight: 700; }
.success-note { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.success-loading { padding: 40px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--primary-tint); border-top-color: var(--primary); border-radius: 50%; margin: 0 auto 18px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .qr-grid { grid-template-columns: 1fr; } .success-card { padding: 28px 20px; } }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 90; font-weight: 600; font-size: .92rem; }
