/* ==========================================================================
   CLOUDPIVOT — 云枢科技官网
   Dark / holographic / engineered
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../vendor/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #05070f;
  --bg-soft: #070b16;
  --surface: rgba(12, 19, 36, 0.62);
  --surface-solid: #0a1122;
  --line: rgba(120, 170, 255, 0.14);
  --line-strong: rgba(120, 200, 255, 0.32);
  --text: #e8f1ff;
  --muted: #8fa3c4;
  --dim: #6c81a3;
  --cyan: #4ce3ff;
  --blue: #5b8cff;
  --violet: #a78bfa;
  --mint: #6ff2c8;
  --rose: #f0a6ff;
  --grad: linear-gradient(110deg, #5fe9ff 0%, #5b8cff 52%, #a78bfa 100%);
  --grad-soft: linear-gradient(100deg, #8ff0ff 0%, #9fc2ff 48%, #c4b5fd 100%);
  --radius: 20px;
  --container: 1200px;
  --font-display: 'Space Grotesk Variable', 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'SFMono-Regular', 'Cascadia Code', 'Consolas', 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.16, 0.8, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(76, 227, 255, 0.075), transparent 62%),
    radial-gradient(760px 540px at 4% 18%, rgba(167, 139, 250, 0.065), transparent 60%),
    radial-gradient(700px 500px at 50% 120%, rgba(91, 140, 255, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(76, 227, 255, 0.28); color: #fff; }
html { scrollbar-color: #22324f var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1b2a44; border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #28405f; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
svg { overflow: visible; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; background: var(--cyan); color: #041018;
  font-size: 13px; font-weight: 600; transition: top 0.25s;
}
.skip-link:focus { top: 16px; }
section[id] { scroll-margin-top: 90px; }

/* ---------- scroll progress / cursor ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 12px rgba(76, 227, 255, 0.6);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 4;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(76, 227, 255, 0.085) 0%, rgba(91, 140, 255, 0.05) 38%, transparent 66%);
  transition: opacity 0.5s ease;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  background: transparent;
}
/* backdrop-filter must live on a pseudo element: applied to the header itself it
   would become the containing block of the fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-scrolled::before {
  background: rgba(5, 7, 15, 0.72);
  border-bottom-color: rgba(120, 170, 255, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-wrap { position: relative; z-index: 1; height: 78px; display: flex; align-items: center; }
.brand { position: relative; z-index: 131; display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; transition: filter 0.3s, transform 0.3s; }
.brand:hover .brand-mark { filter: drop-shadow(0 0 10px rgba(76, 227, 255, 0.55)); transform: translateY(-1px); }
.brand-text b { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.2; }
.brand-text em { display: block; font-family: var(--font-display); font-style: normal; font-size: 8px; letter-spacing: 0.26em; color: var(--dim); line-height: 1.5; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link {
  position: relative; padding: 6px 0; font-size: 13px; color: #9aacc9;
  transition: color 0.25s;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: -3px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 34px; }
.nav .nav-cta { display: none; }
.menu-btn {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, 0.02); cursor: pointer;
  position: relative; z-index: 130;
}
.menu-btn span {
  position: absolute; left: 11px; width: 18px; height: 1.5px;
  background: #cfe2ff; border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
body.menu-open .menu-btn span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2;
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.35s, background 0.35s, border-color 0.35s, color 0.3s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--grad); color: #04101c; font-weight: 600;
  box-shadow: 0 8px 28px -10px rgba(76, 200, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 42px -12px rgba(76, 210, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost {
  border-color: rgba(140, 190, 255, 0.24); color: #cfe2ff;
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(140, 220, 255, 0.5);
  background: rgba(76, 227, 255, 0.06);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 26px; font-size: 14px; }
.btn-sm { padding: 9px 19px; font-size: 12.5px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}
body.webgl-ready #hero-canvas { opacity: 1; }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.055) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 10%, transparent 72%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.35) 34%, transparent 58%),
    linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, 0.75) 88%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center; gap: 24px;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; color: #9eb3d2; text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow-sep { color: rgba(120, 170, 255, 0.35); }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 0 rgba(111, 242, 200, 0.6);
  animation: pulseDot 2.6s ease-out infinite;
}
.hero h1 {
  font-size: clamp(44px, 5.9vw, 82px);
  line-height: 1.07; font-weight: 600; letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.text-grad {
  background: linear-gradient(100deg, #8ff3ff 0%, #6ba8ff 42%, #b79bff 88%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(91, 160, 255, 0.28));
}
.text-grad-soft {
  background: var(--grad-soft);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 540px; font-size: 15.5px; line-height: 1.9; color: var(--muted);
  margin-bottom: 34px;
}
.hero-lead strong { color: #d7e8ff; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 44px;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid rgba(120, 170, 255, 0.12);
}
.hero-meta li { position: relative; }
.hero-meta li + li::before {
  content: ""; position: absolute; left: -22px; top: 4px;
  width: 1px; height: 30px; background: rgba(120, 170, 255, 0.12);
}
.hero-meta b {
  display: block; font-family: var(--font-display); font-size: 26px;
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: #eaf6ff;
  font-variant-numeric: tabular-nums;
}
.hero-meta span { font-size: 10.5px; color: var(--dim); letter-spacing: 0.08em; }

.hero-visual { position: relative; min-height: 540px; pointer-events: none; }
.hud-frame { position: absolute; inset: 12% 2% 10% 10%; }
.hud-corner { position: absolute; width: 26px; height: 26px; border-color: rgba(120, 230, 255, 0.45); border-style: solid; }
.hud-corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hud-corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hud-corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hud-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.hud-label {
  position: absolute; font-family: var(--font-display); font-size: 8.5px;
  letter-spacing: 0.2em; color: rgba(160, 200, 240, 0.55); white-space: nowrap;
}
.hud-label-top { top: -20px; left: 4px; }
.hud-label-bottom { bottom: -20px; right: 4px; }
.hud-side {
  position: absolute; top: 50%; right: -30px;
  writing-mode: vertical-rl; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.32em;
  color: rgba(160, 200, 240, 0.35);
}
.float-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(8, 14, 28, 0.62); border: 1px solid rgba(120, 190, 255, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.14em;
  color: rgba(170, 195, 225, 0.75); white-space: nowrap;
  animation: floatY 7s ease-in-out infinite alternate;
}
.float-tag b { color: #dff6ff; font-weight: 500; }
.tag-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.tag-dot.violet { background: var(--violet); box-shadow: 0 0 7px var(--violet); }
.tag-dot.mint { background: var(--mint); box-shadow: 0 0 7px var(--mint); }
.tag-a { top: 17%; right: 0; animation-delay: -1s; }
.tag-b { top: 79%; left: -6%; animation-delay: -3.2s; }
.tag-c { bottom: 13%; right: 6%; animation-delay: -5s; }

.hero-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.no-webgl .hero-fallback { display: flex; }
.no-webgl #hero-canvas { display: none; }
.no-webgl .float-tag, .no-webgl .hud-label, .no-webgl .hud-side { display: none; }
.orb { position: relative; width: 320px; height: 320px; display: grid; place-items: center; }
.orb-core {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #bff8ff, #4ce3ff 30%, #5b8cff 60%, rgba(91, 140, 255, 0) 72%);
  filter: blur(2px);
  box-shadow: 0 0 80px rgba(76, 227, 255, 0.45), 0 0 160px rgba(91, 140, 255, 0.3);
  animation: orbPulse 4s ease-in-out infinite;
}
.orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(120, 220, 255, 0.35);
  transform: rotateX(68deg) rotateZ(0deg);
  box-shadow: 0 0 30px rgba(76, 227, 255, 0.12) inset;
  animation: orbSpin 16s linear infinite;
}
.orb-ring.r2 { inset: 40px; border-color: rgba(167, 139, 250, 0.35); animation-duration: 11s; animation-direction: reverse; transform: rotateX(60deg) rotateY(18deg); }
.orb-ring.r3 { inset: 80px; border-color: rgba(111, 242, 200, 0.3); animation-duration: 8s; transform: rotateY(62deg) rotateZ(20deg); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.22em;
  color: rgba(150, 175, 210, 0.55);
  transition: color 0.3s;
}
.scroll-cue:hover { color: rgba(190, 220, 255, 0.85); }
.scroll-mouse {
  width: 18px; height: 28px; border: 1px solid rgba(150, 200, 255, 0.3);
  border-radius: 10px; display: flex; justify-content: center; padding-top: 5px;
}
.scroll-mouse i { width: 2px; height: 6px; border-radius: 2px; background: var(--cyan); animation: scrollWheel 2s ease-in-out infinite; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(120, 170, 255, 0.09);
  border-bottom: 1px solid rgba(120, 170, 255, 0.09);
  background: rgba(6, 10, 20, 0.5);
  padding: 20px 0;
}
.trust-inner { display: flex; align-items: center; gap: 40px; }
.trust-label {
  flex-shrink: 0; font-family: var(--font-display); font-size: 8.5px;
  letter-spacing: 0.2em; color: var(--dim); white-space: nowrap;
}
.marquee {
  flex: 1; overflow: hidden;
  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: 30px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 13px; color: #8397b7; white-space: nowrap; letter-spacing: 0.06em; }
.marquee-track i { font-style: normal; font-size: 6px; color: rgba(76, 227, 255, 0.4); }

/* ==========================================================================
   SECTIONS / COMMON
   ========================================================================== */
.section { position: relative; padding: 120px 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end; gap: 64px; margin-bottom: 58px;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.eyebrow > span {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 16px; padding: 0 4px;
  border: 1px solid rgba(76, 227, 255, 0.28); border-radius: 3px;
  font-size: 8px; color: #a9f4ff; letter-spacing: 0.08em;
}
.eyebrow.light { color: #9ef4ff; }
.section-title {
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1.16; font-weight: 600; letter-spacing: -0.025em;
}
.section-desc { font-size: 14.5px; line-height: 1.9; color: var(--muted); padding-bottom: 4px; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 30px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, rgba(17, 27, 48, 0.62), rgba(7, 12, 24, 0.5));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(76, 227, 255, 0.1), transparent 46%);
  opacity: 0; transition: opacity 0.45s;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 227, 255, 0.55), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 200, 255, 0.3);
  box-shadow: 0 24px 60px -32px rgba(76, 180, 255, 0.55);
}
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(120, 200, 255, 0.2); border-radius: 12px;
  background: rgba(76, 227, 255, 0.055); color: #8ff0ff;
  box-shadow: inset 0 0 20px rgba(76, 227, 255, 0.04);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover .service-icon { border-color: rgba(120, 220, 255, 0.42); box-shadow: 0 0 24px -6px rgba(76, 227, 255, 0.4), inset 0 0 20px rgba(76, 227, 255, 0.06); }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-index { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.18em; color: rgba(140, 170, 210, 0.45); padding-top: 4px; }
.service-card h3 { font-size: 19px; font-weight: 600; letter-spacing: 0.01em; margin: 22px 0 9px; }
.service-card p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; flex: 1; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 24px; }
.tag-list li {
  font-size: 10.5px; color: #93a9c9; padding: 4px 9px;
  border: 1px solid rgba(120, 170, 255, 0.15); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02); white-space: nowrap;
}
.card-arrow {
  position: absolute; right: 24px; bottom: 26px; z-index: 1;
  color: var(--cyan); opacity: 0; transform: translate(-4px, 4px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.card-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .card-arrow { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   CASES
   ========================================================================== */
.section-cases { padding-top: 40px; }
.case-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 26px;
}
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: #91a5c3; font-size: 12.5px; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.filter-btn sup { font-size: 8px; color: var(--dim); margin-left: 2px; font-family: var(--font-display); }
.filter-btn:hover { color: #dff2ff; border-color: rgba(120, 200, 255, 0.3); }
.filter-btn.is-active {
  color: #dffaff; border-color: rgba(76, 227, 255, 0.42);
  background: rgba(76, 227, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(76, 227, 255, 0.06), 0 0 20px -10px rgba(76, 227, 255, 0.5);
}
.filter-btn.is-active sup { color: #8ff0ff; }
.case-count { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; color: var(--dim); white-space: nowrap; }

.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.85), rgba(7, 11, 22, 0.92));
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s, opacity 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 200, 255, 0.32);
  box-shadow: 0 30px 70px -40px rgba(76, 180, 255, 0.55);
}
.case-card.is-hidden { display: none; }
.case-card.pop { animation: cardIn 0.45s var(--ease) both; }
.case-visual {
  position: relative; height: 252px; overflow: hidden;
  border-bottom: 1px solid rgba(120, 170, 255, 0.1);
}
.case-visual::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 22, 0.85));
  pointer-events: none;
}
.visual-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160, 220, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 220, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000, transparent 75%);
  opacity: 0.55;
}
.visual-code {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.18em;
  color: rgba(210, 235, 255, 0.4);
}
.visual-cyan { --mock-accent: #4ce3ff; --mock-accent-2: #5b8cff; background: radial-gradient(120% 100% at 50% 0%, #0e3a50 0%, #08172a 55%, #070b16 100%); }
.visual-violet { --mock-accent: #a78bfa; --mock-accent-2: #6d8bff; background: radial-gradient(120% 100% at 50% 0%, #2a1b52 0%, #10142b 55%, #070b16 100%); }
.visual-mint { --mock-accent: #6ff2c8; --mock-accent-2: #4ce3ff; background: radial-gradient(120% 100% at 50% 0%, #0c3b34 0%, #0a1a24 55%, #070b16 100%); }
.visual-blue { --mock-accent: #5b8cff; --mock-accent-2: #4ce3ff; background: radial-gradient(120% 100% at 50% 0%, #122a5e 0%, #0a142b 55%, #070b16 100%); }
.visual-holo { --mock-accent: #8ff7ff; --mock-accent-2: #a78bfa; background: radial-gradient(120% 100% at 50% 0%, #24164a 0%, #0e1530 55%, #070b16 100%); }
.visual-rose { --mock-accent: #f0a6ff; --mock-accent-2: #8f8bff; background: radial-gradient(120% 100% at 50% 0%, #3a1740 0%, #151226 55%, #070b16 100%); }

/* ---- phone mockups ---- */
.mock { position: relative; }
.mock-phone {
  position: absolute; left: 50%; bottom: -40px; z-index: 1;
  width: 152px; height: 285px; padding: 5px;
  border-radius: 24px; background: #070b16;
  border: 1px solid rgba(150, 220, 255, 0.26);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px -10px rgba(76, 227, 255, 0.18);
  transform: translateX(-50%) rotate(-5deg);
  transition: transform 0.6s var(--ease);
}
.case-card:hover .mock-phone { transform: translateX(-50%) rotate(-2deg) translateY(-6px); }
.visual-mint .mock-phone { transform: translateX(-50%) rotate(4deg); }
.case-card:hover .visual-mint .mock-phone { transform: translateX(-50%) rotate(1deg) translateY(-6px); }
.visual-rose .mock-phone { transform: translateX(-50%) rotate(3deg); }
.case-card:hover .visual-rose .mock-phone { transform: translateX(-50%) rotate(0deg) translateY(-6px); }
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 19px; padding: 14px 10px 0;
  background: linear-gradient(180deg, #0b1223, #070d19);
  display: flex; flex-direction: column;
}
.phone-screen::before {
  content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 11px; border-radius: 6px; background: #04070d; z-index: 3;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.mock-pill {
  font-size: 7px; letter-spacing: 0.08em; color: #cff8ff;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(76, 227, 255, 0.14); border: 1px solid rgba(76, 227, 255, 0.2);
}
.mock-cart { width: 9px; height: 9px; border-radius: 3px; border: 1px solid rgba(200, 240, 255, 0.35); }
.mock-hero-text {
  font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em;
  color: #e9f8ff; margin: 12px 0 8px;
}
.mock-hero-text.small { font-size: 10px; margin: 8px 0 6px; }
.mock-search {
  height: 22px; border-radius: 6px; display: flex; align-items: center;
  padding: 0 7px; font-size: 6.5px; color: rgba(200, 225, 255, 0.42);
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-products { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mock-prod { padding: 4px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.05); }
.mock-prod i {
  display: block; height: 34px; border-radius: 4px;
  background: linear-gradient(135deg, rgba(76, 227, 255, 0.22), rgba(91, 140, 255, 0.08));
}
.mock-prod span { display: block; height: 3px; width: 82%; margin-top: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.mock-prod b { display: block; height: 3px; width: 42%; margin-top: 3px; border-radius: 2px; background: var(--mock-accent, #4ce3ff); opacity: 0.7; }
.mock-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32px;
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(6, 10, 20, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-tabbar i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.mock-tabbar i.on { background: var(--mock-accent, #4ce3ff); box-shadow: 0 0 10px -1px var(--mock-accent, #4ce3ff); }

/* member phone */
.member-card {
  position: relative; overflow: hidden; margin-top: 18px;
  padding: 13px 12px; min-height: 152px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(111, 242, 200, 0.22), rgba(76, 227, 255, 0.07) 46%, rgba(167, 139, 250, 0.18));
  border: 1px solid rgba(140, 255, 220, 0.26);
}
.member-shine {
  position: absolute; inset: -40% -60%;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  animation: holoSweep 7s ease-in-out infinite;
}
.member-brand { font-family: var(--font-display); font-size: 6px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.55); }
.member-card strong { display: block; font-size: 17px; letter-spacing: 0.04em; color: #f2fffb; margin-top: 8px; }
.member-points { font-size: 7px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; }
.member-points b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; color: #b9ffe9; line-height: 1.2; }
.member-tags { display: flex; gap: 4px; margin-top: 10px; }
.member-tags span { font-size: 6px; padding: 2px 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); color: rgba(235, 255, 250, 0.8); }
.mock-rows { display: grid; gap: 6px; margin-top: 10px; }
.mock-rows i { height: 24px; border-radius: 6px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.05); }

/* education phone */
.edu-player {
  position: relative; margin-top: 12px; height: 96px; border-radius: 9px;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(240, 166, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #2b1740, #141a3e 60%, #0e1428);
  border: 1px solid rgba(220, 180, 255, 0.16);
  display: grid; place-items: center;
}
.play-tri {
  width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-left: 14px solid rgba(235, 220, 255, 0.85);
  filter: drop-shadow(0 0 8px rgba(240, 166, 255, 0.5));
  margin-left: 3px;
}
.edu-live {
  position: absolute; top: 6px; left: 6px; font-size: 5.5px; letter-spacing: 0.1em;
  color: #ffd9f6; background: rgba(240, 120, 220, 0.22); padding: 2px 5px; border-radius: 3px;
  border: 1px solid rgba(255, 170, 240, 0.3);
}
.edu-time { position: absolute; right: 6px; bottom: 5px; font-size: 5.5px; color: rgba(255, 255, 255, 0.6); }
.edu-list { display: grid; gap: 5px; }
.edu-list > div { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 5px; background: rgba(255, 255, 255, 0.035); }
.edu-list i { width: 26px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, rgba(240, 166, 255, 0.25), rgba(143, 139, 255, 0.12)); }
.edu-list span { flex: 1; }
.edu-list b { display: block; height: 3px; width: 78%; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.edu-list em { display: block; height: 3px; width: 40%; margin-top: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }

/* ---- browser mockups ---- */
.mock-browser {
  position: absolute; left: 50%; bottom: -26px; z-index: 1;
  width: 85%; height: 228px; overflow: hidden;
  border-radius: 10px 10px 0 0; background: #070d1a;
  border: 1px solid rgba(150, 200, 255, 0.24); border-bottom: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px -12px rgba(120, 140, 255, 0.25);
  transform: translateX(-50%);
  transition: transform 0.6s var(--ease);
}
.case-card:hover .mock-browser { transform: translateX(-50%) translateY(-6px); }
.mock-browser-bar {
  height: 19px; display: flex; align-items: center; gap: 4px; padding: 0 8px;
  background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-browser-bar span { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mock-browser-bar span:first-child { background: rgba(255, 120, 130, 0.55); }
.mock-browser-bar span:nth-child(2) { background: rgba(255, 200, 100, 0.55); }
.mock-browser-bar span:nth-child(3) { background: rgba(120, 240, 170, 0.55); }
.mock-browser-bar em { margin-left: 6px; width: 40%; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); }
.mock-browser-body { display: flex; height: calc(100% - 19px); }
.mock-side {
  width: 30px; flex-shrink: 0; padding-top: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.02); border-right: 1px solid rgba(255, 255, 255, 0.055);
}
.mock-side i { width: 13px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.mock-side i.on { background: var(--mock-accent, #4ce3ff); opacity: 0.85; box-shadow: 0 0 8px -1px var(--mock-accent, #4ce3ff); }
.mock-main { flex: 1; min-width: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mock-toolbar { display: flex; align-items: center; justify-content: space-between; }
.mock-toolbar span { width: 38%; height: 5px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.mock-toolbar b { width: 28px; height: 11px; border-radius: 3px; background: var(--mock-accent, #4ce3ff); opacity: 0.35; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mock-kpis > div { padding: 5px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.04); }
.mock-kpis i { display: block; width: 62%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.mock-kpis b { display: block; width: 46%; height: 6px; margin-top: 4px; border-radius: 2px; background: var(--mock-accent, #4ce3ff); opacity: 0.6; }
.mock-kanban { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mock-kanban > div { padding: 4px; border-radius: 5px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.04); }
.mock-col-title { display: block; width: 54%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); margin-bottom: 4px; }
.mock-kanban u { display: block; height: 15px; margin-bottom: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.065); border-left: 2px solid var(--mock-accent, #4ce3ff); opacity: 0.8; }
.mock-kanban > div:nth-child(2) u { border-left-color: var(--mock-accent-2, #5b8cff); }
.mock-chart-big {
  position: relative; flex: 1; min-height: 0; padding: 5px;
  border-radius: 6px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.045);
}
.mock-chart-big svg { width: 100%; height: 100%; }
.mock-chart-big::after {
  content: ""; position: absolute; inset: 0; border-radius: 6px;
  background: radial-gradient(60% 60% at 55% 55%, rgba(76, 227, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.mock-mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mock-mini-cards div { height: 15px; border-radius: 4px; background: rgba(255, 255, 255, 0.045); }

/* ---- holographic cards ---- */
.mock-holo {
  position: absolute; left: 50%; top: 52%;
  width: 232px; height: 150px;
  transform: translate(-50%, -50%);
}
.holo-card { position: absolute; inset: 0; border-radius: 14px; }
.holo-back {
  background: linear-gradient(135deg, rgba(76, 227, 255, 0.13), rgba(167, 139, 250, 0.16));
  border: 1px solid rgba(140, 220, 255, 0.16);
  transform: rotate(-13deg) translate(-18px, 12px);
}
.holo-mid {
  background: linear-gradient(135deg, rgba(111, 242, 200, 0.1), rgba(91, 140, 255, 0.16));
  border: 1px solid rgba(140, 220, 255, 0.2);
  transform: rotate(7deg) translate(16px, 8px);
}
.holo-front {
  overflow: hidden; padding: 15px 16px;
  background: linear-gradient(125deg, #101a30, #182647 42%, #0e1a33);
  border: 1px solid rgba(140, 220, 255, 0.34);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 40px -12px rgba(140, 200, 255, 0.4);
  transition: transform 0.6s var(--ease);
}
.case-card:hover .holo-front { transform: translateY(-6px); }
.holo-front::before {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 210deg at 70% 20%, rgba(76, 227, 255, 0.18), rgba(167, 139, 250, 0.2), rgba(111, 242, 200, 0.14), rgba(255, 160, 240, 0.16), rgba(76, 227, 255, 0.18));
  mix-blend-mode: screen; opacity: 0.55;
}
.holo-front::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  opacity: 0.5;
}
.holo-shine {
  position: absolute; inset: -50% -60%; z-index: 2;
  background: linear-gradient(105deg, transparent 38%, rgba(200, 245, 255, 0.22) 50%, transparent 62%);
  animation: holoSweep 6.5s ease-in-out infinite;
}
.holo-top { position: relative; z-index: 1; display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 6.5px; letter-spacing: 0.14em; color: rgba(210, 240, 255, 0.62); }
.holo-chip {
  position: relative; z-index: 1; width: 26px; height: 20px; border-radius: 4px; margin-top: 17px;
  background: linear-gradient(135deg, #d8f6ff, #7fb7d8);
  opacity: 0.75;
  background-image:
    linear-gradient(90deg, transparent 45%, rgba(20, 50, 70, 0.4) 45% 55%, transparent 55%),
    linear-gradient(transparent 45%, rgba(20, 50, 70, 0.4) 45% 55%, transparent 55%);
}
.holo-number { position: relative; z-index: 1; margin-top: 12px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; color: #e3f6ff; }
.holo-bottom { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; }
.holo-bottom span { font-size: 7.5px; color: rgba(220, 240, 255, 0.6); letter-spacing: 0.1em; }
.holo-bottom strong { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: #a9f6ff; }

/* ---- case body ---- */
.case-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.case-meta { display: flex; align-items: center; justify-content: space-between; }
.case-cat {
  font-size: 9.5px; letter-spacing: 0.1em; color: var(--mock-accent, var(--cyan));
  padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--mock-accent, #4ce3ff) 30%, transparent);
  border-radius: 999px; background: color-mix(in srgb, var(--mock-accent, #4ce3ff) 7%, transparent);
}
.case-year { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.14em; color: var(--dim); }
.case-body h3 { font-size: 16.5px; font-weight: 600; letter-spacing: 0.01em; margin: 12px 0 6px; }
.case-body > p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.case-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(120, 170, 255, 0.12);
}
.case-foot > span { font-size: 9.5px; color: var(--dim); white-space: nowrap; }
.case-foot > span b { font-family: var(--font-display); font-size: 11px; font-weight: 500; color: #cfeaff; margin-right: 3px; }
.case-open {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 11px; color: var(--cyan); transition: color 0.25s, transform 0.3s var(--ease);
}
.case-open svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.case-open:hover { color: #aaf6ff; }
.case-open:hover svg { transform: translateX(3px); }
.case-card:hover .case-open svg { transform: translateX(2px); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.section-band {
  background:
    linear-gradient(180deg, rgba(9, 15, 30, 0.7), rgba(5, 7, 15, 0) 70%),
    linear-gradient(90deg, rgba(76, 227, 255, 0.025), transparent 30%, transparent 70%, rgba(167, 139, 250, 0.025));
  border-top: 1px solid rgba(120, 170, 255, 0.08);
  border-bottom: 1px solid rgba(120, 170, 255, 0.08);
}
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.process-step {
  position: relative; padding: 26px 24px 0 0;
  border-top: 1px solid rgba(120, 170, 255, 0.16);
}
.process-step::before {
  content: ""; position: absolute; top: -3.5px; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px rgba(76, 227, 255, 0.8);
}
.process-step::after {
  content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(76, 227, 255, 0.28), transparent 90%);
  opacity: 0.5;
}
.process-num {
  display: block; font-family: var(--font-display); font-size: 28px; font-weight: 400;
  letter-spacing: 0.02em; line-height: 1; color: rgba(130, 180, 240, 0.28);
  margin-bottom: 16px;
}
.process-step h3 { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 9px; }
.process-step p { font-size: 12.5px; line-height: 1.75; color: var(--muted); min-height: 66px; }
.process-time {
  display: inline-block; margin-top: 12px; padding: 3px 7px;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.16em;
  color: var(--cyan); border: 1px solid rgba(76, 227, 255, 0.2); border-radius: 4px;
  background: rgba(76, 227, 255, 0.04);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 76px; align-items: center; }
.about-lead { margin-top: 22px; font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.value-list { margin-top: 34px; display: grid; gap: 19px; }
.value-list li { display: flex; gap: 16px; }
.value-list li > span {
  flex-shrink: 0; padding-top: 2px; font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.12em; color: var(--cyan);
}
.value-list b { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 3px; }
.value-list p { font-size: 12px; color: var(--dim); line-height: 1.65; }

.terminal {
  position: relative; overflow: hidden;
  border: 1px solid rgba(120, 200, 255, 0.18); border-radius: 16px;
  background: linear-gradient(160deg, rgba(10, 22, 42, 0.92), rgba(5, 9, 18, 0.96));
  box-shadow: 0 34px 90px -50px rgba(76, 180, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
}
.terminal-head {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 14px;
  border-bottom: 1px solid rgba(120, 170, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 95, 87, 0.7); }
.terminal-dots i:nth-child(2) { background: rgba(254, 188, 46, 0.7); }
.terminal-dots i:nth-child(3) { background: rgba(40, 200, 64, 0.7); }
.terminal-title { flex: 1; text-align: center; font-size: 9px; letter-spacing: 0.08em; color: var(--dim); }
.terminal-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 7.5px; letter-spacing: 0.14em; color: var(--mint);
}
.terminal-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 7px var(--mint); animation: pulseDot 2s ease-out infinite; }
.terminal-body { padding: 24px 24px 26px; font-size: 11.5px; line-height: 2; color: #9db2d2; min-height: 300px; }
.terminal-body p { white-space: nowrap; }
.t-prompt { color: var(--mint); }
.t-path { color: var(--violet); }
.t-cmd { color: #dcecff; }
.t-out { display: flex; align-items: baseline; gap: 9px; }
.t-key { color: #78a6d8; min-width: 62px; }
.t-dots { flex: 1; border-bottom: 1px dotted rgba(120, 170, 255, 0.2); transform: translateY(-4px); }
.t-val { color: #d3ebff; }
.t-ready { margin-top: 6px; }
.caret {
  display: inline-block; width: 7px; height: 14px; margin-left: 4px;
  background: var(--cyan); vertical-align: -2px; opacity: 0.9;
  animation: caretBlink 1.1s steps(2, start) infinite;
  box-shadow: 0 0 8px rgba(76, 227, 255, 0.6);
}
.terminal-scan {
  position: absolute; left: 0; right: 0; top: -60px; height: 60px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(76, 227, 255, 0.055), transparent);
  animation: scan 7s linear infinite;
}

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; font-family: var(--font-display); font-size: 34px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.15; color: #eaf6ff; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.commit {
  display: flex; gap: 12px; padding: 17px 16px;
  border: 1px solid rgba(120, 170, 255, 0.1); border-radius: 12px;
  background: rgba(10, 17, 32, 0.4);
}
.commit-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 27px; height: 27px; border-radius: 50%;
  border: 1px solid rgba(111, 242, 200, 0.28); background: rgba(111, 242, 200, 0.06);
  color: var(--mint);
}
.commit-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.commit b { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 3px; }
.commit p { font-size: 11px; line-height: 1.6; color: var(--dim); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-desc { margin-top: 22px; font-size: 13.5px; line-height: 1.8; color: var(--muted); max-width: 300px; }
.faq-desc a { color: var(--cyan); border-bottom: 1px solid rgba(76, 227, 255, 0.35); }
.faq-item { border-bottom: 1px solid rgba(120, 170, 255, 0.13); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 21px 0; border: 0; background: none; cursor: pointer;
  color: var(--text); font-size: 14.5px; font-weight: 500; text-align: left;
  transition: color 0.25s;
}
.faq-q:hover { color: #a9f4ff; }
.faq-icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--cyan); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.faq-icon::after { top: 0; left: 7px; width: 1.5px; height: 16px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s var(--ease), opacity 0.35s; }
.faq-item.open .faq-a { opacity: 1; }
.faq-a p { padding: 0 36px 22px 0; font-size: 13px; line-height: 1.85; color: var(--muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { padding-bottom: 130px; }
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px; padding: 52px;
  border: 1px solid rgba(120, 200, 255, 0.2); border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 29, 56, 0.88), rgba(6, 10, 20, 0.96) 62%);
  box-shadow: 0 50px 140px -70px rgba(76, 180, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 20% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 20% 0%, #000, transparent 70%);
}
.contact-panel::after {
  content: ""; position: absolute; top: -30%; left: -10%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(76, 227, 255, 0.1), transparent 65%);
  pointer-events: none;
}
.contact-info { position: relative; z-index: 1; }
.contact-info h2 {
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18;
  font-weight: 600; letter-spacing: -0.025em; margin: 16px 0 18px;
}
.contact-lead { font-size: 13.5px; line-height: 1.85; color: var(--muted); max-width: 420px; }
.contact-list { display: grid; gap: 17px; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 13px; }
.contact-ico {
  flex-shrink: 0; display: grid; place-items: center; width: 39px; height: 39px;
  border: 1px solid rgba(120, 200, 255, 0.2); border-radius: 10px;
  background: rgba(76, 227, 255, 0.04); color: #8ff0ff;
}
.contact-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-family: var(--font-display); font-size: 7.5px; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 2px; }
.contact-list a, .contact-list div > span:not(.contact-extra), .contact-list button.js-call {
  display: block; font-size: 13px; color: #d7e9ff;
}
.contact-list a:hover, .contact-list button.js-call:hover { color: var(--cyan); }
button.js-call {
  background: none; border: 0; padding: 0; margin: 0;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: color 0.25s;
}
.contact-extra { display: block; font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.wechat-box {
  display: flex; align-items: center; gap: 13px;
  margin-top: 30px; padding: 13px 15px;
  border: 1px solid rgba(111, 242, 200, 0.16); border-radius: 12px;
  background: rgba(111, 242, 200, 0.04);
}
.wechat-icon { flex-shrink: 0; width: 35px; height: 35px; color: var(--mint); }
.wechat-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.wechat-box b { display: block; font-size: 12.5px; font-weight: 500; }
.wechat-box p { font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.wechat-id {
  margin-left: auto; flex-shrink: 0; padding: 5px 9px;
  border: 1px dashed rgba(111, 242, 200, 0.3); border-radius: 6px;
  font-family: var(--font-display); font-size: 11px; color: var(--mint);
  letter-spacing: 0.04em; background: rgba(111, 242, 200, 0.04);
  cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.wechat-id::after { content: "⧉"; margin-left: 5px; font-size: 10px; opacity: 0.55; }
.wechat-id:hover { background: rgba(111, 242, 200, 0.12); border-color: rgba(111, 242, 200, 0.55); color: #b9ffe9; }
.wechat-id:focus-visible { outline: 2px solid rgba(111, 242, 200, 0.7); outline-offset: 2px; }

.contact-form-wrap {
  position: relative; z-index: 1;
  padding: 27px; border-radius: 18px;
  border: 1px solid rgba(120, 200, 255, 0.16);
  background: rgba(4, 8, 16, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-self: start;
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.form-head h3 { font-size: 17px; font-weight: 600; }
.form-head span { font-size: 9.5px; color: var(--dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.field label { font-size: 11px; color: #a9bbd8; letter-spacing: 0.02em; }
.field label i { font-style: normal; color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid rgba(120, 170, 255, 0.15); border-radius: 9px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--text); font-family: inherit; font-size: 12.5px; line-height: 1.5;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: #566987; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(76, 227, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(76, 227, 255, 0.07);
  background: rgba(76, 227, 255, 0.025);
}
.field.has-error input, .field.has-error textarea { border-color: rgba(255, 110, 130, 0.55); }
.field-error { font-size: 10px; color: #ff9aa8; margin-top: 1px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 13px; top: 50%;
  width: 6px; height: 6px; pointer-events: none;
  border-right: 1px solid #7d93b5; border-bottom: 1px solid #7d93b5;
  transform: translateY(-70%) rotate(45deg);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 30px;
  color: var(--muted);
}
.field select:valid { color: var(--text); }
.field select option { background: #0a1122; color: var(--text); }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { margin-top: 10px; font-size: 9.5px; line-height: 1.65; color: var(--dim); }
.form-status {
  display: none; margin-top: 12px; padding: 10px 12px;
  border-radius: 8px; font-size: 11.5px; line-height: 1.7;
  border: 1px solid rgba(111, 242, 200, 0.25); background: rgba(111, 242, 200, 0.06); color: #b9ffe9;
}
.form-status.show { display: block; }
.form-status.is-error { border-color: rgba(255, 110, 130, 0.3); background: rgba(255, 110, 130, 0.06); color: #ffc2ca; }
.form-status a { color: #9ff1ff; text-decoration: underline; text-underline-offset: 3px; }
.form-status button {
  margin-top: 6px; padding: 4px 9px; border-radius: 5px;
  border: 1px solid rgba(111, 242, 200, 0.3); background: transparent;
  color: #b9ffe9; font-size: 10px; cursor: pointer;
}
.form-status button:hover { background: rgba(111, 242, 200, 0.1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(120, 170, 255, 0.1);
  background: linear-gradient(180deg, rgba(4, 6, 12, 0), #04060c 40%);
  padding: 64px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 44px; }
.footer-brand p { margin: 18px 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.footer-mail { font-family: var(--font-display); font-size: 12px; color: var(--cyan); letter-spacing: 0.02em; }
.footer-mail:hover { color: #aaf6ff; }
.footer-col h4 {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: #d7e6ff; margin-bottom: 16px;
}
.footer-col a, .footer-col > span, .footer-col button.js-call, .footer-col button.js-wechat-copy {
  display: block; margin-bottom: 9px; font-size: 12px; color: #8296b5;
  transition: color 0.25s;
}
.footer-col button.js-call, .footer-col button.js-wechat-copy {
  background: none; border: 0; padding: 0;
  font-family: inherit; text-align: left; cursor: pointer;
}
.footer-col a:hover, .footer-col button.js-call:hover, .footer-col button.js-wechat-copy:hover { color: #fff; }
.footer-col .footer-note { color: #4f6180; font-size: 10.5px; margin-top: 12px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(120, 170, 255, 0.08);
  font-size: 10.5px; color: #4f6180;
}
.footer-legal { display: flex; align-items: center; gap: 20px; }
.footer-legal a { color: #8196b6; transition: color 0.25s; }
.footer-legal a:hover { color: var(--cyan); }

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(120, 200, 255, 0.24); border-radius: 50%;
  background: rgba(8, 14, 28, 0.82); color: var(--cyan);
  cursor: pointer; backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.to-top svg { width: 16px; height: 16px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--cyan); color: #04101c; }

.site-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400;
  max-width: min(92vw, 480px); padding: 11px 18px;
  border: 1px solid rgba(76, 227, 255, 0.3); border-radius: 10px;
  background: rgba(7, 14, 28, 0.96); color: #dffaff;
  font-size: 12.5px; line-height: 1.65; text-align: center;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.85), 0 0 26px -12px rgba(76, 227, 255, 0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.35s var(--ease);
}
.site-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   CASE MODAL
   ========================================================================== */
.case-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: 88vh;
  padding: 0; border: 0; background: transparent;
  color: var(--text); overflow: visible;
}
.case-modal::backdrop {
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.case-modal[open] { animation: modalIn 0.35s var(--ease); }
.modal-inner {
  position: relative; max-height: 86vh; overflow-y: auto;
  padding: 30px 32px 32px;
  border: 1px solid rgba(120, 200, 255, 0.24); border-radius: 22px;
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(76, 227, 255, 0.08), transparent 60%),
    linear-gradient(160deg, #0b1426, #070c18 60%);
  box-shadow: 0 50px 140px -40px rgba(0, 0, 0, 0.85);
  scrollbar-width: thin;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-cat {
  font-size: 9.5px; letter-spacing: 0.1em; color: var(--cyan);
  padding: 4px 10px; border: 1px solid rgba(76, 227, 255, 0.3);
  border-radius: 999px; background: rgba(76, 227, 255, 0.06);
}
.modal-close {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(120, 170, 255, 0.18); border-radius: 50%;
  background: rgba(255, 255, 255, 0.02); color: #a9c2e3; cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.modal-close:hover { border-color: rgba(255, 120, 140, 0.45); color: #ffd3da; background: rgba(255, 120, 140, 0.06); }
.modal-close svg { width: 15px; height: 15px; }
.case-modal h3 { font-size: 25px; font-weight: 600; letter-spacing: -0.01em; margin: 16px 0 7px; }
.modal-cta { margin-top: 26px; padding: 12px 22px; font-size: 13px; }
.modal-sub { font-size: 12.5px; color: var(--muted); }
.modal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.modal-metrics > div {
  padding: 12px 13px; border-radius: 10px;
  border: 1px solid rgba(76, 227, 255, 0.14); background: rgba(76, 227, 255, 0.045);
}
.modal-metrics strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; color: #bff4ff; line-height: 1.25; }
.modal-metrics span { display: block; margin-top: 3px; font-size: 9.5px; color: var(--dim); }
.modal-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.modal-sections h4 {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 9px;
}
.modal-sections p, .modal-sections li { font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.modal-sections ul { display: grid; gap: 7px; }
.modal-sections li { position: relative; padding-left: 14px; }
.modal-sections li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); font-size: 9px; top: 2px; }
.modal-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.modal-stack span {
  font-size: 9.5px; color: #93a9c9; padding: 4px 8px;
  border: 1px solid rgba(120, 170, 255, 0.14); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.modal-cta { margin-top: 26px; padding: 12px 22px; font-size: 13px; }
body.modal-open { overflow: hidden; }

/* ---------- call QR modal ---------- */
.call-modal {
  width: min(420px, calc(100vw - 32px));
  padding: 0; border: 0; background: transparent;
  color: var(--text); overflow: visible;
}
.call-modal::backdrop {
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.call-modal[open] { animation: modalIn 0.35s var(--ease); }
.call-modal-inner {
  position: relative; padding: 32px 30px 26px;
  border: 1px solid rgba(120, 200, 255, 0.24); border-radius: 22px;
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(76, 227, 255, 0.08), transparent 60%),
    linear-gradient(160deg, #0b1426, #070c18 60%);
  box-shadow: 0 50px 140px -40px rgba(0, 0, 0, 0.85);
  text-align: center;
}
.call-modal .modal-close { position: absolute; top: 16px; right: 16px; }
.call-kicker {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 0.18em;
  color: var(--cyan); margin-bottom: 12px;
}
.call-modal h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.call-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.qr-box {
  width: 238px; max-width: 100%; margin: 20px auto 14px;
  padding: 12px; border-radius: 14px; background: #fff;
  display: grid; place-items: center;
}
.qr-box img { display: block; width: 100%; height: auto; }
.qr-hint { font-size: 10.5px; color: var(--dim); line-height: 1.7; }

/* ==========================================================================
   MOTION
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: heroIn 0.95s var(--ease) both; }
.js .hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.22s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.4s; }

@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(111, 242, 200, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(111, 242, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 242, 200, 0); }
}
@keyframes scrollWheel { 0%, 100% { opacity: 0.2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(5px); } }
@keyframes orbSpin { from { transform: rotateX(68deg) rotateZ(0deg); } to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes orbPulse { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes holoSweep { 0%, 25% { transform: translateX(-45%) rotate(2deg); } 55%, 100% { transform: translateX(45%) rotate(2deg); } }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(460px); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .container { padding: 0 28px; }
  .nav { gap: 24px; }
  .nav-actions { margin-left: 24px; }
  .hero h1 { font-size: clamp(42px, 5.8vw, 70px); }
  .about-grid { gap: 48px; }
  .faq-grid { gap: 52px; }
  .contact-panel { gap: 38px; padding: 44px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 30px; }
}

@media (max-width: 960px) {
  .site-header.is-scrolled::before {
    background: rgba(5, 7, 15, 0.82);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
  }
  .nav {
    position: fixed; inset: 0; z-index: 125;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; margin: 0; padding: 100px 36px 60px;
    background:
      radial-gradient(700px 500px at 80% 0%, rgba(76, 227, 255, 0.09), transparent 60%),
      #04070e;
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity 0.4s var(--ease), visibility 0.4s, transform 0.4s var(--ease);
  }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-size: 25px; font-weight: 500; letter-spacing: 0.02em; padding: 10px 0; color: #b8c9e2; }
  .nav-link.is-active { color: #fff; }
  .nav-link::after { left: 0; bottom: 8px; transform: scale(0); }
  .nav-link.is-active::after { transform: scale(1); }
  .nav .nav-cta { display: inline-flex; margin-top: 24px; font-size: 14px; padding: 13px 26px; }
  .nav-cta-desktop { display: none; }
  .menu-btn { display: block; }
  .nav-actions { margin-left: auto; }

  .hero { min-height: 100svh; padding: 120px 0 100px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 620px; }
  .hero-visual { display: none; }
  body.webgl-ready #hero-canvas { opacity: 0.76; }
  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(5, 7, 15, 0.72) 0%, rgba(5, 7, 15, 0.25) 60%, transparent 100%),
      linear-gradient(180deg, rgba(5, 7, 15, 0.25) 0%, transparent 46%, rgba(5, 7, 15, 0.7) 90%, var(--bg) 100%);
  }
  .scroll-cue { display: none; }

  .section { padding: 96px 0; }
  .section-cases { padding-top: 30px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 42px; }
  .section-desc { max-width: 560px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .process-step p { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .terminal { max-width: 620px; }
  .stats-bar { margin-top: 54px; }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-desc { max-width: 460px; }
  .contact-panel { grid-template-columns: 1fr; padding: 38px; }
  .contact-lead { max-width: 560px; }
  .contact-form-wrap { max-width: 620px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
  .footer-contact h4 { width: 100%; margin-bottom: 4px; }
  .footer-contact > span, .footer-contact > a, .footer-contact > button { display: inline-block; margin-bottom: 0; }
  .footer-contact .footer-note { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-wrap { height: 68px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text b { font-size: 14px; }
  .hero { padding-top: 108px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 54px); margin-bottom: 20px; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: 0.13em; }
  .hero-lead { font-size: 14px; line-height: 1.85; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 12px 20px; font-size: 13px; }
  .hero-meta { gap: 30px; margin-top: 34px; }
  .hero-meta b { font-size: 22px; }
  .hero-meta span { font-size: 9.5px; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marquee { width: 100%; }

  .section { padding: 78px 0; }
  .section-title { font-size: clamp(28px, 7.4vw, 38px); }
  .section-desc { font-size: 13.5px; }
  .eyebrow { margin-bottom: 14px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 22px 28px; }

  .case-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case-filters { flex-wrap: wrap; width: 100%; gap: 7px; }
  .filter-btn { flex-shrink: 0; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-visual { height: 250px; }

  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-step {
    border-top: 0; border-left: 1px solid rgba(120, 170, 255, 0.16);
    padding: 0 0 30px 24px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step::before { top: 5px; left: -3.5px; }
  .process-step::after { top: 0; left: 0; width: 16px; height: 1px; right: auto; background: linear-gradient(90deg, rgba(76, 227, 255, 0.4), transparent); }
  .process-num { font-size: 22px; margin-bottom: 10px; }
  .process-step p { min-height: 0; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat strong { font-size: 28px; }
  .commit-grid { grid-template-columns: 1fr; }

  .terminal-body { font-size: 10px; padding: 20px 18px; line-height: 2.05; }
  .t-key { min-width: 52px; }
  .t-dots { display: none; }
  .t-val { margin-left: auto; }

  .faq-q { font-size: 13.5px; padding: 18px 0; }

  .contact-panel { padding: 26px 20px; border-radius: 22px; }
  .contact-info h2 { font-size: clamp(28px, 8vw, 36px); }
  .contact-form-wrap { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .wechat-box { flex-wrap: wrap; }
  .wechat-id { margin-left: auto; }
  .site-toast { bottom: 20px; }

  .footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; width: 38px; height: 38px; }

  .case-modal h3 { font-size: 21px; }
  .modal-inner { padding: 24px 20px 26px; }
  .modal-metrics { grid-template-columns: 1fr 1fr; }
  .modal-metrics > div:last-child { grid-column: 1 / -1; }
  .modal-sections { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 960px) {
  .no-webgl .hero-visual {
    display: block; position: absolute; left: 0; right: 0; bottom: 26px;
    min-height: 300px; opacity: 0.55;
  }
  .no-webgl .hud-frame, .no-webgl .float-tag { display: none; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .hero-meta { gap: 22px; }
  .hero-meta li + li::before { left: -12px; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .form-head { flex-direction: column; gap: 3px; align-items: flex-start; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .cursor-glow { display: none; }
}
