/* Instalros — Cyber HUD design system (dark default + light theme) */
:root, [data-theme="light"] .force-dark {
  --bg: #05060a;
  --bg-2: #0a0c13;
  --panel: #0d1019;
  --panel-2: #121624;
  --line: #1e2433;
  --line-2: #2a3245;
  --text: #e8eaf0;
  --text-2: #c3c9d6;
  --muted: #9aa3b5;
  --dim: #8590a3;
  --hl: #29c6f0;          /* highlight TEXT colour */
  --warn: #ff9f43;
  --cyan: #29c6f0;
  --violet: #8b6cff;
  --red: #ff2a4f;
  --green: #2bff88;
  --input: #07080d;
  --nav-bg: rgba(5, 6, 10, .72);
  --scan: rgba(255, 255, 255, .018);
  --glow: rgba(41, 198, 240, .14);
  --logo-slate: #6b7f8a;
  --accent: var(--cyan);
  color-scheme: dark;
  color: var(--text);
}
[data-theme="light"] {
  --bg: #f2f0e8;
  --bg-2: #e9e6db;
  --panel: #fbfaf6;
  --panel-2: #ffffff;
  --line: #d8d4c7;
  --line-2: #c3beae;
  --text: #0b0d14;
  --text-2: #2b3140;
  --muted: #4a5162;
  --dim: #5d6474;
  --hl: #c8102e;
  --warn: #c2570c;
  --cyan: #07709c;
  --violet: #5b3fd6;
  --red: #c8102e;
  --green: #0a7a43;
  --input: #ffffff;
  --nav-bg: rgba(242, 240, 232, .82);
  --scan: rgba(0, 0, 0, .025);
  --glow: rgba(7, 112, 156, .1);
  --logo-slate: #46565e;
  color-scheme: light;
}
:root {
  --font-display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --cut: 14px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; line-height: 1.55;
  overflow-x: hidden; transition: background-color .35s, color .35s;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 3px); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
::selection { background: var(--cyan); color: #000; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; }
.force-dark { background-color: var(--bg); color: var(--text); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--cyan); color: #000; padding: .6rem 1rem; font-family: var(--font-mono); }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.y { color: var(--cyan); background: linear-gradient(100deg, var(--cyan), var(--violet), var(--cyan)) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.c { color: var(--cyan); }
.r { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--cyan); pointer-events: none; }

/* ---------- labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; flex-shrink: 0; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: .28rem .55rem; border: 1px solid var(--line-2); color: var(--muted); }
.tag--y { border-color: currentColor; color: var(--hl); }
.tag--c { border-color: currentColor; color: var(--cyan); }
.tag--r { border-color: currentColor; color: var(--red); }
.tag--live { color: var(--green); border-color: currentColor; }
.tag--live::before { content: "● "; animation: blink 1.4s steps(2) infinite; }

/* ---------- buttons ---------- */
.btn {
  --b: linear-gradient(110deg, var(--cyan), var(--violet), var(--cyan)) 0 0 / 200% 100%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: #000; background: var(--b); border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform .2s var(--ease), filter .2s var(--ease);
  animation: shimmer 5s linear infinite;
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none;
}
.btn:hover { transform: translate(-2px, -2px); filter: brightness(1.06) drop-shadow(4px 4px 0 var(--violet)); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--ghost, .btn--sm:not(.btn--solid) { background: transparent; color: var(--cyan); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover, .btn--sm:not(.btn--solid):hover { background: var(--glow); }
/* clip-path would cut the inset outline at the chamfered corners */
.btn--ghost, .btn--sm:not(.btn--solid) { clip-path: none; }
/* drop-shadow on a transparent button duplicates its border + text: glow instead */
.btn--ghost:hover, .btn--sm:not(.btn--solid):hover { filter: none; transform: none; box-shadow: inset 0 0 0 2px currentColor, 0 0 18px var(--glow); }
[data-theme="light"] .btn:not(.btn--ghost, .btn--sm:not(.btn--solid)):not(.force-dark *) { color: #fff; }
[data-theme="light"] .btn--ghost:not(.force-dark *) { color: var(--text); }
.btn--cyan { --b: var(--cyan); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .85rem; white-space: nowrap; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- panels (+ pointer glow) ---------- */
.panel {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%);
}
.panel:hover::before { opacity: 1; }
.panel { transition: border-color .35s, transform .25s var(--ease); }
.panel:hover { border-color: color-mix(in srgb, var(--cyan) 45%, var(--line)); }
.panel::after { content: ""; position: absolute; top: 0; right: 0; width: 32px; height: 32px; background: linear-gradient(225deg, var(--cyan) 0 15.5px, transparent 15.5px); opacity: .8; transition: width .35s var(--ease), height .35s var(--ease), filter .35s; }
.panel:hover::after { width: 44px; height: 44px; filter: hue-rotate(40deg) drop-shadow(0 0 6px var(--violet)); }
[data-theme="light"] .panel:not(.force-dark *) { box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px -18px rgba(20,20,10,.25); }
.tilt { transform-style: preserve-3d; transition: transform .25s var(--ease), border-color .35s; will-change: transform; }

.hud-frame { position: relative; }
.hud-frame::before, .hud-frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--cyan); pointer-events: none; z-index: 2; }
.hud-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hud-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background-color .35s; }
.nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 22%; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent); box-shadow: 0 0 12px var(--cyan); animation: nav-scan 7s ease-in-out infinite alternate; }
@keyframes nav-scan { to { left: 78%; } }
.nav__in { display: flex; align-items: center; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; color: var(--text); }
.brand__mark { width: 36px; height: 36px; overflow: visible; filter: drop-shadow(0 0 6px rgba(43,179,225,.45)); transition: transform .4s var(--ease); }
.brand__word { width: 118px; height: 22px; }
.nav__links { display: flex; gap: .1rem; margin: 0 0 0 auto; list-style: none; padding: 0; }
.nav__links a { position: relative; display: block; padding: .5rem .5rem; font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .15s; }
.nav__links a::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .2rem; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--hl); color: var(--hl); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }

.drop { position: relative; }
.drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .8rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); border: 1px solid currentColor; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary svg { width: 14px; height: 14px; transition: transform .2s; }
.drop[open] > summary svg { transform: rotate(180deg); }
.drop__menu { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: .5rem; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: drop-in .2s var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.drop__item { display: block; padding: .8rem .9rem; border-left: 2px solid transparent; transition: background .15s, border-color .15s; }
.drop__item:hover { background: var(--panel-2); border-left-color: var(--cyan); }
.drop__item strong { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.drop__item span { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--dim); margin-top: .2rem; }
.lang .drop__menu { width: 170px; }
.lang .drop__item[aria-current="true"] { border-left-color: var(--cyan); }

.burger { display: none; }
@media (max-width: 1320px) {
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 1rem 16px 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; margin: 0; }
  .nav__links a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a::after { display: none; }
  .nav.open .nav__links { transform: none; visibility: visible; }
  .burger { display: grid; }
  .nav__actions { margin-left: auto; }
}
.m-only { display: none; }
@media (max-width: 640px) {
  .nav .plat, .nav .lang, .nav__actions > .btn { display: none; }
  .nav .m-only { display: block; }
  .m-lang { display: flex !important; gap: .5rem; padding-top: 1rem; }
  .m-lang a { flex: 1; text-align: center; border: 1px solid var(--line-2) !important; }
  .m-lang a[aria-current="true"] { color: var(--hl); border-color: currentColor !important; }
  .nav__actions { gap: .4rem; }
  .brand__word { width: 104px; height: 20px; }
  .section { padding: 3.5rem 0; }
  .section__head { margin-bottom: 2rem; }
  .section__head p { font-size: 1.08rem; }
  .product, .pillar, .node, .card { padding: 1.4rem; }
  .sector { padding: 1.4rem; }
  .sector__num { font-size: 3rem; padding-bottom: .8rem; }
  .specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero { padding-top: 104px; }
  .stats { margin-top: 2.5rem; }
  .stat { padding: 1rem 1.1rem; }
  .split h2, .section__head h2 { font-size: 2rem; }
  .ticker span { padding: .6rem 1rem; font-size: .8rem; }
  .eyebrow { letter-spacing: .12em; font-size: .7rem; }
  .eyebrow::before { width: 22px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 820px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section__head p { margin-top: 1.1rem; font-size: 1.2rem; }
.idx { font-family: var(--font-mono); font-size: .72rem; color: var(--dim); letter-spacing: .14em; }
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.grid-bg.section--alt { background-color: var(--bg-2); }

/* ---------- glitch ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.glitch::before { color: var(--cyan); transform: translate(-3px, 0); animation: glitch-a 4.2s infinite steps(1); }
.glitch::after { color: var(--red); transform: translate(3px, 0); animation: glitch-b 4.2s infinite steps(1); }
@keyframes glitch-a { 0%, 88%, 100% { clip-path: inset(0 0 100% 0); } 89% { clip-path: inset(12% 0 70% 0); } 91% { clip-path: inset(55% 0 20% 0); transform: translate(-6px, 0); } 93% { clip-path: inset(80% 0 5% 0); } }
@keyframes glitch-b { 0%, 88%, 100% { clip-path: inset(0 0 100% 0); } 90% { clip-path: inset(30% 0 50% 0); } 92% { clip-path: inset(70% 0 10% 0); transform: translate(6px, 0); } 94% { clip-path: inset(5% 0 85% 0); } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- hero (follows theme) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 3rem; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -3%; z-index: -2; background: radial-gradient(80% 70% at 75% 45%, rgba(41,198,240,.16), transparent 60%), #05060a; transition: transform .6s var(--ease); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(5,6,10,.96) 0%, rgba(5,6,10,.82) 42%, rgba(5,6,10,.2) 75%, rgba(5,6,10,.5) 100%), linear-gradient(0deg, #05060a 0%, transparent 25%); }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.2rem); max-width: 14ch; }

.hero__lead { max-width: 640px; margin: 1.6rem 0 2.2rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); }
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .line { display: block; overflow: hidden; }
.hero .line > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * .09s + .1s); }
@keyframes rise { from { transform: translateY(105%); } }
.hero__fade { animation: fade-up .9s var(--ease) both; animation-delay: .5s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.stats { --fill: rgba(10,12,19,.7); display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 7vw, 5rem); position: relative; isolation: isolate; border: 1px solid color-mix(in srgb, var(--cyan) 30%, var(--line)); background: var(--fill); backdrop-filter: blur(6px); }
.stats { overflow: hidden; }
/* light band sweeps across every 7s; each number glows as the band passes it (delays match the band's linear path) */
.stats::after { content: ""; position: absolute; inset: 0; width: 60%; pointer-events: none; background: linear-gradient(100deg, transparent 0 30%, color-mix(in srgb, var(--cyan) 22%, transparent) 44%, color-mix(in srgb, var(--violet) 32%, transparent) 50%, color-mix(in srgb, var(--cyan) 22%, transparent) 56%, transparent 70%); translate: -100% 0; animation: stat-sweep 7s linear infinite; }
.stat { z-index: 1; }
.stat b { animation: stat-glow 7s ease-out infinite; animation-delay: calc(.58s + var(--i, 0) * .34s); }
.stat:nth-of-type(2) { --i: 1; } .stat:nth-of-type(3) { --i: 2; } .stat:nth-of-type(4) { --i: 3; }
@keyframes stat-sweep { 35%, 100% { translate: 200% 0; } }
@keyframes stat-glow { 0%, 14%, 100% { text-shadow: none; } 4% { text-shadow: 0 0 18px var(--cyan), 0 0 38px color-mix(in srgb, var(--violet) 60%, transparent); } }
@media (prefers-reduced-motion: reduce) { .stats::after, .stat b { animation-duration: 7s !important; animation-iteration-count: infinite !important; } }
.stat { padding: 1.4rem 1.6rem; border-right: 1px solid var(--line); position: relative; }
.stat:last-of-type { border-right: 0; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); transform-origin: left; animation: grow 1.2s var(--ease) both .8s; }
@keyframes grow { from { transform: scaleX(0); } }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-of-type(2) { border-right: 0; } .stat:nth-of-type(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); color: var(--muted); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { padding: .75rem 1.6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; font-size: .95rem; }
.ticker span::after { content: "//"; margin-left: 3.2rem; color: var(--cyan); }
@keyframes ticker { to { translate: -50% 0; } }

/* ---------- showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); overflow: hidden; }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.screen__bar { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; padding: .7rem .9rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: #e8eaf0; background: linear-gradient(180deg, rgba(0,0,0,.7), transparent); pointer-events: none; z-index: 1; }
.screen__bar .rec { color: #ff2a4f; animation: blink 1.6s steps(2) infinite; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; perspective: 1200px; }
.product { grid-column: span 2; display: flex; flex-direction: column; padding: 1.8rem; }
.product--wide { grid-column: span 3; }
.product:hover .product__glyph { color: var(--hl); transform: scale(1.08) rotate(-4deg); }
.product__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.product__glyph { width: 52px; height: 52px; color: var(--cyan); transition: color .2s, transform .3s var(--ease); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -5px; } }
.product h3 { font-size: 1.9rem; margin-bottom: .3rem; }
.product__sub { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--hl); text-transform: uppercase; margin-bottom: 1rem; }
.product ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .45rem; }
.product li { position: relative; padding-left: 1.2rem; color: var(--text-2); font-size: 1.02rem; }
.product li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--cyan); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.product__kpis { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.product__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.product--soon { border-style: dashed; background: repeating-linear-gradient(-45deg, var(--glow) 0 12px, transparent 12px 24px), var(--panel); }
.product--soon .product__glyph { color: var(--violet); animation: pulse-o 2s ease-in-out infinite; }
@keyframes pulse-o { 50% { opacity: .45; } }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: .6rem 0; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover { color: var(--hl); }
.link-arrow:hover svg { transform: translateX(4px); }
@media (max-width: 1000px) { .products { grid-template-columns: 1fr 1fr; } .product, .product--wide { grid-column: span 1; } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; }
.pillar { padding: 2rem; }
.pillar--main { grid-row: span 2; }
.pillar h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .8rem 0 1rem; }
.pillar__logo { width: 220px; height: 67px; color: var(--text); margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; color: var(--text-2); }
.checks li svg { width: 22px; height: 22px; color: var(--hl); margin-top: .1rem; }
.checks b { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.terminal { margin-top: 1.6rem; padding: 1rem 1.2rem; background: #000; border: 1px solid #1e2433; font-family: var(--font-mono); font-size: .8rem; line-height: 1.8; color: #9aa3b5; overflow-x: auto; }
.terminal .ok { color: #2bff88; }
.terminal .y { color: #8b6cff; background: none; -webkit-text-fill-color: currentColor; animation: none; }
.terminal .cursor { display: inline-block; width: .6em; height: 1em; background: #29c6f0; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar--main { grid-row: auto; } }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.sector { padding: 2rem 1.6rem 2.2rem; border-right: 1px solid var(--line); position: relative; transition: background .25s; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; }
.sector::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.sector:hover::after { transform: scaleX(1); }
.sector:last-child { border-right: 0; }
.sector:hover { background: var(--panel); }
.sector:hover .sector__num { color: var(--hl); -webkit-text-stroke-color: var(--hl); transform: translateY(-4px); }
.sector__num { font-size: 4.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .25s, transform .3s var(--ease); margin-bottom: auto; padding-bottom: 1.5rem; }
.sector h3 { font-size: 1.55rem; margin-bottom: .8rem; }
.sector p { font-size: 1rem; margin: 0; }
@media (max-width: 1000px) { .sectors { grid-template-columns: 1fr 1fr; } .sector:nth-child(2) { border-right: 0; } .sector:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } .sector { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1.2rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 2rem; }
.specs > div { background: var(--bg-2); padding: 1.2rem; transition: background .2s; }
.specs > div:hover { background: var(--panel); }
.specs b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--hl); }
.specs span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.specs--2 { grid-template-columns: repeat(2, 1fr); }
.specs--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .specs--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr 1fr; } .specs b { font-size: 1.35rem; } }

.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.feature-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--text); transition: padding .2s var(--ease), background .2s; }
.feature-list li:hover { padding-left: .6rem; background: linear-gradient(90deg, var(--glow), transparent); }
.feature-list li span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--cyan); white-space: nowrap; align-self: center; }

/* ---------- interactive radar / proximity ---------- */
.scope { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; touch-action: manipulation; cursor: crosshair; user-select: none; }
.scope svg { width: 100%; height: 100%; overflow: visible; }
.scope .grid line, .scope .grid circle { fill: none; stroke: var(--line-2); }
.scope .ring-dash { fill: none; stroke: var(--cyan); stroke-dasharray: 2 8; opacity: .55; transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.scope .lbl { fill: var(--dim); font: 500 11px var(--font-mono); letter-spacing: .1em; }
.scope .lbl-y { fill: var(--cyan); }

.scope .sweep line { stroke: var(--cyan); stroke-width: 2; }
.scope .blip { fill: var(--cyan); }
.scope .hostile .blip { fill: var(--red); }
.scope .ping { fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.scope .xhair { stroke: var(--cyan); stroke-width: 1; opacity: 0; transition: opacity .2s; }
.scope:hover .xhair { opacity: .8; }
.scope .lock { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; transition: opacity .15s; }
.scope .lock.on { opacity: 1; animation: lock 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lock { 50% { transform: scale(1.25); } }
.scope__readout { position: absolute; left: 0; right: 0; bottom: -2.4rem; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--dim); }
.scope__readout b { color: var(--cyan); font-weight: 500; }
.scope__readout .alert { color: var(--red); }
.scope .zone-r { fill: rgba(255,42,79,.1); stroke: var(--red); }
.scope .zone-y { fill: rgba(255,159,67,.07); stroke: var(--warn); stroke-dasharray: 4 6; }
.scope .zone-g { fill: rgba(43,255,136,.04); stroke: var(--green); stroke-dasharray: 4 6; opacity: .7; }
.scope .pulse { fill: none; stroke: var(--cyan); stroke-width: 2; transform-origin: 200px 200px; animation: pulse 2.4s var(--ease) infinite; }
.scope .base { fill: var(--violet); }
.scope .worker { transition: fill .15s; }
.scope .worker.z-r { fill: var(--red); } .scope .worker.z-y { fill: var(--warn); } .scope .worker.z-g { fill: var(--green); }
.scope .tether { stroke-width: 1.5; stroke-dasharray: 3 4; }
.scope.alarm .zone-r { animation: flash .35s steps(2) infinite; }
@keyframes flash { 50% { fill: rgba(255,42,79,.35); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(.2); opacity: .9; } to { transform: scale(1); opacity: 0; } }
.scope-hint { margin-top: 3.4rem; text-align: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--dim); }

/* image block */
.media-block { position: relative; overflow: hidden; border: 1px solid var(--line-2); margin: 0; }
.media-block img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s, clip-path 1.1s var(--ease) .15s; }
.js .reveal:not(.in) .media-block img, .js .media-block.reveal:not(.in) img { clip-path: inset(0 100% 0 0); }
.media-block:hover img { transform: scale(1.05); }
.media-block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(41,198,240,.25), transparent); height: 30%; transform: translateY(-100%); pointer-events: none; }
.media-block:hover::after { animation: scanY 1.4s linear; }
@keyframes scanY { to { transform: translateY(400%); } }
.media-block figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #e8eaf0; background: linear-gradient(0deg, rgba(5,6,10,.95), transparent); z-index: 1; }
.media-block figcaption b { display: block; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }
.media-block figcaption .tag { color: #29c6f0; border-color: #29c6f0; }
.logo-plate { display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, var(--glow), transparent 65%), var(--panel); }
.logo-plate svg { width: 78%; height: auto; color: var(--text); }

/* ---------- footprint ---------- */
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.node { padding: 1.8rem; }
.node__cc { font-size: 4rem; font-weight: 700; line-height: 1; color: var(--hl); }
:root:not([data-theme="light"]) .node__cc { text-shadow: 0 0 24px rgba(41,198,240,.35); }
.node h3 { font-size: 1.6rem; margin: .4rem 0 .6rem; }
.node__geo { font-family: var(--font-mono); font-size: .75rem; color: var(--cyan); letter-spacing: .1em; margin-bottom: 1rem; }
.node__time { font-family: var(--font-mono); font-size: .8rem; color: var(--text); margin-bottom: .6rem; }
.node p { margin: 0; }
.node__ping { position: absolute; right: 1.8rem; top: 2.2rem; width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(43,255,136,.7); } to { box-shadow: 0 0 0 16px rgba(43,255,136,0); } }
@media (max-width: 900px) { .nodes { grid-template-columns: 1fr; } }

/* ---------- proof ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof > div { background: var(--bg); padding: 2.2rem 1.4rem; text-align: center; transition: background .2s; }
.proof > div:hover { background: var(--panel); }
.proof > div:hover b { color: var(--hl); }
.proof b { display: block; font-size: 2.6rem; letter-spacing: .1em; transition: color .2s; }
.proof span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--dim); }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr 1fr; } }

/* ---------- support forms ---------- */
.tabs { display: flex; border-bottom: 1px solid var(--line-2); margin-bottom: 2rem; flex-wrap: wrap; }
.tabs button { display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .8rem 1.2rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font: 700 1.05rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); cursor: pointer; }
.tabs button svg { width: 18px; height: 18px; }
.tabs button[aria-selected="true"] { color: var(--hl); border-bottom-color: currentColor; }
.tabs button:hover { color: var(--text); }
[role="tabpanel"]:not([hidden]) { animation: fade-up .35s var(--ease); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--hl); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; background: var(--input); color: var(--text); border: 1px solid var(--line-2); border-radius: 0; font: 500 1.05rem var(--font-display); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hl); box-shadow: 0 0 0 3px var(--glow); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .err { font-size: .9rem; color: var(--red); margin: .35rem 0 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.form__status { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; margin: 0; }
.form__status.ok { color: var(--green); }
.form__status.bad { color: var(--red); }
.sev { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.sev label { margin: 0; position: relative; }
.sev input { position: absolute; opacity: 0; }
.sev span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; cursor: pointer; color: var(--muted); transition: border-color .15s, background .15s; }
.sev input:checked + span { border-color: currentColor; background: var(--glow); }
.sev input:focus-visible + span { outline: 2px solid var(--hl); outline-offset: 2px; }
.sev .s-baja { color: var(--green); } .sev .s-media { color: var(--cyan); } .sev .s-alta { color: var(--warn); } .sev .s-critica { color: var(--red); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .sev { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA with 3D ---------- */
.cta3d { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.cta3d h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.2rem; }
.cta3d p { font-size: 1.15rem; margin-bottom: 2rem; }
.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin-inline: auto; }
.stage::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(41,198,240,.25), transparent 65%); filter: blur(10px); }
.stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 6%; height: 14%; border-radius: 50%; border: 1px solid var(--cyan); opacity: .35; transform: perspective(300px) rotateX(70deg); animation: pulse-o 3s ease-in-out infinite; }
.stage canvas { position: relative; z-index: 1; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage__hint { position: absolute; left: 0; right: 0; bottom: -.5rem; text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--dim); }
@media (max-width: 860px) { .cta3d { grid-template-columns: 1fr; text-align: center; } .cta3d .eyebrow { justify-content: center; } .stage { max-width: 300px; } }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: #030407; }
/* synthwave floor */
.footer::before { content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; height: 110%; z-index: -1; pointer-events: none; opacity: .8; background-image: linear-gradient(rgba(41,198,240,.55) 1px, transparent 1px), linear-gradient(90deg, rgba(139,108,255,.5) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(420px) rotateX(68deg); transform-origin: 50% 100%; mask-image: linear-gradient(0deg, #000, transparent 75%); animation: grid-move 2.5s linear infinite; }
[data-theme="light"] .footer { background: var(--bg-2); }
[data-theme="light"] .footer::before { opacity: .35; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em; color: var(--hl); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); transition: color .15s; }
.footer li a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--dim); }
.wa { margin-top: .8rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- sub-page hero (follows theme) ---------- */
.page-hero { position: relative; padding: 160px 0 clamp(4rem, 9vw, 7rem); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: -4%; z-index: -1; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(5,6,10,.97) 0%, rgba(5,6,10,.85) 45%, rgba(5,6,10,.5) 80%, rgba(5,6,10,.75) 100%), linear-gradient(0deg, #05060a, transparent 30%); }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); max-width: 16ch; }
.page-hero p.lead { max-width: 660px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); margin: 1.5rem 0 2.2rem; }
.page-hero__logo { width: min(320px, 70vw); height: auto; color: #fff; --accent: #29c6f0; margin-bottom: 1.6rem; }

/* spectrum */
.spectrum { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.band { padding: 1rem; border: 1px solid var(--line-2); background: var(--panel); text-align: center; position: relative; overflow: hidden; cursor: default; transition: border-color .2s; }
.band b { display: block; font-size: 1.4rem; }
.band span { display: block; font-family: var(--font-mono); font-size: .7rem; color: var(--dim); }
.band em { display: block; margin-top: .6rem; font-style: normal; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: var(--red); }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); animation: scanline 2.6s linear infinite; animation-delay: calc(var(--i, 0) * -.4s); opacity: .6; }
.band:hover { border-color: var(--red); }
.band .wave { height: 26px; margin: .5rem auto 0; width: 100%; }
.band .wave path { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 4 3; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes scanline { from { top: 0; } to { top: 100%; } }
.shield-wall { position: relative; overflow: hidden; margin: 1.6rem 0; padding: 1.1rem; text-align: center; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em; color: #fff; background: linear-gradient(110deg, #0b6f93, #5b3fd6); box-shadow: 0 0 40px rgba(139,108,255,.35); }
.shield-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); width: 30%; animation: wall 3s linear infinite; }
@keyframes wall { from { transform: translateX(-100%); } to { transform: translateX(400%); } }
.safe-zone { padding: 1.6rem; text-align: center; border: 1px dashed var(--green); color: var(--green); font-family: var(--font-mono); letter-spacing: .16em; font-size: .8rem; }
@media (max-width: 900px) { .spectrum { grid-template-columns: repeat(3, 1fr); } }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 1.7rem; }
.card h3 { font-size: 1.4rem; margin: .8rem 0 .7rem; }
.card p { font-size: 1rem; margin: 0 0 1rem; }
.card > svg { width: 36px; height: 36px; color: var(--cyan); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 1rem; }
.gallery .media-block:first-child { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .gallery .media-block:first-child { grid-column: span 2; } }

.zones { display: grid; gap: 1rem; }
.zone { display: grid; grid-template-columns: 14px 1fr; gap: 1.1rem; padding: 1.3rem; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s var(--ease); }
.zone.active { border-color: currentColor; transform: translateX(6px); }
.zone i { width: 14px; min-height: 60px; }
.zone h3 { font-size: 1.3rem; margin: .3rem 0 .4rem; color: var(--text); }
.zone p { margin: 0; font-size: 1rem; }

.portal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.portal a.panel { display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem; }
.portal a.panel:hover h3 { color: var(--hl); }
.portal h3 { font-size: 1.7rem; transition: color .2s; }
.portal .url { font-family: var(--font-mono); font-size: .75rem; color: var(--cyan); word-break: break-all; }
@media (max-width: 760px) { .portal { grid-template-columns: 1fr; } }

/* ---------- boot screen ---------- */
.boot { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #05060a; color: #e8eaf0; transition: opacity .6s var(--ease), visibility .6s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot__grid { position: absolute; inset: 0; background-image: linear-gradient(#141927 1px, transparent 1px), linear-gradient(90deg, #141927 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); animation: grid-move 6s linear infinite; }
@keyframes grid-move { to { background-position: 0 48px; } }
.boot__in { position: relative; display: grid; justify-items: center; gap: 1rem; width: min(560px, 100% - 32px); }
.boot__stage { width: min(300px, 70vw); aspect-ratio: 1; position: relative; }
.boot__stage canvas { width: 100%; height: 100%; }
.boot__stage::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(41,198,240,.3); border-radius: 50%; animation: spin 8s linear infinite; border-top-color: #8b6cff; }
.boot__word { width: 200px; height: 36px; color: #e8eaf0; }
.boot__log { width: 100%; min-height: 6.5em; font-family: var(--font-mono); font-size: .75rem; line-height: 1.6; color: #8590a3; letter-spacing: .06em; }
.boot__log .ok { color: #2bff88; }
.boot__bar { width: 100%; height: 3px; background: #1e2433; overflow: hidden; }
.boot__bar i { display: block; height: 100%; width: 0; background: #29c6f0; box-shadow: 0 0 12px #29c6f0; transition: width .25s linear; }
.boot__meta { display: flex; justify-content: space-between; width: 100%; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: #8590a3; }
.boot__skip { position: absolute; right: 16px; bottom: 16px; min-height: 40px; padding: .5rem 1rem; background: none; border: 1px solid #2a3245; color: #9aa3b5; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; cursor: pointer; }
.boot__skip:hover { color: #29c6f0; border-color: #29c6f0; }

/* ---------- 404 ---------- */
.e404 { min-height: 100svh; display: grid; place-items: center; padding: 110px 0 3rem; position: relative; overflow: hidden; }
.e404__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.e404__code { font-size: clamp(6rem, 20vw, 13rem); line-height: .85; font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--hl); }
.e404__code .glitch::before, .e404__code .glitch::after { -webkit-text-stroke: 2px; }
.e404 h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 1rem 0; }
.e404 .stage { max-width: 420px; }
.e404 .stage canvas { filter: hue-rotate(0deg); animation: e404-shift 5s steps(1) infinite; }
@keyframes e404-shift { 0%, 92%, 100% { filter: none; transform: none; } 93% { filter: hue-rotate(140deg) saturate(2); transform: translate(6px, -3px) skewX(-6deg); } 95% { filter: invert(1); transform: translate(-5px, 2px); } }
@media (max-width: 860px) { .e404__grid { grid-template-columns: 1fr; text-align: center; } .e404 .eyebrow { justify-content: center; } .e404 .stage { max-width: 280px; order: -1; } .e404 .hero__cta { justify-content: center; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.section__head h2::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 1rem; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px var(--glow); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .35s; }
.section__head.in h2::after, html:not(.js) .section__head h2::after { transform: none; }
/* ambient aurora behind sections without their own background */
body::after { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; opacity: .5; background: radial-gradient(35% 30% at 20% 30%, rgba(41,198,240,.10), transparent 70%), radial-gradient(30% 30% at 80% 70%, rgba(139,108,255,.10), transparent 70%); animation: aurora 24s ease-in-out infinite alternate; }
[data-theme="light"] body::after { opacity: .35; }
@keyframes aurora { to { transform: translate(6%, -4%) rotate(8deg) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* ---------- light hero / page-hero ---------- */
/* invert + hue-rotate turns the dark HUD video light while keeping cyan/violet hues */
[data-theme="light"] .hero__media { background: radial-gradient(80% 70% at 75% 45%, rgba(7,112,156,.12), transparent 60%), var(--bg); }
[data-theme="light"] .hero__media video { filter: invert(1) hue-rotate(180deg) saturate(1.3); opacity: .55; }
[data-theme="light"] .hero::before { background: linear-gradient(95deg, rgba(242,240,232,.97) 0%, rgba(242,240,232,.85) 42%, rgba(242,240,232,.25) 75%, rgba(242,240,232,.55) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
[data-theme="light"] .stats { --fill: rgba(251,250,246,.8); }
[data-theme="light"] .page-hero__bg::after { background: linear-gradient(105deg, rgba(242,240,232,.97) 0%, rgba(242,240,232,.88) 45%, rgba(242,240,232,.55) 80%, rgba(242,240,232,.8) 100%), linear-gradient(0deg, var(--bg), transparent 30%); }
[data-theme="light"] .page-hero__logo { color: var(--text); --accent: var(--cyan); }

/* ---------- 3D layer (neural net, flip-in, conic borders, tilted marquee) ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ang { to { --ang: 360deg; } }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.section > .neural { z-index: 0; }
.section > .neural ~ .wrap { position: relative; z-index: 1; }
.hero h1 { perspective: 900px; }
.hero .line { overflow: visible; }
.hero .line > span { transform-origin: 50% 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) rotateX(-90deg); } }
.js .section__head.reveal { transform: perspective(900px) rotateX(-40deg) translateY(28px); transform-origin: 50% 0; }
.js .section__head.reveal.in { transform: none; }
.panel:hover { border-color: transparent; background: linear-gradient(180deg, var(--panel-2), var(--panel)) padding-box, conic-gradient(from var(--ang), var(--line) 0 55%, var(--cyan) 75%, var(--violet) 90%, var(--line)) border-box; animation: ang 3s linear infinite; }
.ticker { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero > .wrap, .page-hero > .wrap { will-change: transform; }

/* ---------- 3D hover tilt (CybernMind-style) ---------- */
.tilt { transition: transform 1.2s cubic-bezier(.03,.98,.52,.99), border-color .35s, box-shadow .5s; }
.js .tilt.reveal { transition: opacity .8s var(--ease) var(--d, 0s), filter .8s var(--ease) var(--d, 0s), transform 1.2s cubic-bezier(.03,.98,.52,.99), border-color .35s, box-shadow .5s; } /* reveal's stagger delay must not lag the tilt */
.tilt:hover { z-index: 2; box-shadow: 0 30px 60px -30px rgba(41,198,240,.35); }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), rgba(41,198,240,.08) 35%, transparent 65%); }
.tilt:hover .glare { opacity: 1; }
.holo { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(41,198,240,.2) 48%, rgba(139,108,255,.16) 52%, transparent 65%); transform: translateX(-120%); transition: transform .9s ease; }
.tilt:hover .holo { transform: translateX(120%); }
.sector.tilt:hover, .media-block.tilt:hover { border-color: var(--cyan); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 35px color-mix(in srgb, var(--cyan) 22%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .tilt, .js .tilt.reveal { transition: transform 1.2s cubic-bezier(.03,.98,.52,.99) !important; }
  .tilt *, .glare { transition-duration: .9s !important; }
  .tilt:hover { animation-duration: 3s !important; animation-iteration-count: infinite !important; }
}
.tilt :is(h3, .sector__num, figcaption, .product__sub, .idx) { transition: translate .9s cubic-bezier(.03,.98,.52,.99); }
.tilt:hover :is(h3, .sector__num, figcaption) { translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); }
.tilt:hover :is(.product__sub, .idx) { translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 6px); }
.tilt:hover .product__glyph { animation: none; translate: calc(var(--px, 0) * 20px) calc(var(--py, 0) * 14px); filter: drop-shadow(0 0 14px var(--cyan)); }

/* ---------- radar upgrades ---------- */
.scope[data-radar]::before { content: ""; position: absolute; inset: 2.5%; border-radius: 50%; pointer-events: none; background: conic-gradient(from calc(var(--a, 90deg) - 70deg), transparent 0deg, color-mix(in srgb, var(--cyan) 38%, transparent) 70deg, transparent 70.5deg); }
.scope[data-radar]::after { content: ""; position: absolute; inset: 2.5%; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 60px var(--glow), 0 0 40px var(--glow); }
.scope .range text { fill: var(--dim); font: 500 9px var(--font-mono); letter-spacing: .08em; }
.scope .trail { fill: none; stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; }
.scope .hostile .trail, .scope .hostile .ping { stroke: var(--red); }
.scope .lock-id { fill: var(--red); font: 600 10px var(--font-mono); letter-spacing: .08em; opacity: 0; transition: opacity .15s; }
.scope .lock-id.on { opacity: 1; }
