/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

.hero-bg {
  background: radial-gradient(circle at 20% 20%, #1c3a75 0%, #0B1730 55%, #060d1c 100%);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #2563EB; color: #fff; font-weight: 600;
  padding: 0.9rem 1.75rem; border-radius: 9999px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 20px -6px rgba(37,99,235,0.5);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0FA36B; color: #fff; font-weight: 700;
  padding: 0.9rem 1.75rem; border-radius: 9999px;
  transition: transform .15s ease, background .15s ease;
  box-shadow: 0 8px 20px -6px rgba(15,163,107,0.5);
}
.btn-cta:hover { background: #0c8a5a; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0B1730; font-weight: 600;
  padding: 0.9rem 1.75rem; border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  transition: border-color .15s ease, transform .15s ease;
}
.btn-secondary:hover { border-color: #94A3B8; transform: translateY(-1px); }

/* ===== Form fields ===== */
.field-group { margin-bottom: 1.5rem; }
.field-group label {
  display: block; font-weight: 600; font-size: 0.925rem; color: #0B1730; margin-bottom: 0.5rem;
}
.input-field {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0; font-size: 0.95rem; color: #0B1730;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.input-field:focus {
  outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.dollar-input { position: relative; }
.dollar-input span {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: #94A3B8; font-weight: 600;
}
.dollar-input input { padding-left: 1.75rem; }

.helper-text { font-size: 0.8rem; color: #94A3B8; margin-top: 0.4rem; }
.field-error { font-size: 0.8rem; color: #E23F3F; margin-top: 0.4rem; min-height: 1rem; }

.value-badge {
  display: inline-block; background: #EFF6FF; color: #2563EB; font-weight: 700;
  font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 9999px; margin-left: 0.5rem;
}

.range-input {
  width: 100%; height: 6px; border-radius: 9999px; background: #E2E8F0;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 1px #2563EB;
  cursor: pointer;
}
.range-input::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 1px #2563EB;
  cursor: pointer; border: none;
}

/* ===== Pill radio group ===== */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 0.6rem 1.1rem; border-radius: 9999px;
  border: 1.5px solid #E2E8F0; font-size: 0.875rem; font-weight: 600; color: #475569;
  cursor: pointer; transition: all .15s ease;
}
.pill input:checked + span {
  background: #2563EB; border-color: #2563EB; color: #fff;
}

/* ===== Progress steps ===== */
.step-label { opacity: 0.5; transition: opacity .2s ease; }
.step-label.active-label { opacity: 1; color: #2563EB; }

/* ===== Wizard ===== */
.wizard-step.hidden { display: none; }
.wizard-step { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

/* ===== Verdict cards ===== */
#verdict-card.fix { background: #F0FDF4; border-color: #BBF7D0; }
#verdict-card.finance { background: #FEF2F2; border-color: #FECACA; }
#verdict-card.tossup { background: #FFFBEB; border-color: #FDE68A; }

.result-stat {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 0.9rem;
  padding: 0.9rem 1.1rem;
}
.result-stat .label { font-size: 0.75rem; color: #94A3B8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.result-stat .value { font-size: 1.35rem; font-weight: 800; color: #0B1730; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid #E2E8F0; border-radius: 0.9rem; padding: 1rem 1.2rem; background: #fff;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 1.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: #2563EB; font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.75rem; color: #64748B; font-size: 0.9rem; line-height: 1.6; }

/* ===== Modal ===== */
#leadModal.hidden { display: none; }

/* Utility */
.hidden { display: none !important; }
