:root {
  color-scheme: dark;
  --bg: #050811;
  --panel: #0b101d;
  --panel-elev: #111827;
  --line: #1e293b;
  --line-gold: rgba(242, 201, 109, 0.42);
  --line-cyan: rgba(56, 189, 248, 0.42);
  --line-purple: rgba(168, 85, 247, 0.42);
  --gold: #f2c96d;
  --gold-bright: #fde68a;
  --blue: #3b82f6;
  --cyan: #38bdf8;
  --purple: #a855f7;
  --green: #34d399;
  --amber: #f59e0b;
  --red: #f87171;
  --text: #f1f5f9;
  --muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: #050811;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 45% at 22% 0%, rgba(242, 201, 109, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 75% 45% at 78% 8%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 95%, rgba(168, 85, 247, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #04060d 0%, #090e1a 50%, #050811 100%);
  color: var(--text);
  font-family: "Outfit", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

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

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

button, select, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  max-width: 1440px;
  margin: auto;
  padding: 16px 20px 84px;
  container-type: inline-size;
  container-name: page-wrap;
}

/* Below-the-fold deferred rendering per modern-web-guidance: defer-rendering-heavy-content */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 480px;
}

/* Top Navigation Bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 16px;
  background: rgba(10, 14, 24, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 8px;
  z-index: 40;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-size: 0.86rem;
}

.brand-dot, .pulse, .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  display: inline-block;
  flex-shrink: 0;
}

.nav, .subnav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a, .subnav a {
  padding: 7px 11px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #d6deeb;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.nav a.active,
.nav a:hover,
.subnav a:hover {
  background: rgba(242, 201, 109, 0.14);
  border-color: rgba(242, 201, 109, 0.36);
  color: var(--gold);
}

.mcp-status-pill {
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid #2b4562;
  background: #0d1626;
  color: #cfe4ff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: #0b1019;
}

.lang-btn {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 9px;
}

.lang-btn[aria-pressed="true"] {
  background: var(--gold);
  color: #10100d;
}

/* Hero + Real-Time 3D/Video Avatar Stage */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  margin-bottom: 24px;
}

.hero-card, .spotlight-card, .agent-card, .console-box, .tri-card, .glass-panel {
  background: linear-gradient(155deg, rgba(20, 27, 43, 0.95), rgba(9, 13, 22, 0.98));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.hero-card {
  border-color: var(--line-gold);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-card {
  border-color: var(--line-cyan);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  text-transform: uppercase;
  font-weight: 800;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(1.85rem, 1.1rem + 2.8vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.gold-accent {
  color: var(--gold);
}

.cyan-accent {
  color: var(--cyan);
}

.purple-accent {
  color: #c084fc;
}

h2 {
  font-size: clamp(1.18rem, 0.95rem + 1.1vw, 1.65rem);
  line-height: 1.18;
  margin: 4px 0 6px;
  text-wrap: balance;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
  max-width: 64ch;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dbe6f6;
}

.hero-checks li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(242, 201, 109, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.75);
  border: 1px solid #1e293b;
}

.pillar-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.pillar-item span {
  font-size: 0.74rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.btn, .agent-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #3b4c66;
  background: #131c2b;
  color: var(--text);
  font-weight: 750;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover, .agent-btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.btn.primary {
  border-color: #b48a3e;
  background: linear-gradient(135deg, #f5d485, #b88736);
  color: #0d0d0a;
  box-shadow: 0 4px 18px rgba(242, 201, 109, 0.25);
}

.btn.cyan {
  border-color: #1e7c8f;
  background: linear-gradient(135deg, #155e75, #0f293d);
  color: #a5f3fc;
}

.btn.purple {
  border-color: #7e22ce;
  background: linear-gradient(135deg, #581c87, #2e1065);
  color: #e9d5ff;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.kpi-mini {
  background: #080c15;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 9px 11px;
  min-width: 0;
}

.kpi-mini strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
}

.kpi-mini span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Real-Time 3D WebGL & Video Stage inside Spotlight */
.stage-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.stage-tab-group {
  display: inline-flex;
  background: #070b13;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.stage-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  padding: 6px 10px;
  border-radius: 7px;
}

.stage-tab.active {
  background: linear-gradient(135deg, rgba(242, 201, 109, 0.24), rgba(34, 211, 238, 0.22));
  color: var(--gold-bright);
  border: 1px solid rgba(242, 201, 109, 0.45);
}

.stage-controls-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.stage-select {
  background: #080d17;
  color: var(--text);
  border: 1px solid #2b3b54;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 650;
}

.realtime-stage-box {
  position: relative;
  height: 300px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background:
    radial-gradient(circle at 50% 38%, rgba(242, 201, 109, 0.16), transparent 60%),
    radial-gradient(circle at 50% 95%, rgba(34, 211, 238, 0.2), transparent 58%),
    linear-gradient(180deg, #050811 0%, #09121e 65%, #070d16 100%);
  overflow: hidden;
}

.webgl-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-stage-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #04070d;
}

.board-stage-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 12px;
  background: #060a12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.webcam-pip {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 112px;
  height: 84px;
  border-radius: 10px;
  border: 2px solid var(--cyan);
  object-fit: cover;
  background: #000;
  z-index: 6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

.stage-hud-overlay {
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 5;
}

.stage-badge-pill {
  pointer-events: auto;
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(242, 201, 109, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 750;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stage-subtitle-ribbon {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 0.78rem;
  color: #e2f1ff;
  z-index: 5;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.s2s-converse-bar {
  display: flex;
  gap: 7px;
  align-items: center;
}

.s2s-input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  background: #070b14;
  border: 1px solid #293850;
  border-radius: 10px;
  padding: 7px 12px;
  color: var(--text);
  font-size: 0.8rem;
}

.mic-btn {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #0ea5e9;
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mic-btn.recording {
  border-color: var(--red);
  background: rgba(248, 113, 113, 0.25);
  color: #fecaca;
  animation: pulseRec 1s infinite alternate;
}

@keyframes pulseRec {
  from { box-shadow: 0 0 0px rgba(248, 113, 113, 0.4); }
  to { box-shadow: 0 0 16px rgba(248, 113, 113, 0.9); }
}

/* Spotlight & Agent Card Header */
.spotlight-top, .agent-card-top, .console-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.avatar-ring-lg {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.avatar-ring-lg img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.avatar-wrap img {
  width: 54px;
  height: 54px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.avatar-wrap .status-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 2px solid #0b1019;
}

.agent-title, .spotlight-meta {
  min-width: 0;
}

.agent-title strong {
  display: block;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.agent-title span, .spotlight-meta p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.chip {
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #cbd5e1;
}

.chip.live {
  border-color: #059669;
  color: #6ee7b7;
}

.chip.gold {
  border-color: #926f34;
  color: var(--gold);
}

.chip.cyan {
  border-color: #0e7490;
  color: #67e8f9;
}

/* Section Headers */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 14px;
}

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

/* Row 1 of Picture: Tri-Brand Sovereign Surface Showcase */
.tri-headers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
  text-align: center;
}

.tri-header-col strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.tri-header-col.yace-head strong {
  color: var(--cyan);
}

.tri-header-col span {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.tri-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.tri-brand-panel {
  border-radius: 16px;
  padding: 16px 18px;
  background: radial-gradient(circle at 82% 38%, rgba(242, 201, 109, 0.16), rgba(7, 10, 18, 0.96) 68%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
}

.tri-brand-panel.brand-prime {
  border-color: rgba(242, 201, 109, 0.65);
  box-shadow: 0 0 32px rgba(242, 201, 109, 0.14), inset 0 0 32px rgba(242, 201, 109, 0.08);
}

.tri-brand-panel.brand-yace {
  background: radial-gradient(circle at 82% 38%, rgba(56, 189, 248, 0.20), rgba(88, 28, 135, 0.18) 45%, rgba(7, 10, 18, 0.96) 72%);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.16), inset 0 0 32px rgba(56, 189, 248, 0.10);
}

.tri-brand-panel.brand-amlazr {
  background: radial-gradient(circle at 82% 38%, rgba(245, 158, 11, 0.18), rgba(7, 10, 18, 0.96) 68%);
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.14), inset 0 0 32px rgba(245, 158, 11, 0.08);
}

.tri-inner-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.68rem;
  color: #cbd5e1;
}

.tri-inner-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.64rem;
}

.tri-body-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 10px;
  align-items: center;
  margin: 6px 0;
}

.tri-3d-art {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 109, 0.35);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
  aspect-ratio: 4 / 3.4;
}

.brand-yace .tri-3d-art {
  border-color: rgba(56, 189, 248, 0.45);
}

.tri-3d-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

.tri-brand-panel:hover .tri-3d-art img {
  transform: scale(1.08);
}

.tri-bottom-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.tri-bottom-strip.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tri-stat-cell strong {
  display: block;
  font-size: 0.76rem;
  color: var(--gold);
}

.brand-yace .tri-stat-cell strong {
  color: var(--cyan);
}

.tri-stat-cell span {
  display: block;
  font-size: 0.63rem;
  color: #94a3b8;
  line-height: 1.25;
}

/* 12-Avatar Sovereign Roster Grid */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.agent-card {
  padding: 15px;
  transition: border-color 0.16s ease, transform 0.16s ease;
  cursor: pointer;
}

.agent-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 201, 109, 0.6);
}

.agent-card.active-agent {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(242, 201, 109, 0.18);
}

.agent-action-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
}

.mini-icon-btn {
  min-height: 36px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0b1322;
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Console Output */
.console-box {
  margin-bottom: 26px;
}

.console-output {
  background: #050811;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: #a5f3fc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow-x: auto;
  max-height: 210px;
}

/* Row 2 of Picture: FREE DEMO EXPERIENCE (3-Column Interactive Console) */
.free-demo-shell {
  display: grid;
  grid-template-columns: 0.25fr 0.47fr 0.28fr;
  gap: 14px;
  margin-bottom: 28px;
  background: linear-gradient(160deg, rgba(14, 20, 34, 0.96), rgba(7, 10, 18, 0.98));
  border: 1px solid var(--line-gold);
  border-radius: 18px;
  padding: 18px;
}

.demo-col-panel {
  background: rgba(8, 12, 21, 0.9);
  border: 1px solid #223049;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 650;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b78632);
  color: #111;
  font-weight: 900;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.duration-pills {
  display: flex;
  gap: 6px;
}

.dur-btn {
  flex: 1;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0d1524;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.dur-btn.active {
  border-color: var(--gold);
  background: rgba(242, 201, 109, 0.18);
  color: var(--gold);
}

.mission-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mission-tab-btn {
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #26354d;
  background: #0c1322;
  color: var(--text);
  transition: all 0.15s ease;
}

.mission-tab-btn strong {
  display: block;
  font-size: 0.74rem;
  color: var(--gold);
}

.mission-tab-btn span {
  font-size: 0.67rem;
  color: var(--muted);
}

.mission-tab-btn.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(242, 201, 109, 0.2), rgba(34, 211, 238, 0.12));
  box-shadow: 0 0 16px rgba(242, 201, 109, 0.16);
}

.mission-mid-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 10px;
}

.mission-subbox {
  background: #060a13;
  border: 1px solid #1e293b;
  border-radius: 11px;
  padding: 12px;
}

.orch-graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.orch-node {
  flex: 1;
  min-width: 68px;
  text-align: center;
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid #2b3d59;
  background: #0d1626;
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1;
  position: relative;
}

.orch-node.active-step {
  border-color: var(--green);
  background: rgba(52, 211, 153, 0.16);
  color: #a7f3d0;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.3);
}

.orch-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #1e293b;
  overflow: hidden;
  margin-top: 8px;
}

.orch-progress-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--green));
  transition: width 0.35s ease;
}

.exec-log-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.73rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #a7f3d0;
}

/* Demo Results Circular Gauge */
.results-header-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 8px;
}

.res-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.res-tab.active {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan);
}

.results-gauge-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gauge-svg-wrap {
  width: 88px;
  height: 88px;
  position: relative;
  flex-shrink: 0;
}

.gauge-svg-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gauge-center-text strong {
  font-size: 1.25rem;
  color: var(--green);
  line-height: 1;
}

.gauge-center-text span {
  font-size: 0.58rem;
  color: var(--muted);
}

.severity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  flex: 1;
}

.sev-box {
  background: #060911;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.sev-box strong {
  display: block;
  font-size: 0.92rem;
}

.sev-box span {
  font-size: 0.62rem;
  color: var(--muted);
}

/* Row 3 of Picture: SOVEREIGN INFRASTRUCTURE + 40+ SOLUTION CATALOG + USER JOURNEY */
.architecture-triple-grid {
  display: grid;
  grid-template-columns: 0.36fr 0.42fr 0.22fr;
  gap: 14px;
  margin-bottom: 28px;
}

.infra-mesh-diagram {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}

.infra-node-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.infra-node-card {
  background: #070b14;
  border: 1px solid #26354d;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.infra-node-card:hover {
  border-color: var(--cyan);
}

.infra-node-card strong {
  display: block;
  font-size: 0.76rem;
  color: var(--gold);
}

.infra-node-card em {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  color: var(--cyan);
}

.infra-node-card span {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: 2px;
}

.orb-gateway-core {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(242, 201, 109, 0.22) 0%, rgba(10, 15, 28, 0.95) 72%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 28px rgba(242, 201, 109, 0.22);
}

.orb-gateway-core img {
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.protocol-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.proto-pill {
  background: #070b13;
  border: 1px solid #223047;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.65rem;
}

.proto-pill strong {
  display: block;
  color: var(--gold);
}

.proto-pill span {
  color: var(--muted);
}

/* Solution Catalog (40+ Solutions) */
.catalog-filter-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cat-filter-btn {
  border: 1px solid #28364e;
  background: #080d18;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

.cat-filter-btn.active {
  border-color: var(--gold);
  background: rgba(242, 201, 109, 0.16);
  color: var(--gold);
}

.solutions-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.solution-mini-card {
  background: #070c16;
  border: 1px solid #23324a;
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.solution-mini-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.solution-mini-card strong {
  display: block;
  font-size: 0.74rem;
  color: var(--text);
}

.solution-mini-card span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 2px;
}

/* User Journey 5-Stage Stack */
.journey-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journey-step-card {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #2b3b55;
  background: #080e1a;
  cursor: pointer;
  transition: transform 0.14s ease;
}

.journey-step-card:hover {
  transform: translateX(2px);
}

.journey-step-card.j-green { border-color: rgba(52, 211, 153, 0.5); }
.journey-step-card.j-blue { border-color: rgba(56, 189, 248, 0.5); }
.journey-step-card.j-purple { border-color: rgba(168, 85, 247, 0.55); }
.journey-step-card.j-amber { border-color: rgba(245, 158, 11, 0.55); }
.journey-step-card.j-gold { border-color: rgba(242, 201, 109, 0.65); }

.journey-step-card strong {
  display: block;
  font-size: 0.76rem;
  color: var(--gold-bright);
}

.journey-step-card span {
  font-size: 0.66rem;
  color: var(--muted);
}

/* Local Real-Time Video & Image Studio Wall */
.media-studio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.video-studio-card {
  background: #090e18;
  border: 1px solid #223047;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-studio-card video,
.video-studio-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #030509;
}

.video-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: space-between;
}

.video-card-body strong {
  font-size: 0.8rem;
  color: var(--gold);
}

.video-card-body span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* 1,002-Skill / 321-Seat Fleet Avatar Mosaic */
.fleet-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.fleet-seat-btn {
  background: #080d17;
  border: 1px solid #24324b;
  border-radius: 10px;
  padding: 8px;
  text-align: left;
  color: var(--text);
  transition: border-color 0.14s ease;
}

.fleet-seat-btn:hover,
.fleet-seat-btn.active {
  border-color: var(--gold);
  background: rgba(242, 201, 109, 0.12);
}

.fleet-seat-btn strong {
  display: block;
  font-size: 0.74rem;
  color: var(--gold);
}

.fleet-seat-btn span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Light-Dismiss Modal (<dialog closedby="any">) */
dialog.sovereign-dialog {
  max-width: min(1160px, 94vw);
  width: 100%;
  background: #090e18;
  color: var(--text);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

dialog.sovereign-dialog::backdrop {
  background-color: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(4px);
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.tri-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 74px;
}

/* Responsive Table with Container Queries */
.table-wrapper {
  container-type: inline-size;
  container-name: matrix-table;
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #090e17;
  margin-bottom: 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

th, td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

thead th {
  position: sticky;
  top: 0;
  background: #121a29;
  color: var(--gold);
  z-index: 1;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: var(--gold);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line-gold);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 1120px) {
  .hero-grid,
  .free-demo-shell,
  .architecture-triple-grid,
  .tri-showcase-grid {
    grid-template-columns: 1fr;
  }
  .avatar-grid,
  .media-studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .avatar-grid,
  .media-studio-grid,
  .kpi-strip,
  .solutions-cards-grid,
  .mission-tabs-grid,
  .mission-mid-grid,
  .fleet-mosaic-grid,
  .tri-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── 4D Futuristic Scroll-Driven Animations & Scoped View Transitions ─── */
.solutions-cards-grid .solution-mini-card,
.fleet-mosaic-grid .fleet-seat-btn {
  view-transition-name: match-element;
}

::view-transition-group(*) {
  animation-duration: 280ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes sov4dScrollEntry {
      from {
        opacity: 0.2;
        transform: perspective(1100px) translateY(32px) rotateX(4deg) scale(0.95);
      }
      to {
        opacity: 1;
        transform: perspective(1100px) translateY(0) rotateX(0deg) scale(1);
      }
    }
    @keyframes sov4dScrollExit {
      from {
        opacity: 1;
        transform: perspective(1100px) translateY(0) scale(1);
      }
      to {
        opacity: 0.35;
        transform: perspective(1100px) translateY(-18px) scale(0.97);
      }
    }
    .agent-card,
    .video-studio-card,
    .demo-col-panel,
    .glass-panel,
    .tri-card {
      animation:
        sov4dScrollEntry auto linear backwards,
        sov4dScrollExit auto linear forwards;
      animation-timeline: view();
      animation-range: entry, exit;
    }
  }
}

