/* SmoodyHeal 官网 —— 以 PC 为主、向下兼容移动端 */

:root {
  /* 色板 */
  --bg: #070b16;
  --bg-soft: #0b1226;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .20);
  --ink: #eaf0fb;
  --sub: #9aa8c0;
  --muted: #8290a8;
  --brand: #4d8dff;
  --brand-2: #7b5cff;
  --cyan: #34e2c5;
  --amber: #ffb454;
  --red: #ff6b6b;
  --green: #45d483;

  /* 圆角层级 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  /* 阴影 */
  --shadow: 0 18px 46px rgba(0, 0, 0, .45);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .5);
  --hairline: inset 0 1px 0 rgba(255, 255, 255, .06);

  /* 动效 */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --ring: 0 0 0 3px rgba(77, 141, 255, .42);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给吸顶导航留出空间，否则标题会被盖住 */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg); color: var(--ink); line-height: 1.78;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
code, pre, .mono { font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; }

/* 选中态与滚动条 */
::selection { background: rgba(77, 141, 255, .38); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18); border-radius: 999px;
  border: 2px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .3); background-clip: content-box; }

/* 键盘可达：统一焦点环 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #7fb2ff;
  outline-offset: 2px;
}

/* 跳到主内容（键盘用户） */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 背景氛围 ---------- */
/* 用 radial-gradient 代替 blur(90px)：视觉接近，但不再逼 GPU 每帧重算大范围模糊 */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; opacity: .5; }
.orb.a {
  width: 640px; height: 640px; top: -220px; left: -200px;
  background: radial-gradient(circle, rgba(43, 92, 255, .5), rgba(43, 92, 255, 0) 68%);
  animation: drift1 24s ease-in-out infinite;
}
.orb.b {
  width: 600px; height: 600px; top: 22%; right: -230px;
  background: radial-gradient(circle, rgba(123, 92, 255, .45), rgba(123, 92, 255, 0) 68%);
  animation: drift2 28s ease-in-out infinite;
}
.orb.c {
  width: 560px; height: 560px; bottom: -200px; left: 24%; opacity: .36;
  background: radial-gradient(circle, rgba(18, 179, 154, .45), rgba(18, 179, 154, 0) 68%);
  animation: drift3 32s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(60px,40px,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-70px,60px,0) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(50px,-50px,0) scale(1.15); } }
.grid-fx {
  position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

main { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.narrow { max-width: 900px; }

/* ---------- 导航 ---------- */
header.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(7,11,22,.74);
  backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); background: rgba(7,11,22,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16.5px; flex: none; }
.logo-mark { width: 32px; height: 32px; animation: logoPulse 4.5s ease-in-out infinite; }
@keyframes logoPulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(77,141,255,.4)); }
  50% { filter: drop-shadow(0 0 20px rgba(77,141,255,.85)); }
}
.logo small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--sub); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan)); transition: width .28s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-user { font-size: 13.5px; color: var(--sub); }
.nav-user b { color: #fff; font-weight: 600; }

.burger {
  display: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color .2s ease, background .2s ease;
}
.burger:hover { border-color: var(--line-strong); background: var(--surface-2); }
.burger span {
  display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; padding: 11px 24px; font-size: 14.5px; font-weight: 600; font-family: inherit;
  box-shadow: 0 8px 24px rgba(77,141,255,.32); transition: transform .2s ease, box-shadow .25s ease;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent); transform: skewX(-18deg);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(77,141,255,.5); }
.btn:hover::after { animation: shine .85s ease; }
@keyframes shine { from { left: -60%; } to { left: 130%; } }
.btn.ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong);
  box-shadow: none; padding: 9.5px 22px;
}
.btn.ghost::after { display: none; }
.btn.ghost:hover { border-color: var(--brand); color: #fff; background: rgba(77,141,255,.1); box-shadow: 0 10px 26px rgba(77,141,255,.22); }
.btn.sm { padding: 9px 16px; font-size: 13.5px; }
.btn.ghost.sm { padding: 7.5px 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled::after { display: none; }

/* ---------- 区块 ---------- */
section { padding: 82px 0; position: relative; }
section.sec-lead { padding-top: 56px; padding-bottom: 26px; }
section.sec-tight { padding-top: 8px; }
.sec-head { max-width: 760px; margin-bottom: 42px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: #bcd4ff;
  background: rgba(77,141,255,.12); border: 1px solid rgba(77,141,255,.28);
  border-radius: 999px; padding: 5px 16px; margin-bottom: 14px;
}
h1, h2, h3, h4 { text-wrap: balance; }
.sec-head h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.4; font-weight: 800; letter-spacing: 0; }
.sec-head p { margin-top: 14px; color: var(--sub); font-size: 15.5px; }
/* 章节里的补充说明（原来是散落各处的行内样式） */
.note { margin-top: 18px; font-size: 13.5px; color: var(--sub); line-height: 1.75; }
/* 少量通用间距，替代散落各处的 margin-top 行内样式 */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 20px; }
/* 站内正文里的链接色（原来是行内 style="color:#9dc0ff"） */
.link { color: #9dc0ff; }
.link:hover { color: #bcd4ff; text-decoration: underline; }
/* 居中窄栏，登录 / 表单页用 */
.form-wrap { max-width: 520px; }

/* ---------- 首屏 ---------- */
.hero { padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #bcd4ff;
  background: rgba(77,141,255,.12); border: 1px solid rgba(77,141,255,.3); border-radius: 999px; padding: 6px 16px; margin-bottom: 20px;
}
.eyebrow .live { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: livePulse 2s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(52,226,197,.65); }
  70% { box-shadow: 0 0 0 10px rgba(52,226,197,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,226,197,0); }
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.26; font-weight: 800; letter-spacing: -.01em; }
.hero h1 .grad {
  background: linear-gradient(96deg, #7fb2ff, #b78cff 45%, #34e2c5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%; animation: gradSlide 7s ease-in-out infinite;
}
@keyframes gradSlide { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero p.lead { margin-top: 20px; font-size: clamp(15px, 1.5vw, 17px); color: var(--sub); max-width: 580px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 560px; }
.stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.stat { position: relative; padding-left: 16px; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), transparent); }
.stat b { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.2; }
/* 数字等宽，避免滚动过程中字宽变化导致整行左右抖 */
.stat b .count, .mono { font-variant-numeric: tabular-nums; }
.stat b .unit { font-size: 15px; color: var(--sub); font-weight: 600; margin-left: 3px; }
.stat span { font-size: 12.5px; color: var(--muted); }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 60px rgba(0,0,0,.55)); }
.flow-line { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pulse-a { animation: moveA 3.4s ease-in-out infinite; }
.pulse-b { animation: moveB 3.4s ease-in-out infinite .6s; }
@keyframes moveA { 0% { opacity: 0; transform: translate(0,0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translate(48px,0); } }
@keyframes moveB { 0% { opacity: 0; transform: translate(0,0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translate(0,42px); } }
.glow-dot { animation: glowDot 2.2s ease-in-out infinite; }
@keyframes glowDot { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.spin { transform-origin: 340px 232px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--hairline);
  transition: transform .3s var(--ease), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
/* hover 时顶部浮出一道渐变高光，比单纯换边框色更有质感 */
.card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(140,170,255,.75), transparent);
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: rgba(77,141,255,.45); box-shadow: var(--hairline), 0 16px 34px rgba(0,0,0,.34); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(77,141,255,.28), rgba(123,92,255,.18)); border: 1px solid rgba(77,141,255,.32);
}
.card .ico svg { width: 24px; height: 24px; transition: transform .35s ease; }
.card:hover .ico svg { transform: scale(1.14) rotate(-4deg); }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--sub); }
.card .btn { margin-top: 12px; }

/* ---------- 对比 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel {
  border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--hairline); transition: transform .3s ease, border-color .3s ease;
}
.panel:hover { transform: translateY(-4px); }
.panel.bad:hover { border-color: rgba(255,107,107,.4); }
.panel.good { background: linear-gradient(160deg, rgba(52,226,197,.10), rgba(77,141,255,.06)); border-color: rgba(52,226,197,.24); }
.panel.good:hover { border-color: rgba(52,226,197,.55); }
.panel h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel h3 + h3 { margin-top: 22px; }
.panel h3 .mark { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.panel.bad h3 .mark { background: rgba(255,107,107,.16); color: var(--red); }
.panel.good h3 .mark { background: rgba(52,226,197,.16); color: var(--cyan); }
.panel ul { list-style: none; }
.panel li { font-size: 14.5px; padding: 8px 0 8px 28px; position: relative; color: #c3cee2; }
.panel li::before { position: absolute; left: 0; top: 8px; font-weight: 700; }
.panel.bad li::before { content: "✕"; color: var(--red); }
.panel.good li::before { content: "✓"; color: var(--cyan); }
/* "联系方式 / 公司信息" 这类纯文本列表：不要图标、不要缩进 */
.panel .plain-list li { padding-left: 0; }
.panel .plain-list li::before { content: none; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--hairline);
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(77,141,255,.45); }
.step .num {
  width: 34px; height: 34px; border-radius: 11px; margin-bottom: 14px; display: grid; place-items: center;
  font-size: 14.5px; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(77,141,255,.34);
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--sub); }
.step::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); opacity: 0;
}
.step:not(:last-child)::after { animation: hopDot 2.6s ease-in-out infinite; }
@keyframes hopDot { 0%,100% { opacity: 0; transform: translateX(0); } 40% { opacity: .9; transform: translateX(8px); } 70% { opacity: 0; transform: translateX(16px); } }
.flow-out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.out { border-radius: var(--radius); padding: 20px 22px; font-size: 14px; border: 1px solid var(--line); box-shadow: var(--hairline); }
.out.pass { background: linear-gradient(150deg, rgba(69,212,131,.14), transparent); border-color: rgba(69,212,131,.3); }
.out.fail { background: linear-gradient(150deg, rgba(255,180,84,.13), transparent); border-color: rgba(255,180,84,.28); }
.out b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.out.pass b { color: var(--green); } .out.fail b { color: var(--amber); }

/* ---------- 报告样张 ---------- */
.report {
  border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: var(--shadow);
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 20px 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.conclusion { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.report-meta { font-size: 13px; color: var(--sub); margin-top: 6px; }
.report-aside { font-size: 13px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: livePulse 2s infinite; }
.report-body { display: grid; grid-template-columns: 1fr 1fr; }
.report-col { padding: 22px 24px; }
.report-col + .report-col { border-left: 1px solid var(--line); }
.report-col h5 { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .5px; margin-bottom: 14px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  border-radius: var(--radius-sm); margin-bottom: 9px; font-size: 13.5px; background: rgba(255,255,255,.04);
  border: 1px solid transparent; transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.row:hover { transform: translateX(4px); background: rgba(255,255,255,.07); border-color: var(--line); }
.tag { font-size: 12px; padding: 3px 11px; border-radius: 999px; font-weight: 600; white-space: nowrap; line-height: 1.7; }
.tag.ok { background: rgba(69,212,131,.15); color: var(--green); }
.tag.warn { background: rgba(255,180,84,.15); color: var(--amber); }
.tag.info { background: rgba(77,141,255,.16); color: #9dc0ff; }

/* ---------- 安全 ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-item {
  display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--hairline);
  transition: transform .3s ease, border-color .3s ease;
}
.trust-item:hover { transform: translateY(-4px); border-color: rgba(52,226,197,.4); }
.trust-item .ico { width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); display: grid; place-items: center; background: linear-gradient(150deg, rgba(52,226,197,.2), rgba(77,141,255,.16)); border: 1px solid rgba(52,226,197,.28); }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.trust-item p { font-size: 13.5px; color: var(--sub); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; color: var(--sub); }
.field label .req { color: var(--red); }
input, select, textarea {
  width: 100%; background-color: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--ink); font-size: 14.5px; font-family: inherit; outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: #66738c; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand); background-color: rgba(77,141,255,.08); box-shadow: var(--ring);
}
textarea { min-height: 118px; resize: vertical; }

/* 下拉框：自带箭头在深色底上几乎是黑的，换成自定义箭头 */
select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa8c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
select option { background: #0b1226; color: var(--ink); }

.hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.err { font-size: 13px; color: var(--red); min-height: 18px; }

.checks { display: flex; gap: 14px; flex-wrap: wrap; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--sub); cursor: pointer; }
/* 复选框原来被上面的 input 通用样式（padding 12px / 圆角 12px）搞成一团，这里彻底重画 */
.checks input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; padding: 0; margin: 0;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: 5px;
  background-color: rgba(255,255,255,.05);
  transition: background-color .18s ease, border-color .18s ease;
}
.checks input[type="checkbox"]:hover { border-color: rgba(140,170,255,.6); }
.checks input[type="checkbox"]:checked {
  border-color: transparent; background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}
.checks input[type="checkbox"]:focus-visible { box-shadow: var(--ring); }

/* ---------- 提示条 ---------- */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; border: 1px solid var(--line); background: var(--surface); line-height: 1.7; }
.alert.ok { border-color: rgba(69,212,131,.4); background: rgba(69,212,131,.12); color: #9ff0c1; }
.alert.bad { border-color: rgba(255,107,107,.4); background: rgba(255,107,107,.12); color: #ffb3b3; }
/* 浮动轻提示（app.js 使用） */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 200; max-width: 88vw; box-shadow: var(--shadow);
  animation: toastIn .28s var(--ease);
}
.toast.fade { opacity: 0; transition: opacity .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- 代码块（使用说明） ---------- */
.cmd { position: relative; background: #060a14; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 10px 0; }
.cmd pre { overflow-x: auto; font-size: 13px; line-height: 1.7; color: #d6e4ff; white-space: pre; font-variant-numeric: tabular-nums; }
.cmd .copy {
  position: absolute; right: 10px; top: 10px; font-size: 12px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.06); color: var(--sub); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.cmd .copy:hover { color: #fff; border-color: var(--brand); background-color: rgba(77,141,255,.16); }

/* ---------- 使用说明布局 ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: start; }
.guide-main { grid-column: 1; grid-row: 1; min-width: 0; }
.toc {
  grid-column: 2; grid-row: 1;
  position: sticky; top: calc(var(--nav-h) + 24px); border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--hairline);
  max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto;
}
.toc h5 { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; margin-bottom: 12px; }
.toc a { display: block; font-size: 13.5px; color: var(--sub); padding: 7px 10px; border-radius: 9px; transition: background .2s ease, color .2s ease; }
.toc a:hover { background: rgba(255,255,255,.06); color: #fff; }
.toc a.active { background: rgba(77,141,255,.16); color: #cfe0ff; }
.chapter {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 28px 30px;
  margin-bottom: 22px; box-shadow: var(--hairline); scroll-margin-top: calc(var(--nav-h) + 20px);
}
.chapter:last-child { margin-bottom: 0; }
.chapter h3 { font-size: 20px; margin-bottom: 6px; }
.chapter > p.desc { color: var(--sub); font-size: 14.5px; margin-bottom: 22px; }
.chapter h4 { font-size: 15.5px; margin-bottom: 8px; }
/* 章节内的小标题（"这一章的常见问题"） */
.sub-head { font-size: 15.5px; margin: 18px 0 8px; }
/* 章节内的插图容器 */
.figure { margin-bottom: 8px; }
.figure svg { width: 100%; height: auto; }
.step-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 16px 0; border-top: 1px dashed rgba(255,255,255,.10); }
.step-item:first-of-type { border-top: 0; }
.step-item .n {
  width: 34px; height: 34px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 14px;
  font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-2));
}
.step-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.step-item p { font-size: 14px; color: var(--sub); margin-bottom: 6px; }
.step-item .cmd { margin-bottom: 0; }
/* 步骤里的小字说明（"macOS / Linux（会装到 …）"） */
.step-note { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.table-wrap { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .4px; }
tbody tr:hover { background: rgba(255,255,255,.03); }
.callout {
  border-left: 3px solid var(--brand); background: rgba(77,141,255,.08); border-radius: 0 12px 12px 0;
  padding: 14px 18px; font-size: 14px; color: #c9d8f2; margin: 14px 0; line-height: 1.75;
}
.callout.warn { border-left-color: var(--amber); background: rgba(255,180,84,.09); color: #f3dcbb; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.chip {
  font-size: 12.5px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--sub); transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.chip:hover { color: #fff; border-color: var(--brand); background-color: rgba(77,141,255,.14); }
.chip.on { border-color: var(--brand); background: rgba(77,141,255,.16); color: #cfe0ff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.seg button {
  background: transparent; border: 0; color: var(--sub); font-family: inherit; font-size: 13.5px;
  padding: 8px 18px; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.seg button:hover { color: #fff; }
.seg button.on { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #fff; }

/* ---------- 我的申请（trial.js 渲染） ---------- */
.app-item { display: block; }
.app-item + .app-item { margin-top: 10px; }
.app-item .app-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-item .app-head b { font-size: 14px; }
.app-item .app-meta { margin-top: 6px; }
.app-item .cmd { margin-top: 10px; margin-bottom: 0; }

/* ---------- 结尾与页脚 ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 52px 36px; text-align: center;
  border: 1px solid rgba(77,141,255,.32); background: linear-gradient(120deg, #12224a, #1b1740 45%, #10303a);
  background-size: 220% 100%; animation: gradSlide 12s ease-in-out infinite; box-shadow: var(--shadow-lg);
}
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 120%, rgba(77,141,255,.35), transparent 70%); }
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(21px, 2.7vw, 30px); font-weight: 800; }
.cta p { margin-top: 14px; color: #c3cee2; font-size: 15px; }
.cta .acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
footer.site { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h6 { color: var(--ink); font-size: 13.5px; margin-bottom: 12px; font-weight: 600; }
.foot-grid p { line-height: 1.9; }
.foot-grid a:hover, .foot-note a:hover { color: #bcd4ff; }
.foot-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
/* 只有一行版权、不需要分隔线时 */
.foot-note.bare { border-top: 0; padding-top: 0; }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }

/* ---------- 移动端 ---------- */
@media (max-width: 1080px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-main { grid-column: 1; grid-row: 2; }
  .toc { grid-column: 1; grid-row: 1; position: static; max-height: none; }
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,11,22,.97); border-bottom: 1px solid var(--line); padding: 14px 18px 18px;
    box-shadow: 0 18px 34px rgba(0,0,0,.5); animation: menuIn .22s var(--ease);
  }
  .nav-links.open a { padding: 10px 6px; border-radius: var(--radius-sm); }
  .nav-links.open a:hover { background: rgba(255,255,255,.05); }
  .nav-links.open a::after { display: none; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
  .burger { display: flex; }
  .nav-user span { display: none; }
  .hero { padding: 52px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; max-width: 440px; margin: 0 auto; }
  .stats { gap: 22px; margin-top: 28px; }
  .stat b { font-size: 23px; }
  section { padding: 52px 0; }
  section.sec-lead { padding-top: 40px; padding-bottom: 20px; }
  .compare, .cards, .flow, .flow-out, .report-body, .trust { grid-template-columns: 1fr; }
  .report-col + .report-col { border-left: 0; border-top: 1px solid var(--line); }
  .step::after { display: none; }
  .chapter { padding: 22px 18px; }
  .step-item { grid-template-columns: 1fr; gap: 10px; }
  .cta { padding: 34px 20px; border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-actions .btn, .cta .acts .btn { width: 100%; }
  /* 目录在手机上改成横向胶囊条，吸在导航下面，不占整屏 */
  .toc {
    position: sticky; top: var(--nav-h); z-index: 40; display: flex; gap: 8px;
    overflow-x: auto; padding: 10px; margin-bottom: 18px;
    background: rgba(11,18,38,.92); backdrop-filter: blur(10px);
  }
  .toc h5 { display: none; }
  .toc a { white-space: nowrap; padding: 7px 12px; background: var(--surface); }
  .table-wrap { margin-left: -18px; margin-right: -18px; padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
