/* ============================================================
   AeyeMine — Corporate landing page
   Design system: dark industrial (Linear × Tesla × Palantir)
   Mirrors frontend/src/index.css tokens so product + marketing
   read as one brand. RTL-first, logical properties throughout.
   ============================================================ */

/* ==========================================================
   1. TOKENS
   ========================================================== */
:root {
  /* surface ramp */
  --bg:            #07070a;
  --bg-elev:       #0d0d11;
  --surface:       #111116;
  --surface-2:     #17171d;
  --surface-3:     #1f1f27;
  --border:        #25252e;
  --border-strong: #3a3a46;
  --border-bright: #52525e;

  /* text ramp */
  --text:   #ededf0;
  --text-2: #b8b8c0;
  --muted:  #7d7d88;
  --dim:    #4d4d57;
  --faint:  #2e2e36;

  /* accents */
  --amber:     #f5a524;
  --amber-hi:  #ffba3d;
  --amber-dim: #7a5113;
  --cyan:      #22d3ee;
  --lime:      #84ff7a;
  --green:     #10b981;
  --red:       #ef4646;
  --magenta:   #f0509b;
  --purple:    #a78bfa;

  /* glows */
  --glow-amber: 0 0 0 1px rgba(245,165,36,.22), 0 12px 40px -12px rgba(245,165,36,.45);
  --glow-soft:  0 24px 70px -30px rgba(0,0,0,.9);

  /* radii */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  /* fonts */
  --fs-sans: 'Vazirmatn', 'Inter', system-ui, sans-serif;
  --fs-lat:  'Inter', 'Vazirmatn', system-ui, sans-serif;
  --fs-mono: 'JetBrains Mono', 'Vazirmatn', ui-monospace, monospace;

  /* rhythm */
  --nav-h: 68px;
  --pad-x: clamp(20px, 5vw, 80px);
  --maxw: 1320px;
  --sec-y: clamp(72px, 10vw, 140px);

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

/* ==========================================================
   2. RESET / BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--fs-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-feature-settings: "ss01" 1;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

h1, h2, h3, h4, h5 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

::selection { background: var(--amber); color: #0a0a0b; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border: 2px solid var(--bg); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-bright); }

/* ==========================================================
   3. LAYOUT PRIMITIVES
   ========================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* hairline separators between major bands */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 18%, var(--border) 82%, transparent);
}

/* ==========================================================
   4. TYPE UTILITIES
   ========================================================== */
.mono {
  font-family: var(--fs-mono);
  font-feature-settings: "tnum" 1, "zero" 1;
  letter-spacing: -0.02em;
  direction: ltr;
  unicode-bidi: isolate;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--amber);
  margin-bottom: 18px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(to left, var(--amber), transparent);
}

.sec-title {
  font-size: clamp(27px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.sec-lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.9;
}
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--center .kicker::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(to right, var(--amber), transparent);
}

.amber { color: var(--amber); }
.txt { color: var(--text); }

/* gradient headline fragment */
.grad {
  background: linear-gradient(120deg, var(--amber) 0%, #ffd98e 45%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================
   5. BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease),
              box-shadow .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); border-color: var(--border-bright); background: var(--surface-2); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #0a0a0b;
  box-shadow: 0 10px 34px -14px rgba(245,165,36,.75);
}
.btn--primary:hover {
  background: var(--amber-hi);
  border-color: var(--amber-hi);
  box-shadow: 0 16px 44px -14px rgba(245,165,36,.9);
}
/* sheen sweep */
.btn--primary::after {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: -130%;
  width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  z-index: -1;
  transition: inset-inline-start .75s var(--ease);
}
.btn--primary:hover::after { inset-inline-start: 130%; }

.btn--ghost { background: transparent; border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); }

.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--block { width: 100%; }

/* ==========================================================
   6. CHIPS / TAGS
   ========================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
}
.chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
  animation: pulse-dot 2.4s ease-out infinite;
}
.chip--amber { color: var(--amber); border-color: rgba(245,165,36,.32); background: rgba(245,165,36,.06); }
.chip--amber .dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(245,165,36,.6); }
.chip--red { color: var(--red); border-color: rgba(239,70,70,.35); background: rgba(239,70,70,.07); }
.chip--red .dot { background: var(--red); box-shadow: 0 0 0 0 rgba(239,70,70,.6); }
.chip--cyan { color: var(--cyan); border-color: rgba(34,211,238,.3); background: rgba(34,211,238,.06); }
.chip--cyan .dot { background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); }

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 7px transparent; opacity: .85; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* ==========================================================
   7. CORNER-BRACKET CARD (signature motif)
   ========================================================== */
.bracket { position: relative; }
.bracket::before, .bracket::after,
.bracket > .bk3, .bracket > .bk4 {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--amber);
  opacity: .55;
  transition: width .35s var(--ease), height .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}
.bracket::before { inset-block-start: -1px; inset-inline-start: -1px; border-inline-end: none; border-block-end: none; }
.bracket::after  { inset-block-start: -1px; inset-inline-end: -1px; border-inline-start: none; border-block-end: none; }
.bracket > .bk3  { inset-block-end: -1px; inset-inline-start: -1px; border-inline-end: none; border-block-start: none; }
.bracket > .bk4  { inset-block-end: -1px; inset-inline-end: -1px; border-inline-start: none; border-block-start: none; }
.bracket:hover::before, .bracket:hover::after,
.bracket:hover > .bk3, .bracket:hover > .bk4 { width: 20px; height: 20px; opacity: 1; }

/* ==========================================================
   8. NAV
   ========================================================== */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-block-end: 1px solid transparent;
  transition: height .35s var(--ease), background .35s var(--ease),
              border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-stuck {
  height: 58px;
  background: rgba(9, 9, 13, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-block-end-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* reading-progress rail */
.nav__progress {
  position: absolute;
  inset-block-end: -1px;
  inset-inline-start: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--amber), #ffd98e);
  box-shadow: 0 0 12px rgba(245,165,36,.7);
  transition: width .1s linear;
}

/* brand */
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--amber);
  color: #0a0a0b;
  position: relative;
  flex: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--amber);
  border-radius: var(--r-sm);
  opacity: .28;
  transition: inset .4s var(--ease), opacity .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); box-shadow: 0 8px 26px -8px rgba(245,165,36,.8); }
.brand:hover .brand__mark::after { inset: -7px; opacity: .6; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--fs-lat);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--text);
  direction: ltr;
}
.brand__name b { color: var(--amber); font-weight: 700; }
.brand__sub {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--fs-lat);
  direction: ltr;
}

/* links */
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--r-sm);
  transition: color .22s var(--ease), background .22s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  inset-block-end: 3px;
  inset-inline-start: 50%;
  width: 0; height: 1.5px;
  background: var(--amber);
  transform: translateX(50%);
  transition: width .3s var(--ease);
}
[dir="ltr"] .nav__link::after { transform: translateX(-50%); }
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.03); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 22px; }
.nav__link.is-active { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: color .22s, border-color .22s, background .22s;
}
.nav__phone svg { width: 15px; height: 15px; color: var(--amber); }
.nav__phone:hover { color: var(--text); border-color: var(--border); background: var(--surface); }

/* burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .34s var(--ease), opacity .2s var(--ease), width .34s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7,7,10,.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: calc(var(--nav-h) + 28px) var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .34s var(--ease), transform .34s var(--ease), visibility .34s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__link {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  padding: 15px 4px;
  border-block-end: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open .drawer__link {
  animation: drawer-in .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms + 80ms);
}
@keyframes drawer-in { to { opacity: 1; transform: translateY(0); } }
.drawer__link span { font-size: 12px; color: var(--dim); font-family: var(--fs-mono); }
.drawer__foot { margin-top: auto; padding-top: 30px; display: grid; gap: 12px; }

/* ==========================================================
   9. HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--nav-h) + 40px) 0;
  overflow: hidden;
  isolation: isolate;
}

/* — layer 1: ken-burns photo stack — */
.hero__bg { position: absolute; inset: 0; z-index: -5; overflow: hidden; background: #050508; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
  filter: grayscale(.45) contrast(1.06) brightness(.55);
  animation: kb-fade 36s linear infinite;
}
.hero__slide:nth-child(1) { animation-delay: 0s;  }
.hero__slide:nth-child(2) { animation-delay: 12s; }
.hero__slide:nth-child(3) { animation-delay: 24s; }
@keyframes kb-fade {
  0%    { opacity: 0; transform: scale(1.16) translate(1.5%, .8%); }
  6%    { opacity: .95; }
  28%   { opacity: .95; }
  34%   { opacity: 0; }
  100%  { opacity: 0; transform: scale(1.02) translate(-1.2%, -.6%); }
}

/* — layer 2: colour grade + vignette — */
.hero__grade {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(90% 65% at 72% 18%, rgba(245,165,36,.16) 0%, transparent 62%),
    radial-gradient(70% 60% at 12% 82%, rgba(34,211,238,.10) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(7,7,10,.72) 0%, rgba(7,7,10,.55) 38%, rgba(7,7,10,.93) 82%, var(--bg) 100%);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(120% 100% at 50% 50%, transparent 38%, rgba(0,0,0,.72) 100%);
}

/* — layer 3: technical grid + scanline — */
.hero__grid {
  position: absolute;
  inset: -2px;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(110% 85% at 50% 35%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 85% at 50% 35%, #000 0%, transparent 78%);
  animation: grid-drift 32s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 74px 74px, 74px 74px; }
}
.hero__scan {
  position: absolute;
  inset-inline: 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(245,165,36,.055) 45%, rgba(245,165,36,.09) 50%, transparent);
  animation: scan 9s var(--ease-io) infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(-190px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(100svh); opacity: 0; }
}

/* — layer 4: particle canvas — */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}

/* — content — */
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  flex: 1;
  padding-block-end: 40px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(17,17,22,.7);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 26px;
}
[dir="rtl"] .hero__badge { padding: 7px 16px 7px 8px; }
.hero__badge b {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #0a0a0b;
  background: var(--amber);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--fs-lat);
}

.hero h1 {
  font-size: clamp(29px, 4.15vw, 57px);
  line-height: 1.26;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 .ln { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.hero h1 .ln > i {
  display: block;
  font-style: normal;
  transform: translateY(105%);
  animation: line-up .95s var(--ease) forwards;
}
.hero h1 .ln:nth-child(1) > i { animation-delay: .12s; }
.hero h1 .ln:nth-child(2) > i { animation-delay: .24s; }
.hero h1 .ln:nth-child(3) > i { animation-delay: .36s; }
@keyframes line-up { to { transform: translateY(0); } }

.hero__lead {
  margin-top: 20px;
  font-size: clamp(14.5px, 1.32vw, 16.5px);
  line-height: 1.95;
  color: var(--text-2);
  max-width: 54ch;
}
.hero__lead b { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__trust {
  margin-top: 32px;
  padding-top: 24px;
  border-block-start: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 46px);
}
.hero__trust li { list-style: none; }
.hero__trust .n {
  font-family: var(--fs-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero__trust .n u { text-decoration: none; color: var(--amber); }
.hero__trust .l { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* fade-up helper used by hero right column + misc */
.fx-up { opacity: 0; transform: translateY(24px); animation: fx-up .9s var(--ease) forwards; }
@keyframes fx-up { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: .5s; } .d2 { animation-delay: .62s; }
.d3 { animation-delay: .74s; } .d4 { animation-delay: .86s; }
.d5 { animation-delay: .98s; } .d6 { animation-delay: 1.1s; }

/* scroll cue */
.hero__cue {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding-block-end: 26px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--dim);
  font-family: var(--fs-mono);
  text-transform: uppercase;
}
.hero__cue .bar {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  position: relative;
  overflow: hidden;
}
.hero__cue .bar::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 12px;
  background: var(--amber);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-14px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* ==========================================================
   10. HERO CONSOLE (live-ops glass panel)
   ========================================================== */
.console {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(23,23,29,.92), rgba(13,13,17,.88));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--glow-soft), 0 0 0 1px rgba(255,255,255,.03) inset;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.console::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(245,165,36,.5), transparent 32%, transparent 68%, rgba(34,211,238,.28));
  -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;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-block-end: 1px solid var(--border);
  background: rgba(7,7,10,.5);
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); display: block; }
.console__dots i:first-child { background: #3a2222; }
.console__title {
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
  margin-inline-start: 6px;
}
.console__bar .chip { margin-inline-start: auto; font-size: 10.5px; padding: 3px 9px; }

/* camera viewport */
.cam {
  position: relative;
  aspect-ratio: 16 / 9.4;
  background: #0a0a0d center/cover no-repeat;
  overflow: hidden;
}
.cam__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(.35) contrast(1.12) brightness(.62) saturate(.85);
  transform: scale(1.02);
}
.cam::after { /* CRT scanlines */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
  opacity: .5;
  pointer-events: none;
}
.cam__grade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,10,.85), transparent 55%);
}

/* detection boxes */
.det {
  position: absolute;
  border: 1.5px solid var(--c, var(--amber));
  border-radius: 2px;
  box-shadow: 0 0 22px -4px var(--c, var(--amber)), 0 0 0 1px rgba(0,0,0,.35);
  opacity: 0;
  animation: det-in .6s var(--ease) forwards, det-float 5s ease-in-out infinite;
}
.det::before, .det::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border: 1.5px solid var(--c, var(--amber));
}
.det::before { top: -1.5px; left: -1.5px; border-right: none; border-bottom: none; }
.det::after  { bottom: -1.5px; right: -1.5px; border-left: none; border-top: none; }
.det > b {
  position: absolute;
  bottom: 100%;
  left: -1.5px;
  margin-bottom: 4px;
  font-family: var(--fs-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--c, var(--amber));
  color: #07070a;
  white-space: nowrap;
  direction: ltr;
}
.det > b[dir="rtl"] { direction: rtl; font-family: var(--fs-sans); letter-spacing: 0; }
@keyframes det-in { to { opacity: 1; } }
@keyframes det-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(.7%, -1%); }
}
.det--1 { --c: var(--amber); animation-delay: .9s, 1.5s; }
.det--2 { --c: var(--cyan);  animation-delay: 1.4s, 2.1s; }
.det--3 { --c: var(--lime);  animation-delay: 1.9s, 2.6s; }
.det--4 { --c: var(--red);   animation-delay: 2.4s, 3.1s; }

/* sweeping scan line inside the cam */
.cam__laser {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 18px 2px rgba(245,165,36,.55);
  animation: cam-laser 4.6s var(--ease-io) infinite;
  opacity: .8;
}
@keyframes cam-laser {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .9; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* cam corner HUD */
.cam__hud {
  position: absolute;
  inset: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--fs-mono);
  font-size: 10px;
  color: rgba(237,237,240,.82);
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
  pointer-events: none;
  direction: ltr;
}
.cam__rec { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; }
.cam__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }

/* console event feed */
.feed { padding: 12px; display: grid; gap: 7px; }
.feed__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: rgba(7,7,10,.45);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: feed-in .55s var(--ease) forwards;
}
.feed__row:nth-child(1) { animation-delay: 1.5s; }
.feed__row:nth-child(2) { animation-delay: 1.75s; }
.feed__row:nth-child(3) { animation-delay: 2s; }
@keyframes feed-in { to { opacity: 1; transform: translateY(0); } }
.feed__row i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c, var(--amber));
  box-shadow: 0 0 10px var(--c, var(--amber));
  flex: none;
}
.feed__row .t { font-family: var(--fs-mono); font-size: 10.5px; color: var(--dim); direction: ltr; }
.feed__row .m { color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__row .c {
  font-family: var(--fs-mono); font-size: 10px; color: var(--muted);
  border: 1px solid var(--border); padding: 1px 6px; border-radius: 2px; direction: ltr;
}
.feed__row--red  { --c: var(--red); border-color: rgba(239,70,70,.28); background: rgba(239,70,70,.05); }
.feed__row--cyan { --c: var(--cyan); }
.feed__row--lime { --c: var(--lime); }

/* console footer metrics */
.console__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block-start: 1px solid var(--border);
  background: rgba(7,7,10,.4);
}
.console__foot div {
  padding: 11px 14px;
  border-inline-end: 1px solid var(--border);
}
.console__foot div:last-child { border-inline-end: none; }
.console__foot .k { font-size: 10.5px; color: var(--muted); }
.console__foot .v {
  font-family: var(--fs-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
  margin-top: 2px;
  text-align: end;
}
[dir="rtl"] .console__foot .v { direction: ltr; text-align: right; }
.console__foot .v small { font-size: 10px; color: var(--muted); margin-inline-start: 3px; }

/* floating callout attached to console */
.console-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: rgba(17,17,22,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.95);
  font-size: 12px;
  animation: float-y 6s ease-in-out infinite;
}
.console-float svg { width: 17px; height: 17px; color: var(--amber); flex: none; }
.console-float .v { font-weight: 600; color: var(--text); font-size: 13.5px; }
.console-float .k { font-size: 10.5px; color: var(--muted); }
.console-float--a { inset-block-end: -22px; inset-inline-start: -26px; animation-delay: .4s; }
.console-float--b { inset-block-start: 56%; inset-inline-end: -32px; animation-delay: 2.2s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ==========================================================
   11. LOGO / TRUST MARQUEE
   ========================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--border);
  background: var(--bg-elev);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marq 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: clamp(22px, 3vw, 44px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dim);
  white-space: nowrap;
  transition: color .25s;
}
.marquee__item:hover { color: var(--text-2); }
.marquee__item svg { width: 16px; height: 16px; color: var(--amber); opacity: .65; }

/* ==========================================================
   12. STAT BAND
   ========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.stat {
  padding: clamp(22px, 3vw, 34px);
  border-inline-end: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-inline-end: none; }
.stat::after {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, var(--amber), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.stat:hover::after { transform: scaleX(1); }
[dir="ltr"] .stat::after { background: linear-gradient(to right, var(--amber), transparent); transform-origin: left; }
.stat .v {
  font-family: var(--fs-mono);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.045em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  direction: ltr;
}
[dir="rtl"] .stat .v { justify-content: flex-end; }
.stat .v u { text-decoration: none; color: var(--amber); font-size: .56em; }
.stat .k { margin-top: 12px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.stat .s { margin-top: 4px; font-size: 11.5px; color: var(--dim); }

/* ==========================================================
   13. FEATURE / MODULE CARDS
   ========================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface);
  min-height: 236px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .4s var(--ease);
}
/* cursor spotlight */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(245,165,36,.09), transparent 62%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card__ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--amber);
  margin-bottom: 20px;
  flex: none;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), color .45s;
}
.card__ico svg { width: 21px; height: 21px; }
.card:hover .card__ico {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(245,165,36,.5);
  box-shadow: 0 10px 28px -12px rgba(245,165,36,.8);
}
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.card__tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__tags span {
  font-family: var(--fs-mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 2px;
  direction: ltr;
  transition: color .3s, border-color .3s;
}
.card:hover .card__tags span { color: var(--muted); border-color: var(--border-strong); }
.card__idx {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--faint);
  transition: color .4s;
}
.card:hover .card__idx { color: var(--amber); }
[dir="ltr"] .card__idx { left: auto; right: 20px; }

/* ==========================================================
   14. SPLIT SHOWCASE (sticky media + steps)
   ========================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.split--rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }

/* step list */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateX(-4px); }
[dir="ltr"] .step:hover { transform: translateX(4px); }
.step.is-on { border-color: rgba(245,165,36,.45); background: var(--surface-2); }
.step.is-on::after {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: var(--amber);
  box-shadow: 0 0 16px var(--amber);
}
.step__n {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-family: var(--fs-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  flex: none;
  transition: all .4s var(--ease);
}
.step.is-on .step__n { background: var(--amber); border-color: var(--amber); color: #07070a; }
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ==========================================================
   15. MEDIA FRAME (screens, photos)
   ========================================================== */
.frame {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--glow-soft);
}
.frame img { width: 100%; display: block; }
.frame__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-block-start: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(7,7,10,.5);
}
.frame__cap .mono { color: var(--text-2); }

/* photo tile with duotone + reveal */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.6) contrast(1.05) brightness(.72);
  transform: scale(1.02);
  transition: transform .9s var(--ease), filter .7s var(--ease);
}
.shot:hover img { transform: scale(1.09); filter: grayscale(0) contrast(1.02) brightness(.9); }
.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,10,.9) 0%, transparent 55%);
  pointer-events: none;
}
.shot figcaption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 16px 18px;
  z-index: 2;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.shot figcaption em {
  font-style: normal;
  font-family: var(--fs-mono);
  font-size: 10px;
  color: var(--amber);
  border: 1px solid rgba(245,165,36,.35);
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(245,165,36,.08);
  direction: ltr;
}

/* ==========================================================
   16. AI ENGINE PANEL
   ========================================================== */
.engine {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.engine__tabs {
  display: flex;
  border-block-end: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg-elev);
}
.engine__tabs::-webkit-scrollbar { display: none; }
.engine__tab {
  flex: 1;
  min-width: 150px;
  padding: 16px 18px;
  text-align: start;
  border-inline-end: 1px solid var(--border);
  position: relative;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.engine__tab:last-child { border-inline-end: none; }
.engine__tab:hover { color: var(--text-2); background: var(--surface); }
.engine__tab.is-on { color: var(--text); background: var(--surface); }
.engine__tab.is-on::after {
  content: '';
  position: absolute;
  inset-block-end: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
}
.engine__tab .n { display: block; font-size: 14px; font-weight: 600; }
.engine__tab .m {
  display: block;
  font-family: var(--fs-mono);
  font-size: 10px;
  margin-top: 4px;
  opacity: .7;
  direction: ltr;
}

.engine__body { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.engine__pane { display: none; }
.engine__pane.is-on { display: contents; }
.engine__info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.engine__info h3 { font-size: clamp(20px, 2.1vw, 26px); margin-bottom: 14px; }
.engine__info p { font-size: 14px; line-height: 1.95; color: var(--muted); }
.engine__list { margin-top: 24px; display: grid; gap: 11px; }
.engine__list li { list-style: none; display: flex; gap: 11px; font-size: 13.5px; color: var(--text-2); align-items: flex-start; }
.engine__list svg { width: 16px; height: 16px; color: var(--amber); flex: none; margin-top: 4px; }
.engine__metrics { margin-top: auto; padding-top: 26px; display: flex; gap: 28px; flex-wrap: wrap; }
.engine__metrics div .v {
  font-family: var(--fs-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: -.03em;
  direction: ltr;
}
[dir="rtl"] .engine__metrics div .v { text-align: right; }
.engine__metrics div .k { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.engine__visual {
  position: relative;
  border-inline-start: 1px solid var(--border);
  background: #08080b;
  min-height: 340px;
  overflow: hidden;
}
.engine__visual .cam { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; }

/* ==========================================================
   17. ARCHITECTURE DIAGRAM
   ========================================================== */
.arch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  position: relative;
}
.arch__node {
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 24px 22px;
  position: relative;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.arch__node:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.arch__node .tag {
  display: inline-flex;
  font-family: var(--fs-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--amber);
  border: 1px solid rgba(245,165,36,.3);
  background: rgba(245,165,36,.07);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
  direction: ltr;
}
.arch__node h4 { font-size: 16px; margin-bottom: 8px; }
.arch__node p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.arch__node ul { margin-top: 16px; display: grid; gap: 7px; }
.arch__node li {
  list-style: none;
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color .3s;
}
.arch__node:hover li { color: var(--muted); }
.arch__node li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--border-bright);
  border-radius: 1px;
  flex: none;
}
/* animated data flow connectors */
.arch__flow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.arch__flow line {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  animation: dash-flow 1.4s linear infinite;
}
.arch__flow line:nth-child(2) { animation-delay: .35s; }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }

/* ==========================================================
   18. IMPACT / BENEFIT LIST
   ========================================================== */
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.impact__item {
  background: var(--surface);
  padding: clamp(22px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  transition: background .35s;
}
.impact__item:hover { background: var(--surface-2); }
.impact__item .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(245,165,36,.3);
  background: rgba(245,165,36,.07);
  color: var(--amber);
  flex: none;
}
.impact__item .ic svg { width: 18px; height: 18px; }
.impact__item h4 { font-size: 15.5px; margin-bottom: 7px; }
.impact__item p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.impact__item .kpi {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--green);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================
   19. QUOTE
   ========================================================== */
.quote {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(245,165,36,.08), transparent 60%),
    var(--surface);
  padding: clamp(32px, 4.4vw, 60px);
  position: relative;
  overflow: hidden;
}
.quote__mark {
  position: absolute;
  inset-block-start: -12px;
  inset-inline-end: 26px;
  font-size: 160px;
  line-height: 1;
  font-family: var(--fs-lat);
  color: rgba(245,165,36,.09);
  font-weight: 800;
  pointer-events: none;
}
.quote p {
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.85;
  color: var(--text);
  font-weight: 500;
  max-width: 68ch;
  position: relative;
}
.quote footer { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote__av {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  color: var(--amber);
  flex: none;
}
.quote__who b { display: block; font-size: 14px; color: var(--text); font-weight: 600; }
.quote__who span { font-size: 12px; color: var(--muted); }

/* ==========================================================
   20. CTA BAND
   ========================================================== */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  padding: clamp(40px, 6vw, 80px) clamp(26px, 5vw, 70px);
  text-align: center;
  background: linear-gradient(150deg, #14141a 0%, #0b0b0f 60%);
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(90% 90% at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 40%, #000, transparent 72%);
}
.cta::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  translate: -50% 0;
  width: 680px; height: 680px;
  z-index: -1;
  background: radial-gradient(circle, rgba(245,165,36,.16), transparent 62%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.18); opacity: 1; }
}
.cta h2 { font-size: clamp(26px, 4vw, 46px); letter-spacing: -.03em; }
.cta p { margin: 20px auto 0; max-width: 58ch; color: var(--text-2); font-size: clamp(14px, 1.3vw, 16.5px); line-height: 1.9; }
.cta .btns { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 22px; font-size: 12.5px; color: var(--dim); }

/* ==========================================================
   21. CONTACT
   ========================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 60px); align-items: start; }

.contact__cards { display: grid; gap: 14px; }
.ccard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.ccard:hover { border-color: rgba(245,165,36,.4); background: var(--surface-2); transform: translateY(-3px); }
.ccard .ic {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--amber);
  flex: none;
}
.ccard .ic svg { width: 19px; height: 19px; }
.ccard .k { font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.ccard .v { font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.7; }
.ccard .v a { transition: color .25s; display: block; }
[dir="rtl"] .ccard .v .mono { text-align: right; }
.ccard .v a:hover { color: var(--amber); }
.ccard .v .mono { font-size: 16px; letter-spacing: .01em; }
.ccard .s { font-size: 12px; color: var(--dim); margin-top: 6px; line-height: 1.75; }

/* form */
.form {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
}
.form h3 { font-size: 19px; margin-bottom: 8px; }
.form > p { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.field label i { color: var(--amber); font-style: normal; }
.field input, .field textarea, .field select {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  width: 100%;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.8; }
.field select { appearance: none; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,165,36,.12);
  background: var(--surface);
}
.field--select { position: relative; }
.field--select::after {
  content: '';
  position: absolute;
  inset-inline-end: 14px;
  inset-block-end: 19px;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.form__foot { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { font-size: 12.5px; color: var(--green); display: none; }
.form__msg.is-on { display: inline-flex; align-items: center; gap: 7px; }
.form__msg svg { width: 15px; height: 15px; }
.form__hint { font-size: 11.5px; color: var(--dim); margin-inline-start: auto; }

/* map strip */
.mapbox {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--bg-elev);
}
.mapbox svg { width: 100%; height: 100%; display: block; }
.mapbox__pin {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.mapbox__pin i {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(245,165,36,.18), 0 0 20px rgba(245,165,36,.8);
  display: block;
}
.mapbox__pin::after {
  content: '';
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  animation: ping 2.6s var(--ease-io) infinite;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(5.5); opacity: 0; }
}
.mapbox__label {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-start: 14px;
  font-size: 11.5px;
  color: var(--text-2);
  background: rgba(7,7,10,.82);
  border: 1px solid var(--border);
  padding: 6px 11px;
  border-radius: var(--r-xs);
  backdrop-filter: blur(8px);
}

/* ==========================================================
   22. FOOTER
   ========================================================== */
.footer {
  border-block-start: 1px solid var(--border);
  background: var(--bg-elev);
  padding-block: clamp(46px, 5vw, 70px) 0;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: 46px;
}
.footer__about p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 18px; max-width: 40ch; }
.footer__social { display: flex; gap: 9px; margin-top: 22px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: all .3s var(--ease);
}
.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover { color: var(--amber); border-color: rgba(245,165,36,.45); transform: translateY(-3px); background: var(--surface); }
.footer__col h5 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col li { list-style: none; }
.footer__col a {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color .25s, padding-inline-start .25s var(--ease);
  display: inline-block;
}
.footer__col a:hover { color: var(--amber); padding-inline-start: 5px; }
.footer__bar {
  border-block-start: 1px solid var(--border);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim);
}
.footer__bar .mono { color: var(--muted); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--text-2); }

/* ==========================================================
   23. SCROLL REVEAL
   ========================================================== */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }
.rv--left  { transform: translateX(34px); }
.rv--right { transform: translateX(-34px); }
.rv--scale { transform: scale(.95) translateY(20px); }
.rv--blur  { filter: blur(8px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); }
.rv--blur.in { filter: blur(0); }

/* back to top */
.totop {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(17,17,22,.9);
  backdrop-filter: blur(12px);
  color: var(--text-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: all .4s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { color: var(--amber); border-color: rgba(245,165,36,.5); box-shadow: 0 8px 26px -10px rgba(245,165,36,.7); }
.totop svg { width: 18px; height: 18px; }

/* section background variants */
.glow-t { overflow: hidden; }
.bg-elev { background: var(--bg-elev); }
.bg-dot {
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 26px 26px;
}
.glow-t::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  width: min(900px, 90vw);
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(245,165,36,.09), transparent 70%);
  pointer-events: none;
}

/* ==========================================================
   24. RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; padding-block-start: 20px; }
  .hero { min-height: auto; padding-block-end: 40px; }
  .hero__cue { display: none; }
  .console-float--b { inset-inline-end: -14px; }
  .engine__body { grid-template-columns: 1fr; }
  .engine__visual { border-inline-start: none; border-block-start: 1px solid var(--border); min-height: 300px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .burger { display: flex; }
  .nav__cta { margin-inline-start: auto; }
  .nav__cta .btn { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: none; }
  .stat:nth-child(-n+2) { border-block-end: 1px solid var(--border); }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .arch { grid-template-columns: 1fr; }
  .arch__flow { display: none; }
  .contact { grid-template-columns: 1fr; }
  /* the 34px horizontal slide-in exceeds the page gutter once columns stack */
  .rv--left, .rv--right { transform: translateY(28px); }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .cards { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .console__foot { grid-template-columns: 1fr; }
  .console__foot div { border-inline-end: none; border-block-end: 1px solid var(--border); }
  .console__foot div:last-child { border-block-end: none; }
  .console-float { display: none; }
  .hero__trust { gap: 22px 28px; }
  .engine__tab { min-width: 132px; }
  .quote__mark { font-size: 110px; inset-inline-end: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .totop { inset-block-end: 16px; inset-inline-end: 16px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-inline-end: none; border-block-end: 1px solid var(--border); }
  .stat:last-child { border-block-end: none; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta .btns { flex-direction: column; }
}

/* ==========================================================
   25. MOTION PREFERENCES / PRINT
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; filter: none; }
  .hero h1 .ln > i { transform: none; }
  .fx-up { opacity: 1; transform: none; }
  .hero__slide:first-child { opacity: .95; }
}

@media print {
  .nav, .drawer, .totop, .hero__canvas, .hero__scan { display: none !important; }
  body { background: #fff; color: #000; }
}
