/* ============================================================
   MARDOX CAPITAL — Survey Funnel Styles
   Light theme · Mobile-first · Modern clean
   ============================================================ */

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --bg: var(--color-bg, #F8FAFC);
  --bg-alt: var(--color-bg-alt, #F1F5F9);
  --card: var(--color-card, #FFFFFF);
  --primary: var(--color-primary, #4F46E5);
  --primary-hover: var(--color-primary-hover, #4338CA);
  --primary-light: var(--color-primary-light, #EEF2FF);
  --primary-soft: var(--color-primary-soft, rgba(79, 70, 229, 0.06));
  --secondary: var(--color-secondary, #06B6D4);
  --success: var(--color-success, #10B981);
  --success-light: var(--color-success-light, #ECFDF5);
  --text: var(--color-text, #0F172A);
  --text-secondary: var(--color-text-secondary, #475569);
  --text-muted: var(--color-text-muted, #94A3B8);
  --border: var(--color-border, #E2E8F0);
  --border-focus: var(--color-border-focus, #C7D2FE);
  --obsidian: var(--color-obsidian, #0A0A0B);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle background decoration */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -20%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Progress Bar ───────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-alt);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.progress-bar.visible {
  opacity: 1;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 0 4px 4px 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Survey Header ──────────────────────────────────────── */
.survey-header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.survey-header.visible {
  opacity: 1;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.survey-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  visibility: hidden;
}

.back-btn:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.back-btn.visible {
  visibility: visible;
}

.back-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.brand-mark {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #000000;
}

/* ─── Survey Container ───────────────────────────────────── */
.survey-container {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 1;
}

/* ─── Survey Steps ───────────────────────────────────────── */
.survey-step {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5rem 1.5rem 2rem;
  text-align: center;
}

.survey-step.active {
  display: flex;
  animation: stepEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes stepEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Welcome Screen ─────────────────────────────────────── */
.welcome-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 400px;
}

.welcome-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: -0.25rem;
}

.welcome-brand {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #000000;
  margin-bottom: 0.5rem;
}

.welcome-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.welcome-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 1rem 2.25rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.welcome-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.welcome-cta:active {
  transform: translateY(0);
}

.welcome-cta .arrow {
  transition: transform 0.3s ease;
}

.welcome-cta:hover .arrow {
  transform: translateX(3px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-badge .check {
  color: var(--success);
  font-weight: 700;
}

/* Compliance Links */
.compliance-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.compliance-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.compliance-links a:hover {
  opacity: 1;
  color: var(--text-secondary);
}

/* ─── Question Headers ───────────────────────────────────── */
.step-content {
  width: 100%;
  max-width: 440px;
}

.step-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--primary-soft);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 4px;
}

.step-question {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ─── Option Cards ───────────────────────────────────────── */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.option-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.option-card:hover::before {
  transform: scaleY(1);
}

.option-card:active {
  transform: translateY(0) scale(0.99);
}

.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.option-card.selected::before {
  transform: scaleY(1);
}

.option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-xs);
}

.option-card.selected .option-icon {
  background: rgba(79, 70, 229, 0.12);
}

.option-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Simple text-only option */
.option-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

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

/* Segment options (larger) */
.options-segment .option-card {
  padding: 1.2rem 1.25rem;
}

/* ─── Results Page ───────────────────────────────────────── */
.survey-step[data-step="results"] {
  justify-content: flex-start;
  min-height: auto;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.results-page {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Results Header */
.results-header {
  text-align: center;
  animation: stepEnter 0.6s ease forwards;
}

.results-confetti {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.results-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--success);
  background: var(--success-light);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.results-headline {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Qualification Card */
.qualification-card {
  background: rgba(var(--primary-rgb, 99, 102, 241), 0.04);
  border: 1px solid rgba(var(--primary-rgb, 99, 102, 241), 0.15);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  animation: stepEnter 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.qualification-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.qualification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff !important;
  background: var(--color-obsidian, #0A0A0B) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: badgePulse 2.5s infinite ease-in-out;
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.qualification-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.qualification-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.qualification-card strong {
  color: var(--text);
  font-weight: 700;
}

/* Hero Metric */
.hero-metric-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: stepEnter 0.7s ease forwards;
  animation-delay: 0.15s;
  opacity: 0;
}

.hero-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.hero-value {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.hero-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Chart Card */
.chart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  animation: stepEnter 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.chart-wrapper {
  position: relative;
  width: 100%;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: metricAppear 0.5s ease forwards;
  animation-delay: var(--delay, 0.4s);
}

@keyframes metricAppear {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.metric-icon {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.metric-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* Insight Card */
.insight-card {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  animation: stepEnter 0.6s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Suggested App Type (explorer path) */
.suggested-app {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  animation: stepEnter 0.5s ease forwards;
  animation-delay: 0.65s;
  opacity: 0;
  text-align: left;
}

.suggested-app-icon {
  font-size: 1.8rem;
}

.suggested-app-info h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.suggested-app-info p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.1rem;
}

/* Objections Section */
.objections-section {
  animation: stepEnter 0.6s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.objections-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 1rem;
}

.objections-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.objection-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  text-align: left;
}

.objection-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.objection-content strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.objection-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Call Steps Section */
.call-steps {
  animation: stepEnter 0.6s ease forwards;
  animation-delay: 0.75s;
  opacity: 0;
}

.call-steps h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.call-steps-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

#call-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.call-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: metricAppear 0.5s ease forwards;
  animation-delay: var(--step-delay, 0.8s);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.call-step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px 0 0 3px;
}

.call-step-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.call-step-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-obsidian, #0A0A0B) !important;
  color: #fff !important;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.call-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.call-step-num {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  opacity: 0.7;
}

.call-step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.call-step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 0.15rem;
}

.call-step-desc strong {
  color: var(--text);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 2rem 0;
  animation: stepEnter 0.7s ease forwards;
  animation-delay: 0.85s;
  opacity: 0;
}

.cta-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.cta-section > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Calendar Container */
.calendar-embed-container {
  margin-top: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 580px;
  width: 100%;
}

@media (max-width: 600px) {
  .calendar-embed-container {
    min-height: 650px;
  }
}

/* Countdown Timer */
.countdown-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  margin: 0.5rem auto 1.5rem auto;
}

.countdown-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: pulseRed 1.5s infinite ease-in-out;
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); transform: scale(0.95); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); transform: scale(0.95); }
}

.countdown-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.countdown-timer {
  font-size: 1.1rem;
  font-weight: 800;
  color: #EF4444;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.countdown-expired {
  background: var(--bg-alt);
  border-color: var(--border);
}

.countdown-expired .countdown-text {
  color: var(--text-muted);
}
.countdown-expired .countdown-timer {
  color: var(--text-muted);
}
.countdown-expired .countdown-pulse-dot {
  background-color: var(--text-muted);
  animation: none;
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* Results Footer */
.results-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.brand-footer {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0.7;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Option selection ripple */
.option-card.selecting {
  animation: selectPop 0.35s ease;
}

@keyframes selectPop {
  0% { transform: scale(1); }
  40% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (min-width: 600px) {
  .survey-step {
    padding: 5.5rem 2rem 2.5rem;
  }

  .welcome-title {
    font-size: 2.5rem;
  }

  .step-question {
    font-size: 1.65rem;
  }

  .hero-value {
    font-size: 3.8rem;
  }

  .results-headline {
    font-size: 1.85rem;
  }

  .option-card {
    padding: 1.1rem 1.25rem;
  }

  .survey-header {
    padding: 0.75rem 2rem;
  }
}

@media (min-width: 768px) {
  .survey-container {
    max-width: 560px;
  }

  .welcome-title {
    font-size: 2.75rem;
  }

  .metrics-grid {
    gap: 1rem;
  }
}

/* Extra small screens */
@media (max-width: 374px) {
  .welcome-title {
    font-size: 1.65rem;
  }

  .step-question {
    font-size: 1.25rem;
  }

  .hero-value {
    font-size: 2.5rem;
  }

  .option-card {
    padding: 0.85rem 1rem;
  }

  .trust-badges {
    gap: 0.75rem;
  }
}

/* ─── Utility ────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
