/* ============================================================
   ZimSaaS – WhatsApp Booking Leak Audit
   styles.css
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --cream:        #FDFCF9;
  --navy:         #0A0A0F;
  --ocean:        #162C3D;
  --blue:         #588FDC;
  --charcoal:     #1A1A1A;
  --border:       rgba(10, 10, 15, 0.12);
  --blue-tint:    rgba(88, 143, 220, 0.12);
  --blue-tint-strong: rgba(88, 143, 220, 0.22);
  --red:          #D94F4F;
  --red-tint:     rgba(217, 79, 79, 0.10);
  --green:        #3BAA7B;
  --green-tint:   rgba(59, 170, 123, 0.10);
  --amber:        #D9894F;
  --amber-tint:   rgba(217, 137, 79, 0.10);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    8px;
  --radius-sm: 4px;
  --shadow:    0 2px 12px rgba(10, 10, 15, 0.07);
  --shadow-md: 0 4px 24px rgba(10, 10, 15, 0.11);
  --shadow-lg: 0 8px 40px rgba(10, 10, 15, 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

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

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

/* ---- Typography ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.13;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: #555;
  line-height: 1.72;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #fff;
  flex-shrink: 0;
}
.wordmark span { color: var(--blue); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }

.nav-link--cta {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.nav-link--cta:hover { background: #4a7fcf; color: #fff; }

.nav-link--booking {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
}
.nav-link--booking:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }

/* Mobile toggle */
.header__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
}

.header__mobile-toggle:hover {
  background:
    linear-gradient(145deg, rgba(88, 143, 220, 0.22) 0%, rgba(88, 143, 220, 0.08) 100%);
  border-color: rgba(88, 143, 220, 0.45);
  box-shadow:
    0 4px 16px rgba(88, 143, 220, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header__mobile-toggle:active {
  transform: scale(0.96);
}

.header__mobile-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.header__mobile-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  pointer-events: none;
}

.header__mobile-toggle-box span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  box-shadow: 0 0 12px rgba(88, 143, 220, 0.35);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background 0.2s;
  transform-origin: center;
}

.header__mobile-toggle.is-open .header__mobile-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #fff;
  box-shadow: 0 0 14px rgba(88, 143, 220, 0.55);
}

.header__mobile-toggle.is-open .header__mobile-toggle-box span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__mobile-toggle.is-open .header__mobile-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #fff;
  box-shadow: 0 0 14px rgba(88, 143, 220, 0.55);
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  padding: 0 20px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(88, 143, 220, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #152a38 0%, var(--ocean) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease,
    visibility 0.32s ease,
    padding 0.35s ease;
}

.header__mobile-nav::before {
  content: "";
  display: block;
  height: 2px;
  margin: 0 -20px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(88, 143, 220, 0.35) 20%,
    var(--blue) 50%,
    rgba(88, 143, 220, 0.35) 80%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header__mobile-nav.is-open {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  padding: 16px 20px 22px;
}

.header__mobile-nav.is-open::before {
  opacity: 1;
}

.mobile-nav-link {
  position: relative;
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--blue);
  transform: translateY(-50%);
  transition: height 0.22s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.mobile-nav-link:focus-visible {
  outline: 2px solid rgba(88, 143, 220, 0.55);
  outline-offset: 2px;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus-visible::before {
  height: 60%;
}

.mobile-nav-link--cta {
  margin-top: 4px;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #6a9fe8 0%, var(--blue) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(88, 143, 220, 0.3);
}

.mobile-nav-link--cta::before {
  display: none;
}

.mobile-nav-link--cta:hover,
.mobile-nav-link--cta:focus-visible {
  background: linear-gradient(180deg, #7aacf0 0%, #4a7fcf 100%);
  transform: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.mobile-nav-link--outline {
  text-align: center;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.mobile-nav-link--outline::before {
  display: none;
}

.mobile-nav-link--outline:hover,
.mobile-nav-link--outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

/* Lock scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .header__mobile-toggle-box span,
  .header__mobile-toggle,
  .header__mobile-nav,
  .mobile-nav-link {
    transition-duration: 0.01ms;
  }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s, opacity 0.18s;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover { background: #4a7fcf; border-color: #4a7fcf; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-tint); }

.btn--large { font-size: 1rem; padding: 16px 34px; }
.btn--full { width: 100%; max-width: 440px; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--navy);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -240px;
  right: -200px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(88, 143, 220, 0.11) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content { max-width: 540px; }

.hero__headline {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.09;
  color: #fff;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.72;
  margin-bottom: 38px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Diagnostic Card */
.diagnostic-card {
  background: var(--ocean);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.diagnostic-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.diagnostic-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.diagnostic-card__score {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}

.diagnostic-card__metrics { margin-bottom: 16px; }

.metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.metric-row:last-child { margin-bottom: 0; }

.metric-label {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
  width: 96px;
  flex-shrink: 0;
}

.metric-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}
.metric-fill--low  { background: var(--red); }
.metric-fill--mid  { background: var(--amber); }

.metric-val {
  font-size: 0.69rem;
  color: rgba(255, 255, 255, 0.35);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.diagnostic-card__leak {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 79, 79, 0.09);
  border: 1px solid rgba(217, 79, 79, 0.2);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.leak-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.35); }
}

/* WhatsApp Bubbles */
.wa-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-bubble {
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 86%;
  font-size: 0.73rem;
  line-height: 1.45;
}

.wa-bubble__sender {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wa-bubble--customer {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  align-self: flex-start;
}
.wa-bubble--customer .wa-bubble__sender { color: rgba(255, 255, 255, 0.38); }

.wa-bubble--business {
  background: rgba(88, 143, 220, 0.14);
  color: rgba(255, 255, 255, 0.7);
  align-self: flex-end;
}
.wa-bubble--business .wa-bubble__sender { color: var(--blue); }

.wa-bubble--system {
  background: rgba(217, 79, 79, 0.11);
  border: 1px solid rgba(217, 79, 79, 0.22);
  color: rgba(217, 79, 79, 0.9);
  align-self: center;
  font-style: italic;
  max-width: 100%;
}
.wa-bubble--system .wa-bubble__sender { color: rgba(217, 79, 79, 0.6); }

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip {
  background: var(--ocean);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.845rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.trust-item__icon { font-size: 1rem; }

/* ============================================================
   AUDIT FORM SECTION
============================================================ */
.audit-section {
  padding: 100px 0;
  background: var(--cream);
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(10, 10, 15, 0.32);
  transition: color 0.2s;
}

.progress-step--active { color: var(--blue); }
.progress-step--active .progress-step__num {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.progress-step--done .progress-step__num {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.progress-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(10, 10, 15, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.progress-step__label {
  font-size: 0.78rem;
  white-space: nowrap;
}

.progress-divider {
  width: 52px;
  height: 1px;
  background: rgba(10, 10, 15, 0.12);
  margin: 0 8px;
  flex-shrink: 0;
}

/* Form Cards */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px 48px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.form-card__header { margin-bottom: 36px; }

.form-card__step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.form-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-card__sub {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field-group {
  display: flex;
  gap: 20px;
}
.field-group--half > .field { flex: 1; min-width: 0; }

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

.field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.required { color: var(--red); }

.field__input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.field__input::placeholder { color: #b0aaaa; }
.field__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.field__input.is-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
}

.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.field__textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

.field__error {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 500;
  min-height: 18px;
  display: block;
}
.field__error--center { text-align: center; }

/* Audit Questions */
.question-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.question-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.question-header { margin-bottom: 16px; }

.question-number {
  display: block;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
}

.question-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.4;
}

.question-error {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 10px;
  min-height: 18px;
}

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

.option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: #fff;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.option-card:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
}
.option-card.is-selected {
  border-color: var(--blue);
  background: var(--blue-tint);
  box-shadow: 0 0 0 1px var(--blue);
}

.option-card__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.option-card__radio:focus-visible + .option-card__indicator {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.option-card__indicator {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-card.is-selected .option-card__indicator {
  border-color: var(--blue);
  background: var(--blue);
}
.option-card.is-selected .option-card__indicator::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.option-card__text {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.option-card.is-selected .option-card__text {
  font-weight: 500;
  color: var(--navy);
}

/* Open-ended field */
.open-ended-field {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.optional-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--blue-tint);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  vertical-align: middle;
}

.form-disclaimer {
  margin-top: 28px;
  font-size: 0.78rem;
  color: #999;
  font-style: italic;
  line-height: 1.65;
}

/* Submit Area */
.form-submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.form-submit-note {
  font-size: 0.8rem;
  color: #999;
}

/* ============================================================
   RESULTS SECTION
============================================================ */
.results-section {
  padding: 100px 0;
  background: #F1F0EB;
  border-top: 1px solid var(--border);
}

.results-header {
  text-align: center;
  margin-bottom: 52px;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

/* Score Panel */
.score-panel {
  background: var(--navy);
  border-radius: 10px;
  padding: 44px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-display { margin-bottom: 24px; }

.score-circle {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.score-number {
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
  transition: color 0.4s;
}

.score-denom {
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.maturity-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 4px;
  background: var(--blue-tint);
  border: 1px solid rgba(88, 143, 220, 0.28);
  margin-bottom: 20px;
}

.maturity-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
}

.score-diagnosis {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.68;
  margin-bottom: 20px;
  flex: 1;
}

.score-data-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
  margin-top: auto;
}

/* Leak Panel */
.leak-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.leak-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.leak-dot--lg {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-red 2s ease-in-out infinite;
}

.leak-panel__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.leak-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 14px;
}

.leak-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.68;
  margin-bottom: 28px;
}

.leak-fix {
  background: var(--blue-tint);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
}

.leak-fix__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
}

.leak-fix__text {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.65;
}

/* Sub-score Cards */
.sub-scores { margin-bottom: 40px; }

.sub-scores__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 20px;
}

.sub-scores__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sub-score-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: border-color 0.2s;
}
.sub-score-card--leak {
  border-color: rgba(217, 79, 79, 0.35);
  box-shadow: 0 0 0 1px rgba(217, 79, 79, 0.18), var(--shadow);
}

.sub-score-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}

.sub-score-card__score {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.sub-score-card__max {
  font-size: 0.73rem;
  color: #bbb;
  margin-bottom: 14px;
}

.sub-score-bar {
  height: 4px;
  background: rgba(10, 10, 15, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sub-score-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.fill--high  { background: var(--green); }
.fill--mid   { background: var(--amber); }
.fill--low   { background: var(--red); }

.leak-indicator {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 10px;
}

/* Diagnostic Insights */
.diagnostic-insights { margin-bottom: 44px; }

.insights-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 20px;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

.insight-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.insight-card__text {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.68;
}

/* Next Step & CTAs */
.results-next-step { text-align: center; }

.next-step-card {
  background: var(--ocean);
  border-radius: var(--radius);
  padding: 36px 48px;
  margin: 0 auto 36px;
  max-width: 700px;
  text-align: left;
}

.next-step__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.next-step__text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.68;
}

.results-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.results-cta-subtext {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--cream);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.how-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.how-card__num {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 14px;
}

.how-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 10px;
}

.how-card__desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.68;
}

.how-it-works__note {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  font-style: italic;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  background: var(--navy);
  padding: 100px 0;
}

.final-cta__inner { text-align: center; }
.final-cta__content { max-width: 700px; margin: 0 auto; }

.final-cta__headline {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
}

.final-cta__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.72;
  margin-bottom: 38px;
}

.final-cta__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--charcoal);
  padding: 60px 0 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 52px;
}

.wordmark--footer {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.18s;
}
.footer__link:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px 0;
}

.footer__legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .how-it-works__grid    { grid-template-columns: repeat(3, 1fr); }
  .sub-scores__grid      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Header */
  .header__nav           { display: none; }
  .header__mobile-toggle { display: flex; }

  /* Hero */
  .hero__inner           { grid-template-columns: 1fr; gap: 48px; }
  .hero                  { min-height: auto; padding: 60px 0; }
  .hero__content         { max-width: 100%; }
  .hero__ctas            { flex-direction: column; }
  .hero__ctas .btn       { width: 100%; }

  /* Trust */
  .trust-strip__inner    { gap: 20px; justify-content: flex-start; }

  /* Form card */
  .form-card             { padding: 28px 24px; }
  .field-group--half     { flex-direction: column; }

  /* Results */
  .results-grid          { grid-template-columns: 1fr; }
  .insights-grid         { grid-template-columns: 1fr; }
  .sub-scores__grid      { grid-template-columns: repeat(2, 1fr); }
  .how-it-works__grid    { grid-template-columns: repeat(2, 1fr); }

  /* Progress */
  .progress-step__label  { display: none; }
  .progress-divider      { width: 32px; }

  /* Buttons */
  .results-ctas          { flex-direction: column; align-items: stretch; }
  .results-ctas .btn     { width: 100%; }
  .final-cta__ctas       { flex-direction: column; align-items: center; }
  .final-cta__ctas .btn  { width: 100%; max-width: 320px; }

  /* Next step card */
  .next-step-card        { padding: 28px 24px; }

  /* Footer */
  .footer__inner         { flex-direction: column; gap: 32px; }
  .footer__nav           { align-items: flex-start; }
}

@media (max-width: 520px) {
  .sub-scores__grid      { grid-template-columns: repeat(2, 1fr); }
  .how-it-works__grid    { grid-template-columns: 1fr; }
  .trust-strip__inner    { flex-direction: column; gap: 14px; }
  .score-number          { font-size: 4rem; }
}
