/* === PICKER SHELL === */
.picker-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === HEADER === */
.picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

.picker-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.picker-back {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.picker-back:hover {
  color: var(--text);
}

/* === MAIN === */
.picker-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

/* === STEP TRACK === */
.step-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.step-dot.done {
  background: var(--accent);
  opacity: 0.5;
}

.step-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* === QUIZ STEP === */
.quiz-step {
  width: 100%;
  max-width: 580px;
  animation: step-in 0.35s ease forwards;
}

.quiz-step.hidden {
  display: none;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.question-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.question-text {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.question-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* === OPTION GRID === */
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.option-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.opt-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.2rem 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.3;
}

.opt-btn:hover {
  border-color: rgba(198, 242, 60, 0.4);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.opt-btn.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

/* Icon buttons */
.opt-btn--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 0.5rem;
}

.opt-icon {
  font-size: 2rem;
  line-height: 1;
}

.opt-btn--icon span:last-child {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Small option buttons (budget) */
.opt-btn--sm {
  font-size: 0.9rem;
  padding: 1.2rem 0.4rem;
}

.opt-btn--sm span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* === LOADING === */
.loading-compass {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
}

.compass-spin {
  animation: spin-slow 2.5s linear infinite;
  width: 100%;
  height: 100%;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loading-label {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === RESULTS === */
.result-path-name {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.05;
}

.result-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Results badge */
.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(198, 242, 60, 0.3);
  background: var(--accent-dim);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

/* Rank table */
.result-rank-table {
  margin-bottom: 2rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-row--top {
  background: var(--accent-dim);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin: -0.2rem 0 0.5rem;
  border-bottom: none;
}

.rank-num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.rank-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.rank-bar-wrap {
  width: 100px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.rank-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease;
}

/* Details */
.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.result-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.metric-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* First action */
.result-action {
  background: var(--surface);
  border: 1px solid rgba(198, 242, 60, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.action-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.action-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* Persona-specific CTA block (between first-action and share row) */
.result-persona-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.persona-cta-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.persona-cta-headline {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.persona-cta-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.persona-cta-button {
  display: inline-block;
  background: var(--accent);
  color: #0A0A0F;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.persona-cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* CTA row */
.result-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-block;
  background: var(--accent);
  color: #0A0A0F;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.cta-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-reset {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  transition: color 0.2s;
}

.cta-reset:hover {
  color: var(--text);
}

/* === SHARE ROW === */
.result-share {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.result-share button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.result-share button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.result-share-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === VARIANT B EMAIL-STEP ELEVATION === */
.variant-elev-stat {
  display: block;
  background: var(--accent);
  color: #0A0A0F;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.variant-elev-cta {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  margin: 0.5rem 0 1rem 0;
}

/* === EMAIL STEP === */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.email-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.2rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus {
  border-color: rgba(198, 242, 60, 0.5);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-submit {
  background: var(--accent);
  color: #0A0A0F;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.email-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.email-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.email-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .option-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .result-details {
    grid-template-columns: 1fr;
  }

  .picker-header {
    padding: 1rem 1.5rem;
  }

  .picker-main {
    padding: 2.5rem 1.25rem;
  }

  .progress-bar { margin-bottom: 0.75rem; }
}

@media (max-width: 380px) {
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .option-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* === TESTIMONIALS (email gate peer proof) === */
.testimonials-block {
  margin-bottom: 2rem;
}

.testimonials-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}