/* ============================================================
   恩尔普 OPERP · 官网样式
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: #05070e;
  --bg-soft: #080c16;
  --ink: #e9eefc;
  --muted: #93a0bd;
  --dim: #6d7a98;
  --line: rgba(255, 255, 255, .09);
  --cyan: #22d3ee;
  --blue: #4f7bf7;
  --indigo: #4f46e5;
  --violet: #a78bfa;
  --amber: #f5a524;
  --green: #4ade80;
  --radius: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(79, 70, 229, .22), transparent 70%),
    radial-gradient(760px 500px at 6% 16%, rgba(34, 211, 238, .12), transparent 70%),
    radial-gradient(700px 600px at 50% 108%, rgba(167, 139, 250, .10), transparent 70%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; }
::selection { background: rgba(79, 123, 247, .35); color: #fff; }

/* ---------- scrollbar · 深色主题滚动条 ---------- */
html { scrollbar-color: #2c3757 rgba(255, 255, 255, .03); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, .03); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2e3a5e, #232c49);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #3c4b7d, #2c3757); }
::-webkit-scrollbar-thumb:active { background: linear-gradient(180deg, var(--blue), var(--indigo)); }
::-webkit-scrollbar-corner { background: transparent; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  position: relative;
  z-index: 2;
}

.section { padding: clamp(72px, 9vw, 122px) 0; position: relative; }

/* ---------- typography helpers ---------- */
.kicker {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 14px;
}

.grad {
  background: linear-gradient(100deg, #a5f3fc 0%, #7dabff 38%, #a78bfa 72%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-cyan {
  background: linear-gradient(100deg, #67e8f9, #4f7bf7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-indigo {
  background: linear-gradient(100deg, #93b4ff, #a78bfa 60%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-amber {
  background: linear-gradient(100deg, #7fb3e6, #f5a524 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-primary {
  color: #fff;
  background: linear-gradient(118deg, #4f7bf7, #4f46e5 55%, #7c3aed);
  box-shadow: 0 14px 34px -14px rgba(79, 123, 247, .95), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(79, 123, 247, 1); }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-line {
  color: #dbe6ff;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
}
.btn-line:hover { border-color: rgba(125, 171, 255, .55); background: rgba(120, 170, 255, .1); transform: translateY(-2px); }
.btn-ghost {
  color: #c3d0ea;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { color: #fff; border-color: rgba(125, 171, 255, .5); }
.btn-sm { padding: 9px 15px; font-size: 12.5px; }
.btn-sm .ico { width: 15px; height: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  z-index: 120;
  background: linear-gradient(90deg, #22d3ee, #4f7bf7 50%, #a78bfa);
  box-shadow: 0 0 12px rgba(79, 123, 247, .9);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 14, .78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 14.5px; font-weight: 700; letter-spacing: .01em; }
.brand-text em { font-style: normal; color: #8fb4ff; letter-spacing: .04em; }
.brand-text small { font-size: 9.5px; color: var(--dim); letter-spacing: .14em; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 13px;
  color: #a8b5d0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, #22d3ee, #4f7bf7);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span { display: block; height: 1.5px; background: #c3d0ea; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 104px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .55;
}
.grid-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 78%);
}
.aurora { position: absolute; inset: 0; z-index: 0; filter: blur(72px); opacity: .55; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.b1 { width: 420px; height: 420px; left: -6%; top: 4%; background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 68%); animation: drift 22s ease-in-out infinite; }
.b2 { width: 520px; height: 520px; right: -8%; top: -12%; background: radial-gradient(circle, rgba(79, 70, 229, .6), transparent 68%); animation: drift 28s ease-in-out infinite reverse; }
.b3 { width: 380px; height: 380px; left: 38%; bottom: -18%; background: radial-gradient(circle, rgba(167, 139, 250, .4), transparent 70%); animation: drift 32s ease-in-out infinite; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  min-height: calc(100svh - 190px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #a9b8d6;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(6px);
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulseRing 2.6s infinite;
  flex: none;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
}
.lede {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.9;
  color: var(--muted);
}
.lede b { color: #dce6ff; font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats dt {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, #a9c6ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-stats dd { font-size: 11.5px; color: var(--dim); letter-spacing: .06em; }

/* ---------- hero cube ---------- */
.hero-visual { position: relative; }
.stage {
  position: relative;
  height: clamp(360px, 40vw, 500px);
  display: grid;
  place-items: center;
  perspective: 1100px;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(125, 171, 255, .16);
  box-shadow: inset 0 0 60px rgba(79, 123, 247, .12);
}
.r1 { width: 330px; height: 330px; transform: rotateX(74deg); animation: spinRing 26s linear infinite; }
.r2 { width: 452px; height: 452px; transform: rotateX(74deg) rotateZ(30deg); animation: spinRing 40s linear infinite reverse; border-style: dashed; border-color: rgba(125, 171, 255, .1); }
.r3 { width: 268px; height: 268px; transform: rotateY(74deg) rotateZ(12deg); animation: spinRing 34s linear infinite; }

.cube-wrap {
  transform-style: preserve-3d;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .45s var(--ease);
  z-index: 3;
}
.cube {
  width: 188px; height: 188px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCube 26s linear infinite;
}
.stage:hover .cube { animation-play-state: paused; }

.face {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #eaf2ff;
  background: linear-gradient(160deg, rgba(79, 123, 247, .32), rgba(34, 211, 238, .08) 60%, rgba(79, 70, 229, .22));
  border: 1px solid rgba(150, 190, 255, .45);
  box-shadow: inset 0 0 60px rgba(79, 70, 229, .35);
  backdrop-filter: blur(2px);
}
.face span { font-size: 9px; letter-spacing: .3em; opacity: .55; }
.f-front  { transform: translateZ(94px); }
.f-back   { transform: rotateY(180deg) translateZ(94px); }
.f-right  { transform: rotateY(90deg) translateZ(94px); }
.f-left   { transform: rotateY(-90deg) translateZ(94px); }
.f-top    { transform: rotateX(90deg) translateZ(94px); background: linear-gradient(160deg, rgba(34, 211, 238, .34), rgba(79, 123, 247, .16)); }
.f-bottom { transform: rotateX(-90deg) translateZ(94px); }

.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #cfe0ff;
  background: rgba(9, 13, 24, .8);
  border: 1px solid rgba(140, 180, 255, .24);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9);
  animation: float 7s ease-in-out infinite;
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.chip-a { top: 6%; left: 0; }
.chip-b { bottom: 20%; right: -2%; animation-delay: -2.4s; }
.chip-c { bottom: 6%; left: 6%; animation-delay: -4.1s; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: 22px; height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  place-items: start center;
  padding-top: 6px;
  z-index: 3;
}
.scroll-hint span {
  width: 3px; height: 7px; border-radius: 2px;
  background: #8fb4ff;
  animation: scrollDown 2s infinite;
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 16px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: #6f7d9c;
  white-space: nowrap;
}
.marquee-track i { color: rgba(125, 171, 255, .35); font-style: normal; }

/* ---------- section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head h2, .about-copy h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.section-head p {
  margin-top: 16px;
  font-size: 14.8px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- product cards ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.pcard::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.pcard::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  opacity: .55;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 40px 80px -50px color-mix(in srgb, var(--accent) 70%, transparent);
}
.pcard:hover::before { opacity: 1; }

.pcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pcard-num {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .3);
}
.pcard-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.pcard-ico .ico { width: 20px; height: 20px; }
.pcard h3 { font-size: 25px; letter-spacing: -.02em; }
.pcard-sub { font-size: 12.5px; color: var(--accent); letter-spacing: .04em; margin-top: 5px; }
.pcard-desc { margin-top: 14px; font-size: 13.4px; line-height: 1.85; color: #98a6c4; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags span {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  color: #9fb0d4;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
}
.pcard-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 12.5px;
  color: #dbe6ff;
  transition: gap .25s var(--ease), color .25s;
}
.pcard-more .ico { width: 15px; height: 15px; }
.pcard:hover .pcard-more { gap: 11px; color: #fff; }

/* ---------- product sections ---------- */
.product { position: relative; }
.product.alt {
  background: linear-gradient(180deg, transparent, rgba(79, 123, 247, .05) 40%, transparent);
}
.product[data-tone="cyan"] { --tone: #22d3ee; }
.product[data-tone="indigo"] { --tone: #8fb4ff; }
.product[data-tone="amber"] { --tone: #f5a524; }

.ps {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ps.reverse .ps-copy { order: 2; }
.ps.reverse .ps-visual { order: 1; }

.ps-copy h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; letter-spacing: -.035em; }
.ps-copy > p {
  margin-top: 18px;
  font-size: 14.6px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 540px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.feature-list li { display: flex; gap: 12px; }
.fi {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  color: var(--tone);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.fi .ico { width: 18px; height: 18px; }
.feature-list li:hover .fi {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
}
.feature-list h4 { font-size: 14.2px; font-weight: 650; letter-spacing: -.01em; }
.feature-list p { margin-top: 5px; font-size: 12.6px; line-height: 1.72; color: #8794b3; }

.mini-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mini-stats span {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  color: #93a2c4;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .14);
}
.mini-stats b { color: #e6ecff; font-weight: 700; }

.ps-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.ps-meta {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  color: #6b7896;
}
.ps-visual { position: relative; }

/* ---------- window mock ---------- */
.window {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(180deg, #0b1120, #070a13 62%);
  box-shadow:
    0 60px 130px -60px rgba(79, 123, 247, .6),
    0 0 0 1px rgba(255, 255, 255, .02),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.window::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 171, 255, .1), transparent 70%);
  pointer-events: none;
  transition: opacity .4s;
}
.win-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .022);
  position: relative;
}
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #212b45; }
.dots i:nth-child(1) { background: #33406a; }
.win-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  color: #66748f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-body { padding: 14px; display: grid; gap: 12px; position: relative; }

.ai-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
  flex: none;
  animation: pulseDot 2.6s infinite;
}

/* attached badges */
.float-badge {
  position: absolute;
  z-index: 5;
  font-size: 10.5px;
  color: #a9b7d4;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(9, 13, 24, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .95);
  animation: float 8s ease-in-out infinite;
}
.float-badge b { color: #fff; font-family: ui-monospace, Consolas, monospace; font-size: 10px; margin-right: 4px; }
.fb1 { top: -15px; right: 12px; }
.fb2 { bottom: -16px; left: -8px; animation-delay: -3.5s; }

/* ---------- NexaAI mock ---------- */
.nexa-app { grid-template-columns: 128px minmax(0, 1fr); padding: 14px; }
.mock-side { border-right: 1px solid rgba(255, 255, 255, .06); padding-right: 10px; display: grid; gap: 12px; align-content: start; }
.ms-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #22d3ee, #4f46e5); }
.mock-side ul { list-style: none; margin: 0; padding: 0; font-size: 10.5px; color: #8592b0; }
.mock-side li { padding: 6px 8px; border-radius: 6px; margin-bottom: 2px; white-space: nowrap; }
.mock-side li.on { background: rgba(79, 123, 247, .16); color: #cfe0ff; }
.mock-side li.on2 { background: rgba(34, 211, 238, .12); color: #a9ecff; }

.mock-main { display: grid; gap: 10px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.kpi { border: 1px solid rgba(255, 255, 255, .07); border-radius: 9px; padding: 8px 9px; background: rgba(255, 255, 255, .022); }
.kpi small { display: block; font-size: 9.5px; color: #7d8aa8; }
.kpi b { display: block; font-size: 16px; font-weight: 700; margin: 1px 0 3px; letter-spacing: -.02em; }
.kpi .up {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8.5px;
  color: #4ade80;
  background: rgba(74, 222, 128, .1);
  padding: 1px 5px;
  border-radius: 3px;
}

.chat-mock {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 11px;
  padding: 11px;
  background: rgba(6, 9, 17, .72);
  display: grid;
  gap: 9px;
}
.bubble { font-size: 11.2px; line-height: 1.68; padding: 8px 10px; border-radius: 9px; max-width: 90%; }
.bubble.q { background: rgba(79, 123, 247, .18); color: #dce6ff; justify-self: end; border-bottom-right-radius: 3px; }
.bubble.a { background: rgba(255, 255, 255, .045); color: #b9c6e0; border-bottom-left-radius: 3px; }
.ai-tag {
  display: flex; align-items: center; gap: 6px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px; letter-spacing: .12em;
  color: #7de2f5; margin-bottom: 5px;
}
.cites { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cites span {
  font-size: 9px; color: #8ea7d8;
  border: 1px solid rgba(120, 170, 255, .22);
  border-radius: 4px; padding: 2px 6px;
  background: rgba(79, 123, 247, .08);
}
.chat-input {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px; padding: 7px 9px;
  font-size: 10.5px; color: #6b7894;
}
.chat-input b {
  font-size: 9px; font-weight: 500; color: #4ade80;
  background: rgba(74, 222, 128, .1);
  padding: 2px 6px; border-radius: 4px;
  white-space: nowrap;
}

/* ---------- OPERP mock ---------- */
.erp-app { padding: 14px; gap: 11px; }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doc-head small { display: block; font-size: 9.5px; color: #7b89a8; letter-spacing: .1em; }
.doc-head strong { font-family: ui-monospace, Consolas, monospace; font-size: 13px; letter-spacing: .05em; }
.pills { display: flex; gap: 5px; flex-wrap: wrap; }
.pill {
  font-size: 9px; padding: 3px 7px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); color: #9aa8c6;
}
.pill.ok { color: #4ade80; border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .1); }
.pill.ghost { color: #8ea7d8; border-style: dashed; }

.flow-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  padding: 6px 0;
}
.fc-node {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, .025);
  display: grid; gap: 1px;
  min-width: 0;
}
.fc-node small { font-size: 8.5px; color: #6d7a98; letter-spacing: .1em; }
.fc-node b { font-size: 11px; color: #dbe4f8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-node span { font-family: ui-monospace, Consolas, monospace; font-size: 8.5px; color: #7f8db0; }
.fc-node.active {
  border-color: rgba(109, 140, 255, .5);
  background: rgba(109, 140, 255, .1);
  box-shadow: 0 0 26px -8px rgba(109, 140, 255, .9);
}
.fc-arrow { position: relative; height: 1px; background: rgba(255, 255, 255, .14); }
.fc-arrow i {
  position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid rgba(255, 255, 255, .4);
  border-right: 1px solid rgba(255, 255, 255, .4);
  transform: rotate(45deg);
}
.fc-arrow::after {
  content: "";
  position: absolute; top: -1.5px; left: 0;
  width: 5px; height: 4px; border-radius: 2px;
  background: #7da2ff;
  box-shadow: 0 0 8px #7da2ff;
  animation: travel 2.4s linear infinite;
}

.ai-cmd {
  border: 1px solid rgba(109, 140, 255, .28);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(109, 140, 255, .1), rgba(109, 140, 255, .03));
  padding: 11px;
  display: grid; gap: 8px;
}
.ai-cmd-line { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #cfdbf5; }
.steps { list-style: none; margin: 0; padding: 0 0 0 3px; display: grid; gap: 5px; font-size: 10px; color: #93a2c4; }
.steps li { display: flex; align-items: center; gap: 7px; }
.steps i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); flex: none; }
.steps .done i { background: #4ade80; border-color: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, .7); }
.steps .cur i { border-color: #7da2ff; box-shadow: 0 0 0 3px rgba(125, 162, 255, .16); }
.steps .cur { color: #dbe6ff; }
.ai-cmd-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 8px;
  font-size: 9.5px; color: #8b9abc;
}
.ai-cmd-foot b {
  font-size: 9.5px; font-weight: 600; color: #0b1120;
  background: linear-gradient(120deg, #8fb4ff, #6d8cff);
  padding: 3px 10px; border-radius: 4px;
}

.table-lines { border: 1px solid rgba(255, 255, 255, .07); border-radius: 9px; overflow: hidden; font-size: 10px; }
.tl {
  display: grid;
  grid-template-columns: 1.7fr .7fr .8fr .9fr;
  padding: 6px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: #a8b6d2;
}
.tl:last-child { border-bottom: none; }
.tl.head { background: rgba(255, 255, 255, .03); color: #7d8aa8; font-size: 9px; letter-spacing: .06em; }
.tl.total { background: rgba(109, 140, 255, .07); color: #dbe6ff; font-family: ui-monospace, Consolas, monospace; }
.tl span:not(:first-child) { text-align: right; }

/* ---------- Cubom mock ---------- */
.bom-app {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 124px;
  height: 320px;
  padding: 0;
  gap: 0;
}
.bom-tree { border-right: 1px solid rgba(255, 255, 255, .06); padding: 10px 7px; overflow: hidden; }
.bt-title { font-size: 8.5px; letter-spacing: .16em; color: #6b7896; padding: 0 6px 7px; }
.bom-tree ul { list-style: none; margin: 0; padding: 0; font-size: 10px; color: #93a2c4; }
.bom-tree li {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 6px; border-radius: 5px;
  white-space: nowrap;
}
.bom-tree li.sel { background: rgba(74, 144, 217, .2); color: #dceaff; }
.bom-tree .lvl1 { padding-left: 14px; }
.bom-tree .lvl2 { padding-left: 26px; }
.caret {
  width: 0; height: 0; flex: none;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid #5d6a88;
  transform: rotate(-45deg);
}
.caret.open { transform: rotate(0); }
.node-i { width: 6px; height: 6px; border-radius: 2px; background: #4a90d9; flex: none; }
.node-i.asm { background: #f5a524; border-radius: 50%; }
.node-i.part { background: #6b8bb5; }
.node-i.ph { background: transparent; border: 1px dashed #7d8aa8; }

.viewport {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 26%, rgba(74, 144, 217, .18), transparent 62%),
    #070a12;
}
.grid-floor {
  position: absolute;
  left: -40%; right: -40%; bottom: -26%;
  height: 82%;
  background-image:
    linear-gradient(rgba(125, 171, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 171, 255, .18) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(420px) rotateX(64deg);
  mask-image: linear-gradient(to top, #000 6%, transparent 82%);
  -webkit-mask-image: linear-gradient(to top, #000 6%, transparent 82%);
}
.vp-cube {
  position: absolute;
  left: 50%; top: 46%;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(34deg);
  animation: cubeFloat 9s ease-in-out infinite;
}
.vf { position: absolute; inset: 0; border: 1px solid rgba(170, 210, 255, .5); }
.vf.top   { background: linear-gradient(135deg, rgba(150, 198, 255, .55), rgba(74, 144, 217, .3)); transform: rotateX(90deg) translateZ(46px); }
.vf.left  { background: linear-gradient(160deg, rgba(74, 144, 217, .55), rgba(28, 62, 108, .7)); transform: rotateY(-90deg) translateZ(46px); }
.vf.right { background: linear-gradient(200deg, rgba(245, 165, 36, .5), rgba(150, 84, 18, .6)); transform: translateZ(46px); }

.vp-gizmo { position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; }
.vp-gizmo i { position: absolute; left: 5px; top: 16px; width: 24px; height: 1.5px; border-radius: 2px; }
.gx { background: #f87171; }
.gy { background: #4ade80; transform: rotate(-90deg); }
.gz { background: #60a5fa; transform: rotate(45deg); }

.vp-toolbar { position: absolute; top: 9px; left: 9px; display: flex; gap: 4px; }
.vp-toolbar span {
  font-size: 8.5px; color: #93a2c4;
  padding: 3px 6px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(9, 13, 24, .72);
}
.vp-toolbar .on { color: #0b1120; background: #8fb4ff; border-color: #8fb4ff; }
.vp-chip {
  position: absolute; bottom: 9px; right: 9px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px; color: #9fb0d4;
  background: rgba(9, 13, 24, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 3px 6px; border-radius: 4px;
}

.bom-props {
  border-left: 1px solid rgba(255, 255, 255, .06);
  padding: 10px 9px;
  display: grid; align-content: start; gap: 7px;
  font-size: 9.5px;
}
.bp-title { font-size: 8.5px; letter-spacing: .16em; color: #6b7896; }
.prop { display: grid; gap: 1px; }
.prop small { color: #6d7a98; font-size: 8.5px; }
.prop span { color: #cfdbf5; }
.bp-ai {
  margin-top: 3px;
  border: 1px solid rgba(245, 165, 36, .28);
  background: rgba(245, 165, 36, .09);
  border-radius: 6px; padding: 6px;
  font-size: 9px; line-height: 1.5; color: #f0d3a5;
  display: flex; gap: 5px; align-items: flex-start;
}

/* ---------- stack ---------- */
.stack { display: grid; gap: 10px; margin-top: 34px; }
.layer {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.layer:hover {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(125, 171, 255, .3);
  transform: translateX(4px);
}
.layer-name { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #dbe6ff; }
.layer-name span {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9.5px; color: #5d6a88;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px; padding: 2px 5px;
}
.layer-body { display: flex; flex-wrap: wrap; gap: 7px; }
.tech {
  font-size: 11.5px; color: #9fadc9;
  padding: 5px 10px; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}
.tech.hi { color: #cfe0ff; border-color: rgba(125, 171, 255, .35); background: rgba(79, 123, 247, .14); }
.stack-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 14px;
  border-left: 2px solid #4f7bf7;
  background: linear-gradient(90deg, rgba(79, 123, 247, .1), transparent);
  font-size: 12.8px; line-height: 1.85; color: #98a6c4;
}
.stack-note .ico { width: 19px; height: 19px; color: #8fb4ff; margin-top: 3px; }
.stack-note b { color: #dbe6ff; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about-copy > p { margin-top: 16px; font-size: 14.2px; line-height: 1.95; color: var(--muted); }
.about-points {
  list-style: none; padding: 0;
  margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 12.8px; color: #a9b7d4;
}
.about-points li { display: flex; align-items: center; gap: 8px; }
.about-points .ico { width: 15px; height: 15px; color: #4ade80; }

.contact-card {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(125, 171, 255, .22);
  background: linear-gradient(165deg, rgba(79, 123, 247, .16), rgba(255, 255, 255, .022) 46%);
  box-shadow: 0 50px 110px -60px rgba(79, 123, 247, .85);
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute; right: -60px; top: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 68%);
  pointer-events: none;
}
.cc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cc-mark { width: 42px; height: 42px; flex: none; }
.cc-mark svg { width: 100%; height: 100%; }
.cc-head strong { display: block; font-size: 14.5px; }
.cc-head small { display: block; font-size: 11.5px; color: #8ea0c2; margin-top: 3px; }
.cc-list { margin: 18px 0 0; display: grid; gap: 13px; }
.cc-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-list dt { font-size: 11.5px; color: #7d8aa8; flex: none; }
.cc-list dd { display: flex; align-items: center; gap: 8px; font-size: 13.2px; color: #e2eaff; text-align: right; }
.cc-list dd a { color: #cfe0ff; letter-spacing: .02em; }
.cc-list dd a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; color: #9fb0d4;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  border-radius: 5px; padding: 2px 6px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  font-family: inherit;
}
.copy-btn .ico { width: 10px; height: 10px; }
.copy-btn:hover { color: #fff; border-color: rgba(125, 171, 255, .5); }
.cc-actions { margin-top: 20px; }
.cc-tip { margin: 12px 0 0; font-size: 10.8px; line-height: 1.7; color: #7d8aa8; }

/* ---------- cta band ---------- */
.cta-band {
  padding: 52px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(79, 123, 247, .16), transparent 70%),
    radial-gradient(600px 240px at 85% 100%, rgba(34, 211, 238, .1), transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-inner h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; }
.cta-inner p { margin-top: 8px; font-size: 12.8px; color: var(--muted); }
.cta-links { display: flex; flex-wrap: wrap; gap: 9px; }
.cta-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.5px; color: #dbe6ff;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.cta-links .ico { width: 13px; height: 13px; }
.cta-links a:hover {
  transform: translateY(-2px);
  background: rgba(125, 171, 255, .14);
  border-color: rgba(125, 171, 255, .5);
}

/* ---------- footer ---------- */
.footer { background: #04060b; padding: 56px 0 22px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; }
.f-brand p { margin-top: 16px; font-size: 12.2px; line-height: 1.9; color: #7d8aa8; }
.f-col h5 { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #6d7a98; margin-bottom: 14px; font-weight: 600; }
.f-col a, .f-col span { display: block; font-size: 12.6px; color: #9fadc9; margin-bottom: 9px; transition: color .2s, transform .2s; }
.f-col a .f-p {
  display: inline-block;
  min-width: 54px;
  margin-right: 6px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #6d7a98;
}
.f-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 11px; color: #6d7a98;
}
.footer-bottom .mono { letter-spacing: .14em; }
.fb-links { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.icp {
  color: #7d8aa8;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}
.icp:hover { color: #dbe6ff; border-bottom-color: rgba(125, 171, 255, .55); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px;
  transform: translate(-50%, 18px);
  opacity: 0; pointer-events: none;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12.5px; color: #fff;
  background: rgba(20, 27, 44, .95);
  border: 1px solid rgba(125, 171, 255, .35);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .85s var(--ease) var(--d, 0s), transform .85s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes spinCube {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to   { transform: rotateX(-18deg) rotateY(360deg); }
}
@keyframes spinRing {
  from { transform: rotateX(74deg) rotateZ(0deg); }
  to   { transform: rotateX(74deg) rotateZ(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes cubeFloat {
  0%, 100% { transform: rotateX(-16deg) rotateY(34deg) translateY(0); }
  50% { transform: rotateX(-16deg) rotateY(48deg) translateY(-8px); }
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: 12.5px; }
  .hero-grid { min-height: 0; padding-top: 8px; }
  .pcard-grid { gap: 14px; }
  .pcard { padding: 22px 18px; }
  .pcard h3 { font-size: 22px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { padding: 9px 11px; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px clamp(18px, 4vw, 40px) 18px;
    background: rgba(6, 9, 17, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .nav.menu-open .nav-links a { padding: 11px 4px; font-size: 14px; }

  .hero { padding-top: 92px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { margin-top: 10px; }
  .stage { height: 340px; }
  .r1 { width: 280px; height: 280px; }
  .r2 { width: 360px; height: 360px; }
  .r3 { width: 220px; height: 220px; }
  .cube, .cube-wrap { }
  .chip-b { right: 2%; }

  .pcard-grid { grid-template-columns: 1fr; }
  .pcard { padding: 24px; }

  .ps { grid-template-columns: 1fr; gap: 34px; }
  .ps.reverse .ps-copy { order: 0; }
  .ps.reverse .ps-visual { order: 0; }
  .ps-visual { max-width: 620px; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-card { max-width: 520px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .layer-name { font-size: 12px; }
  .nexa-app { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .bom-app { grid-template-columns: 108px minmax(0, 1fr); height: 300px; }
  .bom-props { display: none; }
  .float-badge { display: none; }
  .scroll-hint { display: none; }
  .hero-stats { gap: 18px 26px; }
  .hero-stats > div { flex: 1 1 40%; }
  .ps-copy > p { font-size: 14px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand-text small { display: none; }
  .hero h1 { font-size: 36px; }
  .stage { height: 300px; }
  .cube { width: 150px; height: 150px; }
  .face { font-size: 11px; }
  .f-front  { transform: translateZ(75px); }
  .f-back   { transform: rotateY(180deg) translateZ(75px); }
  .f-right  { transform: rotateY(90deg) translateZ(75px); }
  .f-left   { transform: rotateY(-90deg) translateZ(75px); }
  .f-top    { transform: rotateX(90deg) translateZ(75px); }
  .f-bottom { transform: rotateX(-90deg) translateZ(75px); }
  .r1 { width: 230px; height: 230px; }
  .r2 { width: 290px; height: 290px; }
  .r3, .chip-a { display: none; }
  .chip { font-size: 10.5px; padding: 6px 10px; }
  .chip-b { bottom: 14%; }
  .chip-c { bottom: 0; left: 0; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi-row .kpi:nth-child(3) { display: none; }
  .flow-chain { grid-template-columns: 1fr; gap: 6px; }
  .fc-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .cc-list > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .cc-list dd { text-align: left; }
}

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