/* =============================================================================================
   PantherSoft design system — ported from Prototype.html.
   Dark-only theme by brief. 8px spacing grid, 1280px container, Plus Jakarta Sans + Inter.
   Sections: 1 tokens · 2 fonts · 3 base · 4 layout · 5 buttons & links · 6 header · 7 hero
             8 sections · 9 cards · 10 content pages · 11 forms · 12 footer · 13 motion
   ============================================================================================= */

/* 1. Tokens ----------------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg: #050B18; --bg2: #09152A; --card: #0C1930;
  --blue: #168BFF; --elec: #00B8FF; --cyan: #00D4FF; --purple: #7657FF;
  --fg: #FFFFFF; --fg2: #B8C5D9; --mut: #8494AD; --line: #183453;
  --ink: #04101F; --err: #FF8A8A; --ok: #4BE3A4;
  --glass: rgba(12, 25, 48, .62); --glow: rgba(22, 139, 255, .35);
  --g-main: linear-gradient(90deg, var(--blue), var(--cyan));
  --g-ai: linear-gradient(135deg, var(--blue), var(--purple));
  --display: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  --sec: clamp(56px, 9vw, 112px);
  --hdr-h: 72px;
}

/* 2. Fonts (self-hosted variable WOFF2, latin subset) ----------------------------------------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  /* optional: preloaded and small, so it is normally ready before first paint; if not, no late swap (no CLS). */
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: optional;
  src: url("/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
}
/* Metric-matched fallbacks keep text from shifting when the web fonts arrive (CLS). Values measured against Arial in Chrome. */
@font-face {
  font-family: "Plus Jakarta Sans Fallback"; src: local("Arial");
  ascent-override: 101.4%; descent-override: 21.4%; line-gap-override: 0%; size-adjust: 102.6%;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial");
  ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%;
}

/* 3. Base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg2);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--fg); margin: 0; text-wrap: balance; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
code { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: rgba(0, 184, 255, .35); color: var(--fg); }
svg.ico { width: 1em; height: 1em; flex: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--g-main); color: var(--ink); font-weight: 600;
}
.skip:focus { top: 12px; }

/* 4. Layout ----------------------------------------------------------------------------------- */
.wrap {
  max-width: 1280px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
.wrap.narrow, .narrow { max-width: 860px; }
.band { padding-block: var(--sec); }
.band.alt { background: var(--bg2); }
.pt-sm { padding-top: 24px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split.top { align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 20px; justify-items: start; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.after-grid { margin-top: 32px; }
.center { text-align: center; }
.mv { gap: 20px; }

.grad { background: var(--g-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad.ai { background-image: linear-gradient(90deg, var(--elec), var(--purple)); }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--elec); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
.h3 { font-size: 21px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.5vw, 18px); max-width: 62ch; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.head.center { text-align: center; justify-items: center; }
.note { font-size: 13px; color: var(--mut); margin-top: 16px; }
.muted { color: var(--mut); }
.byline { font-size: 14px; color: var(--mut); }

/* 5. Buttons & links -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 10px; font: 600 15px/1 var(--body); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.btn.pri { background: var(--g-main); color: var(--ink); box-shadow: 0 8px 28px -10px var(--glow); }
.btn.pri:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0, 184, 255, .6); }
.btn.sec { background: rgba(22, 139, 255, .06); border-color: rgba(0, 184, 255, .45); color: var(--fg); }
.btn.sec:hover { border-color: var(--cyan); background: rgba(22, 139, 255, .14); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--elec); font-weight: 600; font-size: 15px; }
.link:hover { color: var(--cyan); }
.link svg { transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }
.link.inline { display: inline; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 6. Header ----------------------------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.hdr.solid, .hdr.menu-open {
  background: rgba(5, 11, 24, .86); border-color: var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hdr > .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mark { width: 40px; height: 40px; flex: none; object-fit: contain; filter: drop-shadow(0 0 10px rgba(22, 139, 255, .35)); }
.brand b { display: block; font: 700 19px/1.1 var(--display); color: var(--fg); }
.brand small { font-size: 11px; color: var(--mut); letter-spacing: .04em; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a, .dd-toggle {
  font: 500 14px/1 var(--body); color: var(--fg2); padding: 10px 11px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.nav-list a:hover, .dd-toggle:hover { color: var(--fg); }
.nav-list a[aria-current="page"], .nav-list a[data-section] { color: var(--elec); }
.nav-cta { display: none; }

.dd { position: relative; display: flex; align-items: center; }
.dd > a { padding-right: 2px; }
.dd-toggle { padding: 10px 8px 10px 4px; }
.dd-toggle svg { transition: transform .2s; }
.dd.open .dd-toggle svg, .dd:hover .dd-toggle svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 300px; padding: 8px; display: grid; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -20px #000;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dd:hover .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
/* Opening via keyboard: visibility must switch instantly so focus can move into the menu. */
.dd.open .dd-menu { transition: opacity .2s, transform .2s; }
.dd-menu a { display: flex; gap: 10px; padding: 11px 12px; width: 100%; line-height: 1.3; }
.dd-menu a:hover, .dd-menu a:focus-visible { background: rgba(22, 139, 255, .1); }
.dd-menu svg { color: var(--elec); font-size: 17px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--glass); color: var(--fg); font-size: 20px; place-items: center; cursor: pointer;
}
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1120px) {
  .burger { display: grid; }
  .hdr .cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--bg2); border-bottom: 1px solid var(--line);
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - var(--hdr-h)); max-height: calc(100dvh - var(--hdr-h)); overflow: auto;
  }
  .nav:not(.open) { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 8px; font-size: 16px; width: 100%; }
  .dd { flex-direction: column; align-items: stretch; }
  .dd-toggle { display: none; }
  .dd-menu {
    position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none;
    background: none; padding: 0 0 0 12px; min-width: 0;
  }
  .dd-menu a { padding: 12px 8px; font-size: 15px; }
  .nav-cta { display: inline-flex; }
}

/* 7. Hero ------------------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(72px, 10vw, 128px);
  background: radial-gradient(60% 70% at 78% 30%, rgba(22, 139, 255, .2), transparent 70%),
              radial-gradient(40% 50% at 95% 75%, rgba(118, 87, 255, .16), transparent 70%);
}
.hero > .wrap { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero > .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); font: 500 13px/1 var(--body); color: var(--fg2);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 .grad { white-space: nowrap; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.trust { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mut); }
.trust svg { color: var(--elec); font-size: 18px; }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; opacity: .55; pointer-events: none; }
.waves path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }

.viz { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / .92; margin-inline: auto; }
.viz svg.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net line { stroke: var(--elec); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; opacity: .7; animation: dash 3s linear infinite; }
.net ellipse { fill: none; stroke: var(--blue); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .35; }
.plat { position: absolute; left: 50%; aspect-ratio: 1; border-radius: 14%; transform: translate(-50%, -50%) rotateX(62deg) rotateZ(45deg); border: 1px solid rgba(0, 184, 255, .55); }
.plat.p1 { top: 74%; width: 56%; background: linear-gradient(135deg, rgba(22, 139, 255, .1), rgba(118, 87, 255, .06)); }
.plat.p2 { top: 68%; width: 44%; background: linear-gradient(135deg, rgba(22, 139, 255, .22), rgba(118, 87, 255, .16)); box-shadow: 0 0 50px rgba(22, 139, 255, .35); }
.plat.p3 { top: 62%; width: 32%; background: linear-gradient(135deg, rgba(0, 212, 255, .45), rgba(118, 87, 255, .4)); box-shadow: 0 0 70px rgba(0, 184, 255, .6); }
.chip {
  position: absolute; left: 50%; top: 37%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 20%;
  background: linear-gradient(150deg, rgba(0, 184, 255, .95), rgba(22, 139, 255, .9) 45%, rgba(118, 87, 255, .95));
  border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 0 70px rgba(22, 139, 255, .65), inset 0 0 28px rgba(255, 255, 255, .28);
  display: grid; place-items: center; font: 800 clamp(34px, 6.4vw, 64px)/1 var(--display); color: var(--fg);
  text-shadow: 0 0 22px rgba(255, 255, 255, .6); animation: float 6s ease-in-out infinite;
}
.chip::after { content: ""; position: absolute; inset: -9%; border-radius: 22%; border: 1px solid rgba(0, 212, 255, .4); }
.tile {
  position: absolute; width: 15%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(150deg, rgba(22, 139, 255, .3), rgba(12, 25, 48, .78));
  border: 1px solid rgba(0, 184, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; align-content: center; gap: 2px;
  color: var(--fg); font-size: clamp(18px, 2.6vw, 28px); box-shadow: 0 10px 30px -10px rgba(22, 139, 255, .6); animation: float 7s ease-in-out infinite;
  z-index: 2;
}
.tile-l { font: 600 clamp(8px, .85vw, 11px)/1 var(--body); letter-spacing: .04em; color: var(--fg2); white-space: nowrap; }
/* Static fallback layout: tile centres match the connector lines rendered by HomeHero.razor. */
.t1 { left: 42.5%; top: .85%; } .t2 { left: 76.5%; top: 8.85%; animation-delay: -2s; }
.t3 { left: 82.5%; top: 38.85%; animation-delay: -4s; } .t4 { left: 75.5%; top: 68.85%; animation-delay: -1s; }
.t5 { left: 9.5%; top: 68.85%; animation-delay: -3s; } .t6 { left: 2.5%; top: 38.85%; animation-delay: -5s; }
.t7 { left: 8.5%; top: 8.85%; animation-delay: -6s; }

/* 8. Sections --------------------------------------------------------------------------------- */
/* Service panel */
.panel { margin-top: calc(-1 * clamp(40px, 6vw, 72px)); position: relative; z-index: 2; }
.svc {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); background: var(--glass);
  border: 1px solid var(--line); border-radius: 20px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden;
}
.svc a {
  display: grid; gap: 12px; align-content: start; padding: 32px 28px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; transition: background .25s, transform .25s;
}
.svc a:hover { background: linear-gradient(180deg, rgba(22, 139, 255, .14), transparent); transform: translateY(-3px); }
.svc .ic { font-size: 34px; color: var(--elec); filter: drop-shadow(0 0 10px var(--glow)); display: flex; }
.svc h3 { font-size: 20px; }
.svc p { font-size: 15px; color: var(--mut); }
.svc .link { font-size: 14px; margin-top: 4px; }

/* Check lists */
.checks { display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); width: 100%; }
.checks.one-col { grid-template-columns: 1fr; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg); font-size: 15px; }
.checks svg { color: var(--ink); background: var(--g-main); border-radius: 50%; padding: 3px; font-size: 20px; margin-top: 2px; }
.checks a { text-decoration: underline; text-decoration-color: rgba(0, 184, 255, .45); text-underline-offset: 4px; }
.checks a:hover { color: var(--cyan); }

/* Code-window illustration */
.shot { position: relative; border-radius: 20px; border: 1px solid rgba(0, 184, 255, .35); background: linear-gradient(160deg, #0d2040, #071226); padding: 20px; box-shadow: 0 30px 70px -40px var(--glow); }
.win { border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 11, 24, .8); overflow: hidden; }
.win-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--body); color: var(--mut); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.win-bar span { margin-left: 8px; }
.win pre { margin: 0; padding: 18px; font: 13px/1.75 var(--mono); color: var(--fg2); overflow-x: auto; }
.win .k { color: #9d88ff; } .win .s { color: var(--cyan); } .win .c { color: var(--mut); } .win .t { color: var(--elec); }
.float-card {
  display: flex; gap: 12px; align-items: center; margin: 16px 0 0 auto; max-width: 330px; padding: 14px 18px; border-radius: 14px;
  background: var(--glass); border: 1px solid rgba(0, 184, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--fg); font: 600 14px/1.4 var(--body);
}
.float-card svg { font-size: 26px; color: var(--cyan); }

/* AI section */
.ai-band {
  position: relative; border-block: 1px solid var(--line);
  background: radial-gradient(50% 60% at 15% 20%, rgba(118, 87, 255, .2), transparent 70%),
              radial-gradient(45% 55% at 90% 80%, rgba(22, 139, 255, .18), transparent 70%), var(--bg2);
}
.caps { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); width: 100%; }
.caps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 11, 24, .45); color: var(--fg); font-size: 15px; line-height: 1.35; }
.caps svg { font-size: 18px; color: #9d88ff; }
.ai-viz { display: grid; gap: 16px; }
.eco { width: 100%; height: auto; display: block; }
.eco line { stroke: var(--purple); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 3.5s linear infinite; opacity: .8; }
.eco .n { fill: var(--card); stroke: var(--line); stroke-width: 1.2; }
.eco .hub { fill: url(#hub); stroke: rgba(255, 255, 255, .4); }
.eco text { font: 600 13px var(--body); fill: var(--fg); text-anchor: middle; }
.eco text.sub { font-weight: 400; font-size: 11px; fill: var(--mut); }
.eco text.hub-sub { fill: #fff; }
.run { border: 1px solid var(--line); border-radius: 14px; background: rgba(5, 11, 24, .6); padding: 18px 20px; }
.run h3 { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.run ol { display: grid; gap: 8px; font-size: 14px; }
.run li { display: flex; gap: 10px; align-items: center; }
.run li svg { color: var(--ok); font-size: 16px; }
.run li.wait svg { color: var(--elec); }

/* Process */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); position: relative; }
.steps li { display: grid; gap: 10px; align-content: start; position: relative; }
.steps .dot {
  width: 56px; height: 56px; border-radius: 16px; border: 1px solid rgba(0, 184, 255, .5); background: var(--card); display: grid; place-items: center;
  font-size: 24px; color: var(--elec); box-shadow: 0 0 24px -8px var(--glow); position: relative; z-index: 1;
}
.steps h3 { font-size: 20px; }
.step-n { display: block; color: var(--mut); font: 600 13px/1 var(--body); letter-spacing: .08em; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--mut); }

/* Tech */
.tech h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tech h3 svg { color: var(--elec); font-size: 20px; }
.tech .pills li { font-size: 13px; padding: 9px 12px; }
.tech-desc { font-size: 15px; color: var(--mut); margin-bottom: 16px; }
.tech-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.tech-links .link { font-size: 14px; }

/* Trust */
.globe { width: 100%; max-width: 440px; margin-inline: auto; display: block; }
.globe ellipse, .globe circle.o, .globe path { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .55; }
.globe circle.d { fill: var(--cyan); }
.globe path.arc { stroke: var(--purple); opacity: .9; stroke-dasharray: 4 5; animation: dash 4s linear infinite; }
.stat { display: flex; align-items: baseline; gap: 14px; }
.stat b { font: 800 clamp(56px, 8vw, 88px)/1 var(--display); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--fg); font-weight: 600; line-height: 1.3; }

/* CTA */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(0, 184, 255, .35);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 72px); text-align: center; display: grid; gap: 20px; justify-items: center;
  background: radial-gradient(60% 120% at 20% 0, rgba(22, 139, 255, .38), transparent 65%),
              radial-gradient(60% 120% at 85% 100%, rgba(118, 87, 255, .38), transparent 65%), var(--card);
}
.cta-band .lead { color: var(--fg2); }
.cta-band .row { justify-content: center; }

/* 9. Cards ------------------------------------------------------------------------------------ */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .25s, transform .25s, box-shadow .25s; }
a.card, .card.hov { display: block; }
a.card:hover, .card.hov:hover { border-color: rgba(0, 184, 255, .6); transform: translateY(-4px); box-shadow: 0 18px 40px -22px var(--glow); }
.card.full { width: 100%; }
.card h3, .card .h3 { font-size: 21px; margin-bottom: 14px; }
.card .big { font-size: 30px; color: var(--elec); margin-bottom: 16px; display: flex; }
.card p { color: var(--fg2); }
.svc-card { display: grid !important; align-content: start; }
.svc-card .link { margin-top: 16px; }
.feat-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; font-size: 22px; color: var(--elec);
  background: rgba(22, 139, 255, .1); border: 1px solid rgba(0, 184, 255, .3);
}
.feat h3 { font-size: 19px; }
.feat p { font-size: 15px; color: var(--mut); }

.case { padding: 0; overflow: hidden; display: grid !important; align-content: start; }
.thumb {
  height: 168px; display: grid; place-items: center; font-size: 54px; color: var(--fg); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(0, 184, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 184, 255, .09) 1px, transparent 1px),
                    linear-gradient(135deg, rgba(22, 139, 255, .4), rgba(118, 87, 255, .3));
  background-size: 24px 24px, 24px 24px, auto;
}
.thumb svg { filter: drop-shadow(0 0 18px rgba(0, 212, 255, .8)); transition: transform .3s; }
.case:hover .thumb svg { transform: scale(1.1); }
.case-b { padding: 24px; display: grid; gap: 12px; }
.case-b h3 { font-size: 21px; margin: 0; }
.case-b p { font-size: 15px; color: var(--mut); }
.tag { font: 600 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--elec); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { font: 500 12px/1 var(--body); padding: 7px 10px; border-radius: 8px; background: rgba(22, 139, 255, .1); border: 1px solid var(--line); color: var(--fg2); }

.product { padding: 0; overflow: hidden; }
.product h3 a:hover { color: var(--elec); }
.product-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.product-shot { margin-top: 48px; }
.product-shot img { border-radius: 20px; border: 1px solid var(--line); }

.post-card { display: grid; gap: 12px; align-content: start; }
.post-card h3 { margin: 0; font-size: 21px; }
.post-card p { font-size: 15px; color: var(--mut); }
.post-card .post-meta a { position: relative; z-index: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.post-meta .tag:hover { color: var(--cyan); }
.draft-tag { font: 600 11px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: #ffc860; padding: 4px 7px; border-radius: 6px; }

.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 48px 28px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty > svg { font-size: 34px; color: var(--elec); }
.empty p { max-width: 58ch; }

/* Products ------------------------------------------------------------------------------------ */
.card .stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card { display: grid; gap: 16px; align-content: start; }
.product-card h3 { margin: 0; font-size: 22px; }
.product-card h3 a:hover { color: var(--elec); }
.product-head { display: flex; gap: 16px; align-items: center; }
.product-logo { width: 64px; height: 64px; flex: none; border-radius: 16px; filter: drop-shadow(0 8px 22px rgba(118, 87, 255, .35)); }
.product-tagline { color: var(--elec); font-weight: 600; font-size: 14px; }
.product-tagline.lg { font-size: 18px; }
.product-card > p { color: var(--fg2); }
.product-hero .split { align-items: center; }
.product-visual-hero { display: grid; place-items: center; position: relative; min-height: 280px; }
.product-visual-hero::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(118, 87, 255, .35), transparent 65%); }
.product-visual-hero img { position: relative; width: min(320px, 70%); height: auto; filter: drop-shadow(0 30px 60px rgba(22, 139, 255, .35)); }
.specs { display: grid; gap: 14px; margin: 0; }
.specs div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; padding-bottom: 0; }
.specs dt { font: 600 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.specs dd { margin: 0; color: var(--fg); }
.info-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(22, 139, 255, .06); color: var(--fg2); font-size: 15px; }
.info-note > svg { color: var(--elec); font-size: 20px; margin-top: 2px; }
.stack > .info-note { margin-top: 4px; }
.gallery-phones { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 32px; }
.shot-phone, .shot-desktop { margin: 0; display: grid; gap: 12px; justify-items: center; }
.shot-phone img { width: 100%; max-width: 270px; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(22, 139, 255, .6); }
.shot-desktop img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px var(--glow); }
.shot-phone figcaption, .shot-desktop figcaption { font-size: 14px; color: var(--mut); text-align: center; }

/* 10. Content pages ---------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); background: radial-gradient(50% 90% at 80% 0, rgba(22, 139, 255, .2), transparent 70%); }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; max-width: 22ch; }
.post .page-hero h1 { max-width: none; font-size: clamp(32px, 4.6vw, 52px); }
.page-hero .stack { gap: 18px; }
.page-hero.nf { min-height: 60vh; display: grid; align-content: center; }

.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--mut); }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumb a:hover { color: var(--elec); }
.crumb [aria-current] { color: var(--fg2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg2); transition: border-color .2s, color .2s; }
.chip-btn:hover { border-color: rgba(0, 184, 255, .6); color: var(--fg); }
.chip-btn[aria-current="page"] { background: var(--g-main); color: var(--ink); border-color: transparent; font-weight: 600; }
.chip-btn .count { font-size: 12px; opacity: .75; }

.list { display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg2); }
.list svg { color: var(--elec); font-size: 18px; margin-top: 4px; }
.list a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(0, 184, 255, .45); text-underline-offset: 4px; }
.list a:hover { color: var(--cyan); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: rgba(0, 184, 255, .45); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; color: var(--fg); font: 600 16px/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--elec); transition: transform .2s; font-size: 18px; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--fg2); }

.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 8px 0 0; }
.facts dt { font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--fg); font-weight: 600; }
.draft-note { display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; padding: 12px 16px; border-radius: 12px; border: 1px dashed #ffc860; color: #ffe2a8; font-size: 14px; background: rgba(255, 200, 96, .06); }
.draft-note svg { margin-top: 3px; flex: none; }
.draft-note code { color: #fff; }

/* Long-form text (blog articles, legal pages, case studies) */
.prose { color: var(--fg2); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 2em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--elec); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cyan); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--elec); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--purple); color: var(--fg); }
.prose code { background: rgba(22, 139, 255, .1); border: 1px solid var(--line); border-radius: 6px; padding: .1em .35em; color: var(--fg); }
.prose pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { color: var(--fg); background: var(--bg2); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.post .pills { margin-top: 40px; }

/* 11. Forms ----------------------------------------------------------------------------------- */
.form-title { margin-bottom: 20px; }
.inq { display: grid; gap: 20px; }
.f2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fld { display: grid; gap: 8px; min-width: 0; align-content: start; }
label, legend { font: 600 14px/1.3 var(--body); color: var(--fg); padding: 0; }
label em, legend em { font-style: normal; font-weight: 400; color: var(--mut); }
input:not([type]), input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(5, 11, 24, .7); color: var(--fg); font: 16px/1.4 var(--body);
}
select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
select option { background: var(--card); color: var(--fg); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--elec); outline-offset: 1px; border-color: transparent; }
[aria-invalid="true"], .invalid { border-color: var(--err) !important; }
.err { font-size: 13px; color: var(--err); }
.err:empty { display: none; }
.err .validation-message { color: var(--err); }
.hint { font-size: 13px; color: var(--mut); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--elec); background: rgba(0, 184, 255, .08); }
.radios input { accent-color: var(--elec); width: 16px; height: 16px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; border: 1px solid rgba(255, 138, 138, .5); background: rgba(255, 138, 138, .07); color: var(--fg); }
.form-alert > svg { color: var(--err); font-size: 20px; margin-top: 2px; }
.form-alert ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; font-size: 14px; color: var(--fg2); }
.done-ref { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(75, 227, 164, .5); background: rgba(75, 227, 164, .06); color: var(--fg); }
.done-ref svg { color: var(--ok); font-size: 20px; }

/* 12. Footer ---------------------------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg); padding-block: 64px 32px; font-size: 15px; }
.ftr-g { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ftr-about { display: grid; gap: 18px; align-content: start; }
.ftr-about .brand { margin-right: 0; justify-self: start; }
.ftr-about p { max-width: 34ch; }
.ftr-h { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); margin-bottom: 18px; }
.ftr li { margin-bottom: 10px; }
.ftr a:hover { color: var(--elec); }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact svg { color: var(--elec); margin-top: 5px; }
.ftr-contact .muted { font-size: 14px; }
.ftr-cta { margin-top: 16px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); font-size: 18px; }
.social a:hover { border-color: var(--elec); }
.legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal li { margin: 0; }

/* 13. Motion ---------------------------------------------------------------------------------- */
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes dash { to { stroke-dashoffset: -40; } }
/* (Reveal-on-scroll and every other motion rule now live in §14, the motion system, at the end of this file.) */

@media print {
  .hdr, .ftr, .cta-band, .viz, .waves, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, .prose, .lead { color: #000 !important; }
}

/* Human verification (ALTCHA widget, styled through its CSS custom properties) */
.human-check { gap: 10px; }
.label-like { font: 600 14px/1.3 var(--body); color: var(--fg); }
altcha-widget {
  --altcha-color-base: #0c1930;
  --altcha-color-base-content: #ffffff;
  --altcha-color-neutral: #183453;
  --altcha-color-primary: #00b8ff;
  --altcha-border-radius: 10px;
  --altcha-max-width: 100%;
  display: block;
}

/* =============================================================================================
   14. Motion system (see ANIMATION_AND_3D_DESIGN_PLAN.md)
   Everything here is progressive: content is fully visible and usable without JS, and
   prefers-reduced-motion switches all movement off (end of this section).
   ============================================================================================= */
:root {
  --dur-hover: .22s;           /* buttons */
  --dur-card: .34s;            /* cards */
  --dur-reveal: .7s;           /* section reveals */
  --dur-heading: .85s;         /* heading reveals */
  --dur-float: 6s;             /* floating elements */
  --dur-ambient: 16s;          /* background motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --stagger: 90ms;
}

/* ---- Ambient lighting (fixed; shifts slowly with scroll via --scroll set by motion.js) ---- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: .22; will-change: transform; }
.ambient .a1 { left: -25vmax; top: 20vh; background: radial-gradient(circle, rgba(22, 139, 255, .55), transparent 60%);
  transform: translate3d(0, calc(var(--scroll, 0) * -40vh), 0); }
.ambient .a2 { right: -30vmax; top: 60vh; background: radial-gradient(circle, rgba(118, 87, 255, .5), transparent 60%);
  transform: translate3d(0, calc(var(--scroll, 0) * -70vh), 0); }

/* ---- Reveal on scroll: only elements that start below the fold get the hidden state (motion.js adds .rv-wait) ---- */
.js .rv-wait { opacity: 0; translate: 0 28px; }
.js .rv-wait.in { opacity: 1; translate: 0 0;
  transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)); }
/* Mask reveal for section headings inside revealing blocks. */
.js .rv-wait .h2 { clip-path: inset(0 0 100% 0); translate: 0 .35em; }
.js .rv-wait.in .h2 { clip-path: inset(-10% -5% -25% -5%); translate: 0 0;
  transition: clip-path var(--dur-heading) var(--ease-out) .08s, translate var(--dur-heading) var(--ease-out) .08s; }
.js .rv-wait .eyebrow { letter-spacing: .3em; opacity: 0; }
.js .rv-wait.in .eyebrow { letter-spacing: .14em; opacity: 1; transition: letter-spacing .9s var(--ease-out), opacity .6s; }

/* ---- Header: progress bar, compact state, smart hide/show, underline, active glow ---- */
.hdr { transition: background .3s, border-color .3s, transform .4s var(--ease-out), -webkit-backdrop-filter .3s, backdrop-filter .3s; view-transition-name: site-header; }
.hdr > .wrap { transition: transform .3s var(--ease-out); }
.hdr.solid::before { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 184, 255, .45), rgba(118, 87, 255, .35), transparent); }
.hdr.compact { background: rgba(5, 11, 24, .92); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
/* Compact state uses transforms only (a height change would shift the page = layout shift). */
.hdr.compact { transform: translateY(-12px); }
.hdr.compact > .wrap { transform: translateY(6px); }
.hdr .mark { transition: transform .3s var(--ease-out), filter .3s; }
.hdr.compact .mark { transform: scale(.88); }
.brand:hover .mark { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 14px rgba(0, 212, 255, .6)); }
.hdr.is-hidden, .hdr.compact.is-hidden { transform: translateY(-100%); }
.hdr-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr-progress span { display: block; height: 100%; background: var(--g-main); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
  box-shadow: 0 0 12px rgba(0, 212, 255, .7); opacity: 0; transition: opacity .3s; }
.hdr.solid .hdr-progress span { opacity: 1; }
@media (min-width: 1121px) {
  .nav-list > li > a { position: relative; }
  .nav-list > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--g-main); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-card) var(--ease-out); }
  .nav-list > li > a:hover::after, .nav-list > li > a:focus-visible::after { transform: scaleX(1); }
  .nav-list > li > a[aria-current="page"]::after, .nav-list > li > a[data-section]::after { transform: scaleX(1); box-shadow: 0 0 10px rgba(0, 212, 255, .8); }
  .dd > a::after { right: 2px; }
  .dd-menu { transform: translateY(10px) scale(.98); transform-origin: 20% 0; transition: opacity .22s, transform .28s var(--ease-out), visibility .22s; }
  .dd-menu li { opacity: 0; translate: 0 6px; transition: opacity .25s, translate .3s var(--ease-out); }
  .dd:hover .dd-menu li, .dd.open .dd-menu li { opacity: 1; translate: 0 0; }
  .dd-menu li:nth-child(2) { transition-delay: 30ms; } .dd-menu li:nth-child(3) { transition-delay: 60ms; } .dd-menu li:nth-child(4) { transition-delay: 90ms; }
  .dd-menu li:nth-child(5) { transition-delay: 120ms; } .dd-menu li:nth-child(6) { transition-delay: 150ms; } .dd-menu li:nth-child(7) { transition-delay: 180ms; }
}
/* Gradient CTA with a light sheen on hover. */
.btn.pri { position: relative; overflow: hidden; isolation: isolate; transition: transform var(--dur-hover), box-shadow var(--dur-hover); }
.btn.pri::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out); }
.btn.pri:hover::after { transform: translateX(120%); }
.btn-glow { box-shadow: 0 8px 28px -10px var(--glow), 0 0 0 1px rgba(0, 212, 255, .25); }

/* ---- Hero: word reveal, animated gradient line, intro fades (CSS only, so the heading paints immediately) ---- */
.hero-title .hl { display: block; }
.hero-title .w { display: inline-block; animation: word-rise var(--dur-heading) var(--ease-out) both; }
.hero-title .w1 { animation-delay: .05s; } .hero-title .w2 { animation-delay: .13s; } .hero-title .w3 { animation-delay: .21s; }
.hero-title .w4 { animation-delay: .32s; } .hero-title .w5 { animation-delay: .42s; }
/* Focus-in: words rise slightly out of a blur. Opacity and painted area stay constant, so the heading counts as painted (LCP) on the first frame. */
@keyframes word-rise { from { transform: translateY(.32em); filter: blur(10px); } to { transform: none; filter: none; } }
.grad-anim { white-space: nowrap; background: linear-gradient(90deg, var(--elec), var(--purple) 45%, var(--cyan) 75%, var(--elec)); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-rise var(--dur-heading) var(--ease-out) both, grad-shift 9s ease-in-out 1.2s infinite alternate; }
.hero-title .w4.grad-anim { animation-delay: .32s, 1.2s; } .hero-title .w5.grad-anim { animation-delay: .42s, 1.2s; }
@keyframes grad-shift { to { background-position: 100% 0; } }
.intro { animation: intro-up .7s var(--ease-out) both; }
.intro.i1 { animation-delay: 0s; } .intro.i2 { animation-delay: .45s; } .intro.i3 { animation-delay: .55s; } .intro.i4 { animation-delay: .65s; }
@keyframes intro-up { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* Hero ambient orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orbs .orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; animation: orb-drift var(--dur-ambient) ease-in-out infinite alternate; }
.hero-orbs .o1 { width: 420px; height: 420px; right: 8%; top: 6%; background: radial-gradient(circle, rgba(22, 139, 255, .55), transparent 65%); }
.hero-orbs .o2 { width: 340px; height: 340px; right: 30%; bottom: -8%; background: radial-gradient(circle, rgba(118, 87, 255, .45), transparent 65%); animation-delay: -6s; }
.hero-orbs .o3 { width: 260px; height: 260px; left: -4%; top: 18%; background: radial-gradient(circle, rgba(0, 212, 255, .25), transparent 65%); animation-delay: -11s; }
@keyframes orb-drift { to { transform: translate3d(40px, -30px, 0) scale(1.12); } }

/* Hero 3D canvas: fades in over the CSS scene once motion.js has mounted the renderer. */
.scene-canvas { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-out); z-index: 1; }
.is-3d > .scene-canvas { opacity: 1; }
.viz.is-3d .net { opacity: 0; transition: opacity .8s; }
.viz.is-3d .tile { animation: none; will-change: transform, opacity; transition: box-shadow .3s, border-color .3s; }
.viz.is-3d .tile.is-front { border-color: rgba(0, 212, 255, .85); box-shadow: 0 14px 40px -12px rgba(0, 184, 255, .8); }
.viz .chip { z-index: 3; }
.chip span { position: relative; }
.chip::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 255, .35), transparent 65%);
  animation: core-pulse 3.2s ease-in-out infinite; z-index: -1; }
@keyframes core-pulse { 50% { transform: scale(1.18); opacity: .55; } }

/* ---- Interactive 3D service cards ---- */
.svc3d { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); perspective: 1200px; }
.tilt-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%; --lift: 0px;
  position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 26px; border-radius: 20px; isolation: isolate;
  border: 1px solid transparent;
  background: linear-gradient(160deg, rgba(14, 30, 58, .9), rgba(7, 16, 34, .92)) padding-box,
              linear-gradient(140deg, rgba(0, 184, 255, .55), rgba(118, 87, 255, .25) 45%, rgba(24, 52, 83, .6)) border-box;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); transform-style: preserve-3d;
  transition: transform var(--dur-card) var(--ease-out), box-shadow var(--dur-card); }
.tilt-card:hover, .tilt-card:focus-visible { --lift: -6px; box-shadow: 0 30px 60px -28px rgba(22, 139, 255, .55); }
.tilt-card.is-tilting { transition: transform .08s linear, box-shadow var(--dur-card); }
.tc-light { position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 184, 255, .18), transparent 45%); }
.tilt-card:hover .tc-light { opacity: 1; }
.tc-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; font-size: 30px; color: var(--cyan);
  background: linear-gradient(145deg, rgba(22, 139, 255, .25), rgba(118, 87, 255, .18)); border: 1px solid rgba(0, 184, 255, .45);
  box-shadow: 0 12px 30px -12px rgba(0, 184, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: translateZ(36px); transition: transform var(--dur-card) var(--ease-spring); }
.tilt-card:hover .tc-icon { transform: translateZ(48px) rotate(-6deg) scale(1.06); }
.tilt-card h3 { font-size: 20px; transform: translateZ(22px); }
.tilt-card p { font-size: 15px; color: var(--mut); transform: translateZ(12px); }
.tilt-card .link { font-size: 14px; transform: translateZ(18px); }
/* Light-follow on any hoverable card (cheap, no tilt). */
.card.hov { --mx: 50%; --my: 0%; }
.card.hov::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(0, 184, 255, .1), transparent 45%); }
.card.hov:hover::before { opacity: 1; }

/* ---- AI core ---- */
.ai-core-wrap { display: grid; gap: 20px; }
.ai-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.ai-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-ring { fill: none; stroke: rgba(0, 184, 255, .22); stroke-width: .25; stroke-dasharray: 1 1.6; transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.ai-ring.r2 { stroke: rgba(118, 87, 255, .3); animation-duration: 40s; animation-direction: reverse; }
.ai-link { stroke: rgba(36, 70, 110, .9); stroke-width: .35; stroke-dasharray: 1.2 1.4; transition: stroke .3s, stroke-width .3s; }
.ai-link.is-active { stroke: var(--cyan); stroke-width: .6; animation: dash-flow 1.4s linear infinite; filter: drop-shadow(0 0 1.2px rgba(0, 212, 255, .9)); }
@keyframes dash-flow { to { stroke-dashoffset: -5.2; } }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-core { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  font-size: clamp(28px, 4vw, 44px); color: #fff; background: radial-gradient(circle at 35% 30%, #6fd8ff, #168bff 45%, #4b2fd6 100%);
  box-shadow: 0 0 60px rgba(22, 139, 255, .65), inset 0 0 24px rgba(255, 255, 255, .35); animation: core-breathe 4s ease-in-out infinite; }
.ai-core-glow { position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 255, .32), transparent 62%); animation: core-pulse 3s ease-in-out infinite; z-index: -1; }
@keyframes core-breathe { 50% { box-shadow: 0 0 90px rgba(0, 184, 255, .85), inset 0 0 30px rgba(255, 255, 255, .45); } }
.ai-nodes { position: absolute; inset: 0; }
.ai-node-li { position: absolute; translate: -50% -50%; animation: node-float var(--dur-float) ease-in-out infinite; }
.ai-node-li.n1 { left: 50%; top: 10%; } .ai-node-li.n2 { left: 81.27%; top: 25.06%; animation-delay: -1s; } .ai-node-li.n3 { left: 89%; top: 58.9%; animation-delay: -2s; }
.ai-node-li.n4 { left: 67.36%; top: 86.04%; animation-delay: -3s; } .ai-node-li.n5 { left: 32.64%; top: 86.04%; animation-delay: -4s; } .ai-node-li.n6 { left: 11%; top: 58.9%; animation-delay: -5s; }
.ai-node-li.n7 { left: 18.73%; top: 25.06%; animation-delay: -2.5s; }
@keyframes node-float { 50% { transform: translateY(-6px); } }
.ai-node { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 13px/1 var(--body); color: var(--fg); background: rgba(9, 21, 42, .88); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-spring), background .25s; }
.ai-node svg { color: #9d88ff; font-size: 16px; }
.ai-node:hover, .ai-node[aria-pressed="true"] { border-color: var(--cyan); background: rgba(12, 35, 70, .95); box-shadow: 0 0 0 4px rgba(0, 212, 255, .12), 0 10px 30px -10px rgba(0, 184, 255, .8); transform: scale(1.06); }
.ai-node[aria-pressed="true"] svg { color: var(--cyan); }
.ai-details { display: grid; gap: 12px; }
.ai-info { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: rgba(5, 11, 24, .6); display: grid; gap: 8px; }
.ai-info h3 { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.ai-info h3 svg { color: var(--cyan); }
.ai-info p { font-size: 15px; color: var(--fg2); }
.ai-info .link { font-size: 14px; }
.ai-ready .ai-details { display: block; min-height: 150px; }
.ai-ready .ai-info:not(.is-active) { display: none; }
.ai-ready .ai-info.is-active { border-color: rgba(0, 184, 255, .45); box-shadow: 0 20px 50px -30px rgba(0, 184, 255, .6); animation: info-in .45s var(--ease-out); }
@keyframes info-in { from { opacity: 0; translate: 0 8px; } }
@media (max-width: 620px) {
  .ai-stage { aspect-ratio: auto; display: grid; gap: 18px; justify-items: center; }
  .ai-links { display: none; }
  .ai-core { position: relative; left: auto; top: auto; translate: none; width: 120px; }
  .ai-nodes { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ai-node-li { position: static; translate: none; animation: none; }
}

/* ---- Process timeline ---- */
.timeline { --progress: 1; position: relative; }
.tl-n4 { --n: 4; } .tl-n5 { --n: 5; } .tl-n6 { --n: 6; }
.tl-track { position: absolute; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple)); box-shadow: 0 0 14px rgba(0, 212, 255, .8); }
.steps .dot { transition: background .5s, border-color .5s, box-shadow .5s, color .5s, transform .5s var(--ease-spring); }
.steps h3, .steps p { transition: opacity .6s, translate .6s var(--ease-out); }
.js .tl-ready li:not(.is-active) .dot { border-color: var(--line); color: var(--mut); box-shadow: none; }
.js .tl-ready li:not(.is-active) h3, .js .tl-ready li:not(.is-active) p { opacity: .45; }
.js .tl-ready li:not(.is-active) p { translate: 0 6px; }
.tl-ready li.is-active .dot { background: linear-gradient(145deg, rgba(22, 139, 255, .35), rgba(118, 87, 255, .3)); border-color: var(--cyan); color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 212, 255, .1), 0 0 30px -4px rgba(0, 184, 255, .9); transform: scale(1.06); }
@media (min-width: 1040px) {
  .timeline .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .tl-track { top: 27px; height: 2px; left: 28px; right: calc((100% - (var(--n, 5) - 1) * 24px) / var(--n, 5) - 28px); }
  .tl-fill { transform-origin: 0 50%; transform: scaleX(var(--progress)); }
}
@media (max-width: 1039.98px) {
  .timeline .steps { grid-template-columns: 1fr; gap: 28px; }
  .timeline .steps li { grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; }
  .timeline .steps .dot { grid-row: span 2; }
  .tl-track { left: 27px; width: 2px; top: 28px; bottom: 28px; }
  .tl-fill { background: linear-gradient(180deg, var(--blue), var(--cyan), var(--purple)); transform-origin: 50% 0; transform: scaleY(var(--progress)); }
}

/* ---- Product visuals ---- */
.product-card.has-visual { overflow: hidden; }
.product-card.has-visual[data-tilt] { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.product-card.has-visual:hover { --lift: -4px; }
.pv { position: relative; margin: -28px -28px 6px; height: 220px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 90% at 30% 20%, rgba(118, 87, 255, .32), transparent 70%), radial-gradient(60% 90% at 80% 90%, rgba(22, 139, 255, .3), transparent 70%), #081429; }
.pv::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 184, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 184, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); pointer-events: none; }
.pv-scene { position: absolute; inset: 0; perspective: 900px; transform-style: preserve-3d; }
/* Memora: floating photo frames */
.frame { position: absolute; width: 118px; aspect-ratio: 4 / 3; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .2); animation: frame-float 7s ease-in-out infinite; }
.frame .ph { position: relative; display: block; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; }
.frame .sun { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; right: 16%; top: 16%; background: #ffd27a; box-shadow: 0 0 12px #ffd27a; }
.frame .hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; border-radius: 50% 50% 0 0; background: rgba(20, 60, 90, .75); }
.frame .hill.hb { left: 30%; right: -30%; bottom: -40%; background: rgba(10, 40, 70, .85); }
.frame .ph1 { background: linear-gradient(180deg, #7ec8ff, #c7b8ff); } .frame .ph2 { background: linear-gradient(180deg, #ffb6a3, #8e7bff); }
.frame .ph3 { background: linear-gradient(180deg, #5ad1c6, #3a6fd8); } .frame .ph4 { background: linear-gradient(180deg, #ffd59a, #ff8fb1); }
.frame.pf1 { left: 8%; top: 20%; --r: rotateY(24deg) rotateZ(-8deg) translateZ(-40px); transform: var(--r); }
.frame.pf2 { left: 24%; top: 52%; --r: rotateY(14deg) rotateZ(5deg) translateZ(10px); transform: var(--r); animation-delay: -2s; }
.frame.pf3 { right: 9%; top: 14%; --r: rotateY(-22deg) rotateZ(7deg) translateZ(-30px); transform: var(--r); animation-delay: -4s; }
.frame.pf4 { right: 22%; top: 50%; --r: rotateY(-12deg) rotateZ(-4deg) translateZ(30px); transform: var(--r); animation-delay: -5.5s; }
@keyframes frame-float { 50% { transform: var(--r) translateY(-10px); } }
.pv-badge { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; translate: -50% -50%; filter: drop-shadow(0 12px 30px rgba(118, 87, 255, .8)); animation: badge-bob 5s ease-in-out infinite; }
@keyframes badge-bob { 50% { transform: translateY(-8px) scale(1.04); } }
/* Panther Barcode Reader: barcode panels, phone and scan beam */
.bc-panel { position: absolute; display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(240, 244, 255, .95);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .85); animation: frame-float 6.5s ease-in-out infinite; }
.bc-panel .bars { display: block; width: 120px; height: 52px;
  background: repeating-linear-gradient(90deg, #0b1220 0 2px, transparent 2px 4px, #0b1220 4px 5px, transparent 5px 8px, #0b1220 8px 11px, transparent 11px 12px, #0b1220 12px 13px, transparent 13px 16px); }
.bc-panel .digits { font: 600 10px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .18em; color: #0b1220; text-align: center; }
.bc-panel.qr { padding: 10px; }
.qr-grid { display: block; width: 64px; height: 64px;
  background: linear-gradient(#0b1220, #0b1220) 0 0 / 20px 20px no-repeat, linear-gradient(#0b1220, #0b1220) 100% 0 / 20px 20px no-repeat,
              linear-gradient(#0b1220, #0b1220) 0 100% / 20px 20px no-repeat,
              repeating-conic-gradient(#0b1220 0 25%, transparent 0 50%) 0 0 / 8px 8px; }
.bc-panel.pb1 { left: 6%; top: 24%; --r: rotateY(22deg) rotateZ(-6deg) translateZ(-20px); transform: var(--r); }
.bc-panel.pb2 { right: 8%; top: 12%; --r: rotateY(-24deg) rotateZ(6deg) translateZ(-30px); transform: var(--r); animation-delay: -3s; }
.bc-panel.pb3 { right: 5%; bottom: 8%; --r: rotateY(-16deg) rotateZ(-5deg) translateZ(10px); transform: var(--r); animation-delay: -1.5s; }
.pv-phone { position: absolute; left: 50%; top: 14px; width: 116px; height: auto; translate: -50% 0; border-radius: 14px; border: 1px solid rgba(0, 184, 255, .5);
  box-shadow: 0 30px 60px -20px rgba(22, 139, 255, .7); transform: rotateX(8deg) rotateY(-6deg); }
.scan-beam { position: absolute; left: 6%; top: 24%; width: 150px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #ff3b6b, #ff6b8b, #ff3b6b, transparent);
  box-shadow: 0 0 14px 3px rgba(255, 59, 107, .7); animation: scan 2.4s ease-in-out infinite; transform: rotateZ(-6deg); }
@keyframes scan { 0%, 100% { translate: 0 6px; opacity: .3; } 50% { translate: 0 70px; opacity: 1; } }
@media (max-width: 520px) { .pv { height: 190px; } .frame { width: 92px; } .bc-panel .bars { width: 92px; height: 40px; } .pv-phone { width: 96px; } }

/* ---- Case studies: category cards ---- */
.case .thumb { position: relative; overflow: hidden; transition: background-size .8s var(--ease-out); }
.case .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 24, .75)); }
.case .thumb svg { transition: transform .6s var(--ease-out), filter .6s; }
.case:hover .thumb svg { transform: scale(1.18) rotate(-4deg); filter: drop-shadow(0 0 26px rgba(0, 212, 255, 1)); }
.case:hover .thumb { background-size: 30px 30px, 30px 30px, auto; }
.case .tag { position: relative; justify-self: start; }
.case .tag::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--g-main); transform: scaleX(.3); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.case:hover .tag::after { transform: scaleX(1); }

/* ---- Technology ecosystem ---- */
.tech-card { transition: border-color var(--dur-card), box-shadow var(--dur-card), transform var(--dur-card) var(--ease-out); }
.tech-card:hover { border-color: rgba(0, 184, 255, .55); box-shadow: 0 20px 50px -30px rgba(0, 184, 255, .7); transform: translateY(-4px); }
.tech-orb { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, rgba(0, 212, 255, .35), rgba(12, 25, 48, .9)); border: 1px solid rgba(0, 184, 255, .4); }
.tech-orb::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(118, 87, 255, .55); animation: spin 14s linear infinite; }
.tech-orb::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  top: -9px; left: calc(50% - 3px); transform-origin: 3px 29px; animation: spin 7s linear infinite; }
.tech-card:hover .tech-orb { box-shadow: 0 0 24px rgba(0, 184, 255, .6); }
.tech .pills li { transition: border-color .25s, color .25s, background .25s; }
.tech .pills li:hover { border-color: rgba(0, 184, 255, .6); color: var(--fg); background: rgba(22, 139, 255, .18); }

/* ---- Trust globe ---- */
.globe-wrap { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.globe-wrap .globe { position: absolute; inset: 0; max-width: none; transition: opacity .8s; }
.globe-wrap.is-3d .globe { opacity: 0; }
.globe-wrap .scene-canvas { inset: -6%; width: 112%; height: 112%; }

/* ---- Closing CTA: abstract 3D ring object and particles ---- */
.cta-band > :not(.cta-obj):not(.cta-dots) { position: relative; z-index: 1; }
.cta-obj { position: absolute; right: -40px; top: 50%; width: 340px; height: 340px; margin-top: -170px; perspective: 900px; transform-style: preserve-3d; pointer-events: none; opacity: .75; }
.cta-obj .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0, 184, 255, .45); box-shadow: 0 0 30px rgba(0, 184, 255, .25), inset 0 0 30px rgba(118, 87, 255, .2); animation: ring-spin 18s linear infinite; }
.cta-obj .r2 { inset: 12%; border-color: rgba(118, 87, 255, .55); animation-duration: 13s; animation-direction: reverse; }
.cta-obj .r3 { inset: 24%; border-color: rgba(0, 212, 255, .5); animation-duration: 9s; }
@keyframes ring-spin { from { transform: rotateX(68deg) rotateY(0deg) rotateZ(0deg); } to { transform: rotateX(68deg) rotateY(360deg) rotateZ(360deg); } }
.cta-core { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fe4ff, #168bff 50%, #4b2fd6); box-shadow: 0 0 60px rgba(0, 184, 255, .8); animation: core-pulse 4s ease-in-out infinite; }
.cta-dots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.cta-dots i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); opacity: 0; animation: rise-dot 9s linear infinite; }
.cta-dots .d1 { left: 6%; } .cta-dots .d2 { left: 14%; animation-delay: -2s; } .cta-dots .d3 { left: 23%; animation-delay: -5s; } .cta-dots .d4 { left: 31%; animation-delay: -7s; }
.cta-dots .d5 { left: 42%; animation-delay: -1s; } .cta-dots .d6 { left: 51%; animation-delay: -4s; } .cta-dots .d7 { left: 60%; animation-delay: -6s; } .cta-dots .d8 { left: 68%; animation-delay: -3s; }
.cta-dots .d9 { left: 77%; animation-delay: -8s; } .cta-dots .d10 { left: 85%; animation-delay: -5.5s; } .cta-dots .d11 { left: 92%; animation-delay: -2.5s; } .cta-dots .d12 { left: 97%; animation-delay: -6.5s; }
.cta-dots i:nth-child(3n) { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
@keyframes rise-dot { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-420px); opacity: 0; } }
@media (max-width: 760px) { .cta-obj { width: 220px; height: 220px; margin-top: -110px; right: -80px; opacity: .35; } }

/* ---- Pause decorative animations when off-screen (motion.js toggles .is-inview) ---- */
.js .pv:not(.is-inview) *, .js .cta-band:not(.is-inview) .cta-obj *, .js .cta-band:not(.is-inview) .cta-dots i,
.js .ai-core-wrap:not(.is-inview) *, .js .ai-core-wrap:not(.is-inview), .js .hero:not(.is-inview) .viz *, .js .tech:not(.is-inview) .tech-orb,
.js .tech:not(.is-inview) .tech-orb::before, .js .tech:not(.is-inview) .tech-orb::after { animation-play-state: paused !important; }

/* ---- Cross-page transitions (native View Transitions; browsers without support just navigate) ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; translate: 0 -8px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }

/* ---- Reduced motion: no movement, everything visible ---- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv-wait, .js .rv-wait .h2, .js .rv-wait .eyebrow { opacity: 1; translate: none; clip-path: none; letter-spacing: .14em; }
  .js .rv-wait .h2 { letter-spacing: -.02em; }
  .scene-canvas, .hero-orbs, .ambient, .cta-dots { display: none; }
  .tilt-card, .product-card.has-visual[data-tilt] { transform: none; }
  .js .tl-ready li .dot, .js .tl-ready li h3, .js .tl-ready li p { opacity: 1; translate: none; }
  .tl-fill { transform: none !important; }
}
@media print {
  .js .rv-wait { opacity: 1; translate: none; }
  .ambient, .hero-orbs, .scene-canvas, .cta-obj, .cta-dots, .pv { display: none !important; }
}

/* ---- Inquiry form: focus and selection animation ----
   Fields stay straight and in place: the motion is colour, glow and a small label shift only. */
.inq input:not([type=radio]):not([type=hidden]), .inq select, .inq textarea {
  transition: border-color .25s, box-shadow .3s var(--ease-out), background-color .25s;
}
.inq input:not([type=radio]):not([type=hidden]):hover, .inq select:hover, .inq textarea:hover { border-color: rgba(0, 184, 255, .45); }
.inq input:not([type=radio]):not([type=hidden]):focus, .inq select:focus, .inq textarea:focus {
  outline: none; border-color: var(--cyan); background-color: rgba(8, 20, 42, .92);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .35), 0 12px 30px -16px rgba(0, 184, 255, .9);
  animation: field-focus .5s var(--ease-out);
}
@keyframes field-focus { from { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0), 0 12px 30px -16px rgba(0, 184, 255, 0); } }
.inq .fld > label { transition: color .25s; }
.inq .fld:focus-within > label { color: var(--cyan); }
.inq .fld:focus-within > label em { color: var(--fg2); }
.inq select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
/* Contact method: selected option glows and pops once. */
.radios label { transition: border-color .25s, background-color .25s, box-shadow .3s, color .25s; }
.radios label:hover { border-color: rgba(0, 184, 255, .5); }
.radios label:has(input:checked) { color: #fff; background-color: rgba(0, 184, 255, .12); box-shadow: 0 0 0 3px rgba(0, 212, 255, .15); animation: option-pop .35s var(--ease-spring); }
.radios label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
@keyframes option-pop { 50% { transform: scale(1.04); } }
/* Invalid fields keep the red border and get a matching soft glow. */
.inq [aria-invalid="true"]:not(:focus) { box-shadow: 0 0 0 3px rgba(255, 138, 138, .15); }
