/* SAFAR — Professional Automotive AI Design System */
:root {
  --bg-base: #06090e;
  --bg-surface: #0b1017;
  --bg-surface-raised: #101722;
  --bg-surface-hover: #151e2c;
  --bg-card: rgba(16, 23, 34, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(0, 230, 118, 0.35);
  --border-cyan: rgba(0, 229, 255, 0.3);

  --brand-green: #00e676;
  --brand-green-glow: rgba(0, 230, 118, 0.25);
  --brand-cyan: #00e5ff;
  --brand-cyan-glow: rgba(0, 229, 255, 0.2);
  --brand-yellow: #ffd600;
  --brand-red: #ff3d71;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #070a0f;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 8px 32px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 230, 118, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-base);
}

/* Typography & Global Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.86em;
  color: var(--brand-cyan);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

.bg-slate {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-title-wrap {
  margin-bottom: 56px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.title-primary {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead-paragraph {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-top: 14px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 28px; }
.mt-8 { margin-top: 40px; }

.text-green { color: var(--brand-green); }
.text-cyan { color: var(--brand-cyan); }
.text-yellow { color: var(--brand-yellow); }
.text-red { color: var(--brand-red); }
.text-white { color: #ffffff; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), #00c853);
  color: var(--text-dark);
  box-shadow: 0 4px 18px var(--brand-green-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--brand-green-glow);
  background: linear-gradient(135deg, #00f07c, #00d659);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--border-medium);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-symbol {
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.35));
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--brand-cyan);
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  color: #fff;
}

.nav-gh-btn:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
}

/* 1. Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  overflow: hidden;
  text-align: center;
}

.hero-canvas-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grid-perspective {
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 150%;
  height: 55%;
  background: 
    linear-gradient(to bottom, rgba(6, 9, 14, 1) 0%, transparent 35%),
    linear-gradient(90deg, rgba(0, 230, 118, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  transform: perspective(450px) rotateX(68deg);
  opacity: 0.9;
}

.glow-radial {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.16) 0%, rgba(0, 229, 255, 0.08) 45%, transparent 70%);
  filter: blur(60px);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.eyebrow-chip { color: var(--text-muted); }
.eyebrow-sep { color: var(--text-dim); }
.eyebrow-state { color: var(--brand-green); font-weight: 600; }

.hero-branding {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
}

.hero-shield-logo {
  width: auto;
  max-width: 135px;
  height: auto;
  max-height: 150px;
  filter: drop-shadow(0 0 28px rgba(0, 230, 118, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-shield-logo:hover {
  transform: scale(1.06);
}

.hero-headline {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 40%, var(--brand-green) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-cyan);
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 20px auto 0;
  line-height: 1.65;
}

.pipeline-tracker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(16, 23, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 12px 28px;
  border-radius: 999px;
  margin: 36px 0;
  box-shadow: var(--shadow-card);
}

.tracker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tracker-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-green);
  font-weight: 700;
}

.tracker-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.tracker-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.tracker-sep {
  color: var(--text-dim);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-telemetry-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  flex-wrap: wrap;
}

.telemetry-item {
  text-align: center;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
}

.telemetry-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.telemetry-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* 2. Genesis / Story */
.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.story-article p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pull-quote {
  position: relative;
  background: rgba(0, 230, 118, 0.04);
  border-left: 3px solid var(--brand-green);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.pull-quote p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  font-style: italic;
  margin-bottom: 0;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: rgba(0, 230, 118, 0.15);
  line-height: 1;
}

.evolution-stepper {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.stepper-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-cyan);
  font-weight: 700;
}

.stepper-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.step-tree {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.step-tree::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: var(--border-subtle);
}

.tree-node {
  position: relative;
  margin-bottom: 20px;
}

.tree-node:last-child {
  margin-bottom: 0;
}

.node-marker {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 2px solid var(--bg-surface-raised);
}

.marker-alert {
  background: var(--brand-yellow);
  box-shadow: 0 0 8px var(--brand-yellow);
}

.marker-active {
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
}

.node-body strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.node-body p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
  margin-bottom: 0;
}

/* 3. Problem Comparator */
.comparator-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.comp-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pane-header {
  margin-bottom: 20px;
}

.pane-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.tag-gray {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.tag-green {
  background: rgba(0, 230, 118, 0.12);
  color: var(--brand-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.comp-canvas {
  height: 220px;
  background: #06090e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.sim-bbox {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.sim-bbox .box-lbl {
  position: absolute;
  top: -18px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1px 4px;
  border-radius: 2px;
  white-space: nowrap;
}

.box-left { top: 35%; left: 8%; width: 18%; height: 35%; }
.box-lead { top: 25%; left: 40%; width: 20%; height: 42%; border-color: rgba(255, 255, 255, 0.7); }
.box-side { top: 20%; right: 10%; width: 22%; height: 48%; }
.box-far { top: 15%; left: 32%; width: 12%; height: 20%; opacity: 0.6; }

.pane-footer p {
  font-size: 0.85rem;
  margin-top: 16px;
  color: var(--text-dim);
}

.comp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-pill {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-cyan);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: 50%;
}

.questions-deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deck-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 230, 118, 0.03);
  border: 1px solid rgba(0, 230, 118, 0.12);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.deck-bullet {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-top: 2px;
}

.deck-text strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}

.deck-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
}

.info-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.info-icon {
  color: var(--brand-green);
  margin-bottom: 16px;
}

.info-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.9rem;
}

/* 4. Architecture & Framework */
.architecture-board {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.arch-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 960px;
}

.arch-node {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  position: relative;
}

.arch-node.node-highlight {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--brand-green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.node-id {
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-green);
  background: var(--bg-surface);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.node-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.node-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.arch-edge {
  color: var(--text-dim);
  font-weight: bold;
}

.module-spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-cyan);
  font-weight: 700;
  margin-bottom: 10px;
}

.module-spec-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.module-spec-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.code-snippet {
  background: #06090e;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  overflow-x: auto;
}

/* =========================================================
   Interactive Simulator / HUD Section (FIXED CLEAN 3-COLUMN)
   ========================================================= */
.sim-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 20px;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.sim-panel {
  display: flex;
  flex-direction: column;
}

.panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-green);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-kicker-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.feed-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-green);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-green);
  box-shadow: 0 0 6px var(--brand-green);
  animation: pulse-glow 1.5s infinite ease-in-out;
}

.hud-scenario-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scenario-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
}

.scenario-btn.active {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--brand-green);
  box-shadow: 0 0 14px var(--brand-green-glow);
}

.sc-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.sc-status {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.scenario-btn.active .sc-status {
  color: var(--brand-green);
}

/* Center Viewport */
.viewport-screen {
  height: 380px;
  position: relative;
  background: radial-gradient(circle at center, #0e1622 0%, #03060a 85%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.viewport-corridor {
  position: absolute;
  bottom: 0;
  left: 18%;
  width: 64%;
  height: 65%;
  border-left: 2px solid var(--brand-green);
  border-right: 2px solid var(--brand-green);
  background: linear-gradient(to top, rgba(0, 230, 118, 0.12), transparent);
  clip-path: polygon(32% 0%, 68% 0%, 100% 100%, 0% 100%);
  transition: all 0.4s ease;
}

.viewport-box {
  position: absolute;
  top: 32%;
  left: 40%;
  width: 20%;
  height: 30%;
  border: 2px solid var(--brand-red);
  background: rgba(255, 61, 113, 0.18);
  border-radius: var(--radius-xs);
  box-shadow: 0 0 20px rgba(255, 61, 113, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.box-badge {
  position: absolute;
  top: -24px;
  left: 0;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.viewport-side-box {
  position: absolute;
  top: 25%;
  left: 6%;
  width: 14%;
  height: 24%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xs);
  transition: all 0.35s ease;
}

.box-badge-dim {
  position: absolute;
  top: -20px;
  left: 0;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.viewport-meta-footer {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(8, 12, 18, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-tag {
  color: var(--brand-green);
  font-weight: 700;
}

/* Right Telemetry Column (Clean Separated Card) */
.telemetry-data-card {
  background: rgba(8, 12, 18, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.telemetry-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry-row.highlight-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
}

.telemetry-divider-line {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.t-key {
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}

.t-val {
  font-weight: 700;
  color: #fff;
  font-size: 0.82rem;
}

/* 5. Achievements */
.achievement-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  margin-bottom: 20px;
}

.achievement-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

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

.clean-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
}

.clean-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-size: 0.9rem;
}

.verification-stats-box {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.04), rgba(0, 229, 255, 0.04));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.stat-digit {
  font-family: var(--font-mono);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.test-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 820px;
  margin: 24px auto 0;
  line-height: 1.5;
}

/* 6. Learnings / What Broke */
.learnings-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.insight-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.insight-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.badge-red {
  background: rgba(255, 61, 113, 0.12);
  color: var(--brand-red);
}

.badge-green {
  background: rgba(0, 230, 118, 0.12);
  color: var(--brand-green);
}

.insight-problem h4, .insight-solution h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.insight-problem p, .insight-solution p {
  font-size: 0.88rem;
}

.insight-arrow {
  color: var(--text-dim);
  font-weight: 800;
}

/* 7. Limitations Matrix */
.limitations-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.matrix-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.matrix-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-icon {
  font-size: 1.5rem;
  font-weight: 800;
}

.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-list li {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

.disclaimer-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 214, 0, 0.05);
  border: 1px solid rgba(255, 214, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
}

.disclaimer-icon {
  font-size: 2rem;
}

.disclaimer-text {
  font-size: 0.92rem;
  color: #ffea79;
}

/* 8. Roadmap Stepper */
.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-card.active-phase {
  border-color: var(--brand-green);
  background: rgba(0, 230, 118, 0.03);
}

.timeline-card.in-dev-phase {
  border-color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.03);
}

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

.phase-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
}

.phase-state {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.phase-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--brand-green);
}

.in-dev-phase .progress-fill {
  background: var(--brand-cyan);
}

/* 9. Thesis Section */
.thesis-comparison-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.thesis-col {
  text-align: center;
}

.thesis-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.thesis-cost {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.thesis-vs {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dim);
}

.thesis-quote-card {
  text-align: center;
}

.thesis-quote-card p {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  max-width: 840px;
  margin: 0 auto;
}

/* 10. Market Strategy */
.market-pipeline-box {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow-x: auto;
}

.market-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 860px;
}

.m-step {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.m-step span {
  color: var(--brand-green);
  margin-right: 6px;
}

.m-step.m-highlight {
  background: rgba(0, 230, 118, 0.12);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.m-arr {
  color: var(--text-dim);
  font-weight: bold;
}

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

.bullet-checklist li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bullet-checklist strong {
  color: #fff;
}

.callout-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #c7f2f7;
}

.callout-note svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 11. Business Model */
.business-equation-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.eq-block {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  min-width: 170px;
}

.eq-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 6px;
}

.label-green {
  color: var(--brand-green);
}

.eq-block strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.eq-block small {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.eq-block.eq-result {
  border-color: var(--brand-green);
  background: rgba(0, 230, 118, 0.08);
}

.eq-operator {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.expansion-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.exp-tier {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.exp-tier.active-tier {
  border-color: var(--brand-green);
}

.tier-stage {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-green);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.exp-tier h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.exp-tier p {
  font-size: 0.84rem;
}

/* 12. Team */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.team-profile-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.team-profile-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.08);
  border: 1.5px solid var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.avatar-initials {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green);
}

.team-profile-card h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #fff;
}

.profile-role {
  font-size: 0.84rem;
  color: var(--text-dim);
}

.team-links-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 13. CTA Section */
.section-cta {
  background: radial-gradient(circle at center, #0e1726 0%, var(--bg-base) 75%);
  border-top: 1px solid var(--border-accent);
  padding: 110px 0;
}

.cta-headline {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-lead {
  font-size: 1.2rem;
  max-width: 680px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.contact-meta-info {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.contact-meta-info strong {
  color: var(--brand-green);
}

.dot-sep {
  margin: 0 10px;
}

/* Footer */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
}

.footer-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.footer-brand-sub {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-links-group {
  display: flex;
  gap: 22px;
}

.footer-links-group a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--brand-green);
}

.footer-legal p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .sim-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline-stepper { grid-template-columns: repeat(2, 1fr); }
  .expansion-matrix { grid-template-columns: repeat(2, 1fr); }
  .hero-headline { font-size: 4rem; }
}

@media (max-width: 768px) {
  .main-nav, .status-badge, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  
  .story-layout { grid-template-columns: 1fr; }
  .comparator-card { grid-template-columns: 1fr; }
  .comp-divider { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .limitations-matrix { grid-template-columns: 1fr; }
  .thesis-comparison-box { grid-template-columns: 1fr; }
  .team-cards-grid { grid-template-columns: 1fr; }
  .timeline-stepper { grid-template-columns: 1fr; }
  .expansion-matrix { grid-template-columns: 1fr; }
  .insight-row { grid-template-columns: 1fr; }
  .insight-arrow { transform: rotate(90deg); text-align: center; }
  .business-equation-card { flex-direction: column; }
  .eq-operator { transform: rotate(90deg); margin: 6px 0; }
  
  .hero-headline { font-size: 3rem; }
  .hero-subheadline { font-size: 1.2rem; }
  .title-primary { font-size: 2rem; }
  .cta-headline { font-size: 2.2rem; }
  .stats-row { flex-direction: column; gap: 20px; }
  .pipeline-tracker { flex-direction: column; gap: 10px; border-radius: var(--radius-lg); }
  .tracker-sep { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; text-align: center; }
}
