/* ============================================================
   Zafero Landing Page — styles.css
   ============================================================ */

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

:root {
  --z-bg:           #F8F7F4;
  --z-bg-deep:      #0F1729;
  --z-text:         #1A1F36;
  --z-text-light:   #F0EDE8;
  --z-text-muted:   #64748B;
  --z-amber:        #D4A843;
  --z-amber-light:  #F5E6C4;
  --z-blue:         #2563EB;
  --z-blue-hover:   #1D4ED8;
  --z-emerald:      #10B981;
  --z-red:          #EF4444;
  --z-border:       #E8E5DF;
  --z-card:         #FFFFFF;

  --font-serif:     'Fraunces', Georgia, serif;
  --font-sans:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quad:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-height:     64px;
  --max-width:      1200px;
  --section-pad:    120px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--z-text);
  background: var(--z-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
}
.mono--emerald { color: var(--z-emerald); }
.text-amber { color: var(--z-amber); font-weight: 600; }


/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: height 0.3s var(--ease-out-quad),
              background 0.3s var(--ease-out-quad),
              border-color 0.3s var(--ease-out-quad);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  height: 56px;
  background: rgba(248, 247, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--z-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__diamond {
  color: var(--z-amber);
  font-size: 20px;
  display: inline-block;
  animation: diamondSpin 60s linear infinite;
}

@keyframes diamondSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.nav__wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--z-text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--z-text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--z-amber);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--z-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--z-blue);
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--z-blue-hover);
  transform: scale(1.02);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--z-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-quad),
              background 0.2s,
              box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn--primary {
  color: #fff;
  background: var(--z-blue);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.btn--primary:hover {
  background: var(--z-blue-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn--ghost {
  color: var(--z-amber);
  background: transparent;
  padding: 12px 4px;
  position: relative;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--z-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
}

.btn--ghost:hover {
  transform: none;
}

.btn--outline {
  color: var(--z-text);
  background: transparent;
  border: 1.5px solid var(--z-border);
}

.btn--outline:hover {
  border-color: var(--z-amber);
  color: var(--z-amber);
}

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

.btn--large {
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 12px;
}


/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: var(--section-pad);
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--z-amber);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--z-text);
  margin-bottom: 24px;
}

.hero__subhead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--z-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero__trust {
  font-size: 13px;
  color: var(--z-text-muted);
  opacity: 0.7;
}

/* Hero visual — mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero__mockup {
  position: relative;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.mockup-card {
  background: var(--z-card);
  border-radius: 16px;
  padding: 28px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.06),
    0 24px 60px rgba(0,0,0,0.04);
  width: 340px;
  border: 1px solid var(--z-border);
}

.mockup-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--z-border);
}

.mockup-card__diamond {
  color: var(--z-amber);
  font-size: 16px;
}

.mockup-card__title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mockup-card__inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mockup-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--z-bg);
  border-radius: 8px;
  border: 1px solid var(--z-border);
}

.mockup-input__label {
  font-size: 13px;
  color: var(--z-text-muted);
}

.mockup-input__value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--z-text);
}

.mockup-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-metric {
  background: var(--z-bg);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--z-border);
}

.mockup-metric__label {
  display: block;
  font-size: 11px;
  color: var(--z-text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-metric__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--z-text);
}

.mockup-metric__value--emerald {
  color: var(--z-emerald);
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--z-card);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.04);
  border: 1px solid var(--z-border);
  white-space: nowrap;
}

.floating-card__icon { font-size: 14px; color: var(--z-blue); }
.floating-card__icon--emerald { color: var(--z-emerald); }
.floating-card__icon--amber { color: var(--z-amber); }

.floating-card--competitors {
  top: -16px;
  right: -32px;
}

.floating-card--population {
  bottom: 110px;
  left: -60px;
}

.floating-card--caprate {
  bottom: -8px;
  right: -24px;
}


/* ============================================================
   Stats Bar
   ============================================================ */
.stats {
  background: var(--z-bg-deep);
  padding: 64px 0;
}

.stats__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  color: var(--z-amber);
  margin-bottom: 8px;
}

.stat__label {
  display: block;
  font-size: 13px;
  color: var(--z-text-muted);
  line-height: 1.4;
}


/* ============================================================
   Walkthrough
   ============================================================ */
.walkthrough {
  padding: var(--section-pad) 0;
}

.walkthrough__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--z-amber);
  margin: 0 auto 24px;
}

.walkthrough__header {
  text-align: center;
  margin-bottom: 80px;
}

.walkthrough__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
}

.walkthrough__subtitle {
  font-size: 17px;
  color: var(--z-text-muted);
}

/* Timeline */
.walkthrough__timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--z-border);
  transform: translateX(-50%);
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

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

/* Step dot on timeline */
.step::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--z-amber);
  border: 3px solid var(--z-bg);
  box-shadow: 0 0 0 2px var(--z-amber);
  z-index: 2;
}

.step--left .step__content { order: 1; text-align: right; }
.step--left .step__visual  { order: 2; }
.step--right .step__content { order: 2; }
.step--right .step__visual  { order: 1; }

.step__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.step__badge--free {
  background: rgba(16, 185, 129, 0.1);
  color: var(--z-emerald);
}

.step__badge--pro {
  background: rgba(37, 99, 235, 0.1);
  color: var(--z-blue);
}

.step__number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--z-amber);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.step__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.step__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--z-text-muted);
  max-width: 440px;
}

.step--left .step__desc {
  margin-left: auto;
}

/* Step mockups */
.step-mockup {
  background: var(--z-card);
  border-radius: 12px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--z-border);
  overflow: hidden;
}

.step-mockup__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--z-border);
}

.step-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--z-border);
}

.step-mockup__body {
  padding: 20px;
}

.step-mockup__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--z-text-muted);
  border-bottom: 1px solid var(--z-border);
}

.step-mockup__row:last-child {
  border-bottom: none;
}

.step-mockup__row--highlight {
  color: var(--z-text);
  font-weight: 500;
}

.step-mockup__divider {
  height: 1px;
  background: var(--z-amber);
  opacity: 0.3;
  margin: 8px 0;
}

/* Upload mockup */
.upload-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--z-bg);
  border: 1px solid var(--z-border);
}

.upload-file:last-child { margin-bottom: 0; }

.upload-file__icon { font-size: 18px; }

.upload-file__name {
  flex: 1;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--z-text);
}

.upload-file__status {
  font-size: 14px;
  color: var(--z-text-muted);
}

.upload-file__status--done {
  color: var(--z-emerald);
  font-weight: 700;
}

.upload-file__status--progress {
  color: var(--z-blue);
  animation: spin 1.5s linear infinite;
}

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

/* Proforma mockup */
.proforma-header {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--z-text);
}

.proforma-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0;
}

.proforma-cell {
  padding: 8px 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--z-border);
}

.proforma-cell--label {
  color: var(--z-text-muted);
  font-weight: 500;
}

.proforma-cell--head {
  font-size: 11px;
  font-weight: 600;
  color: var(--z-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Intel mockup */
.step-mockup__body--dark {
  background: var(--z-bg-deep);
  border-radius: 0 0 12px 12px;
  padding: 20px;
}

.intel-section {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.intel-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.intel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--z-amber);
  margin-bottom: 6px;
}

.intel-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(240, 237, 232, 0.7);
}

.intel-highlight {
  color: var(--z-amber);
  font-weight: 600;
}


/* ============================================================
   Intelligence Section (Dark)
   ============================================================ */
.intelligence {
  background: var(--z-bg-deep);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.intelligence__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.intelligence__header {
  text-align: center;
  margin-bottom: 64px;
}

.intelligence__diamond {
  display: block;
  font-size: 24px;
  color: var(--z-amber);
  margin-bottom: 20px;
  animation: diamondSpin 60s linear infinite;
}

.intelligence__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--z-text-light);
  margin-bottom: 16px;
}

.intelligence__subtitle {
  font-size: 17px;
  color: var(--z-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.intelligence__showcase {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.intel-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.intel-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.intel-card__diamond {
  color: var(--z-amber);
  font-size: 16px;
}

.intel-card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--z-text-light);
  letter-spacing: 0.03em;
}

.intel-card__section {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.intel-card__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.intel-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--z-amber);
  margin-bottom: 8px;
}

.intel-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 237, 232, 0.65);
}

/* Floating annotations */
.annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--z-text-light);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.annotation__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--z-amber);
  flex-shrink: 0;
}

.annotation--1 { top: 40px; right: -180px; }
.annotation--2 { top: 140px; left: -200px; }
.annotation--3 { bottom: 140px; right: -170px; }
.annotation--4 { bottom: 60px; left: -160px; }

.intelligence__footer {
  text-align: center;
  font-size: 14px;
  color: var(--z-text-muted);
  margin-top: 48px;
}


/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  padding: var(--section-pad) 0;
}

.pricing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.pricing__header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing__subtitle {
  font-size: 17px;
  color: var(--z-text-muted);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--z-card);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1.5px solid var(--z-border);
  transition: transform 0.3s var(--ease-out-quad),
              box-shadow 0.3s var(--ease-out-quad);
  position: relative;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.price-card--featured {
  border-color: var(--z-amber);
  box-shadow:
    0 0 0 1px var(--z-amber),
    0 8px 32px rgba(212, 168, 67, 0.1),
    0 24px 60px rgba(212, 168, 67, 0.06);
  transform: scale(1.03);
}

.price-card--featured:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow:
    0 0 0 1px var(--z-amber),
    0 12px 40px rgba(212, 168, 67, 0.15),
    0 32px 70px rgba(212, 168, 67, 0.08);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--z-amber);
  color: var(--z-bg-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-card__top {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--z-border);
}

.price-card__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}

.price-card__currency {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--z-text);
}

.price-card__amount {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--z-text);
}

.price-card__amount--large {
  font-size: 48px;
}

.price-card__period {
  font-size: 15px;
  color: var(--z-text-muted);
  margin-left: 4px;
}

.price-card__desc {
  font-size: 14px;
  color: var(--z-text-muted);
  line-height: 1.5;
}

.price-card__features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card__features li {
  font-size: 14px;
  color: var(--z-text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}

.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid var(--z-emerald);
}

.price-card__features li strong {
  color: var(--z-text);
  font-weight: 600;
}

.price-card--featured .price-card__top {
  border-bottom-color: rgba(212, 168, 67, 0.2);
}


/* ============================================================
   CTA Section (Dark)
   ============================================================ */
.cta {
  background: var(--z-bg-deep);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--z-text-light);
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--z-text-muted);
  margin-bottom: 40px;
}

.cta__signin {
  margin-top: 20px;
  font-size: 14px;
  color: var(--z-text-muted);
}

.cta__signin a {
  color: var(--z-text-light);
  text-decoration: underline;
  text-decoration-color: rgba(240, 237, 232, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.cta__signin a:hover {
  text-decoration-color: var(--z-text-light);
}


/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--z-border);
  padding: 40px 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__diamond {
  color: var(--z-amber);
  font-size: 16px;
}

.footer__wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 14px;
  color: var(--z-text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--z-text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--z-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--z-border);
}

.footer__bottom a {
  color: var(--z-text-muted);
  text-decoration: underline;
  text-decoration-color: var(--z-border);
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer__bottom a:hover {
  color: var(--z-text);
}


/* ============================================================
   Scroll Reveal (initial states — JS adds .is-visible)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal--left {
  transform: translateX(-48px);
}

.reveal--right {
  transform: translateX(48px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__mockup {
    transform: none;
  }

  .floating-card,
  .annotation {
    opacity: 1;
  }
}


/* ============================================================
   Responsive — Tablet (<=960px)
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --section-pad: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__subhead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mockup {
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Timeline goes left-aligned */
  .timeline-line {
    left: 24px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 56px;
  }

  .step::before {
    left: 24px;
    top: 8px;
    transform: translateX(-50%);
  }

  .step--left .step__content,
  .step--right .step__content {
    order: 1;
    text-align: left;
  }

  .step--left .step__visual,
  .step--right .step__visual {
    order: 2;
  }

  .step--left .step__desc {
    margin-left: 0;
  }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .price-card--featured {
    transform: none;
    order: -1;
  }

  .price-card--featured:hover {
    transform: translateY(-2px);
  }

  /* Annotations hide on tablet to avoid overflow */
  .annotation {
    display: none;
  }
}


/* ============================================================
   Responsive — Mobile (<=640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-pad: 64px;
    --nav-height: 56px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--z-bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out-expo);
    z-index: 999;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__cta {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 64px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__subhead {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .mockup-card {
    width: 100%;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .step {
    padding-left: 48px;
    margin-bottom: 64px;
  }

  .step-mockup {
    font-size: 12px;
  }

  .walkthrough__header {
    margin-bottom: 48px;
  }

  .intel-card {
    padding: 24px 20px;
  }

  .footer__top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .floating-card--population,
  .floating-card--competitors,
  .floating-card--caprate {
    display: none;
  }
}
