@import url('https://fonts.googleapis.cn/css2?family=Sora:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Inter:wght@400;500;600&display=swap');

/* ============ Tokens ============ */
:root {
  --bg: #0B0B10;
  --card: rgba(22, 22, 34, 0.72);
  --card-solid: #161622;
  --pink: #FF2A85;
  --purple: #8A2BE2;
  --grad: linear-gradient(135deg, #FF2A85, #8A2BE2);
  --text: #F5F3F7;
  --text-dim: rgba(245, 243, 247, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; }
h1, h2, h3 { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; }

/* ============ Ambient atmosphere ============ */
.ambient {
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.ambient-pink {
  top: -22vmax; right: -18vmax;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.20), transparent 65%);
  animation: drift1 16s ease-in-out infinite alternate;
}
.ambient-purple {
  bottom: -30vmax; left: -20vmax;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.18), transparent 65%);
  animation: drift2 20s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-8vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(7vmax, -5vmax) scale(1.08); } }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.urgency-banner, .nav, .hero, .stats-strip, .section, .final-cta, .footer { position: relative; z-index: 2; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Urgency banner ============ */
.urgency-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 243, 247, 0.85);
  background: linear-gradient(90deg, rgba(255, 42, 133, 0.16), rgba(138, 43, 226, 0.16));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.urgency-banner b { color: #fff; font-variant-numeric: tabular-nums; }
.urgency-banner b.bump { animation: bump 0.5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.25); color: var(--pink); } }
.pulse-dot {
  flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse { 50% { opacity: 0.35; } }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border: none;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 42, 133, 0.35);
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: 0 6px 24px rgba(255, 42, 133, 0.5); }
.nav-cta:active { transform: scale(0.96); }

/* ============ Hero ============ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 20px 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--pink);
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.35);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.06;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #FF6FB1, var(--pink) 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.cta-ghost {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}
.cta-ghost:hover { color: var(--pink); }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item b { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; }
.proof-item span { font-size: 11px; color: var(--text-dim); }
.proof-sep { width: 1px; height: 30px; background: var(--border); }

/* Hero visual: fanned portrait cards */
.hero-visual { display: flex; justify-content: center; }
.fan {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1.06;
}
.fan-card {
  position: absolute;
  width: 56%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.fan-left { left: 0; top: 14%; transform: rotate(-9deg); opacity: 0.9; }
.fan-right { right: 0; top: 14%; transform: rotate(9deg); opacity: 0.9; }
.fan-center {
  left: 50%; top: 4%;
  transform: translateX(-50%);
  z-index: 2;
  border-color: rgba(255, 42, 133, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 42, 133, 0.22);
  animation: fanFloat 5s ease-in-out infinite;
}
@keyframes fanFloat { 50% { transform: translateX(-50%) translateY(-10px); } }
.fan-name {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 6px 12px;
  border-radius: 99px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: rgba(11, 11, 16, 0.65);
  border: 1px solid rgba(255, 42, 133, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.float-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(22, 22, 34, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: chipFloat 4.5s ease-in-out infinite;
}
.chip-chat { left: -6%; bottom: 12%; border-color: rgba(255, 42, 133, 0.4); }
.chip-online {
  right: -4%; top: 6%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6fe3a5;
  animation-delay: 1.2s;
}
@keyframes chipFloat { 50% { transform: translateY(-9px); } }
.online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: dotPulse 1.6s infinite;
}

/* ============ Stats strip ============ */
.stats-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 11.5px; color: var(--text-dim); }

/* ============ Generic sections ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 20px 20px;
}
.section-head { text-align: center; margin-bottom: 40px; }
.kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pink);
}
.section-head h2 {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
}
.section-head p { margin-top: 10px; font-size: 14px; color: var(--text-dim); }

/* ============ How it works ============ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.how-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.how-card:hover { transform: translateY(-5px); border-color: rgba(255, 42, 133, 0.4); }
.how-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 42, 133, 0.5);
}
.how-emoji {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  font-size: 25px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.how-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-card p { font-size: 13px; line-height: 1.65; color: var(--text-dim); }

/* ============ Gallery ============ */
.gallery-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.g-card {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.g-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 133, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 42, 133, 0.15);
}
.g-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.g-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(5, 5, 9, 0.88));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g-card b { font-family: 'Sora', sans-serif; font-size: 14px; }
.g-card figcaption span { font-size: 11px; color: var(--text-dim); }
.gallery-hint {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 243, 247, 0.35);
}

/* ============ Quiz module ============ */
.quiz-section { padding-bottom: 30px; }
.quiz-module {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid rgba(255, 42, 133, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 42, 133, 0.1);
  overflow: hidden;
  scroll-margin-top: 90px;
}
.qm-progress { padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.back-btn {
  visibility: hidden;
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.back-btn.is-visible { visibility: visible; }
.back-btn:hover { border-color: var(--pink); background: rgba(255, 42, 133, 0.12); }
.progress-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 42, 133, 0.55);
  transition: width 0.4s var(--ease-out);
}

.quiz-stage {
  position: relative;
  height: clamp(480px, 66dvh, 560px);
}
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 18px 16px;
  opacity: 0;
  transform: translateX(48px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.screen.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.screen.is-exit-left { opacity: 0; transform: translateX(-48px); }
.screen.is-exit-right { opacity: 0; transform: translateX(48px); }
.screen.enter-right { opacity: 0; transform: translateX(48px); }
.screen.enter-left { opacity: 0; transform: translateX(-48px); }

.qm-foot {
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 10.5px;
  color: rgba(245, 243, 247, 0.4);
  background: rgba(11, 11, 16, 0.5);
}

/* ============ Quiz content ============ */
.quiz-head { flex: none; padding: 4px 2px 14px; }
.quiz-title {
  font-size: clamp(19px, 5.4vw, 23px);
  font-weight: 700;
  line-height: 1.2;
}
.quiz-sub { margin-top: 5px; font-size: 12.5px; color: var(--text-dim); }
.options {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.options::-webkit-scrollbar { display: none; }

.option-card {
  flex: none;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  transition: transform 0.18s var(--ease-out), border-color 0.2s, box-shadow 0.25s, background 0.25s;
  animation: cardIn 0.45s var(--ease-out) backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.option-card:hover { border-color: rgba(255, 42, 133, 0.45); }
.option-card:active { transform: scale(0.97); }
.option-card.is-picked {
  border-color: var(--pink);
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.35);
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.16), rgba(138, 43, 226, 0.16));
}
.option-emoji {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  font-size: 22px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.option-text { flex: 1; min-width: 0; }
.option-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.option-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.option-arrow {
  flex: none;
  font-size: 18px;
  color: var(--text-dim);
  transition: transform 0.2s var(--ease-out), color 0.2s;
}
.option-card:hover .option-arrow { transform: translateX(3px); color: var(--pink); }

/* ============ Loading ============ */
.loading-screen { align-items: center; justify-content: center; text-align: center; }
.neural-orb { position: relative; width: 116px; height: 116px; margin-bottom: 26px; }
.orb-core {
  position: absolute; inset: 34px;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(2px);
  box-shadow: 0 0 42px rgba(255, 42, 133, 0.7), 0 0 90px rgba(138, 43, 226, 0.4);
  animation: orbBreathe 1.6s ease-in-out infinite;
}
@keyframes orbBreathe { 50% { transform: scale(0.86); } }
.orb-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--pink);
  border-right-color: rgba(138, 43, 226, 0.7);
  animation: spin 1.4s linear infinite;
}
.ring-2 {
  inset: 11px;
  border-top-color: rgba(138, 43, 226, 0.8);
  border-right-color: rgba(255, 42, 133, 0.5);
  animation: spin 2.2s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-size: 19px; font-weight: 700; }
.dots i { animation: dotBlink 1.4s infinite; font-style: normal; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBlink { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } }
.loading-status { margin-top: 9px; min-height: 18px; font-size: 12.5px; color: var(--pink); transition: opacity 0.25s; }
.loading-track {
  width: 78%;
  max-width: 260px;
  height: 5px;
  margin-top: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.loading-fill {
  height: 100%; width: 0;
  border-radius: 99px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 42, 133, 0.55);
  transition: width 0.15s linear;
}
.loading-pct { margin-top: 9px; font-size: 11.5px; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.loading-note {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 243, 247, 0.3);
}

/* ============ Result (inside module) ============ */
.result-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.result-scroll::-webkit-scrollbar { display: none; }
.photo-frame {
  position: relative;
  flex: none;
  width: 72%;
  margin: 4px auto 0;
  aspect-ratio: 4 / 5;
  max-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 133, 0.3);
}
.photo-glow {
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 42, 133, 0.25), transparent 60%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.result-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: blur(22px);
  transform: scale(1.14);
  transition: filter 1.4s var(--ease-out), transform 1.8s var(--ease-out);
}
.result-photo.is-revealed { filter: blur(0); transform: scale(1); }
.photo-badge {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(11, 11, 16, 0.62);
  border: 1px solid rgba(255, 42, 133, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.profile-card {
  flex: none;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.profile-top { display: flex; align-items: baseline; gap: 10px; }
.profile-name {
  font-style: italic;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(120deg, #FF6FB1, var(--pink) 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.profile-age { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tag {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.tag-online { display: inline-flex; align-items: center; gap: 6px; color: #6fe3a5; border-color: rgba(111, 227, 165, 0.3); }
.bwh-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 13px;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.bwh-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bwh-num { font-family: 'Sora', sans-serif; font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bwh-lbl { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.bwh-div { width: 1px; height: 24px; background: var(--border); }

.intro-bubble {
  margin-top: 13px;
  padding: 11px 14px;
  border-radius: 4px 16px 16px 16px;
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.13), rgba(138, 43, 226, 0.13));
  border: 1px solid rgba(255, 42, 133, 0.22);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245, 243, 247, 0.92);
  animation: bubbleIn 0.6s var(--ease-out) 0.35s backwards;
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px); } }

.prompt-details { margin-top: 12px; font-size: 10.5px; color: var(--text-dim); }
.prompt-details summary {
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: rgba(245, 243, 247, 0.4);
}
.prompt-details summary:hover { color: var(--pink); }
.prompt-details code {
  display: block;
  margin-top: 7px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}

.result-actions { display: flex; gap: 10px; align-items: stretch; }
.result-actions .cta-secondary { flex: 1; }
.link-btn {
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
}
.link-btn:hover { color: var(--pink); }

/* ============ CTA ============ */
.cta-primary {
  flex: none;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255, 42, 133, 0.38);
  animation: ctaPulse 2s ease-in-out infinite;
  transition: transform 0.15s var(--ease-out);
}
.cta-primary:active { transform: scale(0.97); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(255, 42, 133, 0.38), 0 0 0 0 rgba(255, 42, 133, 0.45); }
  50% { box-shadow: 0 8px 28px rgba(255, 42, 133, 0.38), 0 0 0 12px rgba(255, 42, 133, 0); }
}
.hero-ctas .cta-primary, .final-inner .cta-primary { width: auto; padding: 16px 30px; }
.cta-big { font-size: 16.5px; }
.cta-secondary {
  padding: 12px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s var(--ease-out);
}
.cta-secondary:hover { border-color: rgba(138, 43, 226, 0.6); background: rgba(138, 43, 226, 0.1); }
.cta-secondary:active { transform: scale(0.97); }
.fine-print { text-align: center; font-size: 10px; color: rgba(245, 243, 247, 0.35); }

/* ============ Testimonials ============ */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.t-card:hover { transform: translateY(-5px); border-color: rgba(138, 43, 226, 0.45); }
.t-stars { color: var(--pink); font-size: 14px; letter-spacing: 3px; margin-bottom: 12px; }
.t-card p { font-size: 13.5px; line-height: 1.7; color: rgba(245, 243, 247, 0.85); }
.t-card footer { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.t-card footer b { font-family: 'Sora', sans-serif; font-size: 13px; }
.t-card footer span { font-size: 10.5px; color: var(--text-dim); }

/* ============ FAQ ============ */
.faq-section { padding-bottom: 40px; }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(255, 42, 133, 0.35); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 18px;
  color: var(--pink);
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 16px; font-size: 13px; line-height: 1.7; color: var(--text-dim); }

/* ============ Final CTA ============ */
.final-cta {
  max-width: var(--maxw);
  margin: 60px auto 0;
  padding: 0 20px 90px;
}
.final-inner {
  text-align: center;
  padding: 64px 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 42, 133, 0.22), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(138, 43, 226, 0.25), transparent 55%),
    var(--card-solid);
  border: 1px solid rgba(255, 42, 133, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 70px rgba(255, 42, 133, 0.12);
}
.final-inner h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.12; }
.final-inner h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #FF6FB1, var(--pink) 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-inner p { margin: 14px 0 26px; font-size: 13.5px; color: var(--text-dim); }
.final-inner .cta-primary { width: auto; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 20px calc(30px + env(safe-area-inset-bottom));
  text-align: center;
  background: rgba(11, 11, 16, 0.7);
}
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(245, 243, 247, 0.5);
}
.disclaimer {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(245, 243, 247, 0.3);
}
.copyright { margin-top: 10px; font-size: 10.5px; color: rgba(245, 243, 247, 0.35); }

/* ============ Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 9, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 30px 24px 22px;
  border-radius: 24px;
  background: var(--card-solid);
  border: 1px solid rgba(255, 42, 133, 0.3);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 42, 133, 0.15);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.35s var(--ease-out);
}
.modal-overlay.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 30px; height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 17px;
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-emoji { font-size: 40px; margin-bottom: 10px; }
.modal-title { font-size: 20px; font-weight: 700; }
.modal-text { margin: 10px 0 20px; font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.modal-cta { animation: none; box-shadow: 0 8px 24px rgba(255, 42, 133, 0.35); }
.modal-later { margin-top: 10px; border: none; background: none; color: var(--text-dim); font-size: 12.5px; cursor: pointer; padding: 6px; }
.modal-later:hover { color: var(--text); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 60;
  transform: translateX(-50%) translateY(20px);
  padding: 11px 18px;
  border-radius: 99px;
  background: rgba(22, 22, 34, 0.95);
  border: 1px solid rgba(255, 42, 133, 0.4);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  max-width: 86vw;
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px 56px;
    text-align: center;
  }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-proof { justify-content: center; }
  .how-grid, .t-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .section { padding-top: 64px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .g-card { flex-basis: 168px; }
  .chip-chat { left: 0; }
  .chip-online { right: 0; }
  .quiz-stage { height: clamp(470px, 62dvh, 540px); }
  .photo-frame { max-height: 210px; }
}

/* ============ Chat overlay ============ */
.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 9, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.chat-overlay.is-open { opacity: 1; pointer-events: auto; }
.chat-shell {
  width: 100%;
  max-width: 520px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0E0E16;
  border: 1px solid rgba(255, 42, 133, 0.25);
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.35s var(--ease-out);
}
.chat-overlay.is-open .chat-shell { transform: translateY(0); }
@media (min-width: 560px) {
  .chat-shell { height: min(100dvh - 48px, 860px); border-radius: 26px; }
}

.chat-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 22, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--pink);
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.4);
}
.chat-peer { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-peer b { font-family: 'Sora', sans-serif; font-size: 15px; }
.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #6fe3a5;
}
.chat-upgrade {
  flex: none;
  padding: 7px 12px;
  border: none;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 42, 133, 0.35);
  transition: transform 0.15s var(--ease-out);
  white-space: nowrap;
}
.chat-upgrade:active { transform: scale(0.95); }
.chat-close {
  flex: none;
  width: 30px; height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 17px;
  cursor: pointer;
}
.chat-close:hover { color: var(--text); }

.chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  scrollbar-width: thin;
}
.msg {
  max-width: 80%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  border-radius: 18px;
  animation: msgIn 0.35s var(--ease-out);
  overflow-wrap: break-word;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.msg.her {
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 42, 133, 0.25);
}
.msg.me {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 42, 133, 0.25);
}
.msg.typing { display: inline-flex; gap: 5px; padding: 13px 16px; }
.msg-time { display: block; margin-top: 4px; font-size: 9px; opacity: 0.45; text-align: right; }
body.locked { overflow: hidden; }
.msg.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245, 243, 247, 0.6);
  animation: dotBlink 1.2s infinite;
}
.msg.typing i:nth-child(2) { animation-delay: 0.18s; }
.msg.typing i:nth-child(3) { animation-delay: 0.36s; }
.msg.sys {
  align-self: center;
  max-width: 92%;
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 12px;
}

.chat-suggest {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 10px 12px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chat-suggest::-webkit-scrollbar { display: none; }
.sug-chip {
  flex: none;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid rgba(255, 42, 133, 0.35);
  background: rgba(255, 42, 133, 0.08);
  color: var(--text);
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease-out);
}
.sug-chip:hover { background: rgba(255, 42, 133, 0.18); }
.sug-chip:active { transform: scale(0.95); }

.chat-inputbar {
  flex: none;
  display: flex;
  gap: 9px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(22, 22, 34, 0.75);
}
.chat-inputbar input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-inputbar input:focus { border-color: rgba(255, 42, 133, 0.55); }
.chat-inputbar input::placeholder { color: rgba(245, 243, 247, 0.35); }
.chat-send {
  flex: none;
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 42, 133, 0.4);
  transition: transform 0.15s var(--ease-out);
}
.chat-send:active { transform: scale(0.9); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.15s !important; }
  .reveal { opacity: 1; transform: none; }
}
