:root {
  --bg: #120d14;
  --bg-soft: #1a1220;
  --card: rgba(34, 24, 39, 0.84);
  --card-border: rgba(255, 223, 196, 0.16);
  --text: #f9f1ea;
  --muted: #d8c8d3;
  --accent: #d98caa;
  --accent-strong: #b85d83;
  --accent-soft: #f3d6df;
  --gold: #e8c98a;
  --success: #cde7c8;
  --error: #ffbcbc;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 140, 170, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(232, 201, 138, 0.12), transparent 30%),
    linear-gradient(160deg, #0e0910 0%, #19101c 45%, #130d14 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}
.aurora-1 { background: #c76d97; top: -8rem; left: -10rem; }
.aurora-2 { background: #c9a45e; bottom: -10rem; right: -12rem; }

.app-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.card {
  width: 100%;
  display: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 28px;
}
.card.active { display: block; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 12px;
  line-height: 1.05;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 20px;
}
.lead.small { font-size: 1rem; }

.intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.intro-badges span,
.option-tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent-soft);
  font-size: 0.92rem;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff7fb;
  box-shadow: 0 12px 28px rgba(184, 93, 131, 0.28);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.progress-wrap { margin-bottom: 20px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 10px;
}
.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  overflow: hidden;
}
#progress-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.question-subtitle {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.option-card {
  width: 100%;
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
.option-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.option-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}
.option-card.selected {
  border-color: rgba(232, 201, 138, 0.55);
  background: linear-gradient(180deg, rgba(217, 140, 170, 0.18), rgba(255,255,255,0.04));
}

.nav-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 16px;
}
.result-box,
.tip-box,
.offer-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.result-box ul,
.offer-box ul,
.result-box ol {
  margin: 10px 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.step-box { margin-bottom: 16px; }
.tip-box {
  margin-bottom: 20px;
  color: var(--accent-soft);
  line-height: 1.7;
}
.result-description {
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.75;
}

.capture-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.capture-form label {
  font-size: 0.95rem;
  color: var(--accent-soft);
}
.capture-form input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1rem;
}
.capture-form input::placeholder { color: #bdaebb; }
.capture-form input:focus {
  outline: none;
  border-color: rgba(232, 201, 138, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 201, 138, 0.12);
}
.helper-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 4px;
}
.form-message {
  min-height: 24px;
  font-size: 0.94rem;
}
.form-message.error { color: var(--error); }
.form-message.success { color: var(--success); }

.offer-box ul { margin-bottom: 18px; }

@media (max-width: 760px) {
  .options,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .card { padding: 22px; }
}
