/* ═══════════════════════════════════════════════════════════════════════════
   iWilliam — Next-Gen Enterprise Design System
   "Intelligence meets infrastructure"
   Deep obsidian-cosmos base, electric cyan & indigo-violet photon accents
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --bg: #04060E;
  --bg-2: #070C1B;
  --navy: #0B132C;
  --surface: rgba(14, 22, 48, 0.52);
  --surface-2: rgba(24, 36, 74, 0.65);
  --surface-glass: rgba(10, 16, 36, 0.72);
  --line: rgba(148, 175, 255, 0.13);
  --line-2: rgba(148, 175, 255, 0.25);
  --line-glow: rgba(34, 211, 238, 0.45);
  --text: #F0F4FF;
  --muted: #A6B3D4;
  --dim: #7C8AA8;
  --cyan: #22D3EE;
  --cyan-2: #67E8F9;
  --indigo: #6366F1;
  --violet: #A855F7;
  --ok: #34D399;
  --warn: #FBBF24;
  --radius: 20px;
  --wrap: 1220px;
  --display: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html[lang="ar"] {
  --display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --body: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.mono { font-family: var(--mono); }
html[lang="ar"] .mono { font-family: var(--body); }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--cyan);
  color: #00131A;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* ── Ambient Backdrop & Interactive Constellation Canvas ── */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(65vmax 55vmax at 85% -8%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(55vmax 50vmax at -8% 24%, rgba(99, 102, 241, 0.13), transparent 62%),
    radial-gradient(50vmax 45vmax at 50% 95%, rgba(168, 85, 247, 0.09), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 175, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 175, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 35%, transparent 100%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: auraDrift 16s ease-in-out infinite alternate;
}
.bg-glow-1 { width: 480px; height: 480px; top: -120px; right: 8%; background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 70%); }
.bg-glow-2 { width: 520px; height: 520px; top: 38%; left: -140px; background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%); animation-delay: -7s; }
@keyframes auraDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -24px) scale(1.08); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #38BDF8 55%, var(--indigo) 100%);
  color: #020914;
  font-weight: 700;
  box-shadow: 0 10px 30px -4px rgba(34, 211, 238, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(34, 211, 238, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn-ghost {
  border-color: var(--line-2);
  background: rgba(15, 23, 48, 0.55);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--line-glow);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.88rem; border-radius: 12px; }
.btn .arrow {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-row.center { justify-content: center; }

/* ── Navigation & Animated Brand Logo ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(4, 7, 17, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 78px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex: none;
}
html[lang="ar"] .brand { font-family: "Space Grotesk", sans-serif; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  position: relative;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.25));
}
.brand-logo-svg { width: 100%; height: 100%; overflow: visible; }
.logo-w-pulse {
  animation: logoDash 2.6s linear infinite;
}
.logo-orb {
  animation: orbFloat 3s ease-in-out infinite;
}
.logo-orb-halo {
  transform-origin: 60px 35px;
  animation: orbHalo 2.6s ease-out infinite;
}
.logo-stem {
  animation: stemFloat 3s ease-in-out infinite;
}
.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.6));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-size: 1.36rem; color: var(--text); letter-spacing: -0.03em; }
.brand-name b {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--cyan) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--cyan-2);
  opacity: 0.88;
  margin-top: 2px;
  white-space: nowrap;
}
html[lang="ar"] .brand-sub { letter-spacing: 0.02em; }

@keyframes logoDash {
  from { stroke-dashoffset: 158; }
  to { stroke-dashoffset: 0; }
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}
@keyframes stemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes orbHalo {
  0% { transform: scale(0.85); opacity: 0.75; }
  100% { transform: scale(1.45); opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 175, 255, 0.08);
}
.nav-links a {
  padding: 7px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(34, 211, 238, 0.09);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-height: 42px;
  min-width: 54px;
  padding: 6px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(14, 22, 48, 0.5);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.lang:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Section ── */
.hero { padding: 64px 0 88px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-2);
  padding: 7px 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}
html[lang="ar"] .kicker { letter-spacing: 0; font-family: var(--body); }
.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
.kicker-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
html[lang="ar"] .kicker-tag { letter-spacing: 0; }
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.028em;
  line-height: 1.07;
  font-weight: 700;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  letter-spacing: 0;
  line-height: 1.28;
}
h1 {
  font-size: clamp(2.5rem, 4.7vw, 4rem);
  margin: 22px 0 20px;
}
h1 span { display: block; }
.accent { color: var(--cyan); }
.accent-grad {
  background: linear-gradient(125deg, #67E8F9 0%, #22D3EE 35%, #818CF8 75%, #C084FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 37rem;
  line-height: 1.68;
}

/* Hero Architectural Capability Pillars */
.hero-specs {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14, 22, 48, 0.42);
  border: 1px solid rgba(148, 175, 255, 0.1);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.spec-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-2px);
}
.spec-icon {
  color: var(--cyan);
  font-size: 1.1rem;
  line-height: 1.2;
}
.spec-item strong {
  display: block;
  font-size: 0.86rem;
  font-family: var(--display);
  color: var(--text);
}
.spec-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 2px;
}

/* ── Hero Visual & Interactive Reactor Scene ── */
.hero-visual { display: grid; gap: 14px; min-width: 0; }
.mode-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  border-radius: 16px;
  background: var(--surface-glass);
  border: 1px solid var(--line-2);
  justify-self: center;
  backdrop-filter: blur(12px);
}
.mode-switch button {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mode-switch button:hover { color: var(--text); }
.mode-switch button[aria-checked="true"] {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.18));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.45), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.scene-wrap {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 50% 44%, rgba(34, 211, 238, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(12, 21, 50, 0.78), rgba(5, 8, 20, 0.86));
  box-shadow: 0 32px 72px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.scene-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 18, 0.45);
  font-size: 0.73rem;
}
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--cyan-2);
  font-weight: 600;
}
html[lang="ar"] .hud-pill { font-family: var(--body); letter-spacing: 0; }
.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.hud-mono { color: var(--dim); letter-spacing: 0.08em; }

.scene { width: 100%; height: auto; --mode-a: var(--cyan); --mode-b: var(--violet); }
.scene[data-mode="cloud"] { --mode-a: #38BDF8; --mode-b: #22D3EE; }
.scene[data-mode="connected"] { --mode-a: var(--violet); --mode-b: var(--cyan); }
.scene[data-mode="logo"] { --mode-a: #22D3EE; --mode-b: #A855F7; }
.scene .layer { transition: transform 0.6s var(--ease); }
.scene .card { fill: #0B142E; stroke: var(--line-2); stroke-width: 1.3; }
.scene .bar { fill: rgba(160, 185, 255, 0.18); }
.scene .glyph { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .chip { fill: #0B142E; stroke: var(--line-2); }
.scene .led { fill: var(--ok); }
.scene .label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; fill: var(--dim); font-weight: 600; }
.scene .perimeter { fill: none; stroke: var(--line-2); stroke-width: 1.3; stroke-dasharray: 3 8; }
.scene .perimeter-outer { fill: none; stroke: rgba(168, 85, 247, 0.16); stroke-width: 1; }
.scene .link { fill: none; stroke: var(--line-2); stroke-width: 1.6; }
.scene .pulse { fill: var(--mode-a); filter: drop-shadow(0 0 6px var(--mode-a)); }
.scene .ring { fill: none; stroke: var(--mode-a); stroke-opacity: 0.38; }
.scene .ring-outer { stroke: var(--mode-b); stroke-opacity: 0.25; stroke-dasharray: 2 10; transform-origin: 290px 255px; animation: spinRev 42s linear infinite; }
.scene .ring-1 { stroke-dasharray: 12 8; transform-origin: 290px 255px; animation: spin 28s linear infinite; }
.scene .ring-2 { stroke-dasharray: 3 6; stroke-opacity: 0.6; transform-origin: 290px 255px; animation: spinRev 20s linear infinite; }
.scene .hex { filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55)); transition: transform 0.45s var(--ease); transform-origin: 290px 255px; }
.scene .hex-inner { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.2; }
.scene .core-w-flow { animation: coreFlow 2.4s linear infinite; }
.scene .core-orb-pulse { transform-origin: 290px 231px; animation: orbHalo 2.4s ease-out infinite; }
.scene[data-mode="logo"] .core { transform: scale(1.16); }
.scene .core { transform-origin: 290px 255px; transition: transform 0.5s var(--ease); cursor: pointer; }
.scene .core:hover { transform: scale(1.08); }

.scene .node, .scene .link, .scene .pulse { transition: opacity 0.45s var(--ease), stroke 0.45s, fill 0.45s; }
.scene .node:not(.is-on), .scene .link:not(.is-on), .scene .pulse:not(.is-on) { opacity: 0.24; }
.scene .link.is-on { stroke: var(--mode-a); stroke-opacity: 0.9; stroke-dasharray: 6 6; animation: flow 1.5s linear infinite; }
.scene .node.is-on .card, .scene .node.is-on .chip { stroke: var(--mode-a); fill: #0F1C3F; }
.scene .node.is-on .label { fill: var(--text); }
.scene .node.is-on .glyph { stroke: var(--mode-a); }
.scene .node.sec.is-on .perimeter { stroke: var(--mode-a); stroke-opacity: 0.7; }

@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes coreFlow { from { stroke-dashoffset: 136; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }

.scene-caption {
  padding: 16px 22px 18px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 20, 0.65);
  display: grid;
  gap: 4px;
  min-height: 94px;
}
.scene-caption strong { font-family: var(--display); font-size: 1.04rem; color: var(--cyan-2); }
.scene-caption span { color: var(--muted); font-size: 0.94rem; }

/* ── Sections ── */
.section { padding: 108px 0; position: relative; }
.section-tint {
  background: linear-gradient(180deg, transparent, rgba(11, 20, 48, 0.48) 18%, rgba(11, 20, 48, 0.48) 82%, transparent);
}
.section-head { max-width: 740px; margin-bottom: 48px; }
.eyebrow {
  color: var(--cyan-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
.sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; max-width: 44rem; }

/* ── Bento Architecture Grid (NEW) ── */
.section-bento { padding-top: 48px; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 26, 58, 0.65) 0%, rgba(7, 12, 28, 0.8) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 85% 15%, rgba(34, 211, 238, 0.09), transparent 65%);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6), 0 0 32px rgba(34, 211, 238, 0.08);
}
.bento-wide { grid-column: span 2; }
.bento-tag {
  display: inline-block;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  color: var(--cyan-2);
  margin-bottom: 10px;
}
html[lang="ar"] .bento-tag { letter-spacing: 0; }
.bento-copy h3 { font-size: 1.42rem; margin-bottom: 10px; }
.bento-copy p { color: var(--muted); font-size: 0.96rem; max-width: 38rem; }
.bento-vis {
  border-radius: 16px;
  background: rgba(4, 7, 18, 0.68);
  border: 1px solid rgba(148, 175, 255, 0.12);
  padding: 12px;
}
.bento-svg { width: 100%; height: auto; }
.b-box { fill: #0B132C; stroke: rgba(148, 175, 255, 0.25); stroke-width: 1.2; }
.b-box-active { fill: #101E44; stroke: #22D3EE; stroke-width: 1.5; }
.b-mono { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; fill: var(--text); font-weight: 600; }
.b-sub { font-family: var(--body); font-size: 10px; fill: var(--muted); }
.b-cyan { fill: var(--cyan-2); }
.b-ok { font-family: var(--mono); font-size: 10.5px; fill: var(--ok); font-weight: 600; }
.anim-dash { animation: flow 1.8s linear infinite; }
.anim-pulse-line { stroke-dasharray: 8 4; animation: flow 2.4s linear infinite; }

/* ── Solutions Explorer ── */
.explorer {
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 22, 48, 0.6), rgba(7, 11, 26, 0.78));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 18, 0.4);
}
.tabs [role="tab"] {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: start;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.tabs [role="tab"] + [role="tab"] { border-inline-start: 1px solid var(--line); }
.tabs [role="tab"]:hover { color: var(--text); background: rgba(255, 255, 255, 0.025); }
.tabs [role="tab"][aria-selected="true"] {
  color: var(--text);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.09), transparent);
}
.tabs [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
}
.tab-num { font-size: 0.8rem; color: var(--dim); }
[aria-selected="true"] .tab-num { color: var(--cyan); }
.panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  padding: 46px;
  align-items: center;
  animation: fadeUp 0.45s var(--ease);
}
.panel-copy h3 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.panel-copy > p { color: var(--muted); margin-top: 14px; max-width: 36rem; }
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 24px 0 26px;
}
.checks li {
  position: relative;
  padding-inline-start: 26px;
  font-weight: 500;
}
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-inline-start: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
html[dir="rtl"] .checks li::before { transform: rotate(45deg) scaleX(-1); }
.uses-title {
  font-size: 0.78rem;
  color: var(--cyan-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
html[lang="ar"] .uses-title { letter-spacing: 0; }
.uses { display: grid; gap: 9px; margin-bottom: 28px; }
.uses li {
  color: var(--muted);
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.panel-art {
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.12), transparent 65%), #060B1A;
  border: 1px solid var(--line-2);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.panel-art svg { width: 100%; height: auto; }
.art-lines path { fill: none; stroke: rgba(34, 211, 238, 0.42); stroke-width: 1.5; stroke-dasharray: 5 5; animation: flow 2s linear infinite; }
.art-nodes circle { fill: #0D1630; stroke: var(--cyan); stroke-width: 1.8; }
.art-nodes .hot { fill: var(--violet); stroke: #E9D5FF; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6)); }
.art-card { fill: #0D1630; stroke: var(--line-2); }
.art-bar { fill: rgba(34, 211, 238, 0.4); }
.art-led { fill: var(--ok); }
.art-rail { stroke: var(--line-2); stroke-dasharray: 3 6; }
.art-mono { font-family: var(--mono); font-size: 13px; fill: var(--text); }
.art-kw { fill: var(--cyan); }
.art-dim { fill: rgba(160, 180, 255, 0.25); }
.art-dim-t { fill: var(--muted); }

/* ── Demo Command Window ── */
.window {
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #091024 0%, #050914 100%);
  box-shadow: 0 40px 88px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  flex-wrap: wrap;
}
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(160, 180, 255, 0.22); }
.lights i:nth-child(1) { background: rgba(248, 113, 113, 0.55); }
.lights i:nth-child(2) { background: rgba(251, 191, 36, 0.55); }
.lights i:nth-child(3) { background: rgba(52, 211, 153, 0.55); }
.win-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.win-tabs [role="tab"] {
  min-height: 38px;
  padding: 6px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.win-tabs [role="tab"][aria-selected="true"] {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--text);
}
.demo-badge {
  margin-inline-start: auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.09);
  padding: 5px 12px;
  border-radius: 999px;
}
.demo { padding: 30px; min-height: 360px; display: flex; flex-direction: column; }
.demo-controls { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
.ctl {
  min-height: 38px;
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ctl:hover { color: var(--text); border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); }

.chat { display: grid; gap: 12px; }
.msg {
  max-width: 78%;
  padding: 13px 17px;
  border-radius: 16px;
  font-size: 0.95rem;
  animation: fadeUp 0.35s var(--ease);
}
.msg .who {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--cyan-2);
  margin-bottom: 4px;
  text-transform: uppercase;
}
html[lang="ar"] .msg .who { font-family: var(--body); letter-spacing: 0; }
.msg.user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(99, 102, 241, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.32);
}
.msg.ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}
.msg.ai ul { margin-top: 6px; display: grid; gap: 4px; }
.msg.ai li { padding-inline-start: 14px; position: relative; color: var(--muted); }
.msg.ai li::before { content: "–"; position: absolute; inset-inline-start: 0; color: var(--cyan); }
.typing {
  justify-self: start;
  display: inline-flex;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; } }

.console { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.console-h { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-2); margin-bottom: 14px; }
html[lang="ar"] .console-h { letter-spacing: 0; }
.status { display: grid; gap: 10px; }
.status li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.status em { margin-inline-start: auto; font-style: normal; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.st { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.st.ok { background: var(--ok); box-shadow: 0 0 10px rgba(52, 211, 153, 0.7); }
.st.warn { background: var(--warn); box-shadow: 0 0 8px rgba(251, 191, 36, 0.5); }

.meter { display: grid; grid-template-columns: 76px 1fr 44px; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; color: var(--muted); }
.meter b { font-family: var(--mono); font-weight: 600; color: var(--text); font-size: 0.85rem; text-align: end; }
.meter-bar { height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.meter-bar i {
  display: block;
  height: 100%;
  width: var(--v, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform-origin: left;
  animation: grow 1s var(--ease) both;
}
.meter-bar i.m-38 { width: 38%; }
.meter-bar i.m-61 { width: 61%; }
.meter-bar i.m-47 { width: 47%; }
html[dir="rtl"] .meter-bar i { transform-origin: right; }
@keyframes grow { from { transform: scaleX(0); } }
.spark { margin-top: 10px; width: 100%; height: 74px; }
.spark-line { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linejoin: round; }

.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; counter-reset: s; }
.pipeline li {
  position: relative;
  padding: 20px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.pipeline li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  margin-bottom: 6px;
}
.pipeline li.run {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}
.pipeline li.done {
  color: var(--text);
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.08);
}
.pipeline li.done::after {
  content: "✓";
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  color: var(--ok);
  font-size: 0.85rem;
}
.pipe-status { margin-top: 18px; color: var(--cyan-2); font-size: 0.9rem; min-height: 1.6em; }

/* ── Editorial Benefits ── */
.editorial { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.ed-lead { position: sticky; top: 110px; }
.layers { margin-top: 36px; width: min(350px, 100%); }
.lay { stroke-width: 1.4; }
.lay-ai { fill: rgba(168, 85, 247, 0.2); stroke: rgba(216, 180, 254, 0.8); }
.lay-app { fill: rgba(34, 211, 238, 0.14); stroke: rgba(103, 232, 249, 0.75); }
.lay-infra { fill: rgba(99, 102, 241, 0.12); stroke: var(--line-2); }
.lay-t { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; fill: var(--text); font-weight: 600; }
.iso-1 { animation: isoFloat 4s ease-in-out infinite; }
.iso-2 { animation: isoFloat 4s ease-in-out infinite 0.6s; }
.iso-3 { animation: isoFloat 4s ease-in-out infinite 1.2s; }
@keyframes isoFloat {
  0%, 100% { transform: translate(50px, var(--y, 24px)); }
}
.ed-list { display: grid; }
.ed-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 30px 18px;
  border-top: 1px solid var(--line);
  border-radius: 16px;
  transition: background 0.25s;
}
.ed-list li:hover { background: rgba(34, 211, 238, 0.03); }
.ed-list li:last-child { border-bottom: 1px solid var(--line); }
.ed-num {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(103, 232, 249, 0.65);
}
.ed-list h3 { font-size: 1.45rem; }
.ed-list p { color: var(--muted); margin-top: 8px; max-width: 32rem; }

/* ── How We Work (Journey) ── */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey::before {
  content: "";
  position: absolute;
  top: 32px;
  inset-inline: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--line-2), var(--cyan), var(--violet), var(--line-2));
}
.step { text-align: center; position: relative; }
.step button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 8px 8px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}
.step button .mono {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: var(--bg-2);
  font-size: 0.88rem;
  color: var(--dim);
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.step button:hover { color: var(--text); }
.step.is-active button { color: var(--text); }
.step.is-active button .mono {
  border-color: var(--cyan);
  color: var(--cyan);
  background: #081E2E;
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.1), 0 0 24px rgba(34, 211, 238, 0.3);
  transform: scale(1.06);
}
.step-desc { display: none; }
.journey-detail {
  margin: 36px auto 0;
  max-width: 660px;
  text-align: center;
  color: var(--text);
  font-size: 1.12rem;
  min-height: 3.6em;
  padding: 18px 26px;
  border-radius: 16px;
  background: rgba(14, 22, 48, 0.55);
  border: 1px solid var(--line);
}

/* ── Final CTA ── */
.final { position: relative; padding: 130px 0 40px; text-align: center; overflow: hidden; }
.final-inner { position: relative; }
.final-logo-badge {
  display: inline-flex;
  padding: 10px;
  border-radius: 22px;
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 24px;
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.22);
}
.horizon { display: block; width: 100%; height: auto; margin-top: 56px; }
.hz-nodes circle { fill: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.final h2 { max-width: 16em; margin-inline: auto; font-size: clamp(2.15rem, 4.4vw, 3.6rem); }
.final .sub { margin-inline: auto; }

/* ── Contact ── */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 10px; margin-top: 28px; }
.contact-list a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-list a:hover { border-color: var(--cyan); transform: translateX(3px); }
.contact-missing { margin-top: 28px; color: var(--dim); font-size: 0.95rem; }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, rgba(14, 22, 48, 0.65), rgba(6, 10, 24, 0.82));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.field { display: grid; gap: 8px; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.opt-t { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #060A17;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}
.field [aria-invalid="true"] { border-color: #F87171; }
.err { color: #FCA5A5; font-size: 0.86rem; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 0.95rem; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.warn { color: var(--warn); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 60px 0 32px; margin-top: 40px; background: rgba(3, 5, 12, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo-img { border-radius: 9px; box-shadow: 0 0 16px rgba(34, 211, 238, 0.25); }
.foot-sum { color: var(--muted); margin-top: 14px; max-width: 26rem; font-size: 0.95rem; }
.foot-h { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); margin-bottom: 14px; font-weight: 600; }
html[lang="ar"] .foot-h { letter-spacing: 0; }
.footer ul { display: grid; gap: 9px; }
.footer ul a { color: var(--muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan-2); }
.social { margin-top: 14px; display: flex !important; gap: 10px; }
.foot-base { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.88rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.on { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 22px;
    background: rgba(4, 7, 17, 0.97);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-inline-start: auto; }
}
@media (max-width: 960px) {
  .hero { padding-top: 38px; }
  .hero-grid, .editorial, .contact { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .ed-lead { position: static; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .panel-art { order: -1; max-width: 460px; }
  .console { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .nav-cta { display: none; }
  .hero-specs { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tabs [role="tab"] + [role="tab"] { border-inline-start: 0; border-top: 1px solid var(--line); }
  .tabs [role="tab"][aria-selected="true"]::after { inset-block: 0; inset-inline: 0 auto; width: 3px; height: auto; }
  .checks { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li { text-align: start; display: flex; gap: 12px; align-items: center; }
  .pipeline li::before { margin: 0; }
  .demo { padding: 20px; }
  .msg { max-width: 92%; }
  .journey { grid-template-columns: 1fr; gap: 22px; }
  .journey::before { top: 0; bottom: 0; inset-inline: 31px auto; width: 2px; height: auto; background: var(--line-2); }
  .step { text-align: start; }
  .step button { flex-direction: row; padding: 0; cursor: default; }
  .step-desc { display: block; color: var(--muted); padding-inline-start: 78px; margin-top: 4px; }
  .journey-detail { display: none; }
  .ed-list li { grid-template-columns: 64px 1fr; }
  .ed-num { font-size: 2.4rem; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .scene .opt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #bg-canvas { display: none; }
}
