/* ============================================================
   COOL BODA CORRIDOR — Hero v6
   Premium single-page site
   Fonts: Fraunces (headings) + Inter (body)
   ============================================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Backgrounds */
  --bg-primary: #0B1926;
  --bg-deep: #071018;
  --bg-elevated: #0F2233;
  --bg-section-alt: #091620;

  /* Surfaces (glass) */
  --surface: rgba(15, 34, 51, 0.55);
  --surface-hover: rgba(20, 45, 66, 0.65);
  --surface-border: rgba(148, 195, 220, 0.12);
  --surface-border-hover: rgba(148, 195, 220, 0.22);

  /* Text */
  --text-primary: #F0F7FC;
  --text-secondary: #94B8CC;
  --text-muted: #5E8BA3;

  /* Accents */
  --accent: #F6BE58;
  --accent-hover: #FFD07A;
  --teal: #5EEDB8;
  --teal-dim: rgba(94, 237, 184, 0.15);
  --blue: #4FC3F7;
  --purple: #B39DDB;

  /* Typography scale (fluid) */
  --text-xs: clamp(0.68rem, 0.64rem + 0.2vw, 0.78rem);
  --text-sm: clamp(0.78rem, 0.73rem + 0.25vw, 0.88rem);
  --text-base: clamp(0.88rem, 0.82rem + 0.3vw, 1.02rem);
  --text-lg: clamp(1.02rem, 0.92rem + 0.5vw, 1.22rem);
  --text-xl: clamp(1.25rem, 1.05rem + 1vw, 1.7rem);
  --text-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  --text-3xl: clamp(2.2rem, 1.5rem + 3.5vw, 4.2rem);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --section-pad: clamp(64px, 8vw, 120px);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.1;
  font-weight: 700;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

/* ===== LAYOUT ===== */
.container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3) { transition-delay: 0.2s; }
.cards .reveal:nth-child(4) { transition-delay: 0.3s; }
.stats__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.stats__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.stats__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.stats__grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.stats__grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.partners-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.partners-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.partners-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.partners-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--transition), background var(--transition),
              backdrop-filter var(--transition);
}

.nav--scrolled {
  padding: 10px 0;
  background: rgba(7, 16, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg-deep);
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav__logo-text {
  color: var(--text-secondary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
  background: rgba(148, 195, 220, 0.08);
}

.nav__cta {
  margin-left: var(--space-sm);
  background: rgba(246, 190, 88, 0.12) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(246, 190, 88, 0.25);
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: rgba(246, 190, 88, 0.2) !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active .bar:nth-child(2) { opacity: 0; }
.nav__toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 16, 24, 0.92) 0%, rgba(11, 25, 38, 0.7) 50%, rgba(7, 16, 24, 0.5) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg-primary) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.hero__text {
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(94, 237, 184, 0.1);
  border: 1px solid rgba(94, 237, 184, 0.2);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  margin-bottom: var(--space-lg);
  max-width: 16ch;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Hero visual (map) */
.hero__visual {
  display: flex;
  justify-content: center;
}

.corridor-map {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(94, 237, 184, 0.05);
}

/* Map elements — Route types */

/* Trunk route: solid, gold, animated flow */
.flow--trunk {
  fill: none;
  stroke: #f7bf5a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16 8;
  animation: routeFlow 3.5s linear infinite;
  filter: url(#glow);
  opacity: 0.85;
}

/* E-boda routes: dashed, orange, animated */
.flow--eboda {
  fill: none;
  stroke: #FF9800;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 8 10;
  animation: routeFlow 2.8s linear infinite;
  filter: url(#glow);
  opacity: 0.75;
}

.flow--left { animation-duration: 2.6s; }
.flow--right { animation-duration: 3.0s; }

/* Future route: grey, dashed, subtle */
.flow--future {
  fill: none;
  stroke: #6B7B8D;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 8;
  animation: routeFlow 4s linear infinite;
  opacity: 0.35;
}

@keyframes routeFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -88; }
}

/* Nodes */
.node {
  stroke: rgba(7, 16, 24, 0.6);
  stroke-width: 2.5;
}

.node--galiraya { fill: #4CAF50; }
.node--kayunga { fill: var(--accent); }
.node--minihub { fill: #FF9800; }

/* Labels */
.map-label {
  fill: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(7, 16, 24, 0.8);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-label--galiraya {
  fill: #4CAF50;
  font-size: 14px;
  font-weight: 700;
}

.map-label--kayunga {
  fill: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.map-label--minihub {
  fill: #FF9800;
  font-size: 12px;
  font-weight: 600;
}

.map-label--future {
  fill: #6B7B8D;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.6;
}

/* Sublabels (node type descriptors) */
.map-sublabel {
  fill: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(7, 16, 24, 0.8);
  stroke-width: 3px;
  stroke-linejoin: round;
  opacity: 0.7;
}

.map-sublabel--kayunga {
  fill: var(--accent);
  opacity: 0.6;
}

.map-sublabel--future {
  opacity: 0.4;
}

/* Distance annotations */
.map-dist {
  fill: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  paint-order: stroke;
  stroke: rgba(7, 16, 24, 0.8);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.map-dist-type {
  fill: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(7, 16, 24, 0.8);
  stroke-width: 2px;
  stroke-linejoin: round;
  opacity: 0.5;
}

/* Swap gap callout */
.map-callout {
  animation: calloutPulse 3s ease-in-out infinite;
}

@keyframes calloutPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 32px; }
  50% { opacity: 0.4; height: 20px; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), background var(--transition),
              box-shadow var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(246, 190, 88, 0.25);
}

.btn--outline {
  background: rgba(240, 247, 252, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(240, 247, 252, 0.18);
}

.btn--outline:hover {
  background: rgba(240, 247, 252, 0.1);
  border-color: rgba(240, 247, 252, 0.3);
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

/* ===== STATS RIBBON ===== */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-bottom: var(--space-xl);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat {
  background: var(--bg-elevated);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.stat__value {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat__unit {
  font-size: 0.65em;
  color: var(--accent);
  font-weight: 400;
}

.stat__label {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--bg-section-alt);
}

.section__header {
  max-width: 640px;
  margin-bottom: var(--space-2xl);
}

.eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section__header h2 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section__intro {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: var(--space-lg);
}

.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card--glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
}

.card--glass:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-hover);
  transform: translateY(-3px);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: var(--space-md);
}

.card__icon--problem {
  background: rgba(246, 190, 88, 0.12);
  color: var(--accent);
}

.card__icon--solution {
  background: var(--teal-dim);
  color: var(--teal);
}

.card__icon--outcome {
  background: rgba(79, 195, 247, 0.12);
  color: var(--blue);
}

.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--text-lg);
}

.card p,
.card--glass p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.card__number {
  font-family: 'Fraunces', serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: rgba(148, 195, 220, 0.2);
  line-height: 1;
}

/* ===== OPERATING MODEL ===== */
.model-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.model-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.model-step__number {
  font-family: 'Fraunces', serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: rgba(246, 190, 88, 0.3);
  text-align: center;
  padding-top: var(--space-xs);
}

.model-step__content {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  transition: border-color var(--transition);
}

.model-step__content:hover {
  border-color: var(--surface-border-hover);
}

.model-step__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.model-step__location {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.model-step__content p:last-child {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
}

.model-step__connector {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.model-step__connector svg:first-child {
  grid-column: 2;
}

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.partner {
  padding: var(--space-lg);
  position: relative;
}

.partner__role {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.partner h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.partner p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.partner__flag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(148, 195, 220, 0.08);
  border: 1px solid rgba(148, 195, 220, 0.1);
}

/* ===== IMPACT / ECONOMICS ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.impact-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.impact-card--wide {
  grid-column: 1 / -1;
}

.impact-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

/* Profit centre list */
.impact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(148, 195, 220, 0.06);
}

.impact-list li:last-child {
  border-bottom: none;
}

.impact-list__label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.impact-list__detail {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: right;
}

/* Revenue bars */
.revenue-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.revenue-bar {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: var(--space-md);
  align-items: center;
}

.revenue-bar__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.revenue-bar__track {
  height: 8px;
  background: rgba(148, 195, 220, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.revenue-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: var(--width);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.revenue-bar__fill--pilot { background: var(--accent); }
.revenue-bar__fill--base { background: var(--blue); }
.revenue-bar__fill--high { background: var(--teal); }

.revenue-bar__value {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  min-width: 70px;
  text-align: right;
}

.impact-card__note {
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.impact-card__total {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--surface-border);
}

/* Budget layers */
.budget-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.budget-layer {
  display: grid;
  grid-template-columns: 1fr 200px auto;
  gap: var(--space-md);
  align-items: center;
}

.budget-layer__bar {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent);
  width: var(--width);
  min-width: 20px;
}

.budget-layer__bar--teal { background: var(--teal); }
.budget-layer__bar--green { background: #66BB6A; }
.budget-layer__bar--blue { background: var(--blue); }
.budget-layer__bar--purple { background: var(--purple); }

.budget-layer__name {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.budget-layer__value {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
  text-align: right;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-xl);
}

.timeline__line {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: 0.3;
}

.timeline__phase {
  position: relative;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-section-alt);
  position: absolute;
  top: -6px;
  left: var(--space-lg);
  z-index: 1;
}

.timeline__phase:last-child .timeline__dot {
  background: var(--teal);
}

.timeline__card {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
}

.timeline__period {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.timeline__card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.timeline__card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(94, 237, 184, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}

.cta-section__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.cta-section__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--surface-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.footer__brand .nav__logo-mark {
  width: 28px;
  height: 28px;
  font-size: 0.68rem;
}

.footer__detail {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent-hover);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }

  .timeline__line {
    display: none;
  }

  .timeline__dot {
    position: static;
    margin-bottom: var(--space-sm);
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .budget-layer {
    grid-template-columns: 1fr 140px auto;
  }

  .revenue-bar {
    grid-template-columns: 140px 1fr auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 16, 24, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--surface-border);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 10px 8px;
  }

  .nav__cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: var(--space-sm);
  }

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards--2 {
    grid-template-columns: 1fr;
  }

  .model-step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-md);
  }

  .model-step__number {
    font-size: var(--text-xl);
  }

  .model-step__connector {
    grid-template-columns: 48px 1fr;
    gap: var(--space-md);
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .revenue-bar {
    grid-template-columns: 1fr auto;
    gap: var(--space-sm);
  }

  .revenue-bar__label {
    grid-column: 1 / -1;
    margin-bottom: -4px;
  }

  .budget-layer {
    grid-template-columns: 1fr auto;
  }

  .budget-layer__bar {
    grid-column: 1 / -1;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__scroll {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }

  .hero__visual {
    max-width: 320px;
  }
}
