/* ============================================================
   QUIZ HERO
============================================================ */
.quiz-hero {
  padding: 160px 80px 100px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.quiz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(140,160,135,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.quiz-hero-inner { max-width: 640px; position: relative; }
.quiz-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}
.quiz-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 68px;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 22px;
}
.quiz-hero h1 em { font-style: normal; color: var(--aqua); }
.quiz-hero-lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 20px;
}
.quiz-disclaimer {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--stone);
  padding-left: 16px;
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ============================================================
   QUIZ SECTION
============================================================ */
.quiz-section {
  background: var(--sand);
  padding: 130px 80px 100px;
  min-height: 70vh;
}
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Progress bar */
.quiz-progress-wrap { margin-bottom: 40px; }
.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.quiz-progress-label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.quiz-progress-pct {
  font-size: 12px;
  font-weight: 300;
  color: var(--aqua);
  letter-spacing: 0.1em;
}
.quiz-progress-track {
  width: 100%;
  height: 3px;
  background: var(--stone);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--sage), var(--aqua));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

/* Quiz Card */
.quiz-card {
  background: var(--warm-white);
  border-radius: 4px;
  padding: 52px 56px 44px;
  box-shadow: 0 4px 32px rgba(58,46,36,0.06);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.quiz-card.fading {
  opacity: 0;
  transform: translateY(12px);
}
.quiz-question-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 14px;
}
.quiz-question-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--deep);
  margin-bottom: 36px;
}

/* Answer options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.quiz-option {
  border: 1.5px solid var(--stone);
  border-radius: 3px;
  padding: 18px 22px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.quiz-option:hover {
  border-color: var(--aqua-light);
  background: var(--aqua-pale);
}
.quiz-option.selected {
  border-color: var(--aqua);
  background: var(--aqua);
}
.quiz-option-marker {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--stone);
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-option:hover .quiz-option-marker { border-color: var(--aqua); }
.quiz-option.selected .quiz-option-marker {
  border-color: white;
  background: white;
}
.quiz-option.selected .quiz-option-marker::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  display: block;
}
.quiz-option-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-light);
  transition: color 0.2s;
}
.quiz-option:hover .quiz-option-text  { color: var(--aqua-deep); }
.quiz-option.selected .quiz-option-text { color: white; }
.quiz-option.selected:hover .quiz-option-text { color: white; }

/* Next button */
.quiz-nav { display: flex; justify-content: flex-end; }
.quiz-next-btn:disabled {
  background: var(--stone) !important;
  color: var(--taupe) !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}
.quiz-next-btn:disabled:hover {
  background: var(--stone) !important;
  transform: none !important;
}

/* ============================================================
   RESULTS
============================================================ */
.quiz-results {
  background: var(--cream);
  padding: 130px 80px 100px;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}
.quiz-results::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aqua-pale) 0%, transparent 70%);
  z-index: 0;
}
.quiz-results-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.results-score-wrap {
  margin-bottom: 36px;
}
.results-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--aqua);
  line-height: 1;
  display: block;
}
.results-score-label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}
.results-band-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.results-band-tag.low  { background: rgba(140,160,135,0.14); color: var(--sage); }
.results-band-tag.mid  { background: var(--aqua-pale); color: var(--aqua-deep); }
.results-band-tag.high { background: rgba(91,122,138,0.12); color: var(--aqua-deep); }
.results-heading {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 50px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 28px;
}
.results-message {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-light);
  text-align: left;
  margin-bottom: 48px;
}
.results-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.results-restart {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding-bottom: 2px;
  cursor: pointer;
  background: none;
  transition: color 0.25s, border-color 0.25s;
}
.results-restart:hover { color: var(--aqua); border-color: var(--aqua-light); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .quiz-hero { padding: 140px 32px 72px; }
  .quiz-hero h1 { font-size: 46px; }
  .quiz-section { padding: 110px 24px 72px; }
  .quiz-card { padding: 32px 28px 32px; }
  .quiz-question-text { font-size: 22px; }
  .quiz-option-text { font-size: 16px; }
  .quiz-results { padding: 110px 32px 72px; }
  .results-heading { font-size: 38px; }
  .results-score-num { font-size: 64px; }
}
