/* ============================================================
   Navvo Landing v2 — dense, interactive, liquid glass
   Brand: #386BFF on deep navy · Space Grotesk + JetBrains Mono
   ============================================================ */

:root {
  --blue: #386BFF;
  --blue-hover: #2E5BE8;
  --navy: #0A0F1C;
  --slate: #1A2233;
  --steel: #586472;

  --bg: #F5F7FB;
  --bg-2: #EBEFF6;
  --surface: #FFFFFF;
  --ink: #0A0F1C;
  --ink-2: #54616F;
  --ink-3: #84909E;
  --line: #E3E7EE;
  --accent: var(--blue);
  --accent-2: #2FA8F2;
  --accent-soft: rgba(56, 107, 255, 0.12);
  --accent2-soft: rgba(47, 168, 242, 0.10);
  --accent-glow: rgba(56, 107, 255, 0.32);

  --glass-blur: 22;
  --glass-tint: rgba(255, 255, 255, 0.46);
  --glass-tint-strong: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(10, 15, 28, 0.1);
  --glass-edge: rgba(255, 255, 255, 0.95);
  --glass-edge-side: rgba(255, 255, 255, 0.45);
  --glass-shade: rgba(10, 15, 28, 0.08);
  --glass-sheen: rgba(255, 255, 255, 0.6);
  --glass-sheen-2: rgba(255, 255, 255, 0.28);
  --glass-dome: rgba(255, 255, 255, 0.55);
  --glass-rim-hi: rgba(255, 255, 255, 0.95);
  --glass-rim-mid: rgba(255, 255, 255, 0.5);
  --glass-rim-lo: rgba(10, 15, 28, 0.14);
  --glass-noise: 0.045;
  --glass-shadow: 0 18px 48px rgba(10, 15, 28, 0.10);
  --shadow-low: 0 8px 18px rgba(10, 15, 28, 0.08);

  --mk-land: #EDF1F7;
  --mk-block: rgba(10, 15, 28, 0.05);
  --mk-road: rgba(10, 15, 28, 0.14);
  --mk-water: #D7E4F9;
  --mk-park: #DCE9DD;

  --font-display: "Space Grotesk", "Noto Sans Arabic", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --r-card: 24px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #05070D;
  --bg-2: #0A101D;
  --surface: #0F1828;
  --ink: #EEF2F9;
  --ink-2: #9AA7BA;
  --ink-3: #5E6B7E;
  --line: rgba(230, 235, 245, 0.10);
  --accent: #5B8CFF;
  --accent-2: #46C8FF;
  --accent-soft: rgba(76, 124, 255, 0.16);
  --accent2-soft: rgba(70, 200, 255, 0.08);
  --accent-glow: rgba(76, 124, 255, 0.5);

  --glass-tint: rgba(15, 23, 41, 0.46);
  --glass-tint-strong: rgba(15, 23, 41, 0.8);
  --glass-border: rgba(150, 180, 255, 0.16);
  --glass-edge: rgba(200, 222, 255, 0.32);
  --glass-edge-side: rgba(195, 215, 255, 0.1);
  --glass-shade: rgba(0, 2, 10, 0.42);
  --glass-sheen: rgba(170, 200, 255, 0.17);
  --glass-sheen-2: rgba(110, 150, 255, 0.07);
  --glass-dome: rgba(170, 200, 255, 0.13);
  --glass-rim-hi: rgba(208, 226, 255, 0.55);
  --glass-rim-mid: rgba(160, 190, 255, 0.2);
  --glass-rim-lo: rgba(150, 180, 255, 0.05);
  --glass-noise: 0.09;
  --glass-shadow: 0 18px 48px rgba(0, 2, 10, 0.45);
  --shadow-low: 0 8px 18px rgba(0, 2, 10, 0.35);

  --mk-land: #0B1322;
  --mk-block: rgba(140, 170, 240, 0.05);
  --mk-road: rgba(150, 180, 255, 0.16);
  --mk-water: #0E2142;
  --mk-park: #11231E;

  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body { letter-spacing: -0.005em; }
html[data-lang="ar"] body { letter-spacing: 0; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; }

/* atmosphere (parallax glow layers driven by scroll) */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 600px at 55% 108%, var(--accent-soft), transparent 58%);
}
.atmosphere i { position: absolute; inset: -20% 0; display: block; }
.atmosphere .glow-a { background: radial-gradient(900px 540px at 82% 4%, var(--accent-soft), transparent 60%); }
.atmosphere .glow-b { background: radial-gradient(700px 480px at 0% 48%, var(--accent2-soft), transparent 62%); }
#route-bg { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; overflow: visible; }
#route-bg path { fill: none; }
#route-bg .rt-track { stroke: color-mix(in srgb, var(--accent) 24%, transparent); stroke-width: 2; stroke-dasharray: 4 10; stroke-linecap: round; }
#route-bg .rt-glow { stroke: var(--accent); stroke-width: 8; opacity: 0.4; filter: blur(6px); stroke-linecap: round; }
#route-bg .rt-fill { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
/* journey endpoints: origin dot + destination pin that lights on arrival */
#route-bg .rt-origin { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
#route-bg .rt-pin { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; transition: fill 0.35s ease; }
#route-bg.arrived .rt-pin { fill: var(--accent); }
#route-bg .rt-pulse {
  fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0;
  transform-box: fill-box; transform-origin: center;
}
#route-bg.arrived .rt-pulse { animation: rtPulse 1.1s ease-out 2; }
@keyframes rtPulse {
  0% { opacity: 0.8; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(2.6); }
}

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

/* ---------- glass (Apple liquid-glass: lensed rim + dome highlight + vibrancy) ----------
   Layers: traveling sheen (scroll-driven via --lightpos) · curved dome highlight · tint,
   plus a conic "lensed" rim painted into a transparent border — light bends unevenly
   around the edge the way it does on real curved glass. */
.glass {
  position: relative;
  border: 1px solid var(--glass-border);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    linear-gradient(115deg, transparent 18%, var(--glass-sheen) 38%, transparent 58%),
    radial-gradient(130% 80% at 50% -25%, var(--glass-dome) 0%, transparent 55%),
    linear-gradient(var(--glass-tint), var(--glass-tint));
  background-size: auto, 280% 100%, auto, auto;
  background-position: 0 0, var(--lightpos, 30%) 0, 0 0, 0 0;
  background-blend-mode: overlay, normal, normal, normal;
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 1px)) saturate(190%) brightness(1.05);
  backdrop-filter: blur(calc(var(--glass-blur) * 1px)) saturate(190%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -10px 20px -14px var(--glass-shade),
    inset 0 0 24px -10px var(--glass-sheen-2),
    var(--glass-shadow);
}
.glass-strong {
  position: relative;
  border: 1px solid var(--glass-border);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    linear-gradient(115deg, transparent 18%, var(--glass-sheen) 38%, transparent 58%),
    radial-gradient(130% 80% at 50% -25%, var(--glass-dome) 0%, transparent 55%),
    linear-gradient(var(--glass-tint-strong), var(--glass-tint-strong));
  background-size: auto, 280% 100%, auto, auto;
  background-position: 0 0, var(--lightpos, 30%) 0, 0 0, 0 0;
  background-blend-mode: overlay, normal, normal, normal;
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 1.5px)) saturate(195%) brightness(1.06);
  backdrop-filter: blur(calc(var(--glass-blur) * 1.5px)) saturate(195%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -10px 20px -14px var(--glass-shade),
    var(--glass-shadow);
}
/* lensed rim: conic highlight masked to a 1px ring just inside the edge —
   light catching unevenly around curved glass. Ring-only, so the translucent
   fill never reveals it. */
.glass::before, .glass-strong::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from 210deg, var(--glass-rim-hi), var(--glass-rim-lo) 22%, var(--glass-rim-mid) 48%, var(--glass-rim-lo) 74%, var(--glass-rim-hi));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
/* ---------- content layer: solid adaptive surfaces (glass is reserved for the
   floating/navigation layer per the Liquid Glass framework — content never
   competes with it) ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-low);
}

/* informational pills: thin fills, not glass (content layer) */
.eyebrow, .meta-chip { background: var(--bg-2); border: 1px solid var(--line); }

body[data-glass="subtle"] { --glass-blur: 8; }
body[data-glass="standard"] { --glass-blur: 18; }
body[data-glass="heavy"] { --glass-blur: 30; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; cursor: pointer; border: none;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
/* button glass tuning: light theme needs a denser tint (pale backdrops wash
   the tint out); dark theme can run clearer */
:root { --btnp-tint: 84%; }
html[data-theme="dark"] { --btnp-tint: 62%; }
.btn-primary {
  position: relative; overflow: hidden;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8, 18, 60, 0.25);
  /* iOS-26 liquid glass: even tinted translucency — form is communicated by
     LENSING (a luminous rim where light bends at the silhouette), not by
     gloss caps or pressed shadows */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.05) 100%),
    color-mix(in srgb, var(--blue) var(--btnp-tint), transparent);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 1.2px)) saturate(190%);
  backdrop-filter: blur(calc(var(--glass-blur) * 1.2px)) saturate(190%);
  border: none;
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(255, 255, 255, 0.18),
    inset 1px 0 1px rgba(255, 255, 255, 0.12),
    inset -1px 0 1px rgba(255, 255, 255, 0.12),
    0 10px 28px -8px var(--accent-glow),
    0 1px 2px rgba(8, 18, 60, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 35%, rgba(255, 255, 255, 0.08) 100%),
    color-mix(in srgb, var(--blue) calc(var(--btnp-tint) + 8%), transparent);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(255, 255, 255, 0.25),
    inset 1px 0 1px rgba(255, 255, 255, 0.16),
    inset -1px 0 1px rgba(255, 255, 255, 0.16),
    0 16px 40px -10px var(--accent-glow),
    0 1px 2px rgba(8, 18, 60, 0.25);
}
.btn-primary .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn-primary:hover .arrow { transform: translateX(-3px); }
.btn-glass {
  position: relative; overflow: hidden;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(163deg, var(--glass-sheen) 0%, transparent 46%),
    var(--glass-tint);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 1px)) saturate(180%);
  backdrop-filter: blur(calc(var(--glass-blur) * 1px)) saturate(180%);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0.5px color-mix(in srgb, var(--glass-edge) 40%, transparent);
  color: var(--ink);
}
.btn-glass::before, .btn-primary::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: 0;
  background: linear-gradient(105deg, transparent, var(--glass-edge), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.7s ease; pointer-events: none;
}
.btn-primary::before { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent); }
.btn-glass:hover::before, .btn-primary:hover::before { transform: translateX(320%) skewX(-18deg); }
.btn-glass:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- nav ---------- */
.topnav { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 20px; }
.topnav-inner {
  position: relative;
  width: min(1240px, 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 14px 10px 20px; border-radius: 20px;
  transition: box-shadow 0.35s ease;
}
/* scroll edge effect: the bar visually lifts above content the moment
   anything scrolls beneath it (deeper shadow, denser tint) */
.topnav[data-scrolled] .topnav-inner {
  --glass-tint-strong: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -10px 20px -14px var(--glass-shade),
    0 16px 44px -12px rgba(10, 15, 28, 0.28);
}
html[data-theme="dark"] .topnav[data-scrolled] .topnav-inner {
  --glass-tint-strong: rgba(15, 23, 41, 0.93);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -10px 20px -14px var(--glass-shade),
    0 16px 44px -10px rgba(0, 2, 10, 0.7);
}
/* scroll wayfinding: route progress along the nav's bottom edge */
.nav-route {
  position: absolute; bottom: 0; left: 22px; right: 22px; height: 2px;
  border-radius: 2px; background: color-mix(in srgb, var(--accent) 16%, transparent);
  pointer-events: none;
}
.nr-fill {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklch, var(--accent) 65%, white));
  transform: scaleX(0); transform-origin: left;
}
html[dir="rtl"] .nr-fill { transform-origin: right; background: linear-gradient(270deg, var(--accent), color-mix(in oklch, var(--accent) 65%, white)); }
.nr-head {
  position: absolute; top: 50%; inset-inline-start: 0;
  width: 7px; height: 7px; border-radius: 1.5px;
  background: var(--accent); border: 1.5px solid var(--bg);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px var(--accent-glow);
  will-change: transform;
}
html[dir="rtl"] .topnav-inner { padding: 10px 20px 10px 14px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; }
.logo-on-light { display: block; }
.logo-on-dark { display: none; }
html[data-theme="dark"] .logo-on-light { display: none; }
html[data-theme="dark"] .logo-on-dark { display: block; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-2); padding: 8px 13px; border-radius: 11px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--glass-border); background: transparent;
  color: var(--ink-2); font-size: 13px; font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s ease;
}
.icon-btn:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-soft); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }

/* ---------- layout ---------- */
.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
html[data-lang="ar"] .section-label { font-family: var(--font-display); letter-spacing: 0; font-weight: 600; font-size: 14px; }
.section-label::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(30px, 3.8vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -0.028em; max-width: 800px; text-wrap: pretty; }
html[data-lang="ar"] .section-title { letter-spacing: 0; line-height: 1.28; }
.section-title em { font-style: normal; }
.hero-title em, .section-title em {
  color: transparent;
  background-image: linear-gradient(97deg, var(--accent) 20%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.section-sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 600px; margin-top: 14px; text-wrap: pretty; }

/* ---------- hero (split) ---------- */
.hero { padding: 128px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(380px, 540px) 1fr;
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em;
}
.hero-title { font-size: clamp(44px, 4.6vw, 68px); font-weight: 500; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 20px; text-wrap: balance; }
html[data-lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.2; }
.hero-title em { font-style: normal; }
.hero-sub { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin-bottom: 28px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-chip {
  display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2);
}
html[data-lang="ar"] .meta-chip { font-family: var(--font-display); font-size: 12.5px; }

/* hero device frame */
.hero-device { perspective: 1200px; }
.mock-frame {
  border-radius: 28px; padding: 12px; position: relative;
  transition: transform 0.25s ease;
  transform: translateY(var(--plxy, 0px)) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
}

/* ---------- map mock ---------- */
.mock { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 600 / 460; }
.mock * { transition: opacity 0.5s ease; }
.mk-land { position: absolute; inset: 0; background: var(--mk-land); transition: background 0.5s ease; }
.mk-district { position: absolute; background: var(--mk-block); border-radius: 12px; transform: rotate(-3deg); transition: background 0.5s ease, opacity 0.5s ease; }
.mk-district.d1 { width: 30%; height: 24%; top: 6%; left: 34%; }
.mk-district.d2 { width: 22%; height: 30%; top: 44%; left: 6%; }
.mk-district.d3 { width: 26%; height: 20%; top: 58%; left: 46%; }
.mk-district.d4 { width: 18%; height: 16%; top: 22%; left: 4%; }
.mk-park { position: absolute; background: var(--mk-park); border-radius: 10px; transition: background 0.5s ease; }
.mk-park.p1 { width: 22%; height: 18%; top: 12%; left: 8%; transform: rotate(-3deg); }
.mk-park.p2 { width: 14%; height: 12%; bottom: 18%; right: 24%; transform: rotate(-3deg); }
.mk-water {
  position: absolute; width: 46%; height: 52%; bottom: -16%; right: -10%;
  background: var(--mk-water); border-radius: 52% 48% 40% 60% / 55% 45% 58% 42%;
  transform: rotate(-14deg); transition: background 0.5s ease;
}
.mock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-roads path { stroke: var(--mk-road); fill: none; stroke-linecap: round; transition: stroke 0.5s ease; }
.mk-roads .rd-major { stroke-width: 4.5; }
.mk-roads .rd-minor { stroke-width: 2; opacity: 0.6; }

.mk-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mk-route .rt-casing { stroke: color-mix(in srgb, var(--blue) 22%, transparent); stroke-width: 13; }
.mk-route .rt-line { stroke: var(--blue); stroke-width: 5.5; }
.mk-route .rt-dest { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.mk-route .rt-start { fill: #fff; stroke: var(--blue); stroke-width: 3; }

.mk-traffic path { fill: none; stroke-width: 6; stroke-linecap: round; }
.mk-traffic .tf-jam { stroke: #E45B4F; filter: drop-shadow(0 0 6px rgba(228, 91, 79, 0.5)); }
.mk-traffic .tf-slow { stroke: #F2B43B; filter: drop-shadow(0 0 6px rgba(242, 180, 59, 0.45)); }
.mk-traffic .tf-free { stroke: #3FA86B; filter: drop-shadow(0 0 6px rgba(63, 168, 107, 0.4)); }

.mk-coverage path { fill: none; stroke: #6FB7FF; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(111, 183, 255, 0.85)); }

/* skin visibility (opacity, not display — smooth crossfade) */
.mk-traffic, .mk-coverage { opacity: 0; pointer-events: none; }
.mock[data-skin="traffic"] .mk-traffic { opacity: 1; }
.mock[data-skin="street"] .mk-coverage { opacity: 1; }
.mock[data-skin="street"] .mk-land { background: #070D1A; }
.mock[data-skin="street"] .mk-water { background: #0A1526; }
.mock[data-skin="street"] .mk-park { background: #0D1A20; }
.mock[data-skin="street"] .mk-roads path { stroke: rgba(150, 180, 255, 0.12); }
.mock[data-skin="street"] .mk-district { background: rgba(140, 170, 240, 0.04); }
.mock[data-skin="street"] .mk-route { opacity: 0.25; }
.mock[data-skin="satellite"] .mk-land {
  background:
    radial-gradient(320px 220px at 24% 28%, rgba(58, 84, 50, 0.5), transparent 70%),
    radial-gradient(380px 260px at 72% 64%, rgba(72, 76, 56, 0.4), transparent 70%),
    linear-gradient(155deg, #151E2B, #1E2A24 55%, #16202F);
}
.mock[data-skin="satellite"] .mk-water { background: #0E2240; }
.mock[data-skin="satellite"] .mk-park { background: rgba(46, 74, 50, 0.55); }
.mock[data-skin="satellite"] .mk-roads path { stroke: rgba(235, 240, 250, 0.16); }
.mock[data-skin="satellite"] .mk-district { opacity: 0.5; background: rgba(120, 140, 110, 0.12); }

/* mock overlays */
.mk-search {
  position: absolute; top: 14px; left: 14px; right: auto;
  display: flex; align-items: center; gap: 10px;
  min-width: 56%; max-width: 78%;
  padding: 11px 16px; border-radius: 14px;
  font-size: 13.5px; color: var(--ink); z-index: 3;
}
html[dir="rtl"] .mk-search { left: auto; right: 14px; }
.mk-search svg { position: static; width: 15px; height: 15px; flex: 0 0 auto; stroke: var(--ink-3); }
.mk-stext { white-space: nowrap; overflow: hidden; direction: ltr; unicode-bidi: plaintext; }
.mk-caret { width: 1.5px; height: 15px; background: var(--accent); flex: 0 0 auto; animation: mkblink 1.1s steps(2) infinite; }
@media (prefers-reduced-motion: reduce) { .mk-caret { animation: none; } }
@keyframes mkblink { 0% { opacity: 1; } 50% { opacity: 0; } }

.mk-eta {
  position: absolute; bottom: 64px; right: 14px;
  padding: 11px 15px; border-radius: 14px; z-index: 3; text-align: start;
}
html[dir="rtl"] .mk-eta { right: auto; left: 14px; }
.mk-eta .e-k { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 3px; }
html[data-lang="ar"] .mk-eta .e-k { font-family: var(--font-display); letter-spacing: 0; font-size: 11.5px; }
.mk-eta .e-v { font-size: 16px; font-weight: 600; color: var(--ink); }
.mk-eta .e-h { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }

.mk-chips {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 14px; z-index: 3;
}
.mk-chips button {
  position: relative;
  padding: 7px 13px; border-radius: 10px; border: none; background: transparent;
  font-size: 12px; color: var(--ink-2); cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.15s ease;
  white-space: nowrap;
}
.mk-chips button:hover { color: var(--ink); background: var(--accent-soft); }
.mk-chips button.active { background: var(--accent); color: #fff; }

/* ---------- proof bar (merged under hero) ---------- */
.proof { padding: 40px 0 64px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-card); overflow: hidden; }
.proof-cell { padding: 22px 24px; border-right: 1px solid var(--glass-border); }
html[dir="rtl"] .proof-cell { border-right: none; border-left: 1px solid var(--glass-border); }
.proof-cell:last-child { border-right: none; }
html[dir="rtl"] .proof-cell:last-child { border-left: none; }
.proof-cell .p-t { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.proof-cell .p-s { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-cell { border-bottom: 1px solid var(--glass-border); }
}

/* ---------- layers showcase (interactive tabs) ---------- */
.layers { padding: 56px 0 72px; }
.layers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.layers-hint { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; padding-bottom: 8px; }
.layers-hint::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

.layers-panel {
  border-radius: var(--r-card); padding: clamp(14px, 2vw, 22px);
  display: grid; grid-template-columns: minmax(300px, 410px) 1fr;
  gap: clamp(14px, 2vw, 22px); align-items: stretch;
}
.lt-tabs { display: flex; flex-direction: column; gap: 8px; }
.lt-tab {
  position: relative; text-align: start; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  border-radius: 16px; padding: 16px 18px; overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.lt-tab:hover { background: var(--bg-2); }
.lt-tab.active { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.lt-tab .lt-k {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
html[data-lang="ar"] .lt-tab .lt-k { font-family: var(--font-display); letter-spacing: 0; font-size: 12.5px; font-weight: 600; }
.lt-tab h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
html[data-lang="ar"] .lt-tab h3 { letter-spacing: 0; }
.lt-tab p {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
}
.lt-tab.active p { max-height: 140px; opacity: 1; margin-top: 8px; }
.lt-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 2.5px; background: transparent; display: block; }
.lt-bar i {
  display: block; height: 100%; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
html[dir="rtl"] .lt-bar i { transform-origin: right; }
.lt-tab.active .lt-bar i { transition: transform var(--cycle, 5.5s) linear; transform: scaleX(1); }
body[data-autoplay="off"] .lt-tab.active .lt-bar i { transition: none; transform: scaleX(0); }

.layers-mock { border-radius: 18px; overflow: hidden; min-height: 380px; position: relative; }
.layers-mock .mock { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }

@media (max-width: 980px) {
  .layers-panel { grid-template-columns: 1fr; }
  .layers-mock { order: -1; min-height: 0; aspect-ratio: 600/460; }
  .layers-mock .mock { position: relative; height: auto; aspect-ratio: 600/460; }
}

/* ---------- AI bento ---------- */
.ai { padding: 56px 0 72px; }
.ai-bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 32px; }
.ai-demo { border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.bubble { max-width: 88%; padding: 13px 17px; border-radius: 17px; font-size: 14.5px; line-height: 1.55; }
.bubble-q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
html[dir="rtl"] .bubble-q { border-bottom-right-radius: 17px; border-bottom-left-radius: 6px; }
.bubble-a { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: var(--shadow-low); }
html[dir="rtl"] .bubble-a { border-bottom-left-radius: 17px; border-bottom-right-radius: 6px; }
.bubble-src { align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); padding-inline-start: 4px; }
html[data-lang="ar"] .bubble-src { font-family: var(--font-display); font-size: 12px; }
.ai-replay {
  margin-top: auto; align-self: flex-end;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--glass-border); background: transparent;
  font-size: 12.5px; color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ai-replay:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-soft); }
.ai-replay svg { width: 13px; height: 13px; }
.ai-cards { display: flex; flex-direction: column; gap: 12px; }
.ai-card { border-radius: 18px; padding: 20px 22px; flex: 1; position: relative; overflow: hidden; }
.ai-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ai-card p { font-size: 13.5px; line-height: 1.58; color: var(--ink-2); }
@media (max-width: 900px) { .ai-bento { grid-template-columns: 1fr; } }

/* ---------- audiences ---------- */
.audiences { padding: 56px 0 72px; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.aud-card { border-radius: var(--r-card); padding: 26px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.aud-card .a-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
html[data-lang="ar"] .aud-card .a-k { font-family: var(--font-display); letter-spacing: 0; font-size: 12.5px; font-weight: 600; }
.aud-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 9px; }
html[data-lang="ar"] .aud-card h3 { letter-spacing: 0; }
.aud-card > p { font-size: 13.5px; line-height: 1.58; color: var(--ink-2); margin-bottom: 16px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.feat-list li { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; display: flex; gap: 10px; align-items: baseline; }
.feat-list li::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px;
  transform: rotate(45deg) translateY(-1px);
  background: var(--accent); border-radius: 1.5px;
}
.aud-code { margin-top: 16px; border-radius: 13px; overflow: hidden; border: 1px solid var(--line); background: #0A0F1C; direction: ltr; text-align: left; }
.aud-code pre { padding: 13px 15px; font-family: var(--font-mono); font-size: 11px; line-height: 1.65; color: #AFC2E8; overflow-x: auto; }
.aud-code .kw { color: #7CA9FF; } .aud-code .str { color: #8FD3A7; } .aud-code .com { color: #5E6A7C; }
@media (max-width: 960px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { padding: 56px 0 72px; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; align-items: stretch; max-width: 880px; margin-inline: auto; }
.price-card { border-radius: var(--r-card); padding: 28px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 24px 60px -18px var(--accent-glow); }
.price-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: var(--accent); color: #fff; white-space: nowrap;
}
html[dir="rtl"] .price-badge { right: auto; left: 16px; }
.price-card .pc-name { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-line .pc-price { font-size: 38px; font-weight: 500; letter-spacing: -0.03em; }
html[data-lang="ar"] .price-line .pc-price { letter-spacing: 0; }
.price-line .pc-per { font-size: 13px; color: var(--ink-3); }
.price-card .pc-d { font-size: 13.5px; color: var(--ink-2); margin-bottom: 18px; }
.price-card .feat-list { margin-bottom: 24px; }
.price-card .btn { justify-content: center; margin-top: auto; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding: 24px 0 88px; }
.cta-panel { border-radius: 30px; padding: clamp(44px, 6vw, 76px) 32px; text-align: center; position: relative; overflow: hidden; }
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 280px at 50% 118%, var(--accent-glow), transparent 70%),
    radial-gradient(380px 220px at 10% -12%, var(--accent-soft), transparent 70%);
}
.cta-panel > * { position: relative; }
.cta-panel .section-label { justify-content: center; }
.cta-panel .section-label::before { display: none; }
.cta-panel .section-title, .cta-panel .section-sub { margin-inline: auto; text-align: center; }
.cta-ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.foot {
  width: min(1240px, 100%); margin-inline: auto; padding: 44px 24px 28px;
  display: grid; grid-template-columns: 1.7fr repeat(5, minmax(0, 1fr)); gap: 28px;
}
.foot .brand img { height: 28px; }
.foot-tag { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; max-width: 270px; margin-top: 14px; }
.foot h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 13px; font-weight: 600; }
html[data-lang="ar"] .foot h5 { letter-spacing: 0; font-size: 13.5px; }
.foot a { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 9px; transition: color 0.2s; }
.foot a:hover { color: var(--accent); }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 11px; border: 1px solid var(--line); }
.lang-switch button {
  padding: 6px 13px; border-radius: 8px; border: none; background: transparent;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active { background: var(--accent); color: #fff; }
.foot-bottom {
  width: min(1240px, 100%); margin-inline: auto; padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3);
}
@media (max-width: 1120px) { .foot { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 960px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ---------- spotlight hover ---------- */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.spot:hover::after { opacity: 1; }

/* ---------- scroll-scrubbed entrances (tied to scroll position, not one-shot) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body:not([data-scrollfx="off"]) :is(.proof-grid, .layers-panel, .ai-demo, .cta-panel) {
      animation: nv-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 62%;
    }
    body:not([data-scrollfx="off"]) :is(.ai-card, .aud-card, .price-card) {
      animation: nv-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
}
@keyframes nv-enter {
  from { opacity: 0.25; transform: perspective(1100px) translateY(54px) rotateX(9deg) scale(0.95); }
  to { opacity: 1; transform: perspective(1100px) translateY(0) rotateX(0deg) scale(1); }
}

/* ---------- reveals (transform-only; hidden states applied inline by JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
  [data-reveal-delay="1"] { transition-delay: 0.07s; }
  [data-reveal-delay="2"] { transition-delay: 0.14s; }
  .hero-grid > * { transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); }
}

/* ---------- voyager: traveling marker scrubbed by scroll ----------
   z-index 0 is the resting/background layer (with #route-bg and .atmosphere),
   BEHIND the page sections (main/footer are z-index 1) so the cube threads behind
   the cards instead of covering them. While the cube is over the FIRST (hero)
   section, landing-v2.js raises it above main (z-index 41, still below the
   topnav at 60) so it covers only the hero — see setVoyagerLayer(). */
#voyager { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.vg-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vg-trail line { stroke: var(--accent); }
/* 3D rig: tile positions on the route; a REAL six-face glass cube rolls inside it */
.vg-tile {
  position: absolute; top: 0; left: 0; width: 62px; height: 62px;
  will-change: transform; perspective: 620px;
}
.vg-shadow {
  position: absolute; left: 50%; top: 100%; width: 56px; height: 14px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(6, 12, 34, 0.38), transparent 72%);
  transform: translate(-50%, 4px); filter: blur(3px); pointer-events: none;
}
html[data-theme="dark"] .vg-shadow { background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.62), transparent 72%); }
.vg-cube { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.vg-f { position: absolute; border: none; }
/* solid rounded extrusion — but the material is GLASS: translucent tinted
   plates that accumulate into a volumetric glass body. Edge-on, the stacked
   translucency densifies naturally, exactly like looking through a slab's edge. */
.vg-ply {
  inset: 0; border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  /* tilt-driven: plies are invisible in direct projection (they'd stack into a
     solid veil) and fade in only when the cube turns edge-on */
  opacity: var(--plyo, 0.05);
}
html[data-theme="dark"] .vg-ply { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.vg-front, .vg-back { inset: 0; border-radius: 20px; display: grid; place-items: center; }
.vg-front {
  transform: translateZ(12px);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 var(--glass-shade),
    0 14px 34px -8px var(--accent-glow);
}
.vg-back {
  transform: rotateY(180deg) translateZ(12px);
  /* faces away at rest — only visible when the cube actually turns over */
  opacity: var(--backo, 0.08);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 36%, transparent), color-mix(in srgb, var(--blue-hover) 44%, transparent));
}
.vg-back svg { width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 5px rgba(10, 20, 60, 0.5)); }
/* no rim ring on the marker — it read as an outline at this scale */
.vg-front.glass-strong::before { display: none; }
/* LIQUID glass face: refracts the page behind it (backdrop blur) and carries
   a specular glint that slides across the surface as the cube tumbles
   (--hx/--hy are driven from the live rotation each frame) */
.vg-front.glass-strong {
  -webkit-backdrop-filter: blur(7px) saturate(170%);
  backdrop-filter: blur(7px) saturate(170%);
  border: none;
  background:
    radial-gradient(46% 40% at var(--hx, 34%) var(--hy, 24%), var(--vg-glint), transparent 72%),
    radial-gradient(130% 80% at 50% -25%, color-mix(in srgb, var(--glass-dome) 45%, transparent) 0%, transparent 55%),
    color-mix(in srgb, var(--surface) 8%, transparent);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 var(--glass-shade),
    inset 0 0 18px -6px var(--vg-glint),
    0 14px 34px -8px var(--accent-glow);
}
:root { --vg-glint: rgba(255, 255, 255, 0.5); }
html[data-theme="dark"] { --vg-glint: rgba(195, 222, 255, 0.32); }
/* keep the glyph legible through the translucent face */
.vg-front .vg-ic { filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--bg) 85%, transparent)) drop-shadow(0 0 10px color-mix(in srgb, var(--bg) 60%, transparent)); }
.vg-ic {
  grid-area: 1 / 1; width: 26px; height: 26px; color: var(--accent);
  opacity: 0; transform: scale(0.45) rotate(-25deg);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vg-ic.on { opacity: 1; transform: none; }

/* ---------- internal glow: glass illuminates from the touch point ---------- */
.btn-glass::after, .btn-primary::after, .icon-btn::after, .mk-chips button::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--accent) 28%, transparent), transparent 75%);
  opacity: 0; transition: opacity 0.35s ease;
}
.btn-primary::after { background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.35), transparent 75%); }
.btn-glass:active::after, .btn-primary:active::after, .icon-btn:active::after, .mk-chips button:active::after { opacity: 1; transition-duration: 0.08s; }
/* gel flex on press */
.btn:active, .icon-btn:active, .mk-chips button:active { transform: scale(0.96); }

/* ---------- accessibility: system adaptations the material must honor ---------- */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-tint: rgba(255, 255, 255, 0.93); --glass-tint-strong: rgba(255, 255, 255, 0.97); }
  html[data-theme="dark"] { --glass-tint: rgba(15, 23, 41, 0.94); --glass-tint-strong: rgba(15, 23, 41, 0.97); }
  .glass, .glass-strong, .btn-glass, .btn-primary {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .btn-primary { background: linear-gradient(163deg, rgba(255, 255, 255, 0.25) 0%, transparent 46%), var(--blue); }
}
@media (prefers-contrast: more) {
  .glass, .glass-strong, .btn-glass, .card { border-color: currentColor; }
  .glass::before, .glass-strong::before { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
