/* ============================================
   QUIZ BLOCK — "Which one should I buy?"
   Reusable across all comparison/SEO pages
   ============================================ */

#quiz-block {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--warm-grey, #F8F6F3);
}

.quiz-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.quiz-header {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green, #2E7D32);
  margin-bottom: 16px;
}

.quiz-eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--green, #2E7D32);
  border-radius: 2px;
}

.quiz-title {
  font-family: var(--serif, 'DM Serif Display', Georgia, serif);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--charcoal, #2D2D2D);
  margin-bottom: 8px;
  font-weight: 400;
}

.quiz-subtitle {
  font-size: 15px;
  color: var(--text-secondary, #6B6560);
  line-height: 1.5;
}

/* Progress bar */
.quiz-progress {
  height: 4px;
  background: rgba(45, 45, 45, 0.08);
  border-radius: 4px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--green, #2E7D32);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Questions */
.quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.quiz-q {
  background: var(--white, #FFFFFF);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  opacity: 0.5;
  pointer-events: none;
}

.quiz-q.active {
  opacity: 1;
  pointer-events: auto;
  border-color: var(--green, #2E7D32);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.08);
}

.quiz-q.answered {
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(46, 125, 50, 0.2);
}

.quiz-q-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green, #2E7D32);
  margin-bottom: 8px;
}

.quiz-q-text {
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal, #2D2D2D);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Options */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--warm-grey, #F8F6F3);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal, #2D2D2D);
  transition: all 0.25s ease;
}

.quiz-option:hover {
  border-color: var(--green, #2E7D32);
  background: rgba(46, 125, 50, 0.04);
}

.quiz-option.selected {
  background: var(--green-subtle, #E8F5E9);
  border-color: var(--green, #2E7D32);
  color: var(--green, #2E7D32);
  font-weight: 600;
}

.quiz-option-label {
  pointer-events: none;
}

/* Note after answer */
.quiz-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--green-subtle, #E8F5E9);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green, #2E7D32);
  line-height: 1.4;
}

.quiz-note svg {
  flex-shrink: 0;
  color: var(--green, #2E7D32);
}

/* Result */
.quiz-result {
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--charcoal, #2D2D2D) 0%, #3D3D3D 100%);
  border-radius: 16px;
  color: white;
}

.quiz-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 16px;
}

.quiz-result-icon svg {
  color: var(--green-light, #4CAF50);
}

.quiz-result-text {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.quiz-result-text strong {
  color: #fff;
  font-weight: 600;
}

.quiz-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--green, #2E7D32);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.quiz-cta:hover {
  background: #256B29;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .quiz-q {
    padding: 20px 16px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-title {
    font-size: 22px;
  }

  .quiz-result {
    padding: 24px 16px;
  }
}
