/* ============================================================
   Shared Quiz Screens - Common styles for all quiz-based tools
   ============================================================
   Used by: micro-commitments, funnel-leak-detector, program-positioning
   Import in HTML:
     <link rel="stylesheet" href="/shared/css/quiz-screens.css">
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   WELCOME SCREEN
   ════════════════════════════════════════════════════════════ */
.welcome-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.welcome-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary-100);
}

.welcome-gauge-icon {
  margin-bottom: 1.5rem;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.welcome-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Welcome Educator Type */
.welcome-educator-type {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.welcome-educator-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.welcome-educator-type .form-input {
  width: 100%;
  font-size: 0.8125rem;
}

.welcome-meta {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.welcome-footer {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.welcome-footer strong { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════════════
   QUIZ SCREEN
   ════════════════════════════════════════════════════════════ */
.quiz-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.quiz-sidebar {
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sidebar-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.sidebar-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.sidebar-progress { display: flex; flex-direction: column; gap: 0.5rem; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: default;
}

.sidebar-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border-light);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}

.sidebar-item.active { color: var(--primary); font-weight: 600; }
.sidebar-item.active .sidebar-item-icon { background: var(--primary-100); color: var(--primary); }

.sidebar-item.completed { color: var(--green-text); }
.sidebar-item.completed .sidebar-item-icon { background: var(--green-bg); color: var(--green); }

.sidebar-item-check {
  display: none;
  width: 14px;
  height: 14px;
}
.sidebar-item.completed .sidebar-item-check { display: block; }
.sidebar-item.completed .sidebar-item-icon svg:first-child { display: none; }

/* Main question area */
.quiz-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.question-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  max-width: 680px;
  width: 100%;
  animation: fadeSlideIn 0.3s ease;
}

.question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.question-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--primary-100);
}

.question-number {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.question-text {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.question-help {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Option Cards */
.options-list { display: flex; flex-direction: column; gap: 0.625rem; }

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-white);
}

.option-card:hover {
  border-color: var(--primary-light);
  background: var(--primary-50);
}

.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.option-card.selected .option-radio {
  border-color: var(--primary);
  background: var(--primary);
}

.option-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.option-card.selected .option-radio-dot { opacity: 1; }

.option-label {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.option-card.selected .option-label { color: var(--primary-dark); }

.option-card.option-idk {
  border-style: dashed;
  opacity: 0.7;
}
.option-card.option-idk .option-label {
  color: var(--text-muted);
  font-style: italic;
}
.option-card.option-idk.selected {
  opacity: 1;
}
.option-card.option-idk.selected .option-label {
  color: var(--primary-dark);
}

/* Question navigation */
.question-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* ════════════════════════════════════════════════════════════
   ANALYZING SCREEN
   ════════════════════════════════════════════════════════════ */
.analyzing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.analyzing-spinner { margin-bottom: 1.5rem; }

.analyzing-arc {
  animation: analyzeSpin 1s linear infinite;
  transform-origin: 28px 28px;
}

.analyzing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
}

.analyzing-steps {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
  text-align: left;
}

.analyzing-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  opacity: 0.4;
  transition: all 0.4s ease;
}

.analyzing-step.active { opacity: 1; border-color: var(--primary-light); background: var(--primary-50); }
.analyzing-step.done { opacity: 1; border-color: var(--green); background: var(--green-bg); }

.analyzing-step-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyzing-step-icon .step-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: analyzeSpin 0.8s linear infinite;
}

.analyzing-step-icon .step-check { display: none; color: var(--green); }

.analyzing-step-icon .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.analyzing-step.active .step-spinner { display: block; }
.analyzing-step.active .step-dot { display: none; }
.analyzing-step.done .step-check { display: block; }
.analyzing-step.done .step-dot { display: none; }
.analyzing-step.done .step-spinner { display: none; }

.analyzing-step-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.analyzing-step.active .analyzing-step-text { color: var(--primary-dark); font-weight: 600; }
.analyzing-step.done .analyzing-step-text { color: var(--green-text); }

.analyzing-step-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.analyzing-step.active .analyzing-step-detail { color: var(--primary); }
.analyzing-step.done .analyzing-step-detail { color: var(--green); }

/* ════════════════════════════════════════════════════════════
   INSUFFICIENT DATA SCREEN
   ════════════════════════════════════════════════════════════ */
.insufficient-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.insufficient-icon { margin-bottom: 1.5rem; }

.insufficient-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.insufficient-subtitle {
  font-size: 1.0625rem;
  color: var(--yellow-text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.insufficient-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.6;
}

.insufficient-options {
  width: 100%;
  max-width: 440px;
  margin-bottom: 1.5rem;
}

.insufficient-option-card {
  background: var(--bg-white);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow), var(--shadow-glow);
  text-align: left;
}

.insufficient-option-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.insufficient-option-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* ════════════════════════════════════════════════════════════
   LEAD CAPTURE SCREEN
   ════════════════════════════════════════════════════════════ */
.lead-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.lead-teaser {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lead-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.lead-gauge-preview {
  margin: 0 auto 0.75rem;
  width: 150px;
  height: 150px;
}

.lead-zone-label {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.lead-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.lead-option-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.lead-option-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lead-option-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.lead-option-full {
  border-color: var(--primary);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.lead-recommended-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead-form { display: flex; flex-direction: column; gap: 0.625rem; }

.lead-privacy {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════════════════
   RESULTS SCREEN
   ════════════════════════════════════════════════════════════ */
.results-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.results-header {
  text-align: center;
  margin-bottom: 1rem;
}

.results-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.results-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Result Cards */
.result-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
  animation: fadeUp 0.4s ease both;
}

.result-card:nth-child(2) { animation-delay: 0.05s; }
.result-card:nth-child(3) { animation-delay: 0.1s; }
.result-card:nth-child(4) { animation-delay: 0.15s; }
.result-card:nth-child(5) { animation-delay: 0.2s; }
.result-card:nth-child(6) { animation-delay: 0.25s; }

/* Score Card */
.result-score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.score-gauge-container { width: 180px; height: 180px; }
.score-gauge { width: 100%; height: 100%; }

.gauge-score-text {
  font-family: var(--font);
  font-size: 42px;
  font-weight: 800;
  fill: var(--text);
}

.gauge-label-text {
  font-family: var(--font);
  font-size: 13px;
  fill: var(--text-muted);
}

.score-info { display: flex; flex-direction: column; gap: 0.75rem; }

.score-zone-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.score-zone-badge.zone-green { background: var(--green-bg); color: var(--green-text); }
.score-zone-badge.zone-yellow { background: var(--yellow-bg); color: var(--yellow-text); }
.score-zone-badge.zone-red { background: var(--red-bg); color: var(--red-text); }

.score-verdict {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.score-benchmark {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Category Bars */
.category-bars { display: flex; flex-direction: column; gap: 1rem; }

.cat-bar-item { display: flex; flex-direction: column; gap: 0.375rem; }

.cat-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-bar-label {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-bar-label-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8125rem;
  line-height: 1;
}

.cat-bar-score {
  font-size: 0.8125rem;
  font-weight: 600;
}

.cat-bar-track {
  height: 10px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.cat-bar-zone {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Benchmark Comparison */
.benchmark-chart { display: flex; flex-direction: column; gap: 1.25rem; }

.benchmark-item {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 0.75rem;
  align-items: center;
}

.benchmark-label {
  font-size: 0.8125rem;
  font-weight: 600;
}

.benchmark-bars { display: flex; flex-direction: column; gap: 0.25rem; }

.benchmark-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benchmark-bar-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  width: 50px;
  flex-shrink: 0;
}

.benchmark-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.benchmark-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.benchmark-bar-fill.fill-user { background: var(--primary); }
.benchmark-bar-fill.fill-avg { background: var(--text-muted); opacity: 0.5; }

.benchmark-delta {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.benchmark-delta.better { color: var(--green); }
.benchmark-delta.worse { color: var(--red); }

/* Recommendations */
.recommendations-list { display: flex; flex-direction: column; gap: 0.75rem; }

.rec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.rec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.125rem;
  cursor: pointer;
  transition: background var(--transition);
  gap: 0.75rem;
}
.rec-header:hover { background: var(--primary-50); }

.rec-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.rec-zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rec-category {
  font-size: 0.875rem;
  font-weight: 600;
}

.rec-zone-text {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

.rec-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.rec-card.open .rec-chevron { transform: rotate(180deg); }

.rec-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.rec-card.open .rec-body { max-height: 500px; }

.rec-content {
  padding: 0 1.125rem 1.125rem;
}

.rec-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.rec-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rec-point {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.rec-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* AI Section */
.ai-sparkle { vertical-align: middle; margin-right: 0.25rem; }
.ai-content { min-height: 80px; }
.ai-result { font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); }
.ai-result p { margin-bottom: 1rem; }
.ai-result p:last-child { margin-bottom: 0; }
.ai-shimmer { display: flex; flex-direction: column; gap: 0.75rem; }
.shimmer-line:nth-child(1) { width: 100%; }
.shimmer-line:nth-child(2) { width: 92%; }
.shimmer-line:nth-child(3) { width: 96%; }
.shimmer-line:nth-child(4) { width: 60%; }
.shimmer-line:nth-child(5) { width: 100%; margin-top: 0.5rem; }
.shimmer-line:nth-child(6) { width: 88%; }
.shimmer-line:nth-child(7) { width: 94%; }
.shimmer-line:nth-child(8) { width: 72%; }

/* Gated form */
.gated-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.gated-form .form-input {
  flex: 1;
  min-width: 0;
}

/* CTA Card */
.result-cta-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(168, 85, 247, 0.04) 100%);
  border-color: var(--primary-100);
}

.result-cta-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.result-cta-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Welcome */
  .welcome-title { font-size: 1.75rem; }
  .welcome-subtitle { font-size: 1.0625rem; }
  .welcome-description { font-size: 0.9375rem; }

  /* Quiz */
  .quiz-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .quiz-sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .sidebar-nav { display: none; }

  .quiz-main {
    padding: 1.25rem;
    align-items: flex-start;
  }

  .question-card { padding: 1.5rem; }
  .question-text { font-size: 1.125rem; }

  .option-card {
    padding: 0.75rem 0.875rem;
    gap: 0.625rem;
  }

  .option-label { font-size: 0.875rem; }

  .question-nav {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  /* Analyzing */
  .analyzing-container { padding: 1.5rem; }
  .analyzing-title { font-size: 1.25rem; }
  .analyzing-step { padding: 0.625rem 0.75rem; gap: 0.5rem; }
  .analyzing-step-text { font-size: 0.8125rem; }

  /* Insufficient Data */
  .insufficient-container {
    padding: 1.5rem;
    justify-content: flex-start;
    padding-top: 3rem;
  }
  .insufficient-title { font-size: 1.5rem; }
  .insufficient-description { font-size: 0.875rem; }
  .insufficient-option-card { padding: 1.25rem; }

  /* Lead Capture */
  .lead-options { grid-template-columns: 1fr; }
  .lead-container {
    min-height: auto;
    justify-content: flex-start;
    padding: 2rem 1.25rem 3rem;
    gap: 1.25rem;
  }
  .lead-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .lead-gauge-preview { width: 110px; height: 110px; margin-bottom: 0.5rem; }
  .lead-zone-label { font-size: 0.875rem; padding: 0.2rem 0.75rem; }
  .lead-option-card { padding: 1.25rem; }
  .lead-option-card h3 { font-size: 1rem; }
  .lead-option-card p { font-size: 0.8125rem; margin-bottom: 1rem; line-height: 1.5; }
  .lead-option-free { order: 2; }
  .lead-option-full { order: 1; }

  /* Results */
  .result-score-card { grid-template-columns: 1fr; text-align: center; }
  .score-gauge-container { margin: 0 auto; width: 150px; height: 150px; }
  .score-zone-badge { align-self: center; }
  .results-title { font-size: 1.5rem; }
  .results-subtitle { font-size: 0.875rem; }
  .result-card { padding: 1.25rem; }
  .score-verdict { font-size: 0.9375rem; }
  .score-benchmark { font-size: 0.8125rem; }

  .cat-bar-label { font-size: 0.8125rem; }
  .cat-bar-score { font-size: 0.75rem; }

  .rec-header { padding: 0.75rem 0.875rem; align-items: flex-start; }
  .rec-header-left { gap: 0.375rem; }
  .rec-category { font-size: 0.8125rem; }
  .rec-zone-text { font-size: 0.625rem; white-space: nowrap; }
  .rec-zone-dot { margin-top: 0.25rem; }
  .rec-content { padding: 0 0.875rem 0.875rem; }
  .rec-title { font-size: 0.875rem; }
  .rec-point { font-size: 0.75rem; }

  /* CTA Card */
  .result-cta-card h2 { font-size: 1.0625rem; }
  .result-cta-card p { font-size: 0.8125rem; }

  /* Benchmark bars */
  .benchmark-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .benchmark-label { margin-bottom: 0.125rem; }
  .benchmark-bar-label { width: 50px; font-size: 0.625rem; }
  .benchmark-delta { font-size: 0.6875rem; text-align: left; }

  .lead-form { gap: 0.5rem; }
  .lead-privacy { font-size: 0.6875rem !important; }
}

@media (max-width: 480px) {
  .welcome-container { padding: 1.5rem; }
  .question-card { padding: 1rem; }
  .question-header { margin-bottom: 0.75rem; }
  .question-text { font-size: 1rem; margin-bottom: 0.25rem; }
  .question-help { font-size: 0.8125rem; margin-bottom: 1rem; }
  .option-card { padding: 0.625rem 0.75rem; }
  .option-radio { width: 18px; height: 18px; }
  .option-radio-dot { width: 7px; height: 7px; }

  .lead-container { padding: 1.5rem 1rem 2.5rem; }
  .lead-title { font-size: 1.375rem; }

  .results-container { padding: 1.5rem 1rem 3rem; }
  .results-title { font-size: 1.25rem; }
  .result-card { padding: 1rem; }

  .analyzing-step-text { font-size: 0.75rem; }
  .analyzing-steps { gap: 0.625rem; }

  .insufficient-container { padding: 1.25rem; padding-top: 2.5rem; }
  .insufficient-title { font-size: 1.25rem; }
  .insufficient-option-card { padding: 1rem; }

  .benchmark-bar-label { width: 48px; font-size: 0.5625rem; }
}
