/* ============ Lumière design language ============ */
:root {
  --bg: #0B0908;
  --raised: #141110;
  --card: #1C1815;
  --ivory: #F6F1EA;
  --ivory-70: rgba(246, 241, 234, 0.7);
  --ivory-45: rgba(246, 241, 234, 0.45);
  --hairline: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.08);
  --aurora: linear-gradient(115deg, #F6C6A4, #E893B8, #A88BEB);
  --radius: 24px;
  --glow: 0 8px 32px rgba(232, 147, 184, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--ivory-70); }

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }

/* ============ Shared bits ============ */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-70);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sparkle {
  width: 14px;
  height: 14px;
  fill: #E893B8;
}

.aurora-text {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--aurora);
  color: var(--bg);
  box-shadow: var(--glow);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-small { padding: 0.6rem 1.4rem; font-size: 0.9rem; }

.icon {
  width: 26px;
  height: 26px;
  fill: #E893B8;
}

.icon-tiny {
  width: 14px;
  height: 14px;
  fill: var(--ivory-45);
  vertical-align: -2px;
  margin-right: 0.35rem;
}

/* Store badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: transparent;
  transition: background 0.3s ease, transform 0.3s ease;
}

.store-badge:hover { background: var(--glass); transform: translateY(-2px); }

.store-badge svg { width: 22px; height: 22px; fill: var(--ivory); flex: none; }

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 600;
  font-size: 0.95rem;
}

.store-badge small {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--ivory-45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.cta-center { justify-content: center; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 9, 8, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--hairline); }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-top: 1.4rem;
}

.trust-line {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--ivory-45);
}

/* Phone mockup */
.phone {
  width: min(320px, 80vw);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 44px;
  padding: 12px;
  background: var(--raised);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone-small { width: min(280px, 75vw); }

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  position: relative;
}

/* Before/after compare slider */
.compare {
  position: absolute;
  inset: 0;
  --pos: 50%;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* AFTER pane (full, underneath) */
.pane-after {
  background: url("/assets/hero-after.jpg") center / cover no-repeat var(--card);
}

/* BEFORE pane (clipped to the left of the handle) */
.pane-before {
  background: url("/assets/hero-before.jpg") center / cover no-repeat #171412;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.pane-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pane-after .pane-tag { align-self: flex-end; margin-right: 1rem; }
.pane-before .pane-tag { align-self: flex-start; margin-left: 1rem; }

.pane-note {
  font-size: 0.68rem;
  color: var(--ivory-45);
  text-align: center;
  max-width: 70%;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle-dot {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: var(--glow);
}

/* ============ Sections ============ */
.section {
  padding: 6rem 1.5rem;
}

.section > * { max-width: 1160px; margin-left: auto; margin-right: auto; }

.section-raised { background: var(--raised); }

.section-head { text-align: center; margin-bottom: 3.5rem; }

.section-sub { margin-top: 1rem; font-size: 1.1rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  position: relative;
}

.card .icon { margin-bottom: 1.1rem; }

.step-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  opacity: 0.12;
}

/* Feature trio */
.feature { text-align: center; }

.mini-phone {
  width: min(200px, 60vw);
  aspect-ratio: 9 / 17;
  margin: 0 auto 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background:
    radial-gradient(100% 70% at 50% 30%, rgba(246, 198, 164, 0.12), transparent 65%),
    var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Compare & refine split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
}

.split > * { max-width: none; }

.split-copy p { margin-top: 1.2rem; font-size: 1.1rem; max-width: 30rem; }

.refine-screen { display: flex; flex-direction: column; }

.refine-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(168, 139, 235, 0.18), transparent 60%),
    var(--card);
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.9rem;
  justify-content: center;
  border-top: 1px solid var(--hairline);
  background: var(--raised);
}

.chip {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--glass);
  color: var(--ivory-70);
  white-space: nowrap;
}

.chip-active {
  background: var(--aurora);
  color: var(--bg);
  border-color: transparent;
  font-weight: 600;
}

/* Privacy strip */
.privacy-strip {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.privacy-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 3rem;
  margin-top: 2rem;
}

.privacy-strip li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ivory-70);
  font-weight: 500;
}

.privacy-strip .icon { width: 22px; height: 22px; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 1.5rem;
}

.plan { text-align: center; padding: 2.6rem 2rem; }

.plan-featured { border-color: rgba(232, 147, 184, 0.4); }

.plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--aurora);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--glow);
  white-space: nowrap;
}

.plan-price { margin-top: 0.8rem; font-size: 1.05rem; color: var(--ivory); font-weight: 500; }

.plan-note { margin-top: 0.4rem; font-size: 0.9rem; color: var(--ivory-45); }

.fine-print {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--ivory-45);
}

#pricing .cta-row { margin-top: 1.6rem; }

/* FAQ */
.faq-list { max-width: 720px; }

.faq-list details {
  border-bottom: 1px solid var(--hairline);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 2.5rem 1.4rem 0.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory-45);
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p { padding: 0 2.5rem 1.5rem 0.2rem; }

/* Final CTA */
.final-cta { text-align: center; padding-top: 8rem; padding-bottom: 8rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--ivory-45);
}

.site-footer p { color: var(--ivory-45); }

.site-footer nav { display: flex; gap: 1.6rem; }

.site-footer a:hover { color: var(--ivory); }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.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: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6.5rem;
    text-align: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .cta-row { justify-content: center; }

  .grid-3 { grid-template-columns: 1fr; max-width: 460px; }

  .split { grid-template-columns: 1fr; text-align: center; }

  .split-copy p { margin-left: auto; margin-right: auto; }

  .plans { grid-template-columns: minmax(0, 340px); }

  .privacy-strip ul { flex-direction: column; align-items: center; }
}
