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

:root {
  --navy:       #06062B;
  --navy-mid:   #0D0D3B;
  --navy-card:  #12124A;
  --teal:       #00B5E2;
  --teal-dark:  #0099C2;
  --sf-blue:    #00396C;
  --white:      #FFFFFF;
  --off-white:  #E8F0F5;
  --muted:      #8899AA;
  --border:     rgba(0,181,226,0.2);

  --stage1:     #7B2D8B;  /* purple  — Awareness */
  --stage2:     #0070D2;  /* blue    — Interest */
  --stage3:     #2E7D32;  /* green   — Consideration */
  --stage4:     #B46004;  /* orange  — Purchase */
  --stage5:     #00696F;  /* teal    — Retention */

  --found:      #E65100;
  --good:       #F9A825;
  --great:      #2E7D32;

  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 32px rgba(0,0,0,0.4);
  --font:       'Salesforce Sans', 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1100px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__logo {
  height: 32px;
  width: auto;
}

.site-header__wordmark {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.site-header__wordmark span {
  color: var(--teal);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,181,226,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(0,181,226,0.15);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__title span { color: var(--teal); }

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--off-white);
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card--hover {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(0,181,226,0.2);
}

/* ── Version chooser ───────────────────────────────────────────────────────── */
.version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .version-grid { grid-template-columns: 1fr; }
}

.version-card {
  background: var(--navy-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--white);
}

.version-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(0,181,226,0.2);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--white);
}

.version-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.version-card__badge--full  { background: rgba(0,112,210,0.25); color: #5BB8FF; border: 1px solid rgba(0,112,210,0.4); }
.version-card__badge--light { background: rgba(0,181,226,0.15); color: var(--teal); border: 1px solid var(--border); }

.version-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.version-card__meta {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
}

.version-card__desc {
  font-size: 0.9rem;
  color: var(--off-white);
  opacity: 0.8;
  line-height: 1.55;
}

.version-card__arrow {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--teal);
  font-weight: 700;
}

/* ── Funnel stages strip ───────────────────────────────────────────────────── */
.stages-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stages-strip__item {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid;
  opacity: 0.75;
}

.stages-strip__item--1 { color: #C77DCC; border-color: #7B2D8B; background: rgba(123,45,139,0.15); }
.stages-strip__item--2 { color: #5BB8FF; border-color: #0070D2; background: rgba(0,112,210,0.15); }
.stages-strip__item--3 { color: #6FCF97; border-color: #2E7D32; background: rgba(46,125,50,0.15); }
.stages-strip__item--4 { color: #FFB74D; border-color: #B46004; background: rgba(180,96,4,0.15); }
.stages-strip__item--5 { color: #4DD0E1; border-color: #00696F; background: rgba(0,105,111,0.15); }

/* ── Form ──────────────────────────────────────────────────────────────────── */
.form-section {
  padding: 56px 0;
}

.form-section__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-section__sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--off-white);
  opacity: 0.75;
}

.form-group label {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, select:focus {
  border-color: var(--teal);
  background: rgba(0,181,226,0.06);
}

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

select option { background: var(--navy-mid); color: var(--white); }

/* ── Progress bar ──────────────────────────────────────────────────────────── */
.progress-bar-wrap {
  padding: 20px 0 0;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.progress-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  transition: width 0.4s ease;
}

.stage-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.stage-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  transition: background 0.2s, border-color 0.2s;
}

.stage-dot--done   { background: var(--teal); border-color: var(--teal); }
.stage-dot--active { background: transparent; border-color: var(--teal); box-shadow: 0 0 8px rgba(0,181,226,0.6); }

/* ── Stage banner ──────────────────────────────────────────────────────────── */
.stage-banner {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  border-left: 4px solid;
}

.stage-banner--1 { background: rgba(123,45,139,0.15); border-color: var(--stage1); }
.stage-banner--2 { background: rgba(0,112,210,0.15);  border-color: var(--stage2); }
.stage-banner--3 { background: rgba(46,125,50,0.15);  border-color: var(--stage3); }
.stage-banner--4 { background: rgba(180,96,4,0.15);   border-color: var(--stage4); }
.stage-banner--5 { background: rgba(0,105,111,0.15);  border-color: var(--stage5); }

.stage-banner__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}

.stage-banner__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stage-banner__sub {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── Question cards ────────────────────────────────────────────────────────── */
.questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.question-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.question-card__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.question-card__text {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.5;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.88rem;
  line-height: 1.5;
}

.option-label:hover {
  border-color: var(--teal);
  background: rgba(0,181,226,0.06);
}

.option-label input[type="radio"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.option-label input[type="radio"]:checked ~ .option-text {
  color: var(--white);
}

.option-label:has(input:checked) {
  border-color: var(--teal);
  background: rgba(0,181,226,0.1);
}

.option-badge {
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.option-badge--a { background: rgba(26,82,118,0.5);  color: #7EC8E3; }
.option-badge--b { background: rgba(30,132,73,0.5);  color: #82E0AA; }
.option-badge--c { background: rgba(160,64,0,0.5);   color: #FAD7A0; }
.option-badge--na { background: rgba(100,100,100,0.3); color: #AAA; font-size: 0.6rem; }

.option-text { flex: 1; }

.option-label--na {
  border-style: dashed;
  opacity: 0.6;
}

.option-label--na:hover { opacity: 1; }

/* ── Navigation buttons ────────────────────────────────────────────────────── */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--teal);
  color: var(--navy);
}

.btn--primary:hover {
  background: #22C8F0;
  box-shadow: 0 4px 20px rgba(0,181,226,0.35);
}

.btn--secondary {
  background: rgba(255,255,255,0.07);
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.12);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding: 13px 0;
}

.btn--ghost:hover { color: var(--white); }

.btn--large {
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius);
}

.btn--full { width: 100%; justify-content: center; }

.btn--cta-card {
  width: 220px;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ── Results page ──────────────────────────────────────────────────────────── */
.results-hero {
  text-align: center;
  padding: 56px 0 40px;
}

.maturity-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.maturity-badge--foundational { background: rgba(230,81,0,0.2);  color: #FF8A65; border: 1px solid rgba(230,81,0,0.5);  }
.maturity-badge--good         { background: rgba(249,168,37,0.2); color: #FFD54F; border: 1px solid rgba(249,168,37,0.5); }
.maturity-badge--great        { background: rgba(46,125,50,0.2);  color: #81C784; border: 1px solid rgba(46,125,50,0.5);  }

.overall-score {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--teal);
}

.overall-score-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0;
}

.result-row {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.result-row__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-row__stage {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.result-row__stage--1 { color: #C77DCC; }
.result-row__stage--2 { color: #5BB8FF; }
.result-row__stage--3 { color: #6FCF97; }
.result-row__stage--4 { color: #FFB74D; }
.result-row__stage--5 { color: #4DD0E1; }

.result-row__score {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.result-row__level {
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 8px;
}

.result-row__level--foundational { color: #FF8A65; }
.result-row__level--good         { color: #FFD54F; }
.result-row__level--great        { color: #81C784; }

.score-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.score-bar-fill--1 { background: linear-gradient(90deg, #7B2D8B, #C77DCC); }
.score-bar-fill--2 { background: linear-gradient(90deg, #0070D2, #5BB8FF); }
.score-bar-fill--3 { background: linear-gradient(90deg, #2E7D32, #6FCF97); }
.score-bar-fill--4 { background: linear-gradient(90deg, #B46004, #FFB74D); }
.score-bar-fill--5 { background: linear-gradient(90deg, #00696F, #4DD0E1); }

/* ── What's Next box ───────────────────────────────────────────────────────── */
.whats-next {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 32px 0;
}

.whats-next__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--teal);
}

.whats-next__body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--off-white);
  opacity: 0.85;
}

/* ── CTA row ───────────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 0 64px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Utility ───────────────────────────────────────────────────────────────── */
.text-teal   { color: var(--teal); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
