/* ==========================================================================
   Light 官网 · 设计系统 v2（玻璃拟态）
   风格来源：个人主页 V2.9.1（深灰渐变 + 玻璃卡片 + 立方体底纹 + 中文字体）
   纯手写、无外部依赖（唯一字体为本站资源）
   ========================================================================== */

/* ---------- 字体：ZQKNNY（标题/品牌），缺失时自动回退 ---------- */
@font-face {
  font-family: 'ZQKNNY';
  src: url('../fonts/ZQKNNY-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- 设计变量 ---------- */
:root {
  --bg-start: #232526;
  --bg-end: #414345;
  --txt: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .70);
  --dim: rgba(255, 255, 255, .45);
  --accent: #fff;
  --accent-rgb: 255, 255, 255;
  --card-bg: rgba(255, 255, 255, .05);
  --card-bg-hover: rgba(255, 255, 255, .085);
  --card-border: rgba(255, 255, 255, .08);
  --card-border-hover: rgba(255, 255, 255, .18);
  --glass-blur: 12px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .05);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, .30), 0 0 0 1px rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .08);
  --green: #7ee2a8;
  --red: #ff8f8f;
  --amber: #ffd166;
  --cyan: #7dd3fc;
  --violet: #c4b5fd;
  --pink: #f9a8d4;
  --nav-h: 66px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-title: 'ZQKNNY', var(--font);
  --mono: 'Cascadia Code', 'Consolas', 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--txt);
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 立方体底纹 + 顶部光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'><path d='M30 0 L60 15 L60 41 L30 52 L0 41 L0 15 Z' fill='none' stroke='rgba(255,255,255,0.055)' stroke-width='0.6'/><path d='M30 26 L60 15 M30 26 L0 15 M30 26 L30 52' fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='0.6'/></svg>");
  background-repeat: repeat;
  opacity: .9;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 640px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .10), transparent 62%);
  filter: blur(10px);
}

a { color: var(--txt); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
strong { color: #fff; font-weight: 600; }
code, pre, .mono { font-family: var(--mono); }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 500; letter-spacing: .3px; color: #fff; }
h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 30px; line-height: 1.25; }
h3 { font-size: 21px; line-height: 1.3; }
p { color: var(--muted); }

::selection { background: rgba(255, 255, 255, .22); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, .18); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .26); background-clip: content-box; }

/* ---------- 布局容器 ---------- */
.container { position: relative; z-index: 1; width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(520px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.container-mid { width: min(880px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }

main { padding: 36px 0 72px; position: relative; z-index: 1; }

.section { padding: 56px 0; }
.section-sm { padding: 30px 0; }
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px; margin-bottom: 16px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}
.section-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.section-title { font-size: 32px; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-head.left .section-sub { margin-left: 0; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(32, 34, 38, .55);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}
.nav-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-title); font-size: 19px; color: #fff; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: 18px; color: #1b1c20;
  background: linear-gradient(145deg, #ffffff, #d6d9e0);
  box-shadow: 0 4px 14px rgba(255, 255, 255, .18), inset 0 1px 0 #fff;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: .4px; }
.brand-name small { font-family: var(--font); font-size: 9px; letter-spacing: .30em; text-transform: uppercase; color: var(--dim); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  font-size: 13.5px; color: var(--muted); transition: all .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: .8;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--card-border); background: var(--card-bg); color: #fff;
  font-size: 17px; cursor: pointer; margin-left: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px;
  font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: .2px;
  color: #fff; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.995); }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }

.btn-primary {
  background: #fff; color: #1b1c20; border-color: #fff;
  box-shadow: 0 6px 22px rgba(255, 255, 255, .16), inset 0 1px 0 #fff;
}
.btn-primary:hover { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(255, 255, 255, .22); }
.btn-violet { background: rgba(196, 181, 253, .16); border-color: rgba(196, 181, 253, .38); color: #e5dcff; }
.btn-violet:hover { background: rgba(196, 181, 253, .24); }
.btn-ghost { background: var(--card-bg); border-color: var(--card-border-hover); color: #fff; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--card-bg-hover); border-color: rgba(255, 255, 255, .3); }
.btn-soft { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .06); color: var(--muted); }
.btn-soft:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-danger { background: rgba(255, 143, 143, .14); border-color: rgba(255, 143, 143, .35); color: #ffc9c9; }
.btn-danger:hover { background: rgba(255, 143, 143, .22); }
.btn-success { background: rgba(126, 226, 168, .14); border-color: rgba(126, 226, 168, .35); color: #c8f7dd; }
.btn-success:hover { background: rgba(126, 226, 168, .22); }
.btn-sm { padding: 7px 14px; font-size: 12.5px; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 34px; height: 34px; padding: 0; border-radius: 10px; background: var(--card-bg); border-color: var(--card-border); color: var(--muted); }
.btn-icon:hover { color: #fff; background: var(--card-bg-hover); }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--muted);
  white-space: nowrap;
}
.badge-green { color: var(--green); border-color: rgba(126, 226, 168, .30); background: rgba(126, 226, 168, .10); }
.badge-red { color: var(--red); border-color: rgba(255, 143, 143, .30); background: rgba(255, 143, 143, .10); }
.badge-amber { color: var(--amber); border-color: rgba(255, 209, 102, .30); background: rgba(255, 209, 102, .10); }
.badge-cyan { color: var(--cyan); border-color: rgba(125, 211, 252, .30); background: rgba(125, 211, 252, .10); }
.badge-violet { color: var(--violet); border-color: rgba(196, 181, 253, .30); background: rgba(196, 181, 253, .10); }
.badge-pink { color: var(--pink); border-color: rgba(249, 168, 212, .30); background: rgba(249, 168, 212, .10); }
.badge-gray { color: var(--dim); }

/* ---------- 提示条 ---------- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 18px; margin-bottom: 20px;
  border-radius: 14px; font-size: 13.5px; line-height: 1.6;
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--muted);
  backdrop-filter: blur(10px);
}
.alert::before { content: ""; width: 6px; align-self: stretch; border-radius: 4px; background: rgba(255, 255, 255, .35); flex: 0 0 6px; }
.alert-success { border-color: rgba(126, 226, 168, .28); background: rgba(126, 226, 168, .08); color: #d3f8e4; }
.alert-success::before { background: var(--green); }
.alert-error { border-color: rgba(255, 143, 143, .28); background: rgba(255, 143, 143, .08); color: #ffd6d6; }
.alert-error::before { background: var(--red); }
.alert-warning { border-color: rgba(255, 209, 102, .28); background: rgba(255, 209, 102, .08); color: #ffe9b8; }
.alert-warning::before { background: var(--amber); }
.alert-info { border-color: rgba(125, 211, 252, .28); background: rgba(125, 211, 252, .08); color: #d6f1ff; }
.alert-info::before { background: var(--cyan); }

/* ---------- 浮动提示 ---------- */
.flash-stack { position: fixed; top: 18px; right: 18px; z-index: 999; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.flash {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: 13px; font-size: 13.5px;
  background: rgba(30, 32, 36, .88); border: 1px solid var(--card-border-hover); color: var(--txt);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .40);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: flashIn .35s ease both;
  position: relative; padding-right: 34px;
}
.flash::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: rgba(255, 255, 255, .5); flex: 0 0 4px; }
.flash-success::before { background: var(--green); }
.flash-error::before { background: var(--red); }
.flash-warning::before { background: var(--amber); }
.flash-info::before { background: var(--cyan); }
.flash-text { flex: 1; }
.flash-close { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border: 0; border-radius: 7px; background: transparent; color: var(--dim); cursor: pointer; font-size: 15px; line-height: 1; }
.flash-close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 卡片 / 面板 ---------- */
.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { background: var(--card-bg-hover); border-color: var(--card-border-hover); box-shadow: var(--shadow-hover); }
.card:hover::before { opacity: 1; }
.card + .card { margin-top: 20px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-title { font-size: 19px; }
.card-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.panel { background: rgba(255, 255, 255, .035); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 18px 20px; }
.panel-title { font-family: var(--font-title); font-size: 15px; color: #fff; margin-bottom: 12px; letter-spacing: .3px; }

/* ---------- 首页 Hero ---------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; margin-bottom: 22px;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  background: var(--card-bg); border: 1px solid var(--card-border-hover); color: var(--muted);
  backdrop-filter: blur(10px);
}
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(126, 226, 168, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(126, 226, 168, .45); } 70% { box-shadow: 0 0 0 9px rgba(126, 226, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); } }
.hero-title { font-size: 56px; line-height: 1.08; letter-spacing: .5px; margin-bottom: 20px; }
.hero-title .grad {
  background: linear-gradient(120deg, #ffffff 10%, rgba(255, 255, 255, .58) 55%, #ffffff 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: 15.5px; line-height: 1.8; color: var(--muted); max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-item strong { font-family: var(--font-title); font-size: 23px; color: #fff; letter-spacing: .5px; }
.hero-meta-item span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hero-visual { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.hero-orb {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 58%, transparent 72%);
  filter: blur(6px); animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -16px, 0); } }

.mock-window {
  position: relative; z-index: 2; width: min(420px, 100%);
  border-radius: 18px; overflow: hidden;
  background: rgba(22, 24, 27, .72); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mock-bar i:nth-child(1) { background: rgba(255, 143, 143, .7); }
.mock-bar i:nth-child(2) { background: rgba(255, 209, 102, .7); }
.mock-bar i:nth-child(3) { background: rgba(126, 226, 168, .7); }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px; }
.mock-label { color: var(--muted); }
.mock-value { font-family: var(--mono); font-size: 12px; color: #fff; }
.mock-value.cyan { color: var(--cyan); }
.mock-value.green { color: var(--green); }
.mock-mod { margin-top: 4px; }
.mock-mod-bar { height: 7px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 8px; }
.mock-mod-bar::after { content: ""; display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .5)); }
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tags span { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); color: var(--muted); }

/* ---------- 特性网格 / 定价 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(10px); transition: all .3s ease; }
.feature:hover { background: var(--card-bg-hover); border-color: var(--card-border-hover); transform: translateY(-3px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 13px; line-height: 1.7; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border);
  box-shadow: var(--shadow); backdrop-filter: blur(12px);
  transition: all .3s ease; overflow: hidden;
}
.plan:hover { background: var(--card-bg-hover); border-color: var(--card-border-hover); transform: translateY(-4px); }
.plan.featured { border-color: rgba(255, 255, 255, .30); background: rgba(255, 255, 255, .085); box-shadow: 0 18px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06); }
.plan.featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, .16), transparent 60%);
}
.plan-flag {
  position: absolute; top: 16px; right: 16px;
  padding: 3px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  background: #fff; color: #1b1c20;
}
.plan-name { font-family: var(--font-title); font-size: 16px; letter-spacing: .4px; color: #fff; }
.plan-sub { font-size: 12px; color: var(--dim); margin-top: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 6px; }
.plan-price .cur { font-size: 16px; color: var(--muted); }
.plan-price .num { font-family: var(--font-title); font-size: 42px; line-height: 1; color: #fff; letter-spacing: .5px; }
.plan-price .unit { font-size: 12.5px; color: var(--dim); margin-left: 3px; }
.plan-features { list-style: none; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-features li { position: relative; padding-left: 22px; font-size: 12.8px; color: var(--muted); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.plan-note { font-size: 11.5px; color: var(--dim); text-align: center; margin-top: 10px; }
.plan .btn { width: 100%; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.form-grid .field.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field .req { color: var(--red); margin-left: 2px; }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="tel"], textarea, select {
  width: 100%; padding: 11px 14px;
  font-family: var(--font); font-size: 14px; color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .28); }
.input:focus, input:focus, textarea:focus, select:focus {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .07);
}
textarea { min-height: 110px; resize: vertical; }
select { padding-right: 34px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 13px center; }
select option { background: #2a2c30; color: #fff; }
.input-sm { padding: 8px 11px; font-size: 12.5px; border-radius: 9px; }
.input-group { display: flex; align-items: center; gap: 9px; }
.hint { font-size: 11.5px; color: var(--dim); line-height: 1.6; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--dim); margin-top: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input[type="checkbox"], .check input[type="radio"] { width: 16px; height: 16px; accent-color: #fff; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 12px; }
.check-box {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07);
  cursor: pointer; transition: all .2s ease;
}
.check-box:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.check-box input { accent-color: #fff; width: 15px; height: 15px; }
.code-row { display: flex; gap: 10px; align-items: stretch; }
.code-row .input { flex: 1; }
.captcha-img { width: 132px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); cursor: pointer; object-fit: cover; background: rgba(255, 255, 255, .04); }
.field-error { font-size: 12px; color: var(--red); }

/* ---------- 认证页 ---------- */
.auth-wrap { padding: 64px 0 90px; display: flex; align-items: flex-start; justify-content: center; }
.auth-card {
  width: 100%; max-width: 470px;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: rgba(31, 33, 37, .6);
  border: 1px solid var(--card-border-hover);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-logo { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 26px; color: #1b1c20; background: linear-gradient(145deg, #ffffff, #d6d9e0); box-shadow: 0 10px 26px rgba(255, 255, 255, .16); }
.auth-head h1 { font-size: 25px; letter-spacing: .4px; }
.auth-head p { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.auth-card .form-grid { grid-template-columns: 1fr; }
.auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: 12.5px; color: var(--dim); }
.auth-foot a { color: var(--muted); border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.auth-foot a:hover { color: #fff; }

/* ---------- 表格 ---------- */
.table-wrap { width: 100%; overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
table.data, table.plain {
  width: 100%; border-collapse: collapse; min-width: 680px; font-size: 13px;
}
table.plain { min-width: 0; }
table.data th, table.plain th {
  text-align: left; padding: 12px 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid rgba(255, 255, 255, .08); white-space: nowrap;
}
table.data td, table.plain td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .055); color: var(--muted); vertical-align: middle; }
table.data tr:last-child td, table.plain tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .18s ease; }
table.data tbody tr:hover { background: rgba(255, 255, 255, .035); }
table.data td strong, table.plain td strong { color: #fff; }
td.actions { white-space: nowrap; }
td.actions form { display: inline-block; margin-right: 6px; }
table.data.tight td, table.data.tight th { padding: 8px 10px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--txt); }
.nowrap { white-space: nowrap; }

/* ---------- 空状态 / 分页 ---------- */
.empty { text-align: center; padding: 54px 20px; color: var(--dim); }
.empty-icon { font-size: 34px; margin-bottom: 12px; opacity: .8; }
.pager { display: flex; align-items: center; gap: 7px; margin-top: 20px; flex-wrap: wrap; }
.pager-btn {
  min-width: 34px; height: 34px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: all .2s ease;
}
.pager-btn:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.pager-btn.active { background: #fff; border-color: #fff; color: #1b1c20; font-weight: 700; }
.pager-btn.disabled { opacity: .3; pointer-events: none; }
.pager-gap { color: var(--dim); padding: 0 2px; }
.pager-total { margin-left: auto; font-size: 12px; color: var(--dim); }

/* ---------- 统计 / 图表 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 20px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(10px); transition: all .25s ease; }
.stat:hover { background: var(--card-bg-hover); border-color: var(--card-border-hover); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.stat-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.stat-value { font-family: var(--font-title); font-size: 27px; line-height: 1.1; color: #fff; letter-spacing: .3px; }
.stat-value.green { color: var(--green); }
.stat-value.cyan { color: var(--cyan); }
.stat-value.violet { color: var(--violet); }
.stat-value.amber { color: var(--amber); }
.stat-value.red { color: var(--red); }
.stat-sub { font-size: 11.5px; color: var(--dim); margin-top: 6px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 132px; padding: 10px 4px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.chart-col .bar { width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35)); min-height: 3px; transition: height .4s ease; }
.chart-col small { font-size: 10.5px; color: var(--dim); }

/* ---------- 后台框架 ---------- */
.admin-shell { display: grid; grid-template-columns: 236px 1fr; gap: 0; min-height: 100vh; position: relative; z-index: 1; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 22px 16px;
  background: rgba(28, 30, 34, .55);
  border-right: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-family: var(--font-title); font-size: 17px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 12px; }
.sidebar-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.side-group { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.side-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); padding: 12px 9px 6px; }
.side-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px;
  font-size: 13px; color: var(--muted); transition: all .18s ease;
  border: 1px solid transparent;
}
.side-link .ico { width: 21px; display: inline-flex; justify-content: center; opacity: .85; font-size: 14px; }
.side-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-link.active { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .09); color: #fff; box-shadow: inset 2px 0 0 #fff; }
.side-foot { margin-top: auto; padding: 12px 9px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11px; color: var(--dim); }
.admin-main { padding: 26px 30px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.crumb { font-size: 12.5px; color: var(--dim); letter-spacing: .02em; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: #fff; }
.spacer { flex: 1; }
.admin-user { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.admin-user .avatar { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.sidebar-toggle { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--card-border); background: var(--card-bg); color: #fff; cursor: pointer; }
.sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 98; background: rgba(0, 0, 0, .5); backdrop-filter: blur(3px); }
.sidebar-overlay.show { display: block; }

/* ---------- 页面标题 / 子导航 ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 27px; letter-spacing: .4px; }
.page-head p { font-size: 12.5px; color: var(--dim); margin-top: 5px; }
.page-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.subnav { display: flex; gap: 4px; padding: 5px; margin-bottom: 24px; border-radius: 14px; background: var(--card-bg); border: 1px solid var(--card-border); overflow-x: auto; backdrop-filter: blur(10px); }
.subnav a { padding: 8px 15px; border-radius: 10px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: all .18s ease; }
.subnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.subnav a.active { color: #1b1c20; background: #fff; font-weight: 700; }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); backdrop-filter: blur(10px); margin-top: 60px; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { font-family: var(--font-title); font-size: 20px; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-family: var(--font); }
.footer-col a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-grid p { font-size: 12.5px; line-height: 1.8; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11.5px; color: var(--dim); flex-wrap: wrap; }
.footer-bottom .links { display: flex; gap: 18px; }
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: #fff; }
.version-tag { font-family: var(--mono); font-size: 10.5px; color: var(--dim); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: 1px 6px; }

/* ---------- API 代码块 ---------- */
.code-block { padding: 16px 18px; border-radius: 13px; background: rgba(0, 0, 0, .30); border: 1px solid rgba(255, 255, 255, .08); overflow-x: auto; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: #dfe3ea; position: relative; }
.code-block pre { font-family: inherit; white-space: pre; }
.method { display: inline-block; padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; background: rgba(126, 226, 168, .14); color: var(--green); border: 1px solid rgba(126, 226, 168, .22); }
.method.post { background: rgba(255, 209, 102, .13); color: var(--amber); border-color: rgba(255, 209, 102, .22); }
.path { font-family: var(--mono); font-size: 12px; color: #fff; }
.comment { color: var(--dim); }
.kv-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 12.5px; }
.kv-list dt { color: var(--dim); }
.kv-list dd { color: var(--txt); font-family: var(--mono); font-size: 12px; }
.kv { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- 杂项 ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list .badge { font-weight: 500; }
.divider { height: 1px; background: rgba(255, 255, 255, .08); margin: 22px 0; }
.avatar-cell { display: flex; align-items: center; gap: 10px; }
.mini-avatar { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .1); text-transform: uppercase; }
.attention-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(255, 209, 102, .7); display: inline-block; }
.inline-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-form .input { width: auto; flex: 1; min-width: 150px; }
.step-no { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.success-box { padding: 18px 20px; border-radius: 14px; background: rgba(126, 226, 168, .08); border: 1px solid rgba(126, 226, 168, .25); }
.success-icon { font-size: 30px; margin-bottom: 8px; }
.warn-note { font-size: 12px; color: var(--amber); background: rgba(255, 209, 102, .07); border: 1px solid rgba(255, 209, 102, .2); border-radius: 11px; padding: 11px 14px; line-height: 1.7; }
.tip { font-size: 11.5px; color: var(--dim); }
.env { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 12.5px; }
.env-label { color: var(--dim); }
.env-main { color: var(--txt); font-family: var(--mono); font-size: 11.5px; word-break: break-all; }
.env-hint { color: var(--dim); }
.sub { font-size: 11.5px; color: var(--dim); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 18px; color: #fff; }

/* ---------- 工具类 ---------- */
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.big { font-size: 17px; }
.center { text-align: center; }
.right { text-align: right; }
.flex { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; } .mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px !important; } .mb-3 { margin-bottom: 24px !important; }
.gap-0 { gap: 0 !important; }
.hidden { display: none !important; }
.text-green { color: var(--green) !important; }
.text-red { color: var(--red) !important; }
.text-amber { color: var(--amber) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-violet { color: var(--violet) !important; }
.fade-up { animation: fadeUp .5s ease both; }
.fade-up.delay-1 { animation-delay: .06s; }
.fade-up.delay-2 { animation-delay: .12s; }
.fade-up.delay-3 { animation-delay: .18s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- V3 视觉元素（公告 / 体素 / 跑马灯 / 浮动按钮 / 渐显） ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); }
html.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }

.notice-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; margin: 0 0 22px;
  border-radius: 999px;
  background: var(--card-bg); border: 1px solid var(--card-border-hover);
  backdrop-filter: blur(10px); font-size: 12.5px; color: var(--muted);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.notice-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .75); flex: 0 0 auto; animation: pulseLight 2.6s infinite; }
@keyframes pulseLight { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.voxel-banner {
  position: relative; height: 96px; margin-bottom: 34px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, .14), transparent 62%), rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px rgba(0, 0, 0, .22);
}
.voxel-banner canvas { display: block; width: 100%; height: 100%; }

.chip-marquee { overflow: hidden; position: relative; padding: 14px 0; margin-bottom: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chip-track { display: flex; gap: 10px; width: max-content; animation: chipScroll 36s linear infinite; }
.chip-marquee:hover .chip-track { animation-play-state: paused; }
@keyframes chipScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.chip i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .55); }

.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(34, 36, 40, .78); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .10);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #fff; font-size: 13px; font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.float-cta:hover { transform: translateY(-3px); background: rgba(48, 51, 56, .86); color: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14); }
.float-cta .ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #1b1c20; font-size: 15px; }
.float-cta .txt { display: flex; flex-direction: column; line-height: 1.15; }
.float-cta small { font-size: 10px; font-weight: 500; color: var(--dim); letter-spacing: .04em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 34px; }
  .hero-title { font-size: 46px; }
  .grid-4, .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 99; transform: translateX(-104%); transition: transform .26s ease; }
  .sidebar.open { transform: none; }
  .sidebar-toggle { display: inline-flex; }
  .admin-main { padding: 20px 18px 50px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex; position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 8px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(32, 34, 38, .92); border: 1px solid var(--card-border-hover); border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5); backdrop-filter: blur(18px); z-index: 95;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 280px; }
  .hero-title { font-size: 38px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .section { padding: 42px 0; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .container, .nav-inner { width: calc(100% - 28px); }
  .hero { padding: 38px 0 26px; }
  .hero-title { font-size: 32px; }
  .hero-meta { gap: 18px; }
  .grid-2, .grid-3, .grid-4, .pricing, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .flash-stack { left: 12px; right: 12px; max-width: none; }
  .card { padding: 20px; }
  .section-title { font-size: 26px; }
  .voxel-banner { height: 64px; margin-bottom: 22px; }
  .float-cta { right: 14px; bottom: 14px; padding: 8px 15px 8px 8px; font-size: 12px; }
  .float-cta .ico { width: 26px; height: 26px; font-size: 13px; }
  .notice-bar { font-size: 12px; padding: 10px 14px; }
  .auth-card { padding: 26px 20px; }
  .code-row { flex-wrap: wrap; }
  .captcha-img { width: 100%; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .chip-track, .plan.featured .plan-flag, .notice-bar .dot, .hero-title .grad, .hero-orb { animation: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
