:root {
  --bg: #f4f6f8;
  --bg-soft: #ffffff;
  --silver: #eef1f5;
  --gray: #d8dee6;
  --graphite: #2a3441;
  --steel: #4a5568;
  --ink: #0f1c2e;
  --navy: #0f2744;
  --muted: #64748b;
  --line: rgba(15, 28, 46, 0.1);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --blue-glow: rgba(37, 99, 235, 0.18);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 20px 60px rgba(15, 28, 46, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --cmd-bg: #141c28;
  --cmd-panel: #1a2433;
  --cmd-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, var(--silver) 100%);
  color: var(--ink);
  overflow-x: hidden;
}

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

.subtle-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 39, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 68, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 70%);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 8px 24px var(--blue-glow);
  position: relative;
}

.mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 150ms, background 150ms;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--blue-soft);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--blue); }

.language-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 38px;
  max-width: 180px;
  padding: 0 32px 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
}

.language-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.language-wrap::after {
  content: "⌄";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-54%);
  color: var(--muted);
  pointer-events: none;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: 180ms ease;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 22px;
  display: grid;
  gap: 8px;
}

.mobile-menu a,
.mobile-menu label {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-weight: 600;
  color: var(--ink);
}

.mobile-menu label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-menu .language-select {
  width: 100%;
  max-width: none;
}

body.menu-open .mobile-menu { display: block; }
body.menu-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-cinematic {
  position: relative;
  background: linear-gradient(165deg, #0a1628 0%, #0f2744 42%, #1a365d 100%);
  color: white;
  padding: 100px 0 88px;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}

.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6, 182, 212, 0.08), transparent);
  pointer-events: none;
}

.hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero-cinematic .container {
  position: relative;
  z-index: 2;
}

.hero-cinematic h1 {
  color: white;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.hero-cinematic .hero-subtitle {
  color: #93c5fd;
}

.hero-cinematic .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
}

.hero-cinematic .home-supporting {
  color: rgba(148, 163, 184, 0.95);
}

.hero-cinematic .btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
}

.hero-cinematic .btn.primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.hero-cinematic .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-cinematic .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-cinematic .btn.app-btn {
  background: rgba(6, 182, 212, 0.15);
  color: #a5f3fc;
  border-color: rgba(6, 182, 212, 0.35);
}

.hero-cinematic .btn.app-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.55);
}

.nav-links .nav-app {
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
}

.app-promo-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #0a1628, #0f2744);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.app-promo .kicker { color: #60a5fa; }
.app-promo h2 { color: white; margin: 0 0 12px; }
.app-promo p { color: #94a3b8; line-height: 1.6; margin: 0; }

.app-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.app-promo-actions .btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.app-promo-actions .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.app-promo-steps {
  display: grid;
  gap: 10px;
}

.app-promo-section .install-step {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.app-promo-section .install-step h3 {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #93c5fd;
}

.app-promo-section .install-step p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .app-promo { grid-template-columns: 1fr; }
}

body[data-page="home"] header:not(.header-scrolled) {
  background: rgba(10, 22, 40, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] header:not(.header-scrolled) .brand,
body[data-page="home"] header:not(.header-scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="home"] header:not(.header-scrolled) .nav-links a:hover,
body[data-page="home"] header:not(.header-scrolled) .nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

body[data-page="home"] header:not(.header-scrolled) .mobile-toggle span {
  background: white;
}

.cinematic-band .kicker {
  color: #60a5fa;
}

.hero-visual-wrap {
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-copy {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy.hero-entered {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual-wrap {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.hero-copy.hero-entered ~ .hero-visual-wrap,
.hero-grid:has(.hero-entered) .hero-visual-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

[data-reveal="scale"].is-visible {
  transform: scale(1);
}

/* Cinematic intelligence flow section */
.cinematic-band {
  background: linear-gradient(180deg, #0a1628, #0f2744);
  padding: 88px 0;
  color: white;
  overflow: hidden;
}

.cinematic-band h2 { color: white; }
.cinematic-band .section-text { color: #94a3b8; }

.intel-flow-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.intel-flow-canvas {
  display: block;
  width: 100%;
  height: 220px;
}

.cmd-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.cmd-map {
  position: relative;
}

.cmd-timeline span {
  height: 0;
  transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes mark-glow-anim {
  0%, 100% { box-shadow: 0 8px 24px var(--blue-glow); }
  50% { box-shadow: 0 8px 36px rgba(37, 99, 235, 0.45); }
}

.mark.mark-glow {
  animation: mark-glow-anim 3s ease-in-out infinite;
}

header.header-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(15, 28, 46, 0.06);
}

.stack-layer {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}

.stack-layer:hover {
  transform: translateX(6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.module-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.module-card:hover {
  transform: translateY(-4px);
}

.sim-scenario {
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.cmd-center {
  animation: cmd-float 6s ease-in-out infinite;
}

@keyframes cmd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .hero-copy,
  .hero-visual-wrap {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cmd-center { animation: none; }
  .mark.mark-glow { animation: none; }
}

.hero {
  padding: 72px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
}

h1 {
  margin: 20px 0 10px;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.acronym {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  transition: transform 150ms, box-shadow 150ms, background 150ms;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.2);
}

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

.btn.secondary {
  background: white;
  color: var(--ink);
}

/* Executive dashboard visual */
.dashboard-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--silver);
}

.dashboard-header span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

.dashboard-body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-metric {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.dash-metric label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.dash-metric strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.dash-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.dash-chart {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  min-height: 120px;
}

.dash-chart h4 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.chart-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue), rgba(37, 99, 235, 0.4));
  animation: bar-grow 2s ease-out forwards;
}

.chart-bars span:nth-child(1) { height: 45%; animation-delay: 0.1s; }
.chart-bars span:nth-child(2) { height: 72%; animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { height: 58%; animation-delay: 0.3s; }
.chart-bars span:nth-child(4) { height: 85%; animation-delay: 0.4s; }
.chart-bars span:nth-child(5) { height: 62%; animation-delay: 0.5s; }
.chart-bars span:nth-child(6) { height: 78%; animation-delay: 0.6s; }

@keyframes bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}

.risk-list {
  display: grid;
  gap: 8px;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.risk-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.risk-dot.low { background: #22c55e; }
.risk-dot.med { background: #f59e0b; }
.risk-dot.high { background: #ef4444; }

/* Stage notice */
.stage-notice {
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 500;
}

.stage-notice strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

/* Sections */
section { padding: 72px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.04);
  transition: transform 200ms, box-shadow 200ms;
}

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

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.card .stage-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--silver);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero .lead {
  max-width: 680px;
}

/* Content blocks */
.content-block {
  max-width: 760px;
}

.content-block p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 16px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
}

.info-panel.navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.info-panel.navy p { color: rgba(255, 255, 255, 0.8); }
.info-panel.navy h3 { color: white; }

/* Pipeline / steps */
.steps {
  display: grid;
  gap: 0;
  max-width: 720px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

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

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Roadmap */
.roadmap {
  display: grid;
  gap: 16px;
  max-width: 800px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.roadmap-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.roadmap-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Ecosystem */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.eco-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.eco-card.highlight {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.eco-card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Resources */
.resource-list {
  display: grid;
  gap: 12px;
}

.resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.resource-item p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.resource-tag {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--silver);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Use cases */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.use-case {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.use-case .label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.use-case p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact form */
.contact-form {
  max-width: 640px;
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 48px;
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 { color: white; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 10px 0 0; line-height: 1.65; }

.cta-band .btn.primary {
  background: white;
  color: var(--navy);
  border-color: white;
}

.cta-band .btn.primary:hover {
  background: var(--silver);
}

/* Token section (secondary) */
.token-notice {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--silver);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.token-notice h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

/* Footer */
footer {
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover { color: var(--blue); }

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* Capability detail */
.capability-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.capability-section:last-child { border-bottom: none; }

.capability-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--silver);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

/* Platform flow */
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.flow-step {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  position: relative;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
}

.flow-step:last-child::after { display: none; }

.flow-step .num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-weight: 800;
  font-size: 0.85rem;
}

.flow-step p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

[dir="rtl"] .language-select { padding: 0 12px 0 32px; }
[dir="rtl"] .language-wrap::after { right: auto; left: 10px; }
[dir="rtl"] .flow-step::after { content: "←"; right: auto; left: -14px; }

@media (max-width: 1024px) {
  .card-grid,
  .eco-grid,
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-diagram { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .cta-band { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .dash-metrics,
  .dash-charts { grid-template-columns: 1fr; }
}

/* Command center hero */
.cmd-center {
  background: var(--cmd-bg);
  border: 1px solid var(--cmd-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  color: #e2e8f0;
  font-size: 0.78rem;
}

.cmd-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--cmd-border);
}

.cmd-topbar span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.cmd-live { color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cmd-live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }

.cmd-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  padding: 10px;
}

.cmd-panel {
  background: var(--cmd-panel);
  border: 1px solid var(--cmd-border);
  border-radius: 8px;
  padding: 12px;
  min-height: 100px;
}

.cmd-panel.wide { grid-column: 1 / -1; }

.cmd-panel h4 {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.cmd-map {
  height: 72px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(239, 68, 68, 0.2), transparent 35%),
    linear-gradient(135deg, #1e293b, #0f172a);
  position: relative;
  overflow: hidden;
}

.cmd-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.cmd-nodes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cmd-node {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.68rem;
  font-weight: 600;
}

.cmd-node.warn { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); color: #fbbf24; }
.cmd-node.risk { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); color: #f87171; }

.cmd-timeline {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.cmd-timeline span {
  flex: 1;
  background: linear-gradient(180deg, var(--blue), rgba(37, 99, 235, 0.3));
  border-radius: 2px 2px 0 0;
}

.cmd-timeline span:nth-child(1) { height: 40%; }
.cmd-timeline span:nth-child(2) { height: 65%; }
.cmd-timeline span:nth-child(3) { height: 50%; }
.cmd-timeline span:nth-child(4) { height: 80%; }
.cmd-timeline span:nth-child(5) { height: 55%; }
.cmd-timeline span:nth-child(6) { height: 70%; }

/* Questions strip */
.questions-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: white;
}

.q-item {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Module cards */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.module-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  transition: border-color 200ms, box-shadow 200ms;
}

.module-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.module-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.module-card p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Simulation layer UI */
.sim-section {
  background: var(--cmd-bg);
  color: #e2e8f0;
  padding: 72px 0;
}

.sim-section h2 { color: white; }
.sim-section .section-text { color: #94a3b8; }

.sim-ui {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  background: var(--cmd-panel);
  border: 1px solid var(--cmd-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
}

.sim-sidebar {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-right: 1px solid var(--cmd-border);
}

.sim-scenario {
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: default;
  border: 1px solid transparent;
}

.sim-scenario.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
  color: #93c5fd;
}

.sim-scenario:not(.active) { color: #64748b; }

.sim-main { padding: 20px; }

.sim-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.sim-metric {
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--cmd-border);
}

.sim-metric label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}

.sim-metric strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.sim-metric strong.amber { color: var(--amber); }
.sim-metric strong.green { color: var(--green); }
.sim-metric strong.blue { color: #60a5fa; }

.sim-rec {
  padding: 14px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 0.88rem;
  line-height: 1.55;
}

.sim-rec strong { color: #93c5fd; }

/* Architecture stack */
.arch-stack {
  display: grid;
  gap: 10px;
  max-width: 800px;
}

.arch-layer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.arch-layer.highlight {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.arch-layer p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.arch-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Dark section band */
.dark-band {
  background: linear-gradient(135deg, var(--navy), var(--graphite));
  color: white;
  padding: 64px 0;
}

.dark-band h2 { color: white; }
.dark-band .section-text { color: rgba(255, 255, 255, 0.7); }

/* Sim examples grid */
.sim-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sim-example {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.sim-example p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.pilot-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pilot-target {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--silver);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel);
}

.brand-ai {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-left: 2px;
}

.home-supporting {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* SOVRA meaning grid */
.meaning-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.meaning-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.meaning-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.meaning-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.meaning-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Intelligence stack */
.stack-list {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin: 0 auto;
}

.stack-layer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}

.stack-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}

.stack-layer p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.not-chatbot {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.not-chatbot p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

@media (max-width: 1024px) {
  .meaning-grid { grid-template-columns: repeat(3, 1fr); }
  .module-grid.eight { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .meaning-grid { grid-template-columns: 1fr; }
  .module-grid.eight { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .module-grid,
  .sim-examples,
  .questions-strip { grid-template-columns: repeat(2, 1fr); }
  .sim-ui { grid-template-columns: 1fr; }
  .sim-sidebar { display: flex; gap: 8px; border-right: none; border-bottom: 1px solid var(--cmd-border); }
  .sim-scenario { margin-bottom: 0; flex: 1; text-align: center; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .card-grid,
  .card-grid.four,
  .eco-grid,
  .use-case-grid,
  .module-grid,
  .sim-examples,
  .questions-strip { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: 1fr; }
  .sim-metrics { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .roadmap-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .cta-band { padding: 32px 24px; }
}

/* sovra-premium: accessible premium visual polish, CSS-only and progressive. */
@keyframes sovra-premium-reveal{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:no-preference){main h1{animation:sovra-premium-reveal .55s cubic-bezier(.2,.75,.2,1) both}main h1+p{animation:sovra-premium-reveal .55s .1s cubic-bezier(.2,.75,.2,1) both}}
@media(prefers-reduced-motion:reduce){main h1,main h1+p{animation:none!important;transform:none!important}}
