.funnel { padding: var(--space-5); color: var(--color-text); background: var(--color-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-hover); }

.compare-question-section { min-height: 70vh; display: grid; align-items: center; background: var(--color-bg-alt); }

.compare-question-wrap { max-width: 52rem; }

.compare-quick-page .funnel-heading,
.fees-quick-page .funnel-heading { display: none; }

.compare-quick-page .funnel,
.fees-quick-page .funnel { padding: var(--space-6); }

.funnel-heading h2 { margin-bottom: var(--space-2); font-size: 1.5rem; }

.funnel-heading p { color: var(--color-text-muted); }

.progress-wrap { margin-block: var(--space-4); color: var(--color-text-muted); font-size: .875rem; font-weight: 600; }

.progress-track { height: var(--space-2); margin-top: var(--space-2); overflow: hidden; background: var(--color-border); border-radius: var(--radius-pill); }

.progress-fill { height: 100%; background: var(--color-accent); transition: width .25s ease; }

.funnel-step { transition: opacity .25s ease, transform .25s ease; }

.funnel-step.is-changing { opacity: 0; transform: translateX(var(--space-3)); }

@media (prefers-reduced-motion: reduce) {
  .progress-fill, .funnel-step { transition: none; }
}

.progress-1 { width: var(--progress-1); }

.progress-2 { width: var(--progress-2); }

.progress-3 { width: var(--progress-3); }

.progress-4 { width: var(--progress-4); }

.progress-5 { width: var(--progress-5); }

.quiz-step { min-width: 0; padding: 0; border: 0; }

.quiz-step legend { margin-bottom: var(--space-3); color: var(--color-primary); font: 600 1.25rem/1.4 var(--font-heading); }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }

.choice { position: relative; }

.choice input { position: absolute; opacity: 0; }

.choice span { display: block; padding: var(--space-3); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg-alt); cursor: pointer; }

.choice input:checked + span { border-color: var(--color-primary); background: var(--color-primary-light); font-weight: 600; }

.checkbox-field { display: flex; align-items: center; gap: var(--space-2); grid-column: 1 / -1; }

.checkbox-field input { width: auto; min-height: auto; margin: 0; }

.quiz-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-4); }

.form-error { padding: var(--space-2); margin-top: var(--space-3); color: var(--color-error); background: var(--color-error-bg); border-radius: var(--radius-sm); }

.narrow-funnel { max-width: 50rem; }

@media (max-width: 48em) {
  .funnel { padding: var(--space-4); }
}

/* ── Course Finder Dynamic Quiz Component ────────────────────── */
.finder-content {
  padding: 48px;
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .finder-content {
    padding: 32px 24px;
  }
}

.finder-progress-bar {
  background: #f1f5f9;
  height: 6px;
  border-radius: 3px;
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
}

.finder-progress-fill {
  background: linear-gradient(90deg, #1e293b, var(--smu-orange, #F05423));
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.finder-opt-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.finder-opt-btn:hover {
  border-color: var(--smu-orange, #F05423);
  background: #FFF7F4;
  transform: translateY(-1px);
}

.result-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gate-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 40px;
  color: white;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.verdict-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid #1e293b;
  padding: 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 40px;
}
