/* ==========================================================================
   DeepSeek | 深度求索 — 站点样式
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --brand: #4d6bfe;
  --brand-light: #7d95ff;
  --brand-deep: #2a3fd6;
  --accent: #21d4fd;
  --accent-2: #b721ff;

  --bg: #05070e;
  --bg-soft: #0a0e1a;
  --bg-elev: #0f1524;

  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #e9edfb;
  --text-dim: #a3adc6;
  --text-mute: #6b7590;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --max: 1180px;
  --header-h: 68px;

  --shadow-sm: 0 4px 16px -6px rgba(0, 0, 0, 0.6);
  --shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.85);
  --shadow-brand: 0 14px 40px -14px rgba(77, 107, 254, 0.75);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(77, 107, 254, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #05070e;
}
::-webkit-scrollbar-thumb {
  background: #232c44;
  border-radius: 999px;
  border: 2px solid #05070e;
}
::-webkit-scrollbar-thumb:hover {
  background: #33405f;
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.gradient-text {
  background: linear-gradient(100deg, #7d95ff 0%, #21d4fd 55%, #b721ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 14px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  box-shadow: 0 18px 46px -12px rgba(77, 107, 254, 0.9);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: var(--surface-2);
  border-color: rgba(125, 149, 255, 0.55);
}

.btn-ghost {
  color: var(--text-dim);
  padding: 11px 16px;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 7, 14, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-link.active {
  color: var(--text);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--brand-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 108px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.orb-1 {
  width: 620px;
  height: 620px;
  top: -260px;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(77, 107, 254, 0.85), transparent 68%);
  animation: float 18s ease-in-out infinite;
}

.orb-2 {
  width: 480px;
  height: 480px;
  top: 60px;
  right: -140px;
  background: radial-gradient(circle, rgba(33, 212, 253, 0.45), transparent 68%);
  animation: float 22s ease-in-out infinite reverse;
}

.orb-3 {
  width: 420px;
  height: 420px;
  bottom: -220px;
  left: -120px;
  background: radial-gradient(circle, rgba(183, 33, 255, 0.35), transparent 68%);
  animation: float 26s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 34%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 34%, #000 20%, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35e08c;
  box-shadow: 0 0 0 4px rgba(53, 224, 140, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(28px, 5.2vw, 58px);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 .sep {
  color: var(--text-mute);
  font-weight: 300;
  margin: 0 0.06em;
}

.hero-desc {
  margin-top: 24px;
  max-width: 620px;
  font-size: 17px;
  color: var(--text-dim);
}

.hero-cta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-stats {
  margin-top: 76px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #9aa8cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ---------- 卡片网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 149, 255, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 149, 255, 0.35);
  box-shadow: 0 26px 60px -30px rgba(77, 107, 254, 0.85);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-top: 20px;
  font-size: 19px;
}

.card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-dim);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(77, 107, 254, 0.28), rgba(33, 212, 253, 0.12));
  color: var(--brand-light);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

/* ---------- 模型列表 ---------- */
.model-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 149, 255, 0.35);
}

.model-card.featured {
  border-color: rgba(77, 107, 254, 0.55);
  background: linear-gradient(165deg, rgba(77, 107, 254, 0.18), rgba(10, 14, 26, 0.9) 62%);
  box-shadow: var(--shadow);
}

.model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
}

.tag-hot {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.model-card h3 {
  margin-top: 18px;
  font-size: 22px;
}

.model-card > p {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 15px;
  flex: 1;
}

.specs {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specs li {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- 下载 CTA 区 ---------- */
.cta-band {
  position: relative;
  padding: 60px 48px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(ellipse at 20% 0%, rgba(77, 107, 254, 0.35), transparent 62%),
    radial-gradient(ellipse at 100% 100%, rgba(33, 212, 253, 0.22), transparent 58%),
    var(--bg-elev);
  overflow: hidden;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(26px, 3.8vw, 40px);
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--text-dim);
}

.cta-band .hero-cta {
  margin-top: 34px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  transition: background 0.25s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: var(--surface);
}

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
  border-color: var(--brand-light);
}

.faq .answer {
  padding: 0 26px 24px;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 68ch;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 66px 0 34px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 300px;
  font-size: 14.5px;
  color: var(--text-mute);
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}

.footer-col ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--brand-light);
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.footer-bottom .socials {
  display: flex;
  gap: 8px;
}

.footer-bottom .socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}

.footer-bottom .socials a:hover {
  color: #fff;
  border-color: rgba(125, 149, 255, 0.5);
  background: var(--surface);
}

.footer-bottom .socials svg {
  width: 17px;
  height: 17px;
}

/* ---------- 子页头部 ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 58px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .orb-1 {
  width: 560px;
  height: 560px;
  top: -320px;
  opacity: 0.4;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.page-hero p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--text-dim);
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.breadcrumb a:hover {
  color: var(--brand-light);
}

/* ---------- 下载页：平台切换 ---------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.platform-tab svg {
  width: 18px;
  height: 18px;
}

.platform-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.platform-tab[aria-selected="true"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow-brand);
}

.panel[hidden] {
  display: none;
}

.panel {
  animation: fadeUp 0.45s var(--ease) both;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.dl-card {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  display: flex;
  flex-direction: column;
}

.dl-card.recommend {
  border-color: rgba(77, 107, 254, 0.5);
  box-shadow: var(--shadow);
}

.dl-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-card-head .icon-box {
  width: 52px;
  height: 52px;
}

.dl-card-head h3 {
  font-size: 20px;
}

.dl-card-head small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-mute);
}

.dl-meta {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dl-meta div span {
  display: block;
  font-size: 12.5px;
  color: var(--text-mute);
}

.dl-meta div b {
  font-size: 14.5px;
  font-weight: 600;
}

.dl-card .btn {
  margin-top: 26px;
}

.dl-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
}

.alt-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s var(--ease);
}

.alt-item:hover {
  border-color: rgba(125, 149, 255, 0.4);
  background: var(--surface);
}

.alt-item .name {
  font-size: 14.5px;
  font-weight: 600;
}

.alt-item .name small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--text-mute);
}

.alt-item .size {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-mute);
}

.alt-item .get {
  flex: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-light);
}

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 0.1em;
}

.step h3 {
  margin-top: 14px;
  font-size: 18px;
}

.step p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-dim);
}

.code-block {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #05070e;
  font-family: var(--mono);
  font-size: 13px;
  color: #9fe6c8;
  overflow-x: auto;
  white-space: nowrap;
}

/* ---------- 表格 ---------- */
.table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

thead th {
  padding: 16px 22px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check {
  color: #35e08c;
}

.minus {
  color: var(--text-mute);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.error-code {
  font-size: clamp(110px, 22vw, 240px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, #7d95ff 0%, #21d4fd 40%, #b721ff 80%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shift 8s ease-in-out infinite;
  user-select: none;
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(24px, 4vw, 38px);
}

.error-desc {
  margin: 16px auto 0;
  max-width: 520px;
  color: var(--text-dim);
}

.error-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.error-links {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.error-links a {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}

.error-links a:hover {
  color: #fff;
  border-color: rgba(125, 149, 255, 0.5);
  transform: translateY(-2px);
}

.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  animation: twinkle 3s ease-in-out infinite;
}

/* ---------- 滚动出现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 关键帧 ---------- */
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -28px, 0) scale(1.06); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(53, 224, 140, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(53, 224, 140, 0.04); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-3,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .dl-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px 24px 28px;
    background: rgba(5, 7, 14, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 16.5px;
  }

  .nav-link.active::after {
    display: none;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-text em {
    display: none;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 68px 0 72px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
    margin-top: 54px;
  }

  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 44px 24px;
    border-radius: 24px;
  }

  .card,
  .dl-card,
  .model-card {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 18px;
  }

  .dl-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 620px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
