/* ==========================================================================
   DEMANDRA — Enterprise AI Retail Demand & Planning Platform
   Visual Benchmarks: o9 Solutions (Enterprise Visual Hierarchy) + RELEX (Unified Value Chain Flow)
   Aesthetic: Premium Warm Ivory + Obsidian Forest + Acid Lime Accents
   ========================================================================== */

:root {
  /* Alias variables for legacy secondary pages */
  --green: var(--accent-emerald);
  --muted: var(--text-muted);
  --line: var(--border-light);
  --line-main: var(--border-light);
  --line-subtle: rgba(12, 20, 16, 0.05);
  --bg-ivory: var(--bg-primary);
  --text-ink: var(--text-main);
  --text-ink-muted: var(--text-muted);
  --text-ink-faint: var(--text-faint);
  --alert-red: var(--accent-coral);
  --accent-leaf: var(--accent-emerald);
  --accent-leaf-dark: var(--accent-forest);
  --accent-leaf-subtle: var(--accent-lime);
  --accent-clay: var(--accent-amber);
  --text-warm-white: var(--text-inverse);
  --text-on-dark: var(--text-inverse);
  --text-on-dark-muted: var(--text-inverse-muted);

  /* Color Palette */
  --bg-primary: #f6f4ed;
  --bg-surface: #ffffff;
  --bg-secondary: #ede9de;
  --bg-dark: #08120c;
  --bg-dark-surface: #0f1c14;
  --bg-dark-elevated: #16261c;
  
  --text-main: #0c1410;
  --text-muted: #4e5a52;
  --text-faint: #859188;
  --text-inverse: #f6f4ed;
  --text-inverse-muted: rgba(246, 244, 237, 0.72);
  
  --accent-forest: #173b2a;
  --accent-forest-hover: #0f2a1d;
  --accent-emerald: #245e41;
  --accent-lime: #dce8bd;
  --accent-neon: #38ef7d;
  --accent-amber: #f59e0b;
  --accent-coral: #e05244;
  
  --border-light: rgba(12, 20, 16, 0.10);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(56, 239, 125, 0.35);
  
  --radius-xl: 28px;
  --radius-2xl: 32px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(8, 18, 12, 0.05);
  --shadow-md: 0 16px 36px rgba(8, 18, 12, 0.09);
  --shadow-lg: 0 28px 70px rgba(8, 18, 12, 0.14);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 2rem;
  background: var(--accent-forest);
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1.5rem;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* Typography Helpers */
.mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.mono-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: currentColor;
}

.mono-tag-light {
  color: var(--accent-lime);
}

.mono-tag-light::before {
  background-color: var(--accent-lime);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1e4533 0%, #112d20 100%);
  color: #ffffff;
  padding: 0 1.6rem;
  height: 44px;
  box-sizing: border-box;
  line-height: 1;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(23, 59, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 59, 42, 0.38);
  background: linear-gradient(135deg, #245e41 0%, #173b2a 100%);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* Secondary Translucent Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  padding: 0 1.6rem;
  height: 44px;
  box-sizing: border-box;
  line-height: 1;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Locked Height Hero CTAs (Secondary NEVER taller than Primary) */
.btn-hero {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  padding: 0 1.8rem !important;
  font-size: 0.95rem !important;
}

.btn-secondary-dark {
    background: rgba(12, 20, 16, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.btn-secondary-dark:hover {
  background: rgba(12, 20, 16, 0.10);
  border-color: var(--border-light);
}

/* ==========================================================================
   1. FLOATING NAVIGATION BAR (Ultra-Sleek Pill Navbar)
   ========================================================================== */
.site-nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  pointer-events: none;
}

.nav-pill-container {
  pointer-events: auto;
  max-width: 1140px;
  margin: 0 auto;
  height: 56px;
  /* Concentric clearance: 8px right padding matching 8px top/bottom gap of 40px CTA button */
  padding: 0 8px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-full);
  background: rgba(8, 18, 12, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pure Geometric Symbol Logo (Extracted Demandra Mark) */
.nav-brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
  padding: 0;
  margin: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
}

.nav-brand-symbol:hover {
  transform: scale(1.08);
}

.brand-symbol-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(72, 184, 67, 0.35));
}

.brand-svg-mark {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(56, 239, 125, 0.25));
}

/* Spacious Primary Navigation Links (Per PRD Section 5) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(246, 244, 237, 0.80);
  transition: color 0.15s ease, opacity 0.15s ease;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-neon);
  border-radius: var(--radius-full);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav Actions - Perfectly Synchronized with Pill Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.btn-nav-signin {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(246, 244, 237, 0.80);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-nav-signin:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Pill CTA nested concentrically within the 56px navbar */
.btn-nav-cta {
  height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1e4533 0%, #112d20 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.22);
}

.mobile-toggle {
  display: none;
  color: #ffffff;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 88px;
  left: 20px;
  right: 20px;
  background: rgba(8, 18, 12, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  box-shadow: var(--shadow-dark);
}

.nav-drawer.is-open {
  display: flex;
}

.drawer-link {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

/* ==========================================================================
   2. HERO STAGE — CINEMATIC FULL VIDEO BACKGROUND WITH LOW-OPACITY OVERLAY
   (Documentary video loop playing in background with readable typography)
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 136px 24px 84px;
  background: #08120c;
  color: #ffffff;
  overflow: hidden;
}

/* Full Background Video Layer */
.hero-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: brightness(0.92) contrast(1.05);
}

/* Subtle Low-Opacity Overlay (ensures crisp readability while showing video movement) */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 12, 0.72) 0%,
    rgba(8, 18, 12, 0.52) 35%,
    rgba(8, 18, 12, 0.72) 80%,
    #08120c 100%
  );
  /* backdrop-filter removed for performance */
  -webkit-/* backdrop-filter removed for performance */
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

/* Editorial Headline Block (Overlaid with Subtle Contrast & Shadow) */
.hero-editorial-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-editorial-center h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: #ffffff;
  margin: 16px 0 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75);
}

.hero-subtext {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  color: rgba(246, 244, 237, 0.88);
  max-width: 740px;
  margin: 0 auto 32px;
  font-weight: 400;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Creative Bespoke Continental Scale & Origin Capsule */
.hero-expansion-capsule {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 22px;
  margin-top: 8px;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-expansion-capsule:hover {
}

.capsule-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(246, 244, 237, 0.92);
}


.capsule-label {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent-lime);
}

.capsule-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.capsule-corridor {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(246, 244, 237, 0.85);
}

.capsule-metric {
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(246, 244, 237, 0.80);
}

.capsule-num {
  font-weight: 800;
  color: #ffffff;
  background: rgba(56, 239, 125, 0.16);
  border: 1px solid rgba(56, 239, 125, 0.35);
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   3. SECTION 1 — THE RETAIL BLINDSPOT (Before vs After Photographic Storytelling)
   ========================================================================== */
.section-blindspot {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.section-head-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.section-head-center h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 850;
  margin-bottom: 18px;
  color: var(--text-main);
}

.section-head-center p {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Dual Photographic Showcase Grid */
.blindspot-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blindspot-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blindspot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blindspot-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0c1410;
}

.blindspot-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blindspot-card:hover .blindspot-photo-frame img {
  transform: scale(1.03);
}

.blindspot-status-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-risk {
  background: rgba(224, 82, 68, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-synchronized {
  background: rgba(23, 59, 42, 0.88);
  color: var(--accent-lime);
  border: 1px solid rgba(56, 239, 125, 0.35);
}

.blindspot-floating-alert {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(12, 20, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.8125rem;
}

.blindspot-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blindspot-meta-step {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.blindspot-card h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.blindspot-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Stat Counters Row Inside Card */
.card-stats-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.card-stat-box {
  display: flex;
  flex-direction: column;
}

.card-stat-num {
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-forest);
  margin-bottom: 6px;
}

.card-stat-num-danger {
  color: var(--accent-coral);
}

.card-stat-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   4. SECTION 2 — CONNECTED RETAIL VALUE CHAIN (RELEX-Style Flow)
   ========================================================================== */
.section-value-chain {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.chain-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.chain-node-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.chain-node-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-emerald);
}

.chain-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #0c1410;
}

.chain-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.chain-node-card:hover .chain-photo-wrap img {
  transform: scale(1.05);
}

.chain-stage-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 18, 12, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-lime);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.chain-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chain-body h4 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.chain-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.chain-telemetry-chip {
  margin-top: auto;
  background: rgba(23, 59, 42, 0.06);
  border: 1px solid rgba(23, 59, 42, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.775rem;
  color: var(--accent-forest);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chain-telemetry-chip .indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   5. SECTION 3 — INTERACTIVE DECISION SCENE (The Physical Gondola)
   ========================================================================== */
.section-decision-scene {
  padding: 120px 0;
  background: var(--bg-primary);
}

.decision-theater-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.decision-copy-side h3 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.decision-copy-side p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Parameter Selector Chips */
.param-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.param-chip {
  background: rgba(12, 20, 16, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.param-chip:hover {
  background: rgba(12, 20, 16, 0.09);
}

.param-chip.is-active {
  background: var(--accent-forest);
  color: #ffffff;
  border-color: var(--accent-forest);
  box-shadow: 0 4px 14px rgba(23, 59, 42, 0.25);
}

/* Right Side: Interactive Gondola Shelf Simulation */
.gondola-display-stage {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gondola-shelves-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shelf-bay-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.shelf-bay-card:hover,
.shelf-bay-card.is-active {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 59, 42, 0.12);
}

.shelf-bay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.shelf-sku-name {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-main);
}

.shelf-stock-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.pill-low {
  background: rgba(224, 82, 68, 0.12);
  color: var(--accent-coral);
}

.pill-ok {
  background: rgba(36, 94, 65, 0.12);
  color: var(--accent-emerald);
}

/* Simulated Shelf Product Bars */
.shelf-level-visual {
  height: 8px;
  background: rgba(12, 20, 16, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.shelf-fill-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent-emerald);
  transition: width 0.4s ease;
}

.shelf-fill-bar.is-critical {
  background: var(--accent-coral);
}

.shelf-depletion-rate {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floating AI Dispatch Order Card */
.floating-dispatch-order {
  background: #0c1811;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(56, 239, 125, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dispatch-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-lime);
  margin-bottom: 4px;
}

.dispatch-info span {
  font-size: 0.8rem;
  color: rgba(246, 244, 237, 0.7);
}

.dispatch-action-badge {
  background: var(--accent-forest);
  border: 1px solid rgba(56, 239, 125, 0.4);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   6. SECTION 4 — THE NEURAL PREDICTION ENGINE (o9-Style Deep Forest Theater)
   ========================================================================== */
.section-neural-engine {
  padding: 130px 0;
  background-color: var(--bg-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.neural-narrative-side h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 850;
  margin-bottom: 20px;
  color: #ffffff;
}

.neural-narrative-side p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(246, 244, 237, 0.8);
  margin-bottom: 40px;
}

/* 5-Stage Interactive Pipeline Nodes */
.neural-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-node-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pipeline-node-item:hover,
.pipeline-node-item.is-active {
  background: rgba(23, 59, 42, 0.6);
  border-color: rgba(56, 239, 125, 0.4);
  transform: translateX(6px);
}

.pipeline-stage-idx {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--accent-lime);
}

.pipeline-stage-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* Interactive Neural Wave Canvas */
.neural-graph-stage {
  position: relative;
  background: rgba(15, 28, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-dark);
}

.graph-axis-label {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  color: rgba(246, 244, 237, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svg-wave-container {
  width: 100%;
  height: 220px;
  margin: 24px 0;
  position: relative;
}

.svg-wave-container svg {
  width: 100%;
  height: 100%;
}

.wave-pulse-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 16px var(--accent-neon);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.wave-pulse-node:hover {
  transform: translate(-50%, -50%) scale(1.4);
}

/* Live Dynamic Forecast Callout Card */
.neural-forecast-callout {
  background: rgba(8, 18, 12, 0.92);
  border: 1px solid rgba(56, 239, 125, 0.35);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.neural-forecast-callout strong {
  font-size: 1.05rem;
  color: var(--accent-lime);
  font-weight: 750;
}

.neural-forecast-callout span {
  font-size: 0.875rem;
  color: rgba(246, 244, 237, 0.8);
  line-height: 1.5;
}

/* ==========================================================================
   7. SECTION 5 — ENTERPRISE SCALE & CONTINENTAL EXPANSION
   ========================================================================== */
.section-scale-proof {
  padding: 120px 0;
  background: var(--bg-primary);
}

.scale-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.scale-metric-cell {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.scale-metric-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scale-giant-number {
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-forest);
  margin-bottom: 12px;
}

.scale-caption {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Continental Expansion Corridor Theater */
.expansion-corridor-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.corridor-copy h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.corridor-copy p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.corridor-map-visual {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.corridor-route-svg {
  width: 100%;
  height: 240px;
}

.route-node-pill {
  position: absolute;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.node-lagos {
  top: 42%;
  left: 22%;
  background: var(--accent-forest);
  color: #ffffff;
}

.node-accra {
  top: 32%;
  left: 60%;
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   8. SECTION 6 — EXECUTIVE LEADERSHIP (Mandatory Authentic Nigerian Team)
   ========================================================================== */
.section-team {
  padding: 120px 0;
  background-color: var(--bg-surface);
}

.team-grid-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.team-portrait-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.team-portrait-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portrait-photo-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: #0c1410;
}

.portrait-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.team-portrait-card:hover .portrait-photo-container img {
  transform: scale(1.04);
}

.portrait-nationality-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8, 18, 12, 0.85);
  backdrop-filter: blur(10px);
  color: var(--accent-lime);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.portrait-details-box {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portrait-details-box strong {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.portrait-role {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portrait-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Team Member Social Buttons (LinkedIn & Direct Email) */
.team-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-social-link:hover {
  background: var(--accent-forest);
  color: #ffffff;
  border-color: var(--accent-forest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 59, 42, 0.2);
}

.team-social-link svg {
  flex-shrink: 0;
}

/* ==========================================================================
   9. SECTION 7 — CALLOUT CONVERSION BANNER
   ========================================================================== */
.section-cta-banner {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.cta-banner-theater {
  background: linear-gradient(135deg, #173b2a 0%, #0d2218 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 28px 70px rgba(15, 38, 27, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner-theater h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: #ffffff;
  margin-top: 10px;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #0c1811;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-cta-white:hover {
  background: #f6f4ed;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   10. MASTER REGULATORY FOOTER
   ========================================================================== */
.site-footer {
  background-color: #060e0a;
  color: #ffffff;
  padding: 96px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.footer-corp-meta {
  margin-bottom: 16px;
}

.footer-registration-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--accent-lime);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Address and Phone Placed Cleanly Under Company Name */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(246, 244, 237, 0.78);
  line-height: 1.45;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--accent-lime);
  margin-top: 2px;
}

.footer-mission {
  font-size: 0.875rem;
  color: rgba(246, 244, 237, 0.6);
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 380px;
}

.footer-col-head {
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(246, 244, 237, 0.65);
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.75rem;
  color: rgba(246, 244, 237, 0.55);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(246, 244, 237, 0.50);
  line-height: 1.5;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 244, 237, 0.75);
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--accent-forest);
  border-color: var(--accent-neon);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-btn svg {
  display: block;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.20);
  font-size: 0.72rem;
  user-select: none;
}

.footer-legal-link {
  font-size: 0.72rem !important;
  color: rgba(246, 244, 237, 0.50) !important;
  transition: color 0.15s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.footer-legal-link:hover {
  color: var(--accent-neon) !important;
  text-decoration: underline;
}

/* ==========================================================================
   11. ENTERPRISE ACCESS MODAL (AGENTS.md Rule 3 Compliant)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 18, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-light);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

.modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.modal-close {
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: rgba(12, 20, 16, 0.06);
  color: var(--text-main);
}

.modal-body {
  padding: 28px;
}

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

.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.btn-sso:hover {
  background: rgba(12, 20, 16, 0.03);
  border-color: rgba(12, 20, 16, 0.25);
}

.btn-sso svg {
  width: 20px;
  height: 20px;
}

.sso-separator {
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.sso-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.sso-separator span {
  position: relative;
  background: var(--bg-surface);
  padding: 0 12px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-main);
  background: var(--bg-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(36, 94, 65, 0.15);
}

.password-input-wrap {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Password Strength Bar */
.strength-meter-wrap {
  margin-top: 6px;
}

.strength-meter-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 4px;
}

.strength-segment {
  height: 100%;
  background: rgba(12, 20, 16, 0.12);
  border-radius: var(--radius-full);
  transition: background 0.3s ease;
}

.strength-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 3-Step Provisioning View */
.provisioning-view {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.provisioning-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(36, 94, 65, 0.15);
  border-top-color: var(--accent-neon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

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

.provisioning-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-top: 24px;
}

.prov-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(12, 20, 16, 0.03);
}

.prov-step-item.is-done {
  color: var(--accent-forest);
  font-weight: 600;
  background: rgba(36, 94, 65, 0.08);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (Mobile & Tablet Audited)
   ========================================================================== */
@media (max-width: 1080px) {
  .blindspot-comparison-grid {
    grid-template-columns: 1fr;
  }
  .chain-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .decision-theater-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .neural-grid-layout {
    grid-template-columns: 1fr;
  }
  .scale-metrics-grid {
    grid-template-columns: 1fr;
  }
  .expansion-corridor-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .team-grid-triad {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal blowout */
  .container {
    width: 100%;
    max-width: calc(100% - 24px);
    padding: 0;
    box-sizing: border-box;
  }

  /* Section Spacing on Mobile */
  .section-blindspot,
  .section-value-chain,
  .section-decision-scene,
  .section-neural-engine,
  .section-scale-proof,
  .section-team,
  .section-cta-banner,
  .site-footer {
    padding: 56px 0;
  }

  .section-head-center {
    margin-bottom: 36px;
  }

  .section-head-center h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  /* Navigation Bar */
  .site-nav-wrapper {
    top: 12px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-pill-container {
    height: 52px;
    width: 100%;
    padding: 0 10px 0 12px;
    box-sizing: border-box;
  }

  .nav-links, .nav-actions .btn-nav-signin, .nav-actions .btn-primary {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
  }

  .nav-drawer {
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    padding: 20px 16px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }

  /* Hero Stage */
  .hero-stage {
    min-height: 85vh;
    padding: 96px 14px 48px;
  }

  .hero-editorial-center h1 {
    font-size: clamp(28px, 8vw, 42px);
    letter-spacing: -0.04em;
    margin: 14px 0 16px;
  }

  .hero-subtext {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
  }

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

  /* Hero Expansion Capsule Mobile */
  .hero-expansion-capsule {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
  }

  .capsule-divider {
    display: none;
  }

  .capsule-segment {
    width: 100%;
    justify-content: center;
    font-size: 0.72rem;
  }

  /* Section 1 Blindspot */
  .blindspot-comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blindspot-body {
    padding: 24px 18px;
  }

  .blindspot-card h3 {
    font-size: 1.35rem;
  }

  .card-stats-duo {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-stat-num {
    font-size: 1.85rem;
  }

  /* Section 2 Connected Value Chain */
  .chain-flow-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .chain-body {
    padding: 20px 16px;
  }

  /* Section 3 Interactive Decision Scene — Mobile Fix */
  .decision-theater-box {
    grid-template-columns: 1fr;
    padding: 20px 14px;
    gap: 24px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
  }

  .decision-copy-side h3 {
    font-size: clamp(24px, 6.5vw, 32px);
    margin-bottom: 12px;
  }

  .decision-copy-side p {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .param-chips-grid {
    gap: 8px;
    margin-bottom: 20px;
  }

  .param-chip {
    font-size: 0.75rem;
    padding: 7px 13px;
  }

  .gondola-display-stage {
    padding: 16px 10px;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .gondola-shelves-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .shelf-bay-card {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }

  .shelf-bay-meta {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }

  .shelf-sku-name {
    font-size: 0.85rem;
  }

  .floating-dispatch-order {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }

  .dispatch-action-badge {
    text-align: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  /* Section 4 Neural Prediction Engine */
  .neural-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .neural-narrative-side h2 {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 14px;
  }

  .neural-narrative-side p {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .pipeline-node-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .pipeline-stage-name {
    font-size: 0.85rem;
  }

  .neural-graph-stage {
    padding: 18px 12px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
  }

  .svg-wave-container {
    height: 150px;
    margin: 16px 0;
  }

  .neural-forecast-callout {
    padding: 14px 16px;
  }

  .neural-forecast-callout strong {
    font-size: 0.95rem;
  }

  .neural-forecast-callout span {
    font-size: 0.8125rem;
  }

  /* Section 5 Continental Expansion — Mobile Fix */
  .scale-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .scale-metric-cell {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .scale-giant-number {
    font-size: 38px;
  }

  .expansion-corridor-box {
    grid-template-columns: 1fr;
    padding: 20px 14px;
    gap: 24px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
  }

  .corridor-copy h3 {
    font-size: clamp(24px, 6.5vw, 32px);
    margin-bottom: 12px;
  }

  .corridor-copy p {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .corridor-map-visual {
    padding: 16px 10px;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .corridor-route-svg {
    height: 170px;
  }

  .route-node-pill {
    font-size: 0.68rem;
    padding: 4px 10px;
    max-width: 82%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .node-lagos {
    top: 36%;
    left: 8px;
  }

  .node-accra {
    top: 60%;
    right: 8px;
    left: auto;
  }

  /* Section 6 Executive Leadership */
  .team-grid-triad {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
  }

  .portrait-details-box {
    padding: 20px 16px;
  }

  /* CTA Banner & Footer */
  .cta-banner-theater {
    flex-direction: column;
    text-align: center;
    padding: 36px 18px;
    border-radius: var(--radius-lg);
  }

  .cta-banner-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

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

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-editorial-center h1 {
    font-size: 28px;
  }

  .capsule-segment {
    font-size: 0.68rem;
  }

  .card-stats-duo {
    grid-template-columns: 1fr;
  }

  .shelf-sku-name {
    font-size: 0.8rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal-sep {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-fade { opacity: 0; transition: opacity 0.8s ease-out; }
.reveal-up.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-fade.is-visible { opacity: 1; transform: translate(0, 0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* --- NEW NAVBAR OVERRIDES --- */
.nav-pill-container {
  background: rgba(244, 240, 231, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.nav-link { color: #173b2a !important; }
.nav-link:hover { color: #0f2a1d !important; }
.btn-nav-signin { color: #173b2a !important; }
.btn-nav-signin:hover { color: #0f2a1d !important; background: rgba(23, 59, 42, 0.08) !important; }
.mobile-toggle svg { stroke: #173b2a !important; }

/* Ensure the roadmap section looks good on homepage */
.section-roadmap { background-color: var(--bg-primary); }

/* ==========================================================================
   11. SECONDARY PAGES (Pricing, Solution, About, etc.)
   ========================================================================== */

/* Page Hero */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-primary);
  text-align: center;
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.breadcrumbs {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.breadcrumbs a {
  color: var(--accent-emerald);
  text-decoration: none;
}
.page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.page-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Inner Sections */
.inner-section {
  padding: 96px 0;
  background: var(--bg-surface);
}
.inner-section.alt-bg {
  background: var(--bg-primary);
}

/* Pricing Cards */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-plan-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-plan-card.is-recommended {
  border: 2px solid var(--accent-emerald);
  background: var(--bg-surface);
  box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}
.recommended-banner {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 750;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.plan-tier-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.plan-scope {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}
.plan-cost-box {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.plan-cost {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.plan-term {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}
.plan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-main);
}
.plan-feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Final CTA Block */
.final-cta-block {
  padding: 60px 0 96px;
  background: var(--bg-primary);
}
.final-cta-box {
  background: var(--bg-dark);
  border-radius: var(--radius-2xl);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 64px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.final-cta-box .section-headline {
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
}
.final-cta-box .section-lead {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 16px auto 32px;
}

/* Fix missing footer classes from secondary pages */
.footer-columns {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link-list a {
  font-size: 0.875rem;
  color: rgba(246, 244, 237, 0.65);
  transition: color 0.15s ease;
  text-decoration: none;
}
.footer-link-list a:hover {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ==========================================================================
   12. ADDITIONAL SECONDARY STYLES (Solution & About Pages)
   ========================================================================== */

/* Detail Grid Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.detail-grid.reverse {
  direction: rtl;
}
.detail-grid.reverse > * {
  direction: ltr;
}
.detail-content {
  max-width: 540px;
}
.detail-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}
.detail-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Eyebrow & Spec List */
.eyebrow-tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 16px;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
}
.spec-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}
.spec-list li::before {
  content: "â€”";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Section Headings inside details */
.detail-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 24px;
}
.detail-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Mobile Responsiveness for Details */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-grid.reverse {
    direction: ltr;
  }
  .page-hero {
    padding: 120px 24px 60px;
  }
  .inner-section {
    padding: 64px 24px;
  }
}
/* ==========================================================================
   13. ABOUT PAGE CARDS (Team & Roadmap)
   ========================================================================== */

/* Three-column card grid (Used for Team and Roadmap) */
.cards-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* Team Person Card */
.person {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.person img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Feature/Roadmap Card */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card-num {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: block;
}

/* Mobile Responsiveness for Triads */
@media (max-width: 900px) {
  .cards-triad {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ==========================================================================
   13. ABOUT PAGE CARDS (Team & Roadmap)
   ========================================================================== */

/* Three-column card grid (Used for Team and Roadmap) */
.cards-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* Team Person Card */
.person {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.person img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Feature/Roadmap Card */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card-num {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: block;
}

/* Mobile Responsiveness for Triads */
@media (max-width: 900px) {
  .cards-triad {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.person-role-tag { position: absolute; bottom: 12px; left: 12px; font-size: 10px; letter-spacing: 0.1em; font-weight: 700; color: #fff; background: rgba(16, 21, 18, 0.78); padding: 4px 8px; border-radius: 6px; text-transform: uppercase; backdrop-filter: blur(4px); }



/* Standard Section Spacing */
.section-padding {
  padding: 120px 0;
}
@media (max-width: 900px) {
  .section-padding {
    padding: 80px 0;
  }
}


/* Global Mobile Section Padding Adjustments */
@media (max-width: 900px) {
  .section-blindspot, .section-value-chain, .section-decision-scene, .section-scale-proof, .section-team, .section-roadmap, .section-padding {
    padding: 80px 0 !important;
  }
}
