/* ============================================================
   DSRIJI — DIGITAL WORLD
   core style system · dark luxury / neo-tokyo / editorial
   ============================================================ */

:root {
  --bg: #050509;
  --bg-soft: #0a0a12;
  --fg: #F5F7FA;
  --dim: #8B909B;
  --cyan: #00E5FF;
  --purple: #A855F7;
  --line: rgba(245, 247, 250, 0.08);
  --line-strong: rgba(245, 247, 250, 0.18);
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --accent: var(--cyan); /* switched by identity selector */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #050509; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: var(--mono); letter-spacing: 0.08em; }

/* ---------- boot loader v5：世界构建 + 双门开合退场 ---------- */
.boot { position: fixed; inset: 0; z-index: 999; }
.is-booting { overflow: hidden; }
.boot.is-done { pointer-events: none; }
.boot.is-gone { display: none; }
.boot-door {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--bg);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1) 0.28s;
}
.bdt { top: 0; }
.bdb { bottom: 0; }
.boot.is-done .bdt { transform: translateY(-101%); }
.boot.is-done .bdb { transform: translateY(101%); }
.boot-beam {
  position: absolute; left: 0; right: 0; height: 90px; top: -90px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.05) 55%, rgba(0, 229, 255, 0.14) 98%, transparent);
  animation: beamSweep 3.2s linear infinite;
}
.boot-seam {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.8);
  opacity: 0; transition: opacity 0.4s;
}
.boot.is-done .boot-seam { opacity: 1; transition: opacity 0.15s; }
.boot-ui {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; text-align: center;
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}
.boot.is-done .boot-ui { opacity: 0; filter: blur(14px); transform: scale(1.12); }
.boot-word {
  font-size: clamp(1.9rem, 6.5vw, 4.2rem); font-weight: 800;
  letter-spacing: 0.32em; text-indent: 0.32em;
  display: flex;
}
.boot-word span {
  opacity: 0; filter: blur(10px); transform: translateY(14px);
  transition: opacity 0.45s var(--ease), filter 0.45s var(--ease), transform 0.45s var(--ease);
}
.boot-word span.on {
  opacity: 1; filter: blur(0); transform: none;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}
.boot-word span:nth-child(5n) { color: var(--accent); }
.boot-sub { font-size: 0.62rem; color: var(--dim); letter-spacing: 0.3em; }
.boot-blocks {
  display: flex; gap: 4px; width: min(460px, 72vw); height: 6px;
  border: 1px solid var(--line-strong); padding: 3px;
}
.boot-blocks i {
  flex: 1; background: rgba(245, 247, 250, 0.06);
  transition: background 0.25s, box-shadow 0.25s;
}
.boot-blocks i.on { background: var(--accent); box-shadow: 0 0 8px rgba(0, 229, 255, 0.8); }
.boot-blocks i.on.hot { background: var(--purple); box-shadow: 0 0 8px rgba(168, 85, 247, 0.8); }
.boot-readout { display: flex; align-items: baseline; gap: 1.2rem; }
.boot-pct {
  font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; line-height: 1;
  color: var(--fg); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 50px rgba(0, 229, 255, 0.35);
}
.boot-pct i { font-style: normal; font-size: 0.34em; color: var(--accent); margin-left: 0.08em; }
.boot-pct.tick { animation: pctTick 0.32s var(--ease); }
.boot-stage { font-size: 0.62rem; color: var(--accent); letter-spacing: 0.22em; }
.boot-meta {
  position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 3;
  display: flex; justify-content: space-between;
  font-size: 0.58rem; color: var(--dim); letter-spacing: 0.18em;
  transition: opacity 0.3s;
}
.boot.is-done .boot-meta { opacity: 0; }

/* ---------- 进入动画挂钩（boot 结束后由 JS 添加 is-entered） ---------- */
.is-booting .enter-stage, .is-booting .frag { opacity: 0; }
.is-entered .enter-stage > * { animation: riseIn 1s var(--ease) both; }
.is-entered .enter-stage > *:nth-child(2) { animation-delay: 0.12s; }
.is-entered .enter-stage > *:nth-child(3) { animation-delay: 0.24s; }
.is-entered .enter-stage > *:nth-child(4) { animation-delay: 0.36s; }
.is-entered .enter-stage > *:nth-child(5) { animation-delay: 0.48s; }
.is-entered .enter-stage > *:nth-child(6) { animation-delay: 0.6s; }
.is-entered .frag { opacity: 1; transition: opacity 1.2s var(--ease) 0.5s; }

/* ---------- 整体科技背景：细栅格 + 双光晕 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 32%, #000 20%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 32%, #000 20%, transparent 82%);
}

/* ---------- 背景缓慢光晕 ---------- */
.bg-glow {
  position: fixed; z-index: 0; width: 62vw; height: 62vw; border-radius: 50%;
  top: -22vw; right: -16vw; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.05), transparent 65%);
  animation: glowDrift 30s ease-in-out infinite alternate;
}
.bg-glow2 {
  position: fixed; z-index: 0; width: 54vw; height: 54vw; border-radius: 50%;
  bottom: -20vw; left: -14vw; pointer-events: none;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.055), transparent 65%);
  animation: glowDrift2 38s ease-in-out infinite alternate;
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 998;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 5px; height: 5px; background: var(--accent); box-shadow: 0 0 10px rgba(0, 229, 255, 0.9); }
.cursor-ring {
  width: 38px; height: 38px; border: 0; border-radius: 0;
}
.cursor-ring::before, .cursor-ring::after {
  content: ''; position: absolute; width: 11px; height: 11px;
  border: 1px solid var(--dim);
  animation: reticlePulse 2.6s ease-in-out infinite;
}
.cursor-ring::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cursor-ring::after { bottom: 0; right: 0; border-left: 0; border-top: 0; animation-delay: 1.3s; }
.cursor-ring.is-hover::before, .cursor-ring.is-hover::after {
  border-color: var(--accent); width: 16px; height: 16px; animation-duration: 0.9s;
}
.cursor-aura {
  position: fixed; top: 0; left: 0; z-index: 1;
  width: 380px; height: 380px; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.09), rgba(168, 85, 247, 0.04) 45%, transparent 70%);
  mix-blend-mode: screen;
}
@media (hover: none) { .cursor-dot, .cursor-ring, .cursor-aura, #fxCanvas { display: none; } }

/* ---------- 背景粒子画布（舒缓漂浮，无闪烁） ---------- */
.bg-particles {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

main { position: relative; z-index: 1; }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.hud-corner { position: absolute; font-size: 0.62rem; color: var(--dim); opacity: 0.75; }
.hud-tl { top: 68px; left: 20px; }
.hud-tr { top: 68px; right: 20px; }
.hud-br { bottom: 16px; right: 20px; color: var(--accent); }
.hud-line { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.hud-vl { left: 20px; }
.hud-vr { right: 20px; }

/* ---------- 顶部导航（多页面） ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 44px;
  background: linear-gradient(180deg, rgba(5, 5, 9, 0.92), rgba(5, 5, 9, 0.75));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; letter-spacing: 0.22em; }
.brand-logo { width: 28px; height: 28px; }
.brand .cursor-mark { color: var(--accent); font-family: var(--mono); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  font-family: var(--mono); font-size: 0.74rem; color: var(--dim);
  letter-spacing: 0.08em; padding: 4px 2px; position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--accent); transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--accent); }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-cta {
  font-size: 0.7rem; padding: 7px 16px;
  border: 1px solid var(--accent); color: var(--accent);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all 0.25s;
}
.topbar-cta:hover { background: var(--accent); color: #050509; }

/* ---------- sections base ---------- */
.sec { position: relative; min-height: 100vh; padding: 16vh 8vw; }
.sec-head { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 1.4rem; }
.sec-index { font-size: 0.75rem; color: var(--accent); }
.sec-title {
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em; line-height: 1.15;
  text-transform: uppercase;
}
.sec-sub { color: var(--dim); margin: 0 0 3rem; max-width: 40em; }
.page-hero .sec-sub { margin: 0 0 3rem; }

/* ---------- 内页排版修复：去掉强制满屏高度 ---------- */
.page-body .sec { min-height: 0; padding: 16vh 8vw 8vh; }
.page-body .footer { margin-top: 4vh; }

/* ---------- 中英混排装饰 ---------- */
.sec-title .en-sub, .page-hero .en-sub {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: 0.34em; color: var(--dim); letter-spacing: 0.42em; margin-top: 0.5rem;
}
.en-sub-inline {
  font-family: var(--mono); font-size: 0.55em; color: var(--dim);
  font-weight: 400; letter-spacing: 0.18em;
}

/* ---------- 三点导航按钮（≤768 显示）与全屏菜单 ---------- */






.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 42px; height: 40px; border: 1px solid var(--line-strong);
  transition: border-color 0.25s;
}
.nav-burger i {
  display: block; width: 18px; height: 2px; background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s, background 0.25s;
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger:hover i { background: var(--accent); }
.nav-burger.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open i:nth-child(2) { opacity: 0; }
.nav-burger.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.m-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; padding: 18px 24px 26px;
  background: rgba(5, 5, 9, 0.97); backdrop-filter: blur(10px);
  transform: translateY(-102%); visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s 0.55s;
}
.m-menu.is-open { transform: none; visibility: visible; transition: transform 0.55s var(--ease); }
.m-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-size: 0.64rem; color: var(--dim); letter-spacing: 0.28em;
}
.m-close { font-size: 1.7rem; line-height: 1; color: var(--fg); transition: color 0.25s, transform 0.3s; }
.m-close:hover { color: var(--accent); transform: rotate(90deg); }
.m-menu-links { display: flex; flex-direction: column; margin-top: 4vh; flex: 1; }
.m-menu-links a {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1.15rem 0.4rem; border-bottom: 1px solid var(--line);
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em; color: var(--fg);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.m-menu.is-open .m-menu-links a { opacity: 1; transform: none; }
.m-menu.is-open .m-menu-links a:nth-child(1) { transition-delay: 0.08s; }
.m-menu.is-open .m-menu-links a:nth-child(2) { transition-delay: 0.14s; }
.m-menu.is-open .m-menu-links a:nth-child(3) { transition-delay: 0.2s; }
.m-menu.is-open .m-menu-links a:nth-child(4) { transition-delay: 0.26s; }
.m-menu.is-open .m-menu-links a:nth-child(5) { transition-delay: 0.32s; }
.m-menu-links a.is-active { color: var(--accent); }
.mm-no { font-size: 0.62rem; color: var(--accent); }
.mm-en { margin-left: auto; font-size: 0.58rem; font-weight: 400; color: var(--dim); letter-spacing: 0.3em; }
.m-menu-foot { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 0.4rem 0; font-size: 0.66rem; color: var(--dim); }
.m-menu-foot a, .m-menu-foot button { text-align: left; font-size: 0.66rem; color: var(--dim); letter-spacing: 0.1em; transition: color 0.25s; width: fit-content; }
.m-menu-foot a:hover, .m-menu-foot button:hover { color: var(--accent); }
.menu-lock { overflow: hidden; }

/* ---------- 页脚微信复制按钮 ---------- */

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   01 / ENTER — 编辑部式横幅：左对齐巨型英文 + 描边中文叠压
   ============================================================ */
.sec-enter { display: flex; align-items: center; justify-content: center; overflow: hidden; }

.grid-bg {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 78% 68% at 40% 42%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 40% 42%, #000 30%, transparent 76%);
}

.enter-stage { position: relative; width: 100%; max-width: 1440px; z-index: 2; }
.enter-meta-top {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.66rem; color: var(--dim); letter-spacing: 0.18em;
  border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 3.2rem;
}
.enter-meta-top .emt-right { color: var(--accent); }
.enter-title {
  font-family: var(--mono);
  font-size: clamp(2.3rem, 9.2vw, 8.6rem);
  font-weight: 800; letter-spacing: 0.1em; line-height: 1;
  min-height: 1.1em; display: flex; align-items: baseline;
  text-shadow: 0 0 60px rgba(0, 229, 255, 0.25);
}
.enter-title .enter-caret {
  display: inline-block; width: 0.46em; height: 0.76em;
  margin-left: 0.12em; align-self: center;
  background: var(--accent); box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
  animation: caretBlink 1.1s steps(1) infinite;
}
.enter-title-cn {
  margin-top: -0.32em; text-align: right;
  font-size: clamp(3.2rem, 12.5vw, 11.5rem); font-weight: 900; line-height: 1.05;
  letter-spacing: 0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(139, 144, 155, 0.5);
  pointer-events: none; user-select: none;
}
.enter-side {
  position: absolute; right: -0.8rem; top: 32%;
  writing-mode: vertical-rl; font-size: 0.6rem; color: var(--dim);
  letter-spacing: 0.42em; opacity: 0.7;
}
.enter-low {
  margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2.4rem; flex-wrap: wrap;
}
.enter-slogan { font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.75; }
.enter-slogan-en { margin-top: 0.8rem; font-size: 0.7rem; color: var(--accent); letter-spacing: 0.22em; }
.enter-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.enter-actions .btn-line { margin-top: 0; }
.scroll-hint {
  margin-top: 5vh; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-size: 0.62rem; color: var(--dim);
}
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent); animation: pulseLine 2.6s var(--ease) infinite; }
.sec-more { margin-top: 2.6rem; }
.page-body { min-height: 100vh; }

/* floating deco fragments */
.frag { position: absolute; z-index: 1; color: var(--dim); font-size: 0.62rem; opacity: 0.8; }
.frag-1 { top: 22%; left: 9%; }
.frag-2 { bottom: 26%; right: 10%; color: var(--purple); }
.frag-3 { top: 14%; right: 7%; width: 200px; opacity: 0.5; clip-path: polygon(0 12%, 100% 0, 88% 100%, 4% 84%); filter: saturate(0.8); animation: floatY 7s ease-in-out infinite; }

/* ============================================================
   02 / WHO ARE YOU — identity selector
   ============================================================ */
.sec-identity { background: var(--bg-soft); border-top: 1px solid var(--line); }
.identity-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.3fr; gap: 5vw; align-items: start; }

.identity-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.identity-btn {
  position: relative; display: flex; align-items: baseline; gap: 1.1rem; width: 100%;
  text-align: left; padding: 1rem 1rem 1rem 1.2rem; color: var(--dim);
  border-left: 2px solid transparent; border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 0.25s, border-color 0.25s, transform 0.3s var(--ease), background 0.3s;
}
.identity-btn .ib-no { font-size: 0.64rem; color: var(--accent); opacity: 0.65; }
.identity-btn .ib-zh { font-size: clamp(1.15rem, 2.2vw, 1.65rem); font-weight: 700; letter-spacing: 0.06em; }
.identity-btn .ib-en {
  margin-left: auto; font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--dim); opacity: 0.8;
  transition: color 0.25s, letter-spacing 0.35s var(--ease);
}
.identity-btn .ib-arr {
  font-style: normal; font-size: 0.85rem; color: var(--accent);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.identity-btn::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
  transition: width 0.4s var(--ease);
}
.identity-btn:hover {
  color: var(--fg); transform: translateX(8px);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05), transparent 70%);
}
.identity-btn:hover::after { width: 100%; }
.identity-btn:hover .ib-en { color: var(--accent); letter-spacing: 0.4em; }
.identity-btn:hover .ib-arr { opacity: 1; transform: none; }
.identity-btn.is-active {
  color: var(--fg); border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.07), transparent);
}
.identity-btn.is-active::after { width: 100%; }
.identity-btn.is-active .ib-en, .identity-btn.is-active .ib-arr { color: var(--accent); opacity: 1; }

.identity-preview { perspective: 1200px; }
.browser-frame {
  border: 1px solid var(--line-strong);
  background: #07070d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 229, 255, 0.06);
  transition: transform 0.4s var(--ease);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-bottom: 1px solid var(--line);
  font-size: 0.62rem; color: var(--dim);
}
.browser-url { margin-left: 10px; }
.bdot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.bdot:nth-child(1) { background: rgba(255, 95, 87, 0.6); }
.bdot:nth-child(2) { background: rgba(255, 189, 46, 0.6); }
.bdot:nth-child(3) { background: rgba(39, 201, 63, 0.6); }
.browser-body img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.92); }
.id-copy { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.id-tag { font-size: 0.62rem; color: var(--accent); }
.id-copy p { font-size: 1rem; }
.id-stat { font-size: 0.62rem; color: var(--dim); }

/* ============================================================
   06 / 产品报价 — 四档（一隅 / 一境 / 一城 / 无界·私人定制）
   终端机风格，不做 SaaS 白卡片
   ============================================================ */
.tier-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2vw;
  align-items: stretch; margin-top: 1rem;
}
.tier {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); background: #07070d;
  padding: 2rem 1.6rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.tier:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.08);
}
.tier-no { font-size: 0.62rem; color: var(--dim); }
.tier-name { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 900; margin-top: 0.4rem; }
.tier-sub { font-size: 0.78rem; color: var(--dim); margin-top: 0.2rem; }
.tier-price { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800; color: var(--accent); margin: 1.2rem 0 1rem; }
.tier-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 1.6rem; }
.tier-list li {
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.8rem; color: var(--dim);
}
.tier-list li::before { content: "+ "; color: var(--accent); }
.tier-btn {
  margin-top: auto; text-align: center; font-size: 0.72rem;
  padding: 0.8rem 1rem; border: 1px solid var(--line-strong); color: var(--fg);
  transition: all 0.25s;
}
.tier-btn:hover { background: var(--accent); border-color: var(--accent); color: #050509; }
.tier-hot { border-color: var(--accent); }
.tier-hot .tier-name { color: var(--accent); }
.tier-flag {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #050509;
  font-size: 0.6rem; padding: 4px 10px;
}
.tier-custom { border-style: dashed; border-color: var(--purple); }
.tier-custom .tier-name { color: var(--purple); }
.tier-custom .tier-price { color: var(--purple); }
.tier-custom .tier-btn:hover { background: var(--purple); border-color: var(--purple); }
.price-note-foot { margin-top: 2.5rem; font-size: 0.64rem; color: var(--dim); }

/* ============================================================
   07 / ABOUT THE UNCLE
   ============================================================ */
/* ---------- about v2：左图角标 + 右文终端数据日志 ---------- */
.about2-grid { display: grid; grid-template-columns: minmax(240px, 0.85fr) 1.15fr; gap: 5vw; align-items: center; }
.about2-visual { position: relative; max-width: 400px; justify-self: end; }
.about2-visual img {
  display: block; width: 100%; height: auto;
  filter: saturate(0.85) contrast(1.05); border: 1px solid var(--line-strong);
}
.about2-visual::before, .about2-visual::after {
  content: ''; position: absolute; width: 34px; height: 34px; border: 0 solid var(--accent);
}
.about2-visual::before { top: -12px; left: -12px; border-top-width: 1px; border-left-width: 1px; }
.about2-visual::after { bottom: -12px; right: -12px; border-bottom-width: 1px; border-right-width: 1px; }
.about-tag {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(5, 5, 9, 0.85); border: 1px solid var(--accent);
  color: var(--accent); font-size: 0.6rem; padding: 5px 10px; letter-spacing: 0.12em;
}
.about2-big { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 900; line-height: 1.15; }
.about2-big em { font-style: normal; color: var(--accent); text-shadow: 0 0 26px rgba(0, 229, 255, 0.4); }
.about2-en { margin-top: 1.4rem; color: var(--dim); font-size: 0.7rem; letter-spacing: 0.16em; line-height: 2; }
.about2-desc { margin-top: 1.6rem; color: var(--dim); max-width: 34em; line-height: 1.9; }

/* ---------- about v3：杂志式叠压 + 背景巨型描边 ---------- */
.about3 { position: relative; }
.about3-bg {
  position: absolute; top: -2.4rem; right: -1vw; z-index: 0;
  font-size: clamp(5rem, 16vw, 13rem); font-weight: 800; line-height: 1;
  letter-spacing: 0.04em; user-select: none; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgba(139, 144, 155, 0.18);
}
.about3-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1.2rem;
  font-size: 0.64rem; color: var(--dim); letter-spacing: 0.2em;
}
.about3-head i { flex: 1; height: 1px; background: var(--line); }
.about3-head span:last-child { color: var(--accent); }
.about3-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr minmax(240px, 0.8fr);
  gap: 0; align-items: center; margin-top: 3.2rem;
}
.about3-copy { position: relative; z-index: 2; padding-right: 3vw; }
.about3-title {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 900; line-height: 1.12;
  margin-right: -6vw; /* 标题叠压到图片上 */
}
.about3-title em {
  font-style: normal; color: var(--accent);
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
}
.about3-en { margin-top: 1.4rem; color: var(--dim); font-size: 0.7rem; letter-spacing: 0.16em; }
.about3-desc { margin-top: 1.5rem; color: var(--dim); max-width: 32em; line-height: 1.9; }
.about3-tags { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.about3-tags span {
  display: inline-flex; align-items: center; gap: 0.5em;
  border: 1px solid var(--line-strong); padding: 0.55rem 0.95rem;
  font-size: 0.68rem; color: var(--dim); letter-spacing: 0.14em;
  transition: border-color 0.25s, color 0.25s;
}
.about3-tags span::before { content: '//'; color: var(--accent); font-size: 0.6em; }
.about3-tags span:hover { border-color: var(--accent); color: var(--fg); }
.about3-quote {
  margin-top: 1.7rem; padding-left: 1.1rem;
  border-left: 2px solid var(--accent);
  color: var(--fg); font-size: 0.98rem; line-height: 1.8; max-width: 26em;
}
.about3-more { margin-top: 2rem; }
.about3-figure { position: relative; margin: 0; z-index: 1; }
.about3-figure img {
  display: block; width: 100%; height: auto;
  filter: saturate(0.85) contrast(1.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  border: 1px solid var(--line-strong);
}
.about3-figure::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid var(--accent); opacity: 0.5; pointer-events: none;
}
.about3-figure figcaption {
  margin-top: 0.8rem; font-size: 0.6rem; color: var(--dim);
  letter-spacing: 0.18em; text-align: right;
}

/* ============================================================
   SPLIT LAYOUT + MAIL FORM — 06 / START & contact form
   ============================================================ */
.split-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 5vw; align-items: start;
}
.split-copy { min-width: 0; }
.split-sub { margin-top: 1.8rem; color: var(--dim); max-width: 30em; line-height: 1.9; }
.split-points { list-style: none; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.split-points li {
  display: flex; align-items: baseline; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.08em; color: var(--dim);
}
.split-points li::before { content: '//'; color: var(--accent); flex: 0 0 auto; }
.sec-startform .split-copy { align-self: center; }
.start-title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 900; line-height: 1.1; letter-spacing: 0.02em; }
.start-title em {
  font-style: normal; color: var(--accent);
  text-shadow: 0 0 34px rgba(0, 229, 255, 0.4);
}
.start-ready {
  margin-top: 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: 0.16em;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 229, 255, 0.5);
  user-select: none;
}

.mail-form {
  border: 1px solid var(--line-strong); background: #07070d;
  padding: 2.2rem; position: relative;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.06);
}
.mail-form::before {
  content: 'INPUT://PROJECT-REQUEST — 大叔云页';
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  color: var(--dim); border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.9rem; margin-bottom: 0.2rem;
}
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mf-field { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.3rem; }
.mf-label { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--dim); }
.mail-form input,
.mail-form select,
.mail-form textarea {
  width: 100%; background: #050509; border: 1px solid var(--line-strong);
  color: var(--fg); font-family: inherit; font-size: 0.9rem; line-height: 1.6;
  padding: 0.85rem 1rem; outline: none; border-radius: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mail-form :is(input, select, textarea):focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 0 24px rgba(0, 229, 255, 0.08);
}
.mail-form ::placeholder { color: #4a4f5a; }
.mail-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.mail-form textarea { resize: vertical; min-height: 120px; }
.mf-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.mf-note { font-size: 0.6rem; color: var(--dim); }
.mail-form .terminal-out { border-top: 1px solid var(--line); margin-top: 1.4rem; padding: 10px 0 0; }

/* ============================================================
   08 / CONNECT — terminal entrance
   ============================================================ */
.sec-startform, .sec-connect { min-height: 0; }
.sec-startform { padding-top: 12vh; padding-bottom: 5vh; }
.sec-connect { display: block; padding-top: 8vh; padding-bottom: 0; }
.connect-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem; flex-wrap: wrap;
}
.connect-sub { color: var(--dim); font-size: 0.86rem; line-height: 1.9; max-width: 26em; }
.connect-row { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.connect-card {
  position: relative; display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.9rem 1.7rem 1.7rem; text-align: left;
  border: 1px solid var(--line-strong); background: #07070d;
  overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.3s;
}
.connect-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.connect-card:hover {
  border-color: var(--accent); transform: translateY(-6px);
  box-shadow: 0 0 44px rgba(0, 229, 255, 0.1);
}
.connect-card:hover::before { transform: scaleX(1); }
.cc-ico { font-size: 0.62rem; color: var(--accent); letter-spacing: 0.22em; }
.cc-name { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em; }
.cc-val { font-size: 0.78rem; color: var(--dim); word-break: break-all; }
.cc-arrow {
  position: absolute; top: 1.3rem; right: 1.4rem; font-style: normal;
  color: var(--dim); transition: color 0.25s, transform 0.25s;
}
.connect-card:hover .cc-arrow { color: var(--accent); transform: translate(3px, -3px); }
.connect-more { margin-top: 2.4rem; }

.terminal {
  margin-top: 5vh; max-width: 620px;
  border: 1px solid var(--line-strong); background: #07070d;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.07);
}
.terminal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  font-size: 0.64rem; color: var(--dim);
}
.terminal-bar span { display: flex; align-items: center; gap: 10px; }
.terminal-body { display: flex; flex-direction: column; }
.term-btn {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--line);
  font-size: 0.78rem; text-align: left; width: 100%;
  transition: background 0.25s, color 0.25s, padding-left 0.3s var(--ease);
}
.term-btn:hover { background: rgba(0, 229, 255, 0.07); color: var(--accent); padding-left: 2rem; }
.term-val { margin-left: auto; color: var(--dim); font-size: 0.68rem; }
.term-btn:hover .term-val { color: var(--accent); }
.term-btn i { font-style: normal; }
.terminal-out { padding: 12px 1.4rem; color: var(--dim); font-size: 0.66rem; min-height: 2.6em; }

/* ---------- 案例卡片网格（自然排版） ---------- */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.case-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); background: #07070d;
}
.case-card .browser-frame { border: 0; box-shadow: none; }
.case-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.case-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.case-no { font-family: var(--mono); font-size: 0.62rem; color: var(--accent); }
.case-body h3 { font-size: 1.05rem; letter-spacing: 0.04em; }
.case-badge {
  font-family: var(--mono); font-size: 0.58rem; color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.4); padding: 2px 8px; align-self: flex-start;
}
.btn-line {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--mono); font-size: 0.72rem; color: var(--fg);
  border: 1px solid var(--line-strong); padding: 0.65em 1.2em;
  transition: all 0.25s;
}
.btn-line i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn-line:hover { background: var(--accent); border-color: var(--accent); color: #050509; }
.btn-line:hover i { transform: translateX(4px); }

/* ---------- 内页文章排版（案例详情 / 关于） ---------- */
.page-hero { padding-top: 22vh; }
.page-hero .crumb { font-family: var(--mono); font-size: 0.66rem; color: var(--dim); display: block; margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.2; }
.page-hero .case-badge { margin-top: 1.2rem; }
.article-body { max-width: 860px; }
.article-img { border: 1px solid var(--line-strong); margin: 3rem 0; }
.article-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-body h2 {
  font-size: 1.3rem; margin: 3rem 0 1.2rem;
  padding-left: 0.9rem; border-left: 3px solid var(--accent);
}
.article-body p { color: var(--dim); font-size: 0.95rem; line-height: 2; }
.points-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
.points-list li {
  font-size: 0.92rem; color: var(--fg);
  padding: 0.9rem 1.2rem; border: 1px solid var(--line); background: var(--bg-soft);
}
.points-list li::before { content: '+ '; color: var(--accent); font-family: var(--mono); }
.article-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 3.5rem 0 2rem; }

/* ---------- 页脚 v7：CTA 横幅 + 编号四栏 + 底栏 ---------- */
.footer { margin-top: 3vh; padding: 0 4vw 3vh; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: 1.9rem 2.4vw; border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.045), rgba(168, 85, 247, 0.05));
  position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), transparent);
}
.fc-title { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: 0.03em; }
.fc-title em { font-style: normal; color: var(--accent); text-shadow: 0 0 24px rgba(0, 229, 255, 0.35); }
.fc-en { margin-top: 0.6rem; font-size: 0.62rem; color: var(--dim); letter-spacing: 0.22em; }
.footer-cta .btn-line { flex: 0 0 auto; }
/* ---------- 页脚 v8：四栏等宽 · 每个模块独立居中 ---------- */
.footer-main {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.2rem 3vw; align-items: start; justify-items: center;
  padding: 2.2rem 0 1.8rem;
}
.fcol {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; width: 100%; min-width: 0;
}
.fcol-tit {
  width: fit-content; margin: 0 auto 1.1rem;
  font-size: 0.62rem; color: var(--dim);
  letter-spacing: 0.18em; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line-strong);
}
.footer-name {
  margin-top: 0.4rem; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.12em;
  display: flex; align-items: baseline; justify-content: center; gap: 0.7em; flex-wrap: wrap;
}
.footer-name-en { font-size: 0.56rem; color: var(--dim); letter-spacing: 0.3em; font-weight: 400; }
.footer-slogan { margin-top: 0.45rem; font-size: 0.76rem; color: var(--fg); opacity: 0.88; }
.footer-intro { margin-top: 0.7rem; font-size: 0.7rem; color: var(--dim); line-height: 1.75; max-width: 22em; }
.footer-status {
  margin-top: 0.8rem; display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.6rem; color: var(--accent); letter-spacing: 0.14em;
}
.footer-status i {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: statusPulse 2.6s ease-in-out infinite;
}
.footer-nav .fn-links { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.footer-nav a { font-size: 0.82rem; color: var(--dim); transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact .fc-links { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-contact a, .footer-wx {
  font-size: 0.8rem; color: var(--dim); width: fit-content;
  text-align: center; transition: color 0.25s, border-color 0.25s;
}
.footer-contact a:hover, .footer-wx:hover { color: var(--accent); }
.footer-wx { border-bottom: 1px dashed var(--line-strong); padding-bottom: 2px; }
.footer-wx:hover { border-color: var(--accent); }
.footer-qr img {
  display: block; width: 120px; height: 120px; margin: 0 auto;
  background: #fff; padding: 7px; border: 1px solid var(--line-strong);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.35s var(--ease);
}
.footer-qr:hover img {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.18);
  transform: translateY(-4px);
}
.fq-id { margin-top: 0.6rem; font-size: 0.6rem; color: var(--dim); }
/* 页脚社交跳转小图标（.fc-social 前缀提升优先级，避免被 .footer-contact a 的 width:fit-content 覆盖） */
.fc-social { margin-top: 0.95rem; display: flex; justify-content: center; align-items: center; gap: 0.55rem; }
.fc-social a.soc,
.fc-social button.soc {
  position: relative; flex: 0 0 auto;
  width: 34px !important; height: 34px; padding: 0; margin: 0;
  display: grid; place-items: center; line-height: 1;
  font-size: 0; appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--dim); cursor: pointer;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease);
}
.fc-social .soc svg {
  width: 17px; height: 17px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.fc-social .soc svg .fl { fill: currentColor; stroke: none; }
.fc-social .soc svg .eye { fill: var(--bg); stroke: none; }
.fc-social .soc:hover, .fc-social .soc:focus-visible {
  color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.22);
  transform: translateY(-3px);
}
.soc::after {
  content: attr(data-name); position: absolute;
  left: 50%; bottom: calc(100% + 7px);
  transform: translateX(-50%) translateY(4px);
  font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.18em;
  color: var(--accent); background: rgba(5, 5, 9, 0.92);
  border: 1px solid var(--line-strong); padding: 0.28rem 0.55rem;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.soc:hover::after, .soc:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 全局声音开关（右下角，终端风） */
#soundToggle {
  position: fixed; right: 1.6vw; bottom: 1.6vh; z-index: 940;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.55rem 0.85rem;
  font-size: 0.58rem; letter-spacing: 0.16em;
  color: var(--dim); background: rgba(5, 5, 9, 0.82);
  border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  cursor: pointer; user-select: none;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
#soundToggle .st-ico { font-size: 0.85rem; line-height: 1; color: var(--accent); }
#soundToggle.is-off .st-ico { color: var(--dim); opacity: 0.55; }
#soundToggle.is-off .st-txt { text-decoration: line-through; opacity: 0.7; }
#soundToggle:hover { color: var(--fg); border-color: var(--accent); box-shadow: 0 0 16px rgba(0, 229, 255, 0.18); }
#soundToggle:hover .st-ico { text-shadow: 0 0 10px rgba(0, 229, 255, 0.8); }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 1rem 0 0.5rem;
}
.footer-copy { font-size: 0.62rem; color: var(--dim); }
.to-top {
  font-size: 0.62rem; color: var(--dim); letter-spacing: 0.18em;
  border: 1px solid var(--line-strong); padding: 8px 16px;
  transition: color 0.25s, border-color 0.25s;
}
.to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 微信号复制提示（toast，点击后自动出现/消失） ---------- */
.wx-toast {
  position: fixed; left: 50%; bottom: 6vh; z-index: 980;
  transform: translate(-50%, 16px);
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid var(--accent);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.22);
  color: var(--fg); font-size: 0.78rem; letter-spacing: 0.08em;
  padding: 0.75rem 1.3rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.wx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.wx-toast::before { content: '\2713\0020'; color: var(--accent); font-weight: 800; }
.wx-toast b { color: var(--accent); }

/* ---------- 微信二维码放大弹窗 ---------- */
.qr-modal {
  position: fixed; inset: 0; z-index: 920;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.qr-modal.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.qr-modal-mask {
  position: absolute; inset: 0;
  background: rgba(5, 5, 9, 0.82); backdrop-filter: blur(6px);
}
.qr-modal-card {
  position: relative; z-index: 1; margin: 0;
  background: var(--bg); border: 1px solid var(--line-strong);
  padding: 2.2rem 2.4rem 1.8rem; text-align: center;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.12);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.35s var(--ease);
}
.qr-modal.is-on .qr-modal-card { transform: none; }
.qr-modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), transparent);
}
.qr-close {
  position: absolute; top: 10px; right: 12px;
  font-size: 1.3rem; line-height: 1; color: var(--dim);
  transition: color 0.25s;
}
.qr-close:hover { color: var(--accent); }
.qr-modal-tit { font-size: 0.66rem; color: var(--accent); letter-spacing: 0.22em; }
.qr-modal-card img {
  display: block; width: 300px; height: 300px; max-width: 72vw; max-height: 72vw;
  margin: 1.2rem auto; background: #fff; padding: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.16);
}
.qr-modal-id { font-size: 0.68rem; color: var(--dim); letter-spacing: 0.12em; }
.qr-modal-id b { color: var(--accent); font-weight: 800; }

/* ---------- 光标拖尾光尘 ---------- */

#fxCanvas { position: fixed; inset: 0; z-index: 997; pointer-events: none; }

/* ---------- 页面切换遮罩（进入滑出 / 跳转滑入） ---------- */
/* ---------- 页面转场 v2：斜切遮罩 + 传送文字 + 能量条 ---------- */
.page-wipe {
  position: fixed; inset: 0; z-index: 900;
  background:
    repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.03) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(90deg, rgba(168, 85, 247, 0.025) 0 1px, transparent 1px 88px),
    linear-gradient(165deg, #050509 52%, #0a1122 82%, #101a38);
  transform: translateY(-103%); pointer-events: none;
  will-change: transform;
}
.page-wipe::before {
  content: ''; position: absolute; left: -8%; right: -8%; bottom: -2px; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--purple) 70%, transparent);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.75), 0 0 64px rgba(168, 85, 247, 0.45);
}
.page-wipe.is-cover { transform: none; transition: none; }
.page-wipe.is-leave {
  transform: translateY(103%) skewY(2.4deg);
  transition: transform 0.7s cubic-bezier(0.83, 0, 0.17, 1);
}
.page-wipe.is-in {
  transform: none; pointer-events: auto;
  transition: transform 0.46s cubic-bezier(0.83, 0, 0.17, 1);
}
.page-wipe.is-done { display: none; }
.pw-core {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.15rem;
}
.page-wipe.is-in .pw-core { animation: pwCoreIn 0.5s var(--ease) both; }
.page-wipe.is-leave .pw-core {
  opacity: 0; transform: translateY(-26px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
@keyframes pwCoreIn {
  from { opacity: 0; transform: translateY(18px); letter-spacing: 0.2em; }
  to   { opacity: 1; transform: translateY(0); }
}
.pw-word {
  font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.5em; text-indent: 0.5em;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
}
.pw-bar {
  width: min(320px, 58vw); height: 2px; overflow: hidden;
  background: rgba(139, 144, 155, 0.16); position: relative;
}
.pw-bar i {
  position: absolute; top: 0; left: -42%; width: 42%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--purple), transparent);
  animation: pwScan 0.85s linear infinite;
}
@keyframes pwScan { to { left: 100%; } }

/* ---------- 点击特效：冲击环 + 火花迸射 ---------- */
.click-ring {
  position: fixed; z-index: 998; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border: 1px solid var(--accent); border-radius: 50%;
  animation: clickRing 0.55s var(--ease) forwards;
}
.click-spark {
  position: fixed; z-index: 998; pointer-events: none;
  width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  animation: sparkFly 0.65s ease-out forwards;
}
.click-spark.t-purple { background: var(--purple); box-shadow: 0 0 8px rgba(168, 85, 247, 0.8); }

/* ---------- 按钮点击涟漪 ---------- */
.btn-line, .term-btn, .tier-btn, .topbar-cta, .btn-ghost { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(0, 229, 255, 0.38);
  transform: scale(0); animation: ripple 0.7s ease-out forwards;
}

/* ---------- 案例详情页排版 ---------- */
.case-hero .case-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.case-hero .crumb { color: var(--dim); transition: color 0.25s; }
.case-hero .crumb:hover { color: var(--accent); }
.case-hero .case-no { color: var(--accent); font-size: 0.66rem; }
.case-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.25; }
.case-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem;
  margin: 1.6rem 0 0;
}
.case-meta > span {
  font-size: 0.6rem; color: var(--dim); letter-spacing: 0.12em;
  border: 1px solid var(--line); padding: 5px 12px;
}
.case-meta .case-badge { color: var(--purple); border-color: rgba(168, 85, 247, 0.4); }
.case-img { margin: 2.8rem 0 3.4rem; }
.case-layout {
  display: grid; grid-template-columns: 1.5fr 0.8fr;
  gap: 4vw; align-items: start;
}
.case-main h2 {
  font-size: 1.25rem; margin: 2.6rem 0 1.1rem;
  padding-left: 0.9rem; border-left: 3px solid var(--accent);
}
.case-main h2:first-child { margin-top: 0; }
.case-main > p { color: var(--dim); font-size: 0.95rem; line-height: 2; }
.case-aside { position: sticky; top: 110px; }
.case-cta {
  display: flex; flex-direction: column; gap: 1rem;
  border: 1px solid var(--line-strong); background: #07070d;
  padding: 1.8rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.05);
}
.ca-tit { color: var(--accent); font-size: 0.64rem; letter-spacing: 0.2em; }
.ca-desc { color: var(--dim); font-size: 0.85rem; line-height: 1.9; }
.case-cta .btn-line { margin-top: 0.4rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6em; align-self: flex-start;
  font-family: var(--mono); font-size: 0.7rem; color: var(--dim);
  border: 1px solid var(--line); padding: 0.6em 1.1em;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.case-nav {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.case-nav .btn-line { margin-top: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}

@keyframes reticlePulse {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-2px, -2px) scale(1.14); opacity: 1; }
}
