/* ============================================================
   NANZHI KILLER · 官网样式
   注意：flex 间距统一用 margin 实现，避免旧内核不支持 flex gap
   ============================================================ */

:root {
  --bg: #04050a;
  --bg-2: #080a12;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-line: rgba(255, 255, 255, 0.09);
  --text: #e9edf7;
  --muted: #8d95ab;
  --cyan: #22e6ff;
  --blue: #4d7cff;
  --violet: #a855f7;
  --lime: #7df9c6;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 15% -5%, rgba(77, 124, 255, 0.22), transparent 60%),
    radial-gradient(900px 700px at 85% 8%, rgba(168, 85, 247, 0.18), transparent 62%),
    radial-gradient(1200px 800px at 50% 110%, rgba(34, 230, 255, 0.12), transparent 65%),
    var(--bg);
  z-index: -3;
  pointer-events: none;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #06070d; }
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 2px solid #06070d;
  background: linear-gradient(180deg, #2b3752, #18202f);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #3f527a, #243049); }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- 全屏背景层 ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.75;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(77, 124, 255, 0.16), rgba(34, 230, 255, 0.06) 42%, transparent 68%);
  transition: opacity 0.4s;
  will-change: transform;
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 45%, var(--violet));
  box-shadow: 0 0 18px rgba(77, 124, 255, 0.8);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 18px 34px;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  padding: 12px 34px;
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--panel-line);
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand .logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  border-radius: 12px;
  font-size: 22px;
  color: #06121f;
  background: linear-gradient(135deg, #9fe9ff, var(--cyan) 45%, var(--blue));
  box-shadow: 0 0 24px rgba(34, 230, 255, 0.45);
}

.brand-text { font-size: 15px; }
.brand-text em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.nav-links a + a { margin-left: 26px; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 0.35s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav > .btn { margin-left: 26px; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s, color 0.3s;
  will-change: transform;
}

.btn svg { margin-left: 9px; }

.btn-lg { padding: 17px 36px; font-size: 16px; }

.btn-primary {
  color: #04121c;
  background: linear-gradient(120deg, #9ff0ff, var(--cyan) 38%, var(--blue) 78%, var(--violet));
  background-size: 180% 100%;
  box-shadow: 0 12px 40px rgba(34, 190, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 18px 60px rgba(34, 190, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn-line,
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

.btn-line:hover,
.btn-ghost:hover {
  border-color: rgba(34, 230, 255, 0.55);
  box-shadow: 0 0 32px rgba(34, 230, 255, 0.18);
}

.btn-ghost { padding: 10px 20px; font-size: 13.5px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 34px 92px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(80% 60% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 35%, #000 20%, transparent 78%);
  transform: perspective(700px) rotateX(56deg) translateY(6%);
  pointer-events: none;
  opacity: 0.7;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.65;
}

.hero-orb--a {
  width: 520px;
  height: 520px;
  top: -8%;
  left: 6%;
  background: radial-gradient(circle, rgba(34, 230, 255, 0.5), transparent 68%);
  animation: float 16s ease-in-out infinite;
}

.hero-orb--b {
  width: 620px;
  height: 620px;
  top: 4%;
  right: -6%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42), transparent 68%);
  animation: float 21s ease-in-out infinite reverse;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #9fb0cc;
  padding: 8px 16px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  width: -moz-fit-content;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-title {
  margin: 24px 0 0;
  font-size: clamp(44px, 8.6vw, 124px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-title .line { display: block; }

.grad-flow,
.grad-text {
  background: linear-gradient(100deg, #9ff0ff, var(--cyan) 22%, var(--blue) 52%, var(--violet) 78%, #9ff0ff);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flow 7s linear infinite;
}

.hero-lead {
  margin-top: 28px;
  max-width: 720px;
  font-size: clamp(14.5px, 1.45vw, 17px);
  color: #a9b3c8;
}

.hero-lead strong { color: var(--text); }
.hero-lead em { color: var(--cyan); font-style: normal; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  margin: 24px -14px 0 0;
}

.hero-cta > * { margin: 0 14px 14px 0; }

.hero-meter {
  display: flex;
  flex-wrap: wrap;
  margin-top: 62px;
  padding-top: 30px;
  border-top: 1px solid var(--panel-line);
}

.meter-item { margin: 0 52px 18px 0; }

.meter-item b {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #7ec8ff 70%, #4d7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meter-item span {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #5c6579;
}

.scroll-hint i {
  margin-top: 10px;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(34, 230, 255, 0.9), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- 通用 section ---------- */
.section {
  position: relative;
  padding: 128px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 60px;
}

.tag {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid rgba(34, 230, 255, 0.28);
  border-radius: 999px;
  background: rgba(34, 230, 255, 0.06);
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 850;
}

.section-head p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 660px;
}

/* ---------- STATS ---------- */
.stats { padding-top: 30px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--panel-line);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 38px 30px;
  background: rgba(8, 10, 18, 0.72);
  transition: background 0.4s;
}

.stat:hover { background: rgba(14, 18, 30, 0.9); }

.stat-num {
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.stat-num b {
  margin-right: 6px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #86d4ff 65%, #4d7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num i {
  font-style: normal;
  font-size: 14px;
  color: var(--cyan);
}

.stat h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
}

.stat p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 32px 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 230, 255, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover { border-color: rgba(34, 230, 255, 0.34); box-shadow: 0 26px 70px rgba(4, 10, 24, 0.75); }
.card:hover::after { opacity: 1; }

.card-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 124, 255, 0.35), transparent 68%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.card:hover .card-glow { opacity: 1; }

.card-idx {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(34, 230, 255, 0.7);
}

.card h3 {
  margin: 14px 0 12px;
  font-size: 19.5px;
  font-weight: 780;
  transform: translateZ(30px);
}

.card p {
  font-size: 13.5px;
  color: var(--muted);
  transform: translateZ(18px);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  transform: translateZ(22px);
}

.card-tags li {
  margin: 0 7px 7px 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #9fe9ff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(34, 230, 255, 0.22);
  background: rgba(34, 230, 255, 0.07);
  white-space: nowrap;
}

/* ---------- ARCHITECTURE ---------- */
.stack { display: flex; flex-direction: column; }

.stack-layer {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 220px;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 14px;
  border: 1px solid var(--panel-line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  transition: transform 0.45s var(--ease), border-color 0.4s, background 0.4s;
}

.stack-layer + .stack-layer { margin-top: 14px; }

.stack-layer:hover {
  transform: translateX(10px);
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.1), rgba(255, 255, 255, 0.01));
}

.layer-idx {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.1em;
}

.stack-layer h3 { font-size: 18px; font-weight: 760; }

.stack-layer p {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

.layer-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.layer-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 1.4s var(--ease);
}

.is-visible .layer-bar i { width: var(--p); }

/* ---------- PERFORMANCE ---------- */
.perf-list { display: flex; flex-direction: column; }

.perf-row + .perf-row { margin-top: 26px; }

.perf-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: #b7c0d3;
  margin-bottom: 10px;
}

.perf-label b {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 15px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.perf-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.perf-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 0, 0, 0.35) 39px 40px);
  pointer-events: none;
}

.perf-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--lime));
  box-shadow: 0 0 22px rgba(34, 230, 255, 0.5);
  transition: width 1.6s var(--ease);
}

.is-visible .perf-track i { width: var(--w); }

/* ---------- TERMINAL ---------- */
.term {
  border-radius: 16px;
  border: 1px solid var(--panel-line);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.94), rgba(5, 7, 12, 0.94));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.025);
}

.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot + .term-dot { margin-left: 8px; }
.d1 { background: #ff5f57; }
.d2 { background: #febc2e; }
.d3 { background: #28c840; }

.term-title {
  margin-left: 14px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: #6b7688;
  letter-spacing: 0.06em;
}

.term-body {
  margin: 0;
  padding: 24px 24px 2px;
  min-height: 310px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.95;
  color: #b9c6da;
  white-space: pre-wrap;
  word-break: break-word;
}

.term-body .ok { color: var(--lime); }
.term-body .key { color: var(--cyan); }
.term-body .warn { color: #ffd166; }
.term-body .dim { color: #5e6a7e; }

.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin: 0 0 34px 24px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: blink 1.05s steps(2) infinite;
}

/* ---------- COMPAT ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
}

.badge {
  margin: 0 12px 12px 0;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #c2cbdd;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.35s var(--ease), border-color 0.35s, color 0.35s, box-shadow 0.35s;
}

.badge:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(34, 230, 255, 0.45);
  box-shadow: 0 10px 34px rgba(34, 230, 255, 0.14);
}

/* ---------- DEPLOY ---------- */
.deploy-wrap {
  position: relative;
  text-align: center;
  padding: 84px 40px;
  border-radius: 28px;
  border: 1px solid var(--panel-line);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(34, 230, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.deploy-glow {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 900px;
  height: 500px;
  margin-left: -450px;
  background: radial-gradient(circle, rgba(77, 124, 255, 0.25), transparent 66%);
  filter: blur(50px);
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}

.deploy h2 {
  position: relative;
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 880;
}

.deploy p {
  position: relative;
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

.deploy .hero-cta {
  position: relative;
  justify-content: center;
  margin-top: 34px;
}

.deploy-note {
  position: relative;
  margin-top: 20px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.14em;
  color: #5f6a7e !important;
  font-family: ui-monospace, Consolas, monospace;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--panel-line);
  padding: 54px 0 64px;
  background: rgba(4, 5, 10, 0.6);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer-wrap > * + * { margin-left: 34px; }

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand .logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 16px;
  border-radius: 14px;
  font-size: 24px;
  color: #06121f;
  background: linear-gradient(135deg, #9fe9ff, var(--cyan) 45%, var(--blue));
}

.footer-brand strong { font-size: 15px; letter-spacing: 0.04em; }
.footer-brand p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.footer-links { display: flex; font-size: 13.5px; color: var(--muted); }
.footer-links a + a { margin-left: 24px; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-meta .powered + .powered { margin-left: 10px; }

.powered {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #7f8ba3;
  padding: 8px 16px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.powered--author { color: #8f9ab2; }

.powered:hover {
  color: var(--cyan);
  border-color: rgba(34, 230, 255, 0.5);
  box-shadow: 0 0 26px rgba(34, 230, 255, 0.18);
}

/* ---------- 入场 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 动画 ---------- */
@keyframes flow {
  to { background-position: 260% 0; }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -34px, 0) scale(1.06); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@keyframes scrollLine {
  0% { transform: scaleY(0.2); opacity: 0.2; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.2); opacity: 0.2; }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .stack-layer {
    grid-template-columns: 56px 1fr;
    row-gap: 12px;
  }
  .stack-layer p { grid-column: 2; }
  .layer-bar { grid-column: 2; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 14px 18px; }
  .nav > .btn { margin-left: auto; }
  .hero { padding: 120px 18px 78px; }
  .section { padding: 84px 0; }
  .hero-meter { margin-top: 42px; }
  .meter-item { margin: 0 26px 16px 0; }
  .meter-item b { font-size: 26px; }
  .deploy-wrap { padding: 56px 22px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-wrap > * + * { margin-left: 0; margin-top: 20px; }
  .term-body { font-size: 12px; padding: 20px 16px 2px; min-height: 280px; }
  .caret { margin-left: 16px; }
}

@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 [data-reveal] { opacity: 1; transform: none; }
}
