
/* ── QUIZ PAGE STYLES ── */
.quiz-page {
  min-height: 100svh;
  background: var(--black);
  padding-top: 120px;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.quiz-page::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,27,129,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(255,27,129,0.05) 0%, transparent 55%);
  pointer-events: none;
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative; z-index: 2;
}

/* ── INTRO ── */
.quiz-intro {
  text-align: center;
  padding: 6rem 0 2rem;
}
.quiz-intro .eyebrow-white {
  display: block;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1.2rem;
}
.quiz-intro h1 {
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400; color: var(--white);
  line-height: 1.1; margin-bottom: 1rem;
}
.quiz-intro h1 em { color: var(--pink); font-style: italic; }
.quiz-intro p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem; line-height: 1.8;
  max-width: 520px; margin: 0 auto 2rem;
}
.quiz-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.quiz-meta-item {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 0.4rem;
}
.quiz-meta-item::before {
  content: '✦';
  color: var(--pink); font-size: 0.5rem;
}
.quiz-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 360px;
  margin: 0 auto 2.5rem;
}
.quiz-author-img {
  width: 44px; height: 44px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--pink); flex-shrink: 0;
}
.quiz-author-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.quiz-author-name {
  font-size: 0.78rem; font-weight: 600; color: var(--white);
  display: block;
}
.quiz-author-title {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pink); display: block; margin-top: 0.1rem;
}
.btn-start {
  display: inline-flex;
  align-items: center; gap: 0.6rem;
  background: var(--pink);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border: none; cursor: pointer;
  transition: all 0.25s ease;
}
.btn-start:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,27,129,0.35);
}

/* ── PROGRESS BAR ── */
.quiz-progress-wrap {
  margin-bottom: 2.5rem;
  padding-top: 3rem;
}
.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.quiz-progress-label {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.quiz-progress-count {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink);
}
.quiz-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--pink);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* ── QUESTION CARD ── */
.quiz-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  position: relative;
  display: none;
  animation: slideIn 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
.quiz-card.active { display: block; }
.quiz-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--pink);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.question-num {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1rem; display: block;
}
.question-text {
  font-family: var(--heading);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 400; color: var(--white);
  line-height: 1.3; margin-bottom: 0.5rem;
}
.question-sub {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  margin-bottom: 2rem; line-height: 1.6;
}
.quiz-options {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.quiz-option {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left; width: 100%;
  font-family: var(--body); color: var(--white);
  position: relative; overflow: hidden;
}
.quiz-option::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px; background: var(--pink);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.2s ease;
}
.quiz-option:hover {
  background: rgba(255,27,129,0.08);
  border-color: rgba(255,27,129,0.35);
}
.quiz-option:hover::before { transform: scaleY(1); }
.quiz-option.selected {
  background: rgba(255,27,129,0.12);
  border-color: var(--pink);
}
.quiz-option.selected::before { transform: scaleY(1); }
.option-letter {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: all 0.2s ease;
  margin-top: 0.1rem;
}
.quiz-option.selected .option-letter,
.quiz-option:hover .option-letter {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}
.option-text {
  font-size: 0.88rem; line-height: 1.55;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease; flex: 1;
}
.quiz-option.selected .option-text,
.quiz-option:hover .option-text {
  color: var(--white);
}
.option-sub {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  display: block; margin-top: 0.2rem;
}

/* ── NAV BUTTONS ── */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.btn-back {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  background: none; border: none; cursor: pointer;
  padding: 0; transition: color 0.2s ease;
  display: flex; align-items: center; gap: 0.4rem;
}
.btn-back:hover { color: var(--white); }
.btn-back:disabled { opacity: 0.2; cursor: default; }
.btn-next {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); background: var(--pink);
  border: none; cursor: pointer;
  padding: 0.85rem 2rem;
  transition: all 0.25s ease;
  display: flex; align-items: center; gap: 0.5rem;
}
.btn-next:hover:not(:disabled) {
  background: var(--pink-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,27,129,0.3);
}
.btn-next:disabled {
  opacity: 0.3; cursor: default; transform: none;
}

/* ── RESULTS ── */
.quiz-results {
  display: none;
  animation: slideIn 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.quiz-results.active { display: block; }

.result-header {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.result-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--pink);
}
.result-eyebrow {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 0.8rem; display: block;
}
.result-title {
  font-family: var(--heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 400; color: var(--white);
  line-height: 1.15; margin-bottom: 1rem;
}
.result-title em { color: var(--pink); font-style: italic; }
.result-summary {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  line-height: 1.8; max-width: 500px; margin: 0 auto;
}

.result-findings {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}
.result-findings-title {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
}
.finding-item {
  display: flex; gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.finding-item:last-child { border-bottom: none; }
.finding-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--pink);
  flex-shrink: 0; margin-top: 0.4rem;
}
.finding-text {
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.finding-text strong { color: var(--white); font-weight: 600; }

.result-disclaimer {
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
  line-height: 1.6; padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

/* CTA / Lead capture */
.result-cta {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
}
.result-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--pink);
}
.result-cta-eyebrow {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--pink-accessible); margin-bottom: 0.6rem; display: block;
}
.result-cta h3 {
  font-family: var(--heading);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--black); margin-bottom: 0.5rem; line-height: 1.2;
}
.result-cta h3 em { color: var(--pink); font-style: italic; }
.result-cta p {
  font-size: 0.82rem; color: var(--grey);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.lead-form { display: flex; flex-direction: column; gap: 0.8rem; }
.lead-input {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e5e5e5;
  background: #fafafa;
  font-family: var(--body); font-size: 0.88rem;
  color: var(--black); outline: none;
  transition: border-color 0.2s ease; border-radius: 0;
}
.lead-input:focus { border-color: var(--pink); background: var(--white); }
.lead-input::placeholder { color: #bbb; }
.btn-lead {
  padding: 1rem;
  background: var(--pink); color: var(--white);
  font-family: var(--body); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; border: none;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-lead:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,27,129,0.28);
}
.lead-alt {
  text-align: center; margin-top: 0.8rem;
  font-size: 0.7rem; color: var(--grey);
}
.lead-alt a { color: var(--pink); text-decoration: underline; }

/* Confirmation state */
.lead-confirmed {
  display: none; text-align: center; padding: 1.5rem 0;
}
.lead-confirmed-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--pink);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.4rem;
}
.lead-confirmed h4 {
  font-family: var(--heading); font-size: 1.3rem;
  color: var(--black); margin-bottom: 0.4rem;
}
.lead-confirmed p { font-size: 0.82rem; color: var(--grey); }

@media (max-width: 600px) {
  .quiz-card, .result-header,
  .result-findings, .result-cta { padding: 1.8rem 1.4rem; }
  .quiz-meta { gap: 1rem; }
  .quiz-intro {
  
  padding: 2rem 0 2rem;
}
}

/* ── QUIZ FORM SKELETON ── */
#quiz-form-skeleton { padding: 1.5rem 0; }
.fskel-row { margin-bottom: 1rem; }
.fskel-label {
  width: 80px; height: 10px; border-radius: 4px; margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ececec 25%, #f6f6f6 37%, #ececec 63%);
  background-size: 400% 100%; animation: quizSkelShimmer 1.4s ease infinite;
}
.fskel-input {
  width: 100%; height: 44px; border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 37%, #f0f0f0 63%);
  background-size: 400% 100%; animation: quizSkelShimmer 1.4s ease infinite;
}
.fskel-btn {
  width: 140px; height: 46px; border-radius: 6px; margin-top: 0.5rem;
  background: linear-gradient(90deg, #e8e8e8 25%, #f0f0f0 37%, #e8e8e8 63%);
  background-size: 400% 100%; animation: quizSkelShimmer 1.4s ease infinite;
}
.fskel-note {
  margin-top: 1rem; font-size: 0.7rem; color: var(--grey); text-align: center;
}
@keyframes quizSkelShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .fskel-label, .fskel-input, .fskel-btn { animation: none; background: #ddd; }
}
