  :root {
    --bg: #07070B;
    --bg-soft: #0C0C12;
    --surface: #121219;
    --surface-2: #17171F;
    --line: rgba(255, 255, 255, 0.08);
    --text: #F5F5F7;
    --muted: #9C9CAB;
    --brand: #803FEF;
    --brand-light: #A57BFF;
    --brand-soft: rgba(128, 63, 239, 0.14);
    --radius: 20px;
    --max: 1080px;
  }

  * { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
      "Helvetica Neue", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--brand-light); text-decoration: none; }
  a:hover { text-decoration: underline; }
  a:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 3px;
    border-radius: 4px;
  }

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

  .wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ---------- 导航 ---------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 7, 11, 0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 62px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .brand:hover { text-decoration: none; }
  .brand img { width: 26px; height: 26px; }
  .brand span { font-size: 17px; }

  .nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
  }
  .nav-links a { color: var(--muted); }
  .nav-links a:hover { color: var(--text); text-decoration: none; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    text-align: center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 720px;
    background:
      radial-gradient(60% 55% at 50% 38%, rgba(128, 63, 239, 0.30), transparent 70%),
      radial-gradient(40% 40% at 82% 22%, rgba(89, 140, 255, 0.14), transparent 70%);
    pointer-events: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    pointer-events: none;
  }

  .hero .wrap { position: relative; z-index: 1; }

  .hero h1 {
    margin: 34px 0 0;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  .hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #B79BFF, #803FEF 55%, #6E8BFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero p.lead {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: clamp(15px, 2.2vw, 18px);
  }

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

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  }
  .btn:hover { text-decoration: none; transform: translateY(-1px); }

  .btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 30px rgba(128, 63, 239, 0.35);
  }
  .btn-primary:hover { background: #8E52F5; }

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

  .badge-soon {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
  }

  /* ---------- 通用 section ---------- */
  section { scroll-margin-top: 84px; }

  .section { padding: 76px 0; }
  .section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  .section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
  .section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.6vw, 34px);
    letter-spacing: -0.015em;
    line-height: 1.35;
  }
  .section-head p { margin: 0; color: var(--muted); }

  /* ---------- 功能 ---------- */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 18px;
  }

  .card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: border-color 0.18s ease, transform 0.18s ease;
  }
  .card:hover { border-color: rgba(128, 63, 239, 0.45); transform: translateY(-2px); }

  .card .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-light);
    margin-bottom: 16px;
  }
  .card .icon svg { width: 20px; height: 20px; }
  .card h3 { margin: 0 0 8px; font-size: 17px; }
  .card p { margin: 0; color: var(--muted); font-size: 14.5px; }


  /* ---------- 文档 ---------- */
  .doc { max-width: 820px; margin: 0 auto; }
  .doc-meta { color: var(--muted); font-size: 14px; margin: 0 0 34px; }

  .doc h3 {
    margin: 36px 0 10px;
    font-size: 18px;
    letter-spacing: -0.005em;
  }
  .doc h3:first-of-type { margin-top: 0; }
  .doc p { margin: 0 0 12px; color: #C9C9D4; font-size: 15px; }
  .doc ul { margin: 0 0 14px; padding-left: 20px; color: #C9C9D4; font-size: 15px; }
  .doc li { margin: 6px 0; }
  .doc .note {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--brand-soft);
    border: 1px solid rgba(128, 63, 239, 0.35);
    color: #DCD2FF;
    font-size: 14.5px;
    margin: 0 0 26px;
  }

  .table-wrap { overflow-x: auto; margin: 0 0 16px; }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 560px;
  }
  th, td {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    color: #C9C9D4;
    vertical-align: top;
  }
  th { color: var(--text); font-weight: 600; background: rgba(255, 255, 255, 0.03); }

  /* ---------- 页脚 ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 44px 0 56px;
    color: var(--muted);
    font-size: 13.5px;
  }
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    align-items: center;
    justify-content: space-between;
  }
  .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
  .footer-links a { color: var(--muted); }
  .footer-links a:hover { color: var(--text); }

  @media (max-width: 720px) {
    .nav-links { gap: 14px; font-size: 13px; }
    .nav-links a.hide-sm { display: none; }
    .hero { padding: 72px 0 64px; }
    .section { padding: 60px 0; }
    .doc p, .doc ul { font-size: 14.5px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }
  /* ---------- 文档页 ---------- */
  .doc-hero {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
  }
  .doc-hero .crumb {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .doc-hero .crumb a { color: var(--muted); }
  .doc-hero .crumb a:hover { color: var(--text); }
  .doc-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4.4vw, 40px);
    letter-spacing: -0.02em;
    line-height: 1.3;
  }
  .doc-hero .meta { color: var(--muted); font-size: 14px; margin: 0; }
  .doc-page { padding: 48px 0 88px; }
  .doc-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
  }

