/* Vercel / Geist + Subtle Deep-Space Orbital Precision for AITYPE */
:root {
  --bg: #000000;
  --surface: #08090d;
  --surface-elevated: #0f1219;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --subtle: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.14);
  --line-hover: rgba(255, 255, 255, 0.28);
  --orbital-ice: rgba(180, 216, 255, 0.78);
  --orbital-glow: rgba(140, 192, 255, 0.14);
  --sand: #ffffff;
  --lk-word: #ffffff;
  --lk-sand: #ffffff;
  --lk-ink: #ffffff;
  --lk-badge: #ffffff;
  --lk-badge-text: #000000;
}

html[lang="en"] { font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif; }
html[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }

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

main, footer {
  position: relative;
  z-index: 2;
}

/* =========================================================
   Subtle Deep-Space Orbital Backdrop (Restrained & Clean)
   ========================================================= */
#orbital-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(125% 55% at 50% -6%, rgba(135, 185, 255, 0.085) 0%, rgba(18, 28, 48, 0.035) 44%, rgba(0, 0, 0, 0) 76%);
}

.orbital-stars {
  position: absolute;
  inset: 0;
}

.orbital-star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(190, 220, 255, 0.45);
  animation: orbital-twinkle var(--twinkle-dur, 6s) ease-in-out infinite alternate;
  animation-delay: var(--twinkle-delay, 0s);
}

@keyframes orbital-twinkle {
  0% { opacity: var(--star-min, 0.12); transform: scale(0.85); }
  100% { opacity: var(--star-max, 0.48); transform: scale(1.15); }
}

/* High-altitude subtle telemetry / meteor streak */
.orbital-streak {
  position: absolute;
  top: 13%;
  left: 68%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(200, 228, 255, 0.7), #ffffff);
  transform: rotate(-21deg);
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(180, 215, 255, 0.65));
  animation: orbital-streak-fly 10s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

@keyframes orbital-streak-fly {
  0%, 84% { opacity: 0; transform: rotate(-21deg) translateX(0); }
  88% { opacity: 0.8; }
  94% { opacity: 0; transform: rotate(-21deg) translateX(-440px); }
  100% { opacity: 0; transform: rotate(-21deg) translateX(-440px); }
}

/* Planetary Horizon & Orbital Trajectory Arcs */
.orbital-horizon-svg {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1680px, 138vw);
  height: 520px;
  overflow: visible;
  opacity: 0.92;
}

.horizon-limb-glow {
  fill: none;
  stroke: rgba(145, 198, 255, 0.11);
  stroke-width: 20;
  filter: blur(12px);
}

.horizon-limb-line {
  fill: none;
  stroke: url(#horizonGrad);
  stroke-width: 1.3;
}

.orbit-track-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.orbit-track-secondary {
  fill: none;
  stroke: rgba(175, 212, 255, 0.075);
  stroke-width: 1;
  stroke-dasharray: 2 8;
}

.orbit-probe-halo {
  fill: rgba(180, 218, 255, 0.25);
  animation: probe-pulse 2.4s ease-in-out infinite alternate;
}

@keyframes probe-pulse {
  0% { r: 5px; opacity: 0.25; }
  100% { r: 9px; opacity: 0.65; }
}

.orbit-probe-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  fill: rgba(200, 225, 255, 0.58);
}

/* Typography & Hierarchy */
h1, h2, h3, strong, .nm, .d-item > span:not(.tool-names):not(.tool-icons) {
  color: var(--ink);
}
p, li, small, label, .lead, .hint, .p-what, .p-def {
  color: var(--muted);
}
.eyebrow, .d-col-head, .flow-number, .dept-no, .no {
  color: var(--subtle);
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}
.nav { min-height: 72px; }
.brand svg.lockup { display: block; width: 152px; height: auto; overflow: visible; direction: ltr; }
.lockup text { font-family: 'Geist', sans-serif; }
.lockup text[font-family] { font-family: 'Roboto Mono', monospace; }
.links a { color: var(--muted); font-size: 0.88rem; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }

/* Primary & Secondary Buttons */
.btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn span, .btn .arrow { color: inherit; }
.btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(190, 220, 255, 0.22);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid var(--line-hover);
  font-weight: 500;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

/* Section spacing */
section { padding: 80px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); position: relative; }
section:last-of-type { border-bottom: none; }

/* Hero + Orbital Command Core */
.hero {
  padding: 136px 0 56px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 24%, rgba(165, 208, 255, 0.06) 0%, rgba(0, 0, 0, 0) 62%);
}
.hero-grid {
  direction: ltr;
  grid-template-columns: minmax(0, 1.25fr) 236px minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  min-height: 360px;
}
.hero-left { direction: ltr; max-width: 520px; }
html[lang="ar"] .hero-left, html[lang="ar"] .hero-right { direction: rtl; }
.hero-left .eyebrow { margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
html[lang="ar"] .hero h1 { line-height: 1.38; letter-spacing: 0; }
.hero h1 em { color: rgba(255, 255, 255, 0.72); font-style: normal; }
.hero .lead { font-size: 1.05rem; line-height: 1.65; color: var(--muted); max-width: 48ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero .hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 800px;
}

.orbital-core-stage {
  position: relative;
  width: 224px;
  height: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-rings-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.orbital-ring-outer {
  transform-origin: 112px 112px;
  animation: orbit-spin-slow 38s linear infinite;
}

.orbital-ring-tilt-a {
  transform-origin: 112px 112px;
  animation: orbit-pulse-a 9s ease-in-out infinite alternate;
}

.orbital-ring-tilt-b {
  transform-origin: 112px 112px;
  animation: orbit-pulse-b 11s ease-in-out infinite alternate;
}

@keyframes orbit-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-pulse-a {
  0% { opacity: 0.45; transform: rotate(-26deg) scale(0.98); }
  100% { opacity: 0.85; transform: rotate(-22deg) scale(1.02); }
}

@keyframes orbit-pulse-b {
  0% { opacity: 0.35; transform: rotate(32deg) scale(1.02); }
  100% { opacity: 0.75; transform: rotate(28deg) scale(0.98); }
}

.hero-stack {
  width: 138px;
  height: 138px;
  overflow: visible;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 32px rgba(190, 220, 255, 0.28));
  transform-style: preserve-3d;
  animation: hero-tilt 7s ease-in-out infinite alternate;
}
.hero-stack path:nth-child(3) {
  animation: layer-top-float 3.6s ease-in-out infinite alternate;
}
.hero-stack path:nth-child(1) {
  animation: layer-mid-float 3.6s ease-in-out infinite alternate;
}
.hero-stack path:nth-child(2) {
  animation: layer-bot-float 3.6s ease-in-out infinite alternate;
}
@keyframes hero-tilt {
  0% { transform: rotateX(-6deg) rotateY(-8deg) translateY(0px); }
  100% { transform: rotateX(6deg) rotateY(8deg) translateY(-6px); }
}
@keyframes layer-top-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-3.2px); }
}
@keyframes layer-mid-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(0.4px); }
}
@keyframes layer-bot-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(3.4px); }
}

.orbital-readout {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(190, 220, 255, 0.16);
  background: rgba(8, 12, 18, 0.75);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(210, 230, 255, 0.74);
  direction: ltr;
  white-space: nowrap;
}
.orbital-readout-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(185, 220, 255, 0.9);
  animation: badge-pulse 2s ease-in-out infinite;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  justify-self: end;
}
.hero-feature {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  padding-inline-start: 16px;
  border-inline-start: 2px solid rgba(255, 255, 255, 0.25);
}

/* Integrated Tool Strip inside Hero */
.tool-strip {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.tool-strip > p {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 18px;
}
html[lang="ar"] .tool-strip > p {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0;
  font-size: 0.85rem;
}
.tool-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
}
.tool-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.8);
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tool-list li:hover {
  border-color: rgba(190, 220, 255, 0.35);
  color: var(--ink);
}

/* Section Headers */
.section-head {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 44px;
}
.section-head .eyebrow { justify-content: center; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 0.98rem; }

/* Subtle Aerospace HUD Corner Calibration Ticks on Main Modules */
.diagram-frame,
.live-experience-box,
.approval-live-card,
.dashboard-live-card,
.audience-panel {
  position: relative;
}
.diagram-frame::before,
.approval-live-card::before,
.dashboard-live-card::before,
.audience-panel::before {
  content: "+";
  position: absolute;
  top: 10px;
  inset-inline-end: 14px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  line-height: 1;
  color: rgba(190, 220, 255, 0.3);
  pointer-events: none;
}

/* Section 2: System Topology Diagram */
.diagram-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px 20px;
  overflow: visible;
}
.d-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}
.d-cols {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.d-col, .d-in, .d-out, .d-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d-col-head {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
html[lang="ar"] .d-col-head { letter-spacing: 0; font-size: 0.8rem; }

.d-item, .d-layer {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.d-item:hover, .d-item.on,
.d-layer:hover, .d-layer.on {
  border-color: #ffffff;
  background: var(--surface-elevated);
}
.d-layer.approve {
  border-color: rgba(190, 220, 255, 0.45);
  background: rgba(180, 215, 255, 0.05);
}
.d-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
/* Idle continuous data flow on topology wires */
.d-wires .w {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.25;
  stroke-dasharray: 4 8;
  animation: wire-idle-flow 16s linear infinite;
}
.d-wires .w.on {
  stroke: #ffffff;
  stroke-width: 1.85;
  stroke-dasharray: 6 6;
  animation: wireflow 1.1s linear infinite;
}
.d-wires .w-dot {
  fill: #ffffff;
  filter: drop-shadow(0 0 6px rgba(190, 220, 255, 0.95));
}

@keyframes wire-idle-flow {
  to { stroke-dashoffset: -120; }
}

.d-panel {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Section 3: Merged Interactive Workflow + Live Approval & Dashboard */
.live-experience-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.flow-track-compact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
/* Animated glowing token moving across the 4 agent steps */
.flow-track-compact .flow-token {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px 3px rgba(185, 220, 255, 0.9);
  z-index: 5;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.flow-node {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.flow-node.is-active {
  border-color: rgba(195, 224, 255, 0.65);
  background: var(--surface-elevated);
  transform: translateY(-2px);
}
.flow-number {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem;
  color: var(--subtle);
  margin-bottom: 8px;
}
html[lang="ar"] .flow-number { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 0.8rem; }
.flow-node h3 { font-size: 1rem; margin-bottom: 6px; }
.flow-node p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }

/* Interactive Split Control Panel: Approval Card + Live Dashboard */
.live-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: stretch;
}
.approval-live-card, .dashboard-live-card {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.approval-live-card {
  border-color: rgba(190, 220, 255, 0.32);
  background: linear-gradient(180deg, rgba(165, 208, 255, 0.04) 0%, rgba(0, 0, 0, 0.96) 100%);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid rgba(190, 220, 255, 0.25);
}
.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: badge-pulse 1.8s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.approval-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.approval-summary strong { color: var(--ink); }

.mock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mock-actions button {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line-hover);
  background: transparent;
  color: var(--ink);
  transition: all 0.18s var(--ease);
}
.mock-actions button[data-demo-decision="approve"] {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.mock-actions button[data-demo-decision="approve"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(190, 220, 255, 0.25);
}
.mock-actions button[data-demo-decision="reject"]:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}
.demo-result {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--ink);
  min-height: 1.4em;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dashboard-top span {
  font-size: 0.76rem;
  color: var(--subtle);
}
.dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.dash-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.dash-cell.flash {
  border-color: #ffffff;
  background: rgba(190, 220, 255, 0.1);
}
.dash-cell strong {
  display: block;
  font-size: 0.78rem;
  color: var(--subtle);
  margin-bottom: 6px;
}
.dash-cell p {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
.hosting-line {
  font-size: 0.8rem;
  color: var(--subtle);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Section 4: Focused Saudi Sectors (Interactive Tabs) */
.audience-tabs-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.audience-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.audience-tab:hover {
  color: var(--ink);
  border-color: var(--line-hover);
}
.audience-tab[aria-selected="true"] {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
}
.audience-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  animation: fadeInPanel 0.25s ease-out;
}
.audience-panel[hidden] {
  display: none !important;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.audience-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.audience-panel-head h3 { font-size: 1.35rem; }
.audience-flow {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
}
.audience-flow li {
  font-size: 0.78rem;
  color: var(--ink);
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
}
.audience-flow li:last-child {
  border-color: #ffffff;
  font-weight: 600;
}
.audience-flow li:not(:last-child)::after { content: ' →'; color: var(--subtle); }
html[lang="ar"] .audience-flow li:not(:last-child)::after { content: ' ←'; color: var(--subtle); }
.audience-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.audience-detail-box {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 18px;
}
.audience-detail-box strong {
  display: block;
  font-size: 0.82rem;
  color: var(--subtle);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html[lang="ar"] .audience-detail-box strong {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.86rem;
}
.audience-detail-box p { font-size: 0.92rem; color: var(--ink); line-height: 1.55; }
.audience-custom-bar {
  margin-top: 20px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.audience-custom-bar p { color: var(--muted); font-size: 0.95rem; }
.audience-custom-bar strong { color: var(--ink); margin-inline-end: 6px; }

/* Cards, Steps, Trust Pills, Inner Pages */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card h3 { margin-bottom: 10px; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.trust-item {
  padding: 18px 20px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.trust-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.trust-item p { font-size: 0.86rem; color: var(--muted); }

/* Inner Pages Hero & Layouts */
.page-hero { padding: 132px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 0;
}
.page-hero .section-head { text-align: start; margin: 0; }
.page-hero .section-head .eyebrow { justify-content: flex-start; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.2; }
.hero-art { width: 96px; flex: none; opacity: 0.85; }
.hero-art svg { width: 100%; }
.page-top { padding-top: 56px; }
.story-grid { display: grid; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
form { display: grid; gap: 14px; }
input, select, textarea {
  background: #000000;
  border: 1px solid var(--line-hover);
  color: var(--ink);
  border-radius: 6px;
  padding: 11px 14px;
}
input:focus, select:focus, textarea:focus {
  border-color: #ffffff;
  outline: none;
}
.c-details { display: grid; gap: 20px; }
.c-row { display: grid; gap: 4px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.support-card p { margin: 12px 0; }
.support-price { font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.support-home-line { text-align: center; padding: 24px; font-size: 0.9rem; color: var(--muted); }
.support-home-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.payment-brand { display: inline-flex; min-height: 30px; align-items: center; color: var(--ink); }
.payment-brand img { object-fit: contain; }
.foot-brand .lockup { margin-bottom: 10px; width: 142px; }
.foot-contact-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
}
.foot-contact-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.foot-contact-links a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* =========================================================
   7-Part Orbital Mission Control Additions
   ========================================================= */

/* 1. Live Scenario Switcher Bar inside #live-demo */
.scenario-switcher-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.scenario-switcher-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
}
html[lang="ar"] .scenario-switcher-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0;
  font-size: 0.84rem;
}
.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scenario-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #000000;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.scenario-pill:hover {
  color: var(--ink);
  border-color: var(--line-hover);
}
.scenario-pill[aria-selected="true"] {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(185, 220, 255, 0.22);
}

/* 4. Live Mobile Lock-Screen Approval Ping */
.mobile-ping-device {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid rgba(190, 220, 255, 0.22);
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.82) 0%, rgba(5, 7, 12, 0.95) 100%);
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-ping-device.ping-flash {
  border-color: #ffffff;
  transform: translateY(-2px);
}
.mobile-ping-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(195, 224, 255, 0.65);
  margin-bottom: 8px;
  direction: ltr;
}
.mobile-ping-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mobile-ping-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.mobile-ping-text span {
  font-size: 0.78rem;
  color: var(--muted);
}
.mobile-ping-pill {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(190, 220, 255, 0.3);
  background: rgba(185, 220, 255, 0.08);
  color: #ffffff;
  white-space: nowrap;
}
html[lang="ar"] .mobile-ping-pill {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.74rem;
}

/* 5. Interactive Time-Horizon Workload Slider */
.horizon-calc-card {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 12px;
  border: 1px solid rgba(190, 220, 255, 0.22);
  background: linear-gradient(180deg, rgba(14, 19, 29, 0.72) 0%, rgba(8, 9, 13, 0.96) 100%);
  position: relative;
}
.horizon-calc-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.horizon-calc-eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(195, 224, 255, 0.72);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.horizon-calc-head h3 {
  font-size: 1.15rem;
  margin: 0;
}
.horizon-count-badge {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
}
html[lang="ar"] .horizon-count-badge {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.horizon-slider-wrap {
  margin-bottom: 22px;
}
.horizon-slider {
  width: 100%;
  accent-color: #ffffff;
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.horizon-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.horizon-metric-box {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.horizon-metric-box small {
  font-size: 0.76rem;
  color: var(--subtle);
  display: block;
  margin-bottom: 6px;
}
.horizon-metric-box strong {
  font-size: 1.15rem;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.horizon-metric-box span {
  font-size: 0.8rem;
  color: var(--muted);
}
.horizon-rec-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 6. Launch Trajectory Timeline in #how */
.trajectory-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
  position: relative;
}
.trajectory-rail::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(190, 220, 255, 0.15), rgba(255, 255, 255, 0.5), rgba(190, 220, 255, 0.15));
  z-index: 0;
}
.trajectory-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(190, 220, 255, 0.28);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(205, 228, 255, 0.85);
  direction: ltr;
}
.trajectory-node::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(190, 220, 255, 0.9);
}

/* 3. 3-Click Mission Configurator on Packages Page */
.mission-configurator {
  margin-bottom: 28px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(190, 220, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mission-config-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.mission-config-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mission-scope-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #000000;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.mission-scope-btn:hover {
  color: var(--ink);
  border-color: var(--line-hover);
}
.mission-scope-btn[aria-pressed="true"] {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
}
.card.package.is-recommended {
  border-color: #ffffff;
  box-shadow: 0 0 32px rgba(185, 220, 255, 0.16);
  transform: translateY(-3px);
}
.card.package {
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* 7. Telemetry HUD Mode Toggle & Overlays */
.hud-btn {
  height: 36px;
  padding: 0 11px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  direction: ltr;
}
.hud-btn:hover {
  color: var(--ink);
  border-color: var(--line-hover);
}
.hud-btn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.2s var(--ease);
}
html.hud-on .hud-btn {
  border-color: rgba(190, 220, 255, 0.65);
  color: #ffffff;
  background: rgba(180, 215, 255, 0.1);
}
html.hud-on .hud-btn-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}
.hud-telemetry-tag {
  display: none;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: rgba(185, 220, 255, 0.65);
  padding: 3px 8px;
  border: 1px solid rgba(185, 220, 255, 0.2);
  border-radius: 4px;
  background: rgba(6, 10, 16, 0.85);
  position: absolute;
  top: 14px;
  inset-inline-start: 16px;
  pointer-events: none;
  direction: ltr;
  z-index: 4;
}
html.hud-on .hud-telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html.hud-on #orbital-backdrop {
  background:
    radial-gradient(125% 55% at 50% -6%, rgba(145, 195, 255, 0.14) 0%, rgba(18, 28, 48, 0.06) 44%, rgba(0, 0, 0, 0) 76%),
    linear-gradient(rgba(185, 220, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 220, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .hero-center { order: -1; }
  .hero-right { justify-self: stretch; max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .d-stage { grid-template-columns: 1fr; }
  .d-cols { display: flex; flex-direction: column; gap: 20px; }
  .flow-track-compact { grid-template-columns: repeat(2, 1fr); }
  .live-control-grid, .audience-details-grid, .trust-strip, .support-grid, .contact-grid, .horizon-metrics-grid { grid-template-columns: 1fr; }
  .trajectory-rail { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 108px; }
  .hero-right { grid-template-columns: 1fr; }
  .flow-track-compact, .dashboard-mini-grid { grid-template-columns: 1fr; }
  .brand svg.lockup { width: 128px; }
  .page-hero .hero-art { display: none; }
  .audience-panel { padding: 20px; }
  .hud-btn span:last-child { display: none; }
}
