html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #0B1020; color: #E8ECF5; line-height: 1.8; }
a { color: #2EE6A8; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 左侧固定栏目栏 */
.sidebar { position: fixed; top: 0; left: 0; width: 260px; height: 100vh; background: #111832; border-right: 1px solid rgba(46,230,168,.18); padding: 28px 20px; display: flex; flex-direction: column; z-index: 50; }
.site-brand { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; font-size: 18px; color: #2EE6A8; letter-spacing: 1px; margin-bottom: 28px; }
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-link { display: block; padding: 9px 12px; border-radius: 8px; color: #9AA6BF; border: 1px solid transparent; font-weight: 600; }
.nav-link:hover, .nav-link:focus { color: #2EE6A8; background: rgba(46,230,168,.08); border-color: rgba(46,230,168,.25); }
.sidebar-meta { margin-top: auto; font-size: 12px; color: #55617e; letter-spacing: 2px; }

/* 主内容区 */
.main { margin-left: 260px; padding: 40px 32px 56px; max-width: 980px; }
.section { margin-bottom: 64px; scroll-margin-top: 40px; }
.section h2 { font-size: 26px; color: #E8ECF5; border-left: 4px solid #2EE6A8; padding-left: 14px; margin-bottom: 18px; }
h1 { font-size: 42px; color: #FFFFFF; font-weight: 800; margin: 0 0 6px; letter-spacing: 1px; }
#subtitle { color: #7C6BFF; font-size: 18px; margin: 0 0 18px; font-weight: 600; }
.hero-summary { color: #B9C2D6; max-width: 720px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; margin-right: 12px; }
.btn-primary { background: #2EE6A8; color: #0B1020; }
.btn-primary:hover { background: #54f0bc; }
.btn-ghost { border: 1px solid #7C6BFF; color: #7C6BFF; }
.btn-ghost:hover { background: rgba(124,107,255,.12); }
.hero-stats { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(124,107,255,.35); border-radius: 12px; padding: 12px 18px; text-align: center; min-width: 96px; }
.stat-num { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 26px; color: #2EE6A8; font-weight: 700; }
.section-img { margin: 10px 0 18px; border-radius: 14px; border: 1px solid rgba(46,230,168,.22); }

.steps { counter-reset: step; padding-left: 0; list-style: none; }
.steps li { position: relative; padding: 14px 16px 14px 68px; background: rgba(255,255,255,.04); border: 1px solid #1f2740; border-radius: 12px; margin-bottom: 10px; }
.step-no { position: absolute; left: 16px; top: 14px; font-family: "JetBrains Mono", ui-monospace, monospace; color: #2EE6A8; font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 16px 0; }
.card { background: rgba(255,255,255,.04); border: 1px solid #1f2740; border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 8px; color: #2EE6A8; font-size: 17px; }
.card:hover { transform: translateY(-2px); border-color: rgba(124,107,255,.6); }

.note { border: 1px dashed rgba(46,230,168,.4); border-radius: 12px; padding: 12px 16px; color: #B9C2D6; margin: 14px 0; }

.checklist { padding-left: 22px; color: #C7D0E2; }
.checklist li { margin: 6px 0; }

.compare { width: 100%; border-collapse: collapse; margin: 14px 0; }
.compare th, .compare td { border: 1px solid #1f2740; padding: 10px 12px; text-align: left; }
.compare th { background: #151d38; color: #2EE6A8; }
.compare tr:hover td { background: rgba(46,230,168,.06); }

.faq-item { border: 1px solid #1f2740; border-radius: 12px; margin-bottom: 10px; background: rgba(255,255,255,.03); }
.faq-item summary { padding: 14px 18px; cursor: pointer; font-weight: 600; color: #E8ECF5; }
.faq-item summary:hover { color: #2EE6A8; }
.faq-item p { padding: 0 18px 14px; margin: 0; color: #B9C2D6; }

.trouble-box h3 { color: #7C6BFF; margin: 16px 0 8px; }

.kwd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.kwd-card { display: block; background: rgba(255,255,255,.04); border: 1px solid #1f2740; border-radius: 10px; padding: 12px 16px; color: #E8ECF5; font-weight: 600; }
.kwd-card:hover { background: rgba(46,230,168,.1); border-color: #2EE6A8; color: #2EE6A8; }

.footer { border-top: 1px solid #1f2740; padding-top: 22px; color: #9AA6BF; font-size: 14px; }
.footer-brand { font-family: "JetBrains Mono", ui-monospace, monospace; color: #2EE6A8; font-weight: 700; margin-bottom: 6px; }
.back-top { display: inline-block; margin-top: 8px; color: #7C6BFF; }

/* 手机按钮 */
.menu-toggle { display: none; }
.sidebar-overlay { display: none; }

/* 手机适配 */
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; position: fixed; top: 14px; left: 14px; z-index: 60; background: #2EE6A8; color: #0B1020; border: none; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
  .sidebar { transform: translateX(-100%); transition: transform .28s ease; visibility: hidden; }
  .sidebar.open { transform: translateX(0); visibility: visible; }
  .sidebar-overlay.show { opacity: 1; visibility: visible; }
  .sidebar-overlay { display: block; position: fixed; inset: 0; background: rgba(5,8,18,.6); z-index: 40; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
  .main { margin-left: 0; width: 100%; padding: 84px 16px 40px; }
  h1 { font-size: 28px; }
  #subtitle { font-size: 15px; }
  .section { margin-bottom: 40px; scroll-margin-top: 72px; }
  .section h2 { font-size: 20px; }
  .hero-stats { gap: 10px; }
  .stat { min-width: 74px; padding: 10px 12px; }
  .stat-num { font-size: 20px; }
  .btn { display: block; width: 100%; text-align: center; margin: 0 0 10px; }
  .card-grid, .kwd-grid { grid-template-columns: 1fr; }
  .compare { font-size: 13px; }
  .steps li { padding-left: 56px; }
  .step-no { left: 12px; }
  .section-img { height: auto; }
  body { overflow-x: hidden; }
}
