/* R-AI Creative OS — Premium Design System & Stylesheet */

:root {
  color-scheme: dark;
  --ink: #f3f4f6;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --night: #030712;
  --navy: #0b0f19;
  --panel: rgba(15, 23, 42, 0.65);
  --panel-2: rgba(30, 41, 59, 0.45);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue: #468ffe;
  --blue-2: #2563eb;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --gold: #fbbf24;
  --green: #10b981;
  --danger: #ef4444;
  --shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  --radius: 16px;
  --font: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(70, 143, 254, 0.12), transparent 45rem),
    radial-gradient(circle at 80% 60%, rgba(139, 92, 246, 0.06), transparent 40rem),
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.05), transparent 35rem),
    var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Base grid mesh */
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .25;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 100px 0; }

.skip-link {
  position: fixed;
  z-index: 999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  translate: 0 -150%;
  border-radius: 10px;
  padding: 10px 16px;
  background: #fff;
  color: #071124;
  font-weight: 800;
  transition: translate 0.25s ease;
}
.skip-link:focus { translate: 0; }

/* Sticky Header with Glassmorphism */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(3, 7, 18, 0.75);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(70, 143, 254, 0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, #468ffe, #2563eb);
  box-shadow: 0 0 20px rgba(70, 143, 254, 0.25), inset 0 1px rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 800;
}
.brand-mark span { position: relative; z-index: 1; font-size: 18px; }
.brand-mark i {
  position: absolute;
  width: 24px;
  height: 5px;
  inset-block-end: -1px;
  inset-inline-start: 3px;
  rotate: -28deg;
  border-radius: 99px;
  background: var(--gold);
}
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: 15px; letter-spacing: .04em; font-weight: 800; color: #fff; }
.brand-copy small { color: var(--muted); font: 700 8px/1.4 var(--font); letter-spacing: .16em; opacity: 0.8; }

.main-nav { display: flex; align-items: center; gap: 30px; color: #94a3b8; font-size: 13px; font-weight: 600; }
.main-nav a { position: relative; padding: 10px 0; transition: color .2s ease; }
.main-nav a::after {
  position: absolute;
  inset: auto 0 1px;
  height: 2px;
  content: "";
  scale: 0 1;
  border-radius: 99px;
  background: var(--blue);
  transition: scale .25s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
}
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { scale: 1 1; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-button, .menu-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-radius: 12px;
  padding: 6px 14px;
  font: 700 11px/1 var(--font);
}
.language-button:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.menu-button { display: none; width: 44px; height: 44px; place-content: center; gap: 6px; border-radius: 12px; }
.menu-button span { width: 18px; height: 2px; display: block; border-radius: 99px; background: currentColor; transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Floating Vertical Map / Journey Rail */
.journey-rail {
  position: fixed;
  z-index: 90;
  inset-block-start: 50%;
  inset-inline-start: 24px;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  translate: 0 -50%;
  border: 1px solid rgba(255,255,255, 0.06);
  border-radius: 20px;
  padding: 15px 8px;
  background: rgba(11, 15, 25, 0.7);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s ease;
}
.journey-rail:hover {
  border-color: rgba(70, 143, 254, 0.2);
}
.journey-rail::before {
  position: absolute;
  z-index: -1;
  width: 1px;
  inset-block: 47px 18px;
  content: "";
  background: linear-gradient(var(--violet), rgba(255,255,255, 0.05));
}
.journey-rail > small {
  margin-bottom: 5px;
  color: #64748b;
  font: 800 7px/1 var(--font);
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}
.journey-rail a {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  transition: all .25s ease;
}
.journey-rail a b { font: 800 9px/1 var(--font); }
.journey-rail a span {
  position: absolute;
  inset-inline-start: 48px;
  min-width: max-content;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(11, 15, 25, 0.95);
  color: #f3f4f6;
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
  translate: 6px 0;
  transition: opacity .2s ease, translate .2s ease, visibility .2s;
}
.journey-rail a:hover span, .journey-rail a:focus-visible span { visibility: visible; opacity: 1; translate: 0; }
.journey-rail a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}
.journey-rail a[aria-current="step"] {
  border-color: rgba(70, 143, 254, 0.5);
  background: linear-gradient(135deg, rgba(70, 143, 254, 0.25), rgba(139, 92, 246, 0.15));
  box-shadow: 0 0 15px rgba(70, 143, 254, 0.2);
  color: #fff;
}

/* Premium Buttons */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 22px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(70, 143, 254, .5);
  outline-offset: 3px;
}
.button-small { min-height: 44px; border-radius: 10px; padding: 8px 16px; font-size: 11px; }

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 8px 24px rgba(70, 143, 254, 0.25), inset 0 1px rgba(255,255,255,.2);
  color: #fff;
}
.button-primary:hover {
  box-shadow: 0 12px 32px rgba(70, 143, 254, 0.35);
  background: linear-gradient(135deg, #5b9dff, #996eff);
}
.button-secondary, .button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255,255,255,.03);
  color: #f3f4f6;
}
.button-secondary:hover, .button-ghost:hover {
  border-color: rgba(70, 143, 254, 0.4);
  background: rgba(70, 143, 254, 0.08);
  box-shadow: 0 0 15px rgba(70, 143, 254, 0.1);
}

/* Hero Section */
.hero { position: relative; overflow: hidden; min-height: 0; padding: 140px 0 60px; border-bottom: 1px solid var(--line); }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(to bottom, rgba(3, 7, 18, 0.1), var(--night)); }

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}
.hero-glow { position: absolute; z-index: -1; width: 600px; height: 600px; filter: blur(60px); border-radius: 50%; opacity: .12; }
.hero-glow-blue {
  inset-block-start: -15%;
  inset-inline-end: 5%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  animation: float-glow 14s infinite ease-in-out;
}
.hero-glow-gold {
  inset-block-start: 35%;
  inset-inline-start: -10%;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  animation: float-glow 18s infinite ease-in-out alternate;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr); align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 2; }

.status-pill, .eyebrow, .proof-type { letter-spacing: .05em; text-transform: uppercase; }
.status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(16, 185, 129, .2);
  border-radius: 99px;
  padding: 7px 14px;
  background: rgba(16, 185, 129, .06);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 700;
}
.status-pill span, .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .15), 0 0 12px var(--green);
}
.status-pill b { font-weight: 800; }

.hero h1 {
  max-width: 690px;
  margin: 22px 0 18px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.15;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[dir="rtl"] .hero h1 { letter-spacing: 0; }
.hero-lead { max-width: 620px; margin: 0; color: #94a3b8; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-note { display: flex; align-items: flex-start; gap: 7px; margin: 12px 2px 0; color: var(--muted-2); font-size: 11px; }
.cta-note > span:first-child { color: var(--gold); font-size: 8px; line-height: 2.2; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks li > span:first-child { color: var(--green); }

/* Command Center Pipeline Flowchart */
.command-flow-shell {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 1px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.command-flow-heading {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(11, 15, 25, 0.95));
}
.command-flow-heading small { color: var(--violet); font: 800 8px/1 var(--font); letter-spacing: .15em; }
.command-flow-heading b { color: #e2e8f0; font-size: 11px; font-weight: 700; line-height: 1.6; }

.command-flow {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(8px);
}
.command-flow li {
  position: relative;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 18px;
  border-inline-end: 1px solid var(--line);
  transition: background 0.3s ease;
}
.command-flow li:hover {
  background: rgba(255,255,255,0.02);
}
.command-flow li:last-child { border: 0; }
.command-flow li::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -4px;
  width: 7px;
  height: 7px;
  translate: 0 -50%;
  rotate: 45deg;
  border-block-start: 1px solid rgba(255,255,255,0.12);
  border-inline-end: 1px solid rgba(255,255,255,0.12);
  background: #0d1220;
  content: "";
  z-index: 2;
}
.command-flow li:last-child::after { display: none; }
.command-flow span { color: #a78bfa; font: 800 8px/1 var(--font); }
.command-flow b { color: #cbd5e1; font-size: 11px; font-weight: 600; line-height: 1.4; }

/* Product Interface Mock */
.hero-product { position: relative; min-width: 0; perspective: 1200px; }
.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(11, 15, 25, 0.85);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
  backdrop-filter: blur(12px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-window:hover {
  transform: rotateY(0) rotateX(0);
}
[dir="rtl"] .product-window { transform: rotateY(3deg) rotateX(1deg); }
[dir="rtl"] .product-window:hover { transform: rotateY(0) rotateX(0); }

.product-window::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(70, 143, 254, 0.08), transparent 40%);
}
.window-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 25, 0.9);
}
.window-brand, .window-status, .ai-row, .artifact-head, .artifact-meta, .receipt-card, .proof-source { display: flex; align-items: center; }
.window-brand { gap: 9px; color: #f3f4f6; font-size: 12px; font-weight: 700; }
.mini-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.window-status { gap: 8px; color: var(--muted); font-size: 10px; }
.window-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.workspace-mini { min-height: 480px; display: grid; grid-template-columns: 66px minmax(0, 1fr); }
.agent-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 10px;
  border-inline-end: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.4);
}
.agent-rail span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font: 700 10px/1 var(--font);
  transition: all 0.2s ease;
}
.agent-rail .active {
  border-color: rgba(70, 143, 254, 0.4);
  background: rgba(70, 143, 254, 0.12);
  color: #fff;
  box-shadow: 0 4px 12px rgba(70, 143, 254, 0.15);
}

.chat-demo {
  position: relative;
  min-width: 0;
  padding: 24px;
  background-image: radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 16px 16px;
}
.chat-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 10px; font-weight: 700; }
.chat-label b { color: var(--gold); font: 800 8px/1 var(--font); letter-spacing: .12em; }

.chat-bubble { max-width: 85%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 15px; font-size: 12px; line-height: 1.6; }
.user-bubble {
  margin-block: 24px 18px;
  margin-inline-start: auto;
  border-color: rgba(70, 143, 254, 0.25);
  border-end-end-radius: 4px;
  background: rgba(70, 143, 254, 0.1);
  color: #fff;
}
.ai-bubble {
  border-end-start-radius: 4px;
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
}
.ai-row { gap: 8px; margin-bottom: 8px; color: #fff; }
.ai-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  font: 800 9px/1 var(--font);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.ai-row strong { font-size: 11px; font-weight: 700; }
.ai-bubble p { margin: 0; }

.evidence-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.evidence-chips span {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 99px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
  font-size: 9px;
  font-weight: 600;
}
.evidence-chips i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

/* Artifact Preview Card inside Chat */
.artifact-card {
  width: 90%;
  margin: 18px 0 0 auto;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(11, 15, 25, 0.95));
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}
[dir="rtl"] .artifact-card { margin: 18px auto 0 0; }
.artifact-head { gap: 9px; }
.artifact-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-size: 11px;
}
.artifact-head div { min-width: 0; display: grid; }
.artifact-head small { color: var(--muted); font-size: 8px; }
.artifact-head strong { overflow: hidden; color: #fff; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ready-badge {
  margin-inline-start: auto;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 99px;
  padding: 4px 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}
.scene-line { height: 60px; display: flex; align-items: stretch; gap: 4px; margin: 12px 0; overflow: hidden; border-radius: 8px; background: rgba(0,0,0,0.3); }
.scene-line span { position: relative; width: var(--w); background: linear-gradient(150deg, #173875, #0b1b39); }
.scene-line span::after { position: absolute; inset: auto 6px 7px; height: 3px; content: ""; border-radius: 99px; background: rgba(255,255,255,.15); }
.scene-line span:nth-child(2) { background: linear-gradient(150deg, #2a518f, #0c2348); }
.scene-line span:nth-child(3) { background: linear-gradient(150deg, #6d5624, #261d0b); }
.artifact-meta { gap: 15px; color: var(--muted); font-size: 8px; }
.artifact-meta span { display: flex; gap: 3px; }
.artifact-meta b { color: #fff; }
.artifact-meta i { font-style: normal; }
.artifact-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 11px; }
.artifact-actions span { border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; color: var(--muted); font-size: 8px; cursor: pointer; transition: all 0.2s ease; }
.artifact-actions span:hover { border-color: rgba(255,255,255,0.15); color: #fff; }
.artifact-actions .primary { border-color: transparent; background: var(--blue); color: #fff; }
.artifact-actions .primary:hover { background: var(--blue-2); }

/* Receipt Notification Badge */
.receipt-card {
  position: absolute;
  inset-block-end: -28px;
  inset-inline-end: -20px;
  width: min(350px, 78%);
  gap: 12px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.receipt-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold);
}
.receipt-card div { min-width: 0; display: grid; line-height: 1.35; }
.receipt-card small { color: var(--gold); font: 800 8px/1 var(--font); letter-spacing: .08em; }
.receipt-card strong { overflow: hidden; color: #fff; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.receipt-check {
  width: 24px;
  height: 24px;
  display: grid;
  margin-inline-start: auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

/* Proof indicators strip */
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; align-items: stretch; margin-top: 24px; border-block: 1px solid var(--line); }
.proof-strip > div { min-height: 92px; display: grid; align-content: center; gap: 2px; padding: 18px 24px; border-inline-end: 1px solid var(--line); }
.proof-strip strong { color: #fff; font: 700 28px/1.1 var(--font); letter-spacing: -.03em; }
.proof-strip div span { color: var(--muted); font-size: 10px; }
.proof-strip p { display: flex; align-items: center; gap: 9px; margin: 0; padding: 20px 24px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.proof-strip p > span:first-child { color: var(--gold); font-size: 18px; }

/* Headings & Section structures */
.section-heading .eyebrow, .eyebrow, .proof-type { display: inline-flex; align-items: center; gap: 8px; color: #a5b4fc; font-size: 11px; font-weight: 700; }
.eyebrow::before, .proof-type::before { width: 20px; height: 1px; content: ""; background: currentColor; }
.section-heading h2, .walkthrough-copy h2, .trust-copy h2, .pilot-copy h2 {
  margin: 13px 0 0;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.2;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[dir="rtl"] .section-heading h2, [dir="rtl"] .walkthrough-copy h2, [dir="rtl"] .trust-copy h2, [dir="rtl"] .pilot-copy h2 { letter-spacing: 0; }
.section-heading > p, .walkthrough-copy > p, .trust-copy > p, .pilot-copy > p { color: var(--muted); line-height: 1.9; font-size: 15px; }

.centered { max-width: 760px; margin-inline: auto; text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow::after { width: 20px; height: 1px; content: ""; background: currentColor; }
.centered > p { max-width: 680px; margin: 18px auto 0; }
.narrow { max-width: 790px; }

/* Problem Section */
.problem-section { padding: 80px 0; background: rgba(3, 7, 18, 0.4); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 8vw; }
.problem-copy > p { max-width: 610px; margin: 0; color: #94a3b8; font-size: 17px; line-height: 1.9; }
.fragment-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fragment-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font: 700 10px/1 var(--font);
  transition: all 0.25s ease;
}
.fragment-row span:hover {
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.fragment-row span:nth-child(2) { rotate: 2deg; }
.fragment-row span:nth-child(3) { color: #a5b4fc; rotate: -2deg; border-color: rgba(165,180,252,0.15); }

/* Workflow Section & Premium Cards */
.workflow-section { background: rgba(3, 7, 18, 0.2); border-bottom: 1px solid var(--line); }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.workflow-grid li {
  position: relative;
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.workflow-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 143, 254, 0.35);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 15px 30px -10px rgba(70, 143, 254, 0.15);
}
.step-number {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-end: 24px;
  color: rgba(255,255,255, 0.12);
  font: 800 13px/1 var(--font);
}
.step-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70,143,255,.2);
  border-radius: 10px;
  background: rgba(70,143,255,.06);
  color: #89a8ff;
  font: 800 18px/1 var(--font);
}
.workflow-grid h3 { margin: 24px 0 10px; font-size: 18px; font-weight: 700; color: #fff; }
.workflow-grid p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Product Walkthrough Walkthrough */
.walkthrough-section { overflow: hidden; background: rgba(3, 7, 18, 0.4); border-bottom: 1px solid var(--line); }
.walkthrough-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 7vw; }
.walkthrough-copy > p { margin: 19px 0 0; font-size: 15px; }

.tour-tabs { display: grid; gap: 8px; margin-top: 30px; }
.tour-tabs button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255, 0.04);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255, 0.01);
  color: var(--muted);
  cursor: pointer;
  text-align: start;
  transition: all .25s ease;
}
.tour-tabs button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  font: 800 10px/1 var(--font);
  transition: all 0.25s ease;
}
.tour-tabs button b { font-size: 13px; font-weight: 700; }
.tour-tabs button:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.tour-tabs button[aria-selected="true"] {
  border-color: rgba(70, 143, 254, 0.35);
  background: rgba(70, 143, 254, 0.08);
  color: #fff;
}
.tour-tabs button[aria-selected="true"] span {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(70,143,254,.3);
}

/* Walkthrough Display Screen Console */
.tour-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.7), rgba(8, 12, 22, 0.9) 70%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.tour-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.015) .8px, transparent .8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.tour-stage-top, .tour-stage-top > span, .tour-receipt, .tour-receipt > span { position: relative; display: flex; align-items: center; }
.tour-stage-top { justify-content: space-between; gap: 18px; color: var(--muted); font-size: 10px; font-weight: 600; }
.tour-stage-top > span { gap: 7px; color: #34d399; font: 800 8px/1 var(--font); letter-spacing: .12em; }
.tour-stage-top i, .tour-receipt i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.tour-command {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 28px 0 20px;
  border: 1px solid rgba(70, 143, 254, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(70, 143, 254, 0.06);
  backdrop-filter: blur(4px);
}
.tour-command > span {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: rgba(70, 143, 254, 0.15);
  color: #89a8ff;
  font-size: 11px;
}
.tour-command p { margin: 0; color: #fff; font-size: 13px; font-weight: 700; }

.tour-result {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: rgba(3, 7, 18, 0.4);
}
.tour-result-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 8px 20px rgba(70, 143, 254, 0.25);
  color: #fff;
  font: 800 13px/1 var(--font);
}
.tour-result small { color: var(--muted); font: 800 8px/1.4 var(--font); letter-spacing: .12em; }
.tour-result h3 { margin: 8px 0; font-size: 18px; font-weight: 700; color: #fff; }
.tour-result p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.tour-receipt {
  position: relative;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 20px 4px 0;
  color: var(--muted);
  font-size: 10px;
}
.tour-receipt > span { gap: 7px; color: #94a3b8; }

/* Delivery Section */
.delivery-section { background: rgba(3, 7, 18, 0.2); border-bottom: 1px solid var(--line); }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 8vw; }
.split-heading > p { margin: 0; font-size: 15px; }

.delivery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 55px; }
.delivery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.delivery-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.delivery-card.available {
  border-top: 4px solid var(--green);
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.03), rgba(15, 23, 42, 0.45));
}
.delivery-card.rollout {
  border-top: 4px solid var(--blue);
  background: linear-gradient(160deg, rgba(70, 143, 254, 0.03), rgba(15, 23, 42, 0.45));
}
.delivery-card-head { display: flex; align-items: center; gap: 13px; min-height: 58px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.delivery-card-head .live-dot { flex: 0 0 auto; }
.rollout-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(70, 143, 254, 0.1);
  color: #7298ff;
}
.delivery-card-head div { display: grid; }
.delivery-card-head small { color: var(--muted); font: 800 8px/1.4 var(--font); letter-spacing: .1em; }

.delivery-card.available .delivery-card-head small { color: #34d399; }
.delivery-card-head h3 { margin: 3px 0 0; font-size: 20px; font-weight: 700; color: #fff; }
.delivery-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.delivery-card li { display: grid; grid-template-columns: 31px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.delivery-card li:last-child { border: 0; padding-bottom: 0; }
.delivery-card li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--green);
  font: 800 9px/1 var(--font);
}
.delivery-card.rollout li > span {
  border-color: rgba(70, 143, 254, 0.2);
  background: rgba(70, 143, 254, 0.08);
  color: #7298ff;
}
.delivery-card li div { min-width: 0; }
.delivery-card li b { display: block; color: #fff; font-size: 13px; font-weight: 600; }
.delivery-card li p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

/* Case Study Engineering Board */
.case-section { overflow: hidden; background: rgba(3, 7, 18, 0.4); border-bottom: 1px solid var(--line); }
.case-section::before {
  position: absolute;
  width: 600px;
  height: 600px;
  inset-block-start: -250px;
  inset-inline-start: -250px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.05), transparent 70%);
}
.case-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 8vw; }
.case-heading h2 {
  margin: 13px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.case-board { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; margin-top: 40px; }
.case-brief, .case-flow > article, .case-receipt {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}
.case-brief { min-height: 270px; display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.case-card-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; }
.case-card-label span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(70, 143, 254, 0.1);
  color: #7298ff;
  font: 800 8px/1 var(--font);
}
.case-card-label b { font-weight: 800; }
.case-brief blockquote { margin: 24px 0; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.8; }
.case-constraints { display: flex; flex-wrap: wrap; gap: 7px; }
.case-constraints span {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 99px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  font-size: 9px;
  font-weight: 600;
}
.case-constraints i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.case-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.case-flow > article { min-height: 270px; padding: 26px; }
.case-flow h3 { margin: 24px 0 16px; font-size: 18px; font-weight: 700; color: #fff; }
.case-flow ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.case-flow li {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(3, 7, 18, 0.35);
  color: #cbd5e1;
  font-size: 10px;
}
.case-flow li span { color: var(--muted-2); font: 800 8px/1 var(--font); }
.case-arrow { color: #475569; font-size: 20px; transition: color 0.3s ease; }
.case-flow:hover .case-arrow { color: var(--blue); }
[dir="ltr"] .case-arrow { transform: scaleX(-1); }

.case-timeline { height: 72px; display: flex; align-items: stretch; gap: 3px; overflow: hidden; border-radius: 8px; background: rgba(0,0,0,0.3); }
.case-timeline i { flex: 1; background: linear-gradient(150deg, #17407f, #0d2145); }
.case-timeline i:focus { outline: none; }
.case-timeline i:nth-child(2), .case-timeline i:nth-child(6) { background: linear-gradient(150deg, #2b5595, #10284e); }
.case-timeline i:nth-child(3), .case-timeline i:nth-child(7) { background: linear-gradient(150deg, #6b5628, #2a210d); }
.case-timeline i:last-child { background: linear-gradient(150deg, #1f745a, #0d3027); }
.case-flow article > p { margin: 15px 0 0; color: var(--muted); font-size: 9px; line-height: 1.8; }

.case-receipt { grid-column: 1 / -1; padding: 28px; }
.case-receipt-head, .case-receipt-head > div, .receipt-state { display: flex; align-items: center; }
.case-receipt-head { justify-content: space-between; gap: 18px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.case-receipt-head > div { align-items: flex-start; flex-direction: column; }
.case-receipt-head small { color: var(--muted); font: 800 8px/1.5 var(--font); letter-spacing: .12em; }
.case-receipt-head h3 { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: #fff; }
.receipt-state {
  gap: 7px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 99px;
  padding: 7px 14px;
  background: rgba(251, 191, 36, 0.08);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
}
.receipt-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 13px var(--gold); }

.case-metrics { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-metrics > div { min-height: 80px; display: grid; align-content: center; gap: 3px; padding: 16px 20px; border-inline-end: 1px solid var(--line); background: rgba(3, 7, 18, 0.2); }
.case-metrics > div:last-child { border: 0; }
.case-metrics strong { color: #fff; font: 700 28px/1.1 var(--font); }
.case-metrics span { color: var(--muted); font-size: 9px; font-weight: 600; }

.quality-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 12px; }
.quality-grid > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(16, 185, 129, 0.05);
}
.quality-grid > div:last-child { border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.04); }
.quality-grid span { display: grid; }
.quality-grid b { color: #e2e8f0; font-size: 11px; font-weight: 600; }
.quality-grid span small { color: var(--muted); font: 700 7px/1.6 var(--font); letter-spacing: .08em; }
.quality-grid > div > strong { color: #34d399; font: 700 28px/1 var(--font); }
.quality-grid > div:last-child > strong { color: var(--gold); }
.quality-grid strong small { color: inherit; font-size: 10px; }

.case-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  background: rgba(251, 191, 36, 0.04);
}
.case-warning > span {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold);
  font-weight: 800;
}
.case-warning p { display: grid; margin: 0; }
.case-warning b { color: #f59e0b; font-size: 11px; font-weight: 600; }
.case-warning small { color: var(--muted); font-size: 9px; }
.case-disclosure { display: flex; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.case-disclosure > span:first-child { flex: 0 0 auto; color: var(--gold); }

/* Evidence & Product Proof */
.evidence-section { overflow: hidden; background: rgba(3, 7, 18, 0.2); border-bottom: 1px solid var(--line); }
.evidence-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 44px; }

.product-proof {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.7), rgba(8, 12, 22, 0.9));
  box-shadow: var(--shadow);
}
.product-proof-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.proof-type { color: var(--gold); font: 800 8px/1.5 var(--font); letter-spacing: .11em; }
.product-proof h3 { margin: 17px 0 13px; font-size: 26px; line-height: 1.4; font-weight: 700; color: #fff; }
.product-proof p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

.proof-source { gap: 10px; margin-top: 27px; border-top: 1px solid var(--line); padding-top: 19px; }
.proof-source > span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold);
}
.proof-source > span:last-child { min-width: 0; display: grid; }
.proof-source small { color: var(--muted-2); font-size: 9px; }
.proof-source b { overflow: hidden; color: #e2e8f0; font: 700 9px/1.5 var(--font); text-overflow: ellipsis; white-space: nowrap; }

.screen-frame {
  position: relative;
  align-self: end;
  width: 90%;
  height: 585px;
  margin-inline-start: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-block-end: 0;
  border-radius: 20px 20px 0 0;
  background: #0d1220;
  box-shadow: -20px 0 50px rgba(0,0,0,.45);
}
[dir="rtl"] .screen-frame { box-shadow: 20px 0 50px rgba(0,0,0,.45); }
.screen-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 8% center; opacity: 0.9; }
.screen-frame::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

.screen-glass {
  position: absolute;
  z-index: 2;
  inset: 14px 14px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 8px 12px;
  background: rgba(11, 15, 25, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  color: white;
  backdrop-filter: blur(10px);
}
.screen-glass span { font: 700 11px/1 var(--font); }
.screen-glass b { color: #34d399; font: 800 7px/1 var(--font); letter-spacing: .08em; }

.engineering-proof { display: grid; grid-template-rows: repeat(3, 1fr) auto; gap: 12px; }
.metric-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}
.metric-card::after {
  position: absolute;
  width: 110px;
  height: 110px;
  inset-block-start: -55px;
  inset-inline-end: -35px;
  content: "";
  border-radius: 50%;
  background: rgba(70, 143, 254, 0.06);
  pointer-events: none;
}
.metric-card > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.metric-card > div span { color: #fff; font: 700 28px/1.1 var(--font); letter-spacing: -.03em; }
.metric-card > div small { color: var(--muted); font: 700 8px/1 var(--font); }
.metric-card h3 { margin: 14px 0 5px; font-size: 14px; font-weight: 700; color: #fff; }
.metric-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.metric-card em {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-end: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #34d399;
  font: 800 7px/1 var(--font);
  letter-spacing: .08em;
}
.metric-card em i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

.evidence-note {
  display: flex;
  gap: 8px;
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.evidence-note > span:first-child { flex: 0 0 auto; color: var(--gold); }

/* Trust & Security Section */
.trust-section { background: rgba(3, 7, 18, 0.4); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 7vw; }
.trust-copy > p { margin: 18px 0; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(70,143,255,.45);
  padding-bottom: 3px;
  color: #8dadff;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.text-link:hover {
  color: #fff;
  border-color: #fff;
}

.trust-cards { display: grid; gap: 12px; }
.trust-cards article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}
.trust-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(70, 143, 254, 0.08);
  color: #7b9cff;
  font: 800 10px/1 var(--font);
  border: 1px solid rgba(70, 143, 254, 0.15);
}
.trust-cards h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #fff; }
.trust-cards p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* Pilot Builder Section */
.fit-section { overflow: hidden; background: rgba(3, 7, 18, 0.2); border-bottom: 1px solid var(--line); }
.fit-section::after {
  position: absolute;
  width: 600px;
  height: 600px;
  inset-block-end: -250px;
  inset-inline-end: -250px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 143, 254, 0.06), transparent 70%);
}
.fit-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 6vw; }
.fit-copy, .fit-builder { position: relative; z-index: 2; }
.fit-copy h2 { margin: 13px 0 0; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.25; letter-spacing: -.03em; }
.fit-copy > p { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.fit-privacy { display: flex; align-items: center; gap: 11px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.fit-privacy > span {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}
.fit-privacy p { display: grid; margin: 0; }
.fit-privacy b { color: #e2e8f0; font-size: 11px; font-weight: 600; }
.fit-privacy small { color: var(--muted-2); font-size: 9px; }

.fit-builder {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.6), rgba(8, 12, 22, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.fit-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px; border-bottom: 1px solid var(--line); background: rgba(3, 7, 18, 0.35); }
.fit-controls label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 700; }
.fit-controls select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #0a0f1d;
  color: #fff;
  cursor: pointer;
  font: 700 11px/1.2 var(--font);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fit-controls select:focus { border-color: rgba(70, 143, 254, 0.5); box-shadow: 0 0 0 3px rgba(70, 143, 254, 0.15); }
.fit-build-button { grid-column: 1 / -1; min-height: 44px; margin-top: 2px; }

.fit-result { padding: 28px; }
.fit-result.updated { animation: fit-result-pulse .4s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fit-result-pulse { 0% { background: rgba(70, 143, 254, 0.15); } 100% { background: transparent; } }

.fit-result-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 700; }
.fit-result-head > span { display: flex; align-items: center; gap: 7px; color: #34d399; }
.fit-result-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.fit-result-head small { color: var(--muted-2); font: 700 8px/1 var(--font); }

.fit-result h3 { margin: 21px 0 6px; font-size: 20px; font-weight: 700; color: #fff; }
.fit-result > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.fit-plan { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fit-plan li {
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(3, 7, 18, 0.2);
}
.fit-plan li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(70, 143, 254, 0.08);
  color: #7598f6;
  font: 800 8px/1 var(--font);
}
.fit-plan p { display: grid; margin: 0; }
.fit-plan b { color: #fff; font-size: 10px; font-weight: 700; }
.fit-plan small { color: var(--muted); font-size: 9px; line-height: 1.7; }

.fit-result .fit-disclosure { display: flex; gap: 7px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted-2); font-size: 9px; }
.fit-disclosure > span:first-child { flex: 0 0 auto; color: var(--gold); }

/* Bottom Call To Action Section */
.pilot-section { padding-top: 60px; background: var(--night); }
.pilot-card {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 7vw;
  overflow: hidden;
  border: 1px solid rgba(70, 143, 254, 0.25);
  border-radius: 28px;
  padding: clamp(34px, 5vw, 60px);
  background: linear-gradient(135deg, rgba(70, 143, 254, 0.1), rgba(139, 92, 246, 0.08) 58%, rgba(6, 182, 212, 0.05));
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
}
.pilot-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.015) .8px, transparent .8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
[dir="rtl"] .pilot-card::after { mask-image: linear-gradient(-90deg, #000, transparent 70%); }
.pilot-copy, .pilot-list { position: relative; z-index: 2; }
.pilot-copy > p { max-width: 650px; margin: 17px 0 0; font-size: 15px; color: var(--muted); }

.pilot-list { display: grid; gap: 10px; }
.pilot-list > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  background: rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(8px);
}
.pilot-list > div > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(70, 143, 254, 0.12);
  color: #89a8ff;
  font: 800 10px/1 var(--font);
}
.pilot-list p { display: grid; margin: 0; }
.pilot-list b { color: #fff; font-size: 12px; font-weight: 700; }
.pilot-list small { color: var(--muted); font-size: 10px; }

.pilot-orbit { position: absolute; z-index: 1; width: 510px; height: 510px; inset-block-start: -240px; inset-inline-end: -220px; border: 1px solid rgba(70, 143, 254, .1); border-radius: 50%; pointer-events: none; }
.pilot-orbit span { position: absolute; border: 1px solid rgba(70, 143, 254, .06); border-radius: 50%; }
.pilot-orbit span:nth-child(1) { inset: 52px; }
.pilot-orbit span:nth-child(2) { inset: 105px; }
.pilot-orbit span:nth-child(3) { width: 10px; height: 10px; inset-block-start: 207px; inset-inline-start: -5px; border: 0; background: var(--gold); box-shadow: 0 0 20px var(--gold); }

/* Site Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: #020617; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand > div { display: grid; }
.footer-brand strong { font: 800 13px/1.3 var(--font); color: #fff; }
.footer-brand small { color: var(--muted-2); font: 700 8px/1.5 var(--font); letter-spacing: .08em; }
.site-footer p { margin: 0; color: var(--muted-2); font-size: 11px; text-align: center; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: 11px; font-weight: 700; }
.footer-links a:hover { color: #fff; }

/* Scroll reveal framework */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(0.2, 0.8, 0.2, 1), transform .8s cubic-bezier(0.2, 0.8, 0.2, 1); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* Responsive Media Queries */
@media (max-width: 1040px) {
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
  .status-pill, .hero-actions, .hero-checks { justify-content: center; margin-inline: auto; }
  .cta-note { justify-content: center; }
  .hero-product { width: min(760px,100%); margin: 24px auto 0; }
  .command-flow-shell { grid-template-columns: 1fr; }
  .command-flow-heading { grid-template-columns: auto 1fr; align-items: center; }
  .product-window { transform: none; }
  [dir="rtl"] .product-window { transform: none; }
  .proof-strip { grid-template-columns: repeat(3,1fr); }
  .proof-strip p { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--line); text-align: center; }
  .walkthrough-grid, .trust-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-copy { max-width: 760px; }
  .walkthrough-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .walkthrough-copy .eyebrow, .walkthrough-copy h2, .walkthrough-copy > p { grid-column: 1; }
  .tour-tabs { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .evidence-layout { grid-template-columns: 1fr; }
  .engineering-proof { grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr auto; }
  .evidence-note { grid-column: 1 / -1; }
  .trust-copy { max-width: 720px; }
  .trust-cards { grid-template-columns: repeat(3,1fr); }
  .trust-cards article { grid-template-columns: 1fr; }
  .trust-icon { grid-row: auto; margin-bottom: 15px; }
  .workflow-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }
  .section { padding: 80px 0; }
  .header-login { display: none; }
  .menu-button { display: grid; }
  .main-nav {
    position: fixed;
    inset: 70px 16px auto;
    display: grid;
    gap: 2px;
    translate: 0 -12px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    background: rgba(11, 15, 25, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transition: opacity .2s ease, translate .2s ease, visibility .2s;
    z-index: 101;
  }
  .main-nav.open { translate: 0; visibility: visible; opacity: 1; }
  .main-nav a { border-radius: 8px; padding: 11px 13px; }
  .main-nav a:hover { background: rgba(255,255,255,0.04); }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero h1 { font-size: clamp(36px,8vw,52px); }
  .hero-lead { font-size: 14px; }
  .command-flow-shell { margin-top: 54px; }
  .command-flow { overflow-x: auto; grid-template-columns: repeat(5,minmax(112px,1fr)); scrollbar-width: thin; }
  .proof-strip { margin-top: 14px; }
  .problem-grid, .split-heading, .delivery-grid, .pilot-card { grid-template-columns: 1fr; }
  .case-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .case-board { grid-template-columns: 1fr; }
  .case-receipt { grid-column: auto; }
  .problem-grid { align-items: start; gap: 30px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .walkthrough-copy { display: block; }
  .tour-tabs { grid-template-columns: repeat(4,1fr); margin-top: 28px; }
  .tour-tabs button { justify-content: center; padding: 10px; }
  .tour-tabs button b { display: none; }
  .product-proof { grid-template-columns: 1fr; }
  .product-proof-copy { padding: 34px; }
  .screen-frame { width: calc(100% - 68px); height: 510px; margin-inline: 34px; }
  .engineering-proof { grid-template-columns: 1fr; grid-template-rows: none; }
  .evidence-note { grid-column: auto; }
  .trust-cards { grid-template-columns: 1fr; }
  .trust-cards article { grid-template-columns: 48px 1fr; }
  .fit-controls { grid-template-columns: 1fr; }
  .fit-build-button { grid-column: auto; }
  .trust-icon { grid-row: 1 / span 2; margin: 0; }
  .pilot-card { gap: 42px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; text-align: start; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 520px); }
  .site-header { height: 70px; }
  .brand-copy small { display: none; }
  .hero { padding: 100px 0 28px; }
  .hero-copy { text-align: start; }
  .status-pill, .hero-actions, .hero-checks { justify-content: flex-start; margin-inline: 0; }
  .cta-note { justify-content: flex-start; }
  .hero h1 { margin-top: 21px; font-size: 34px; line-height: 1.2; }
  .hero-lead { line-height: 1.8; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-checks { display: grid; gap: 9px; }
  .hero-product { margin-top: 6px; }
  .window-bar { height: 51px; padding: 0 12px; }
  .window-status { display: none; }
  .workspace-mini { min-height: 430px; grid-template-columns: 47px minmax(0,1fr); }
  .agent-rail { gap: 8px; padding: 14px 6px; }
  .agent-rail span { width: 28px; height: 28px; border-radius: 8px; font-size: 7px; }
  .chat-demo { padding: 14px; }
  .chat-bubble { max-width: 94%; font-size: 10px; }
  .evidence-chips { gap: 4px; }
  .evidence-chips span { font-size: 6px; }
  .artifact-card { width: 100%; }
  .ready-badge { display: none; }
  .receipt-card { inset-inline: 12px; inset-block-end: -50px; width: auto; }
  .command-flow-shell { margin-top: 76px; border-radius: 12px; }
  .command-flow-heading { display: grid; grid-template-columns: 1fr; padding: 14px 16px; }
  .command-flow li { min-height: 66px; padding: 11px 13px; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 14px; }
  .proof-strip > div { min-height: 73px; display: flex; align-items: center; justify-content: space-between; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .proof-strip p { grid-column: auto; text-align: start; }
  .section-heading h2, .walkthrough-copy h2, .trust-copy h2, .pilot-copy h2 { font-size: 30px; }
  .problem-copy > p { font-size: 14px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 230px; }
  .tour-stage { min-height: 475px; padding: 16px; }
  .tour-stage-top small { display: none; }
  .tour-command { margin-top: 25px; padding: 14px; }
  .tour-command p { font-size: 11px; }
  .tour-result { min-height: 245px; grid-template-columns: 1fr; padding: 22px; }
  .tour-result-icon { width: 48px; height: 48px; border-radius: 10px; }
  .tour-receipt { align-items: flex-start; }
  .tour-receipt small { max-width: 105px; text-align: end; }
  .delivery-card { padding: 22px; }
  .case-brief { min-height: 0; }
  .case-flow { grid-template-columns: 1fr; }
  .case-flow > article { min-height: 0; }
  .case-arrow { transform: rotate(-90deg); text-align: center; }
  [dir="ltr"] .case-arrow { transform: rotate(-90deg) scaleX(-1); }
  .case-receipt { padding: 22px; }
  .case-receipt-head { align-items: flex-start; flex-direction: column; }
  .case-metrics { grid-template-columns: repeat(2,1fr); }
  .case-metrics > div:nth-child(2) { border-inline-end: 0; }
  .case-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quality-grid { grid-template-columns: 1fr; }
  .product-proof { min-height: auto; }
  .product-proof-copy { padding: 27px; }
  .product-proof h3 { font-size: 22px; }
  .screen-frame { width: calc(100% - 36px); height: 460px; margin-inline: 18px; }
  .fit-builder { border-radius: 18px; }
  .fit-controls, .fit-result { padding: 18px; }
  .fit-plan { grid-template-columns: 1fr; }
  .pilot-card { width: calc(100% - 24px); min-height: 0; padding: 30px 22px; }
}

@media (max-width: 1380px) {
  .journey-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ═══ الثيم الفاتح (نظام pr-theme الموحّد) — تغطية توكنز + الأسطح الداكنة المثبتة ═══ */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #1c2442;
  --muted: #55628a;
  --muted-2: #6b7699;
  --night: #eef2fa;
  --navy: #ffffff;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-2: rgba(28, 36, 66, 0.05);
  --line: rgba(28, 36, 66, 0.12);
  --line-strong: rgba(28, 36, 66, 0.22);
  --gold: #b45309;
  --shadow: 0 25px 60px -15px rgba(28, 36, 66, 0.18);
}
:root[data-theme="light"] .journey-rail a { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .command-flow-heading { background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 250, 0.95)); }
:root[data-theme="light"] .command-flow li::after { background: #ffffff; }
:root[data-theme="light"] .ai-bubble { background: rgba(255, 255, 255, 0.9); }
:root[data-theme="light"] .receipt-card { background: rgba(255, 255, 255, 0.95); }
:root[data-theme="light"] .workflow-grid li { background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .workflow-grid li:hover { background: rgba(255, 255, 255, 0.95); }
:root[data-theme="light"] .tour-stage { background: linear-gradient(155deg, rgba(255, 255, 255, 0.85), rgba(238, 242, 250, 0.95) 70%); }
:root[data-theme="light"] .delivery-card { background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .delivery-card.available { background: linear-gradient(160deg, rgba(16, 185, 129, 0.05), rgba(255, 255, 255, 0.8)); }
:root[data-theme="light"] .delivery-card.rollout { background: linear-gradient(160deg, rgba(70, 143, 254, 0.05), rgba(255, 255, 255, 0.8)); }
:root[data-theme="light"] .case-brief, :root[data-theme="light"] .case-flow > article, :root[data-theme="light"] .case-receipt { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .product-proof { background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(238, 242, 250, 0.95)); }
:root[data-theme="light"] .metric-card { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .trust-cards article { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .fit-builder { background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(238, 242, 250, 0.95)); }
:root[data-theme="light"] .fit-controls select { background: #ffffff; color: var(--ink); }
:root[data-theme="light"] .site-footer { background: #e6ebf6; }
:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .hero-glow-blue, :root[data-theme="light"] .hero-glow-gold { opacity: 0.35; }
/* زر الثيم بجانب زر اللغة — نفس لغته البصرية */
.theme-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.theme-button:hover { border-color: var(--blue); color: var(--blue); }
.theme-button svg { width: 17px; height: 17px; }
.theme-button .ic-sun { display: none; }
:root[data-theme="light"] .theme-button .ic-sun { display: block; }
:root[data-theme="light"] .theme-button .ic-moon { display: none; }

/* الفاتح — جولة التباين: التدرجات النصية والأزرار والشارات التي كانت مضبوطة على الداكن */
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .section-heading h2, :root[data-theme="light"] .walkthrough-copy h2,
:root[data-theme="light"] .trust-copy h2, :root[data-theme="light"] .pilot-copy h2,
:root[data-theme="light"] .case-heading h2, :root[data-theme="light"] .fit-copy h2 {
  background: linear-gradient(135deg, #16204a 30%, #3455c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .hero-lead { color: var(--muted); }
:root[data-theme="light"] .button-secondary, :root[data-theme="light"] .button-ghost {
  border-color: rgba(28, 36, 66, 0.18);
  background: rgba(28, 36, 66, 0.04);
  color: var(--ink);
}
:root[data-theme="light"] .status-pill { border-color: rgba(14, 159, 110, 0.35); background: rgba(14, 159, 110, 0.08); color: #067a55; }
:root[data-theme="light"] .journey-rail a[aria-current="step"], :root[data-theme="light"] .journey-rail a:hover { color: var(--ink); }
:root[data-theme="light"] .cta-note { color: var(--muted-2); }

/* الفاتح v3 — النصوص البيضاء المثبتة على أسطح صارت فاتحة (نافذة المنتج الداكنة والخلفيات الملوّنة تبقى بيضاء النص) */
:root[data-theme="light"] :is(.command-flow-heading b, .workflow-grid h3, .tour-command p, .tour-result h3,
  .delivery-card-head h3, .delivery-card li b, .case-brief blockquote, .quality-grid b, .case-warning b,
  .product-proof h3, .proof-source b, .metric-card > div span, .metric-card h3, .trust-cards h3,
  .fit-privacy b, .fit-result h3, .fit-plan b, .pilot-list b, .footer-brand strong,
  .receipt-card strong, .proof-strip strong, .ai-row, .case-metrics strong, .case-receipt h3,
  .case-flow h3, .fit-result-head b) { color: var(--ink); }
:root[data-theme="light"] :is(.main-nav a:hover, .main-nav a:focus-visible, .footer-links a:hover,
  .fragment-row span:hover, .tour-tabs button:hover, .language-button, .menu-button,
  .delivery-card:hover) { color: var(--ink); }
:root[data-theme="light"] .site-header.scrolled { background: rgba(255, 255, 255, 0.92); }
:root[data-theme="light"] .journey-rail { background: rgba(255, 255, 255, 0.9); border-color: var(--line); }
:root[data-theme="light"] .journey-rail a span { color: var(--muted); }
:root[data-theme="light"] .journey-rail a:hover, :root[data-theme="light"] .journey-rail a[aria-current="step"] { color: var(--ink); }
:root[data-theme="light"] .case-flow li { background: rgba(28, 36, 66, 0.05); }
:root[data-theme="light"] .case-flow li b { color: var(--ink); }
:root[data-theme="light"] .case-metrics > div { background: rgba(28, 36, 66, 0.05); }
:root[data-theme="light"] .quality-grid > div { background: rgba(28, 36, 66, 0.04); }
:root[data-theme="light"] .eyebrow { color: var(--blue-2); }

/* ═══ دمج هوية Post Reels (أمر المالك: «الصفحة ليست من موقعنا») — توكنز + أورورا + كبسولة الهيدر ═══ */
:root {
  --night: #090f1e;
  --navy: #0d1526;
  --panel: rgba(21, 29, 50, 0.62);
  --panel-2: rgba(21, 29, 50, 0.4);
  --line: rgba(255, 255, 255, 0.09);
  --violet: #7c6cff;
}
/* أورورا وشبكة نقطية كطبقات جسدية — نفس روح ds.css بلا تعديل ماركب */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  filter: blur(90px) saturate(130%); opacity: .8;
  background:
    radial-gradient(42vw 42vw at 82% 6%, rgba(70, 143, 254, .4), transparent 65%),
    radial-gradient(38vw 38vw at 6% 72%, rgba(124, 108, 255, .3), transparent 65%),
    radial-gradient(26vw 26vw at 60% 88%, rgba(251, 191, 36, .12), transparent 70%);
  animation: pr-sol-aurora 18s ease-in-out infinite alternate;
}
@keyframes pr-sol-aurora { to { transform: translate3d(-4vw, 3vh, 0) scale(1.12); } }
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(150, 170, 220, .10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 30%, black 25%, transparent 80%);
}
:root[data-theme="light"] body::before { opacity: .45; }
:root[data-theme="light"] body::after { background-image: radial-gradient(rgba(28, 36, 66, .12) 1px, transparent 1.4px); }
/* الهيدر كبسولة عائمة — نفس كبسولة الموقع */
.site-header { background: transparent !important; border-bottom: 0 !important; box-shadow: none !important; }
.header-inner { margin-top: 12px; min-height: 58px; padding-inline: 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(21, 29, 50, 0.82);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 4px 14px rgba(3, 8, 22, 0.35); transition: border-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled .header-inner { border-color: rgba(70, 143, 254, 0.28); box-shadow: 0 18px 50px rgba(3, 8, 22, 0.5); }
:root[data-theme="light"] .header-inner { background: rgba(255, 255, 255, 0.92); border-color: rgba(28, 36, 66, 0.12); box-shadow: 0 4px 14px rgba(28, 36, 66, 0.08); }
.brand-mark { background: linear-gradient(140deg, var(--blue), var(--violet)) !important; box-shadow: 0 8px 26px rgba(70, 143, 254, 0.4); }
.main-nav a[aria-current="page"] { color: var(--blue); }

/* الفاتح v4 — الجولة الكاملة: أحزمة الأقسام والبقايا (نافذة المنتج وإطار الشاشة الحقيقية يبقيان داكنين عمداً) */
:root[data-theme="light"] .brand-copy strong { color: var(--ink); }
:root[data-theme="light"] .main-nav a { color: var(--muted); }
:root[data-theme="light"] :is(.problem-section, .walkthrough-section, .case-section) { background: rgba(28, 36, 66, 0.05); }
:root[data-theme="light"] :is(.workflow-section, .delivery-section, .evidence-section, .trust-section, .fit-section) { background: rgba(28, 36, 66, 0.025); }
:root[data-theme="light"] .tour-result { background: #f2f5fb; }
:root[data-theme="light"] .tour-tabs button { color: var(--muted); }
:root[data-theme="light"] .tour-tabs button:hover { color: var(--ink); }
:root[data-theme="light"] .tour-tabs button[aria-selected="true"],
:root[data-theme="light"] .tour-tabs button[aria-selected="true"] b { color: var(--ink); }
:root[data-theme="light"] .fit-controls { background: rgba(28, 36, 66, 0.04); }
:root[data-theme="light"] .fit-plan li { background: #ffffff; }
:root[data-theme="light"] .pilot-list > div { background: rgba(28, 36, 66, 0.04); }

/* الفاتح v5 — قائمة فاحص التباين الآلي (الخضراء والأزرق الفاتح والرمادية الباهتة) */
:root[data-theme="light"] :is(.hero-checks li, .hero-checks li span) { color: #3c4770; }
:root[data-theme="light"] .command-flow li { background: #ffffff; border-color: var(--line); }
:root[data-theme="light"] .problem-copy p, :root[data-theme="light"] .tour-receipt small,
:root[data-theme="light"] .journey-rail a b { color: var(--muted); }
:root[data-theme="light"] .fragment-row span { color: #4f46e5; }
:root[data-theme="light"] :is(.tour-stage-top > span, .status-pill b, .receipt-check,
  .available-label, .delivery-card.available small, .quality-grid strong, .case-metrics strong em,
  .hero-checks li > span:first-child) { color: #067a55; }
:root[data-theme="light"] .quality-grid > div:first-child strong { color: #067a55; }
:root[data-theme="light"] :is(.tour-command > span, .rollout-icon, .delivery-card.rollout li > span,
  .text-link, .text-link span) { color: #2f5fd0; }
:root[data-theme="light"] .metric-card em b { color: #067a55; }

/* طبقتا النمو الآلي — نسخة solution (html pseudos لأن body مشغول بالأورورا) */
/* ── 12ج. طبقتا «النمو الآلي» (طلب المالك): تفاعل اجتماعي يطفو + أتمتة تعمل — خلف كل شيء بنعومة.
   كل SVG هو بلاطة 480×640 تحمل أيقونة 24 وحدة بإزاحتها؛ الحلقة انزياح بلاطة كاملة = سلسة.
   الشدة عبر --fx. transform فقط. ── */
html::before, html::after {
  content: ""; position: fixed; inset: 0 0 auto; height: 200vh; z-index: -1; pointer-events: none;
  background-repeat: repeat; background-size: 480px 640px;
  will-change: transform;
}
/* طبقة التفاعل الاجتماعي: قلب أزرق · إعجاب بنفسجي · متابع أخضر · جرس كهرماني */
html::before {
  opacity: .16;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(42,74)' fill='none' stroke='rgb(70,143,254)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(356,214)' fill='none' stroke='rgb(124,108,255)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12'/%3E%3Cpath d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(148,382)' fill='none' stroke='rgb(52,211,153)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M22 11h-6'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(302,556)' fill='none' stroke='rgb(251,191,36)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/g%3E%3C/svg%3E");
  animation: sol-social-rise 64s linear infinite;
}
/* طبقة الأتمتة: بوت بنفسجي · منحنى نمو أزرق · صاروخ كهرماني · مشاركة خضراء — أبطأ */
html::after {
  opacity: .11;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(398,118)' fill='none' stroke='rgb(124,108,255)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M12 8V4'/%3E%3Ccircle cx='9' cy='13' r='1' fill='rgb(124,108,255)'/%3E%3Ccircle cx='15' cy='13' r='1' fill='rgb(124,108,255)'/%3E%3Cpath d='M2 14h2'/%3E%3Cpath d='M20 14h2'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(88,262)' fill='none' stroke='rgb(70,143,254)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7 13.5 15.5l-4-4L2 19'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(328,428)' fill='none' stroke='rgb(251,191,36)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 640'%3E%3Cg transform='translate(182,44)' fill='none' stroke='rgb(52,211,153)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4'/%3E%3Cpath d='m15.4 6.5-6.8 4'/%3E%3C/g%3E%3C/svg%3E");
  animation: sol-social-rise 96s linear infinite;
}
@keyframes sol-social-rise { to { transform: translate3d(0, -640px, 0); } }
@media (prefers-reduced-motion: reduce) { html::before, html::after { animation: none; } }

:root[data-theme="light"] html::before { opacity: .07; }
:root[data-theme="light"] html::after { opacity: .05; }

/* أداء الهواتف — نفس سياسة ds: الطبقات الثقيلة تُطفأ تحت 640px */
@media (max-width: 640px) {
  html::before, html::after { display: none; }           /* طبقتا النمو */
  body::after { animation: none; }                       /* الشبكة النقطية تثبت */
  body::before { animation-duration: 40s; }              /* الأورورا أهدأ */
}
