:root {
  --bg: #06070a;
  --bg-soft: #0a0c12;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(233, 185, 73, 0.35);
  --gold: #e9b949;
  --gold-soft: #f7dfa3;
  --gold-deep: #b8862a;
  --text: #eceef4;
  --muted: #939aab;
  --green: #38d39f;
  --red: #f2686b;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }

.hidden { display: none !important; }

/* ---------------------------------------------------------- 背景光效 */

.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 5%, transparent 70%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.orb-a {
  width: 620px;
  height: 620px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(233, 185, 73, 0.35), transparent 65%);
}
.orb-b {
  width: 480px;
  height: 480px;
  top: 620px;
  right: -180px;
  background: radial-gradient(circle, rgba(70, 110, 255, 0.18), transparent 65%);
}

/* ---------------------------------------------------------- 导航 */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  color: #1a1303;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(233, 185, 73, 0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; letter-spacing: 0.14em; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: 0.05em; }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; gap: 10px; }

/* ---------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, #cf9a34);
  color: #1b1404;
  box-shadow: 0 12px 26px rgba(233, 185, 73, 0.24);
}
.btn-gold:hover { box-shadow: 0 16px 34px rgba(233, 185, 73, 0.38); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }

.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.btn-danger { background: rgba(242, 104, 107, 0.12); border-color: rgba(242, 104, 107, 0.35); color: #ffb0b2; }
.btn-danger:hover { background: rgba(242, 104, 107, 0.2); }
.btn-ok { background: rgba(56, 211, 159, 0.12); border-color: rgba(56, 211, 159, 0.35); color: #8df0cd; }
.btn-ok:hover { background: rgba(56, 211, 159, 0.2); }

/* ---------------------------------------------------------- 公告 */

.announce {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--gold-soft);
  background: linear-gradient(90deg, rgba(233, 185, 73, 0.02), rgba(233, 185, 73, 0.12), rgba(233, 185, 73, 0.02));
  border-bottom: 1px solid rgba(233, 185, 73, 0.18);
}

/* ---------------------------------------------------------- 布局 */

main, footer { position: relative; z-index: 1; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------------------------------------------------------- 首屏 */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) 0 clamp(36px, 6vw, 64px);
  width: min(1180px, 92vw);
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(233, 185, 73, 0.35);
  background: rgba(233, 185, 73, 0.07);
  color: var(--gold-soft);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.hero h1 .grad {
  display: block;
  background: linear-gradient(100deg, #fff3d4, var(--gold) 55%, #a9781f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(233, 185, 73, 0.8);
}

/* 版本卡 */
.version-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.version-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 80% 0%, rgba(233, 185, 73, 0.16), transparent 60%);
}
.vc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(56, 211, 159, 0.14);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56, 211, 159, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(56, 211, 159, 0.03); }
}
.vc-ver {
  margin-left: auto;
  font-family: var(--mono);
  color: var(--gold-soft);
  font-size: 13px;
}
.vc-body { padding: 22px 20px; }
.vc-title {
  font-size: 26px;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  color: #fff;
}
.vc-title small { font-size: 12px; color: var(--muted); font-family: var(--font); letter-spacing: 0.1em; display: block; margin-top: 4px; }
.vc-notes {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #b9c0d0;
  font-size: 13px;
  max-height: 148px;
  overflow: auto;
  white-space: pre-wrap;
}
.vc-meta {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}
.vc-lock {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  border: 1px dashed rgba(233, 185, 73, 0.4);
  color: var(--gold-soft);
  font-size: 13px;
  background: rgba(233, 185, 73, 0.05);
}
.vc-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------------------------------------------------------- 数据条 */

.stats {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 24px 22px;
  background: rgba(10, 12, 18, 0.9);
}
.stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
}
.stat span { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------- 区块 */

.section {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0 0;
}
.section-head { margin-bottom: 34px; max-width: 640px; }
.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head p { margin-top: 12px; color: var(--muted); }

/* ---------------------------------------------------------- 特色 */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(233, 185, 73, 0.3); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(233, 185, 73, 0.1);
  border: 1px solid rgba(233, 185, 73, 0.22);
  margin-bottom: 18px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 16.5px; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ---------------------------------------------------------- 方案 */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.plan.featured {
  border-color: var(--line-strong);
  background: linear-gradient(170deg, rgba(233, 185, 73, 0.14), rgba(233, 185, 73, 0.02) 55%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.plan-tag {
  position: absolute;
  top: -11px;
  right: 22px;
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1b1404;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.plan h3 { font-size: 16px; color: #fff; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: 12.5px; min-height: 34px; }
.plan-price {
  margin: 16px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
}
.plan-price .cur { color: var(--muted); font-size: 14px; }
.plan-price .num { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.plan-price .unit { color: var(--muted); font-size: 12.5px; font-family: var(--font); }
.plan ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #c2c8d6;
}
.plan ul li { display: flex; gap: 9px; align-items: flex-start; }
.plan ul li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--gold); }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------------------------------------------------------- 流程 */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.step h3 { font-size: 15.5px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------- 脚本目录 */

.script-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.script-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(233, 185, 73, 0.07), rgba(255, 255, 255, 0.018));
  display: flex;
  flex-direction: column;
}
.script-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.script-head h3 { font-size: 16.5px; }
.script-summary { color: var(--muted); font-size: 13px; line-height: 1.7; min-height: 44px; }
.script-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}
.script-versions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
}
.script-ver-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #c3c9d6; }
.script-ver-row span:first-child { font-family: var(--mono); color: var(--gold-soft); }
.script-foot { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.script-empty {
  padding: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

/* ---------------------------------------------------------- 工具与教程 */

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 14px;
}
.lib-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lib-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--gold);
  background: rgba(233, 185, 73, 0.1);
  border: 1px solid rgba(233, 185, 73, 0.22);
}
.lib-icon svg { width: 18px; height: 18px; }
.lib-body { flex: 1; min-width: 0; }
.lib-body h4 { font-size: 14px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lib-body p { color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.lib-actions { margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lib-lock { font-size: 11.5px; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 5px; }
.lib-tag {
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 400;
}

/* ---------------------------------------------------------- 控制台脚本分组 */

.script-group { padding: 16px 0; border-top: 1px solid var(--line); }
.script-group:first-child { border-top: 0; padding-top: 0; }
.script-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.script-group-head h4 { font-size: 14.5px; }
.script-group-head .tagline { color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------- FAQ */

.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q svg { width: 16px; height: 16px; flex: none; color: var(--gold); transition: transform 0.25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.faq-a p { padding: 0 22px 20px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------------------------------------------------------- 结尾 CTA */

.cta-final {
  margin-top: clamp(56px, 7vw, 92px);
  padding: 0;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(233, 185, 73, 0.25);
  background: linear-gradient(120deg, rgba(233, 185, 73, 0.16), rgba(10, 12, 18, 0.9) 60%);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-box h2 { font-size: clamp(22px, 3vw, 32px); }
.cta-box p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: #c7cdda;
  font-size: 12px;
  font-family: var(--mono);
}

/* ---------------------------------------------------------- 页脚 */

footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 12.5px;
}
.foot-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.foot-inner .risk { max-width: 620px; line-height: 1.7; }

/* ---------------------------------------------------------- 控制台 */

.console {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 44px 0 20px;
}
.console-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.console-head h1 { font-size: 28px; }
.console-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  padding: 24px;
}
.card h3 { font-size: 15.5px; margin-bottom: 16px; }
.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.console .card + .card { margin-top: 16px; }

.license-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pill.ok { color: #8df0cd; border-color: rgba(56, 211, 159, 0.35); background: rgba(56, 211, 159, 0.08); }
.pill.warn { color: #ffd18a; border-color: rgba(233, 185, 73, 0.35); background: rgba(233, 185, 73, 0.08); }
.pill.bad { color: #ffb0b2; border-color: rgba(242, 104, 107, 0.35); background: rgba(242, 104, 107, 0.08); }
.license-meta { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.license-meta strong { color: var(--text); font-family: var(--mono); font-weight: 500; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.input, .textarea, .select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: rgba(233, 185, 73, 0.5);
  box-shadow: 0 0 0 3px rgba(233, 185, 73, 0.1);
}
.textarea { resize: vertical; min-height: 84px; line-height: 1.7; }
.input-row { display: flex; gap: 10px; }
.input-row .input { flex: 1; }

/* 版本列表 */
.version-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.version-row:first-of-type { border-top: 0; }
.version-row .v-main { flex: 1; min-width: 180px; }
.version-row .v-name {
  font-family: var(--mono);
  font-size: 14.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.version-row .v-sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
.badge-latest {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 211, 159, 0.14);
  color: #8df0cd;
  border: 1px solid rgba(56, 211, 159, 0.3);
  letter-spacing: 0.06em;
  font-family: var(--font);
}
.version-row .v-notes { color: var(--muted); font-size: 12.5px; margin-top: 6px; max-width: 620px; white-space: pre-wrap; }
.empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

/* 表格 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
td.mono { font-family: var(--mono); font-size: 12px; }

/* ---------------------------------------------------------- 弹窗 */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 7, 0.76);
  backdrop-filter: blur(8px);
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: min(460px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(170deg, #12141c, #0a0c12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  padding: 28px;
  animation: pop 0.22s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.modal-head h2 { font-size: 20px; }
.modal-head p { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}
.modal-close:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.tab {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tab.active { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.modal .btn { width: 100%; }
.modal-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.pay-methods { display: grid; gap: 8px; margin-bottom: 16px; }
.pay-method {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  font-size: 12.5px;
}
.pay-method span:first-child { color: var(--muted); flex: none; }
.pay-method span:last-child { font-family: var(--mono); color: var(--gold-soft); text-align: right; word-break: break-all; }
.summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(233, 185, 73, 0.08);
  border: 1px solid rgba(233, 185, 73, 0.22);
}
.summary strong { font-family: var(--mono); font-size: 22px; color: var(--gold-soft); }

/* ---------------------------------------------------------- Toast */

.toast-wrap {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: min(380px, 92vw);
}
.toast {
  padding: 12px 16px;
  border-radius: 11px;
  background: #151821;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: pop 0.2s ease;
}
.toast.err { border-color: rgba(242, 104, 107, 0.4); color: #ffb0b2; }
.toast.ok { border-color: rgba(56, 211, 159, 0.4); color: #9df3d6; }

/* ---------------------------------------------------------- 响应式 */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 31px; }
  .nav { padding: 12px 16px; gap: 12px; }
  .brand-text small { display: none; }
  .plan-price .num { font-size: 34px; }
  .cta-box { padding: 26px 22px; }
  .version-card { border-radius: 18px; }
}
