/* 代班AI 官网样式。克制的中性色 + 单一品牌蓝，真实界面截图做主视觉。 */
:root {
  --ink: #111318;
  --ink-2: #4b505b;
  --ink-3: #8b909a;
  --line: #e7e8eb;
  --line-2: #f0f1f3;
  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --accent: #2b5cff;
  --accent-ink: #1f46d1;
  --accent-soft: #eef2ff;
  --red: #ff2442;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
.muted { color: var(--ink-3); }
.link { color: var(--accent); }
.link:hover { color: var(--accent-ink); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn .os { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2d35; }
.btn-primary .os { filter: brightness(0) invert(1); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: #cfd2d8; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-disabled { background: var(--paper-2); color: var(--ink-3); cursor: default; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu { display: none; }

/* 首屏 */
.hero { padding: 96px 0 0; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero h1 { margin: 28px auto 20px; font-size: 64px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.hero .lead { max-width: 560px; margin: 0 auto; font-size: 19px; color: var(--ink-2); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--ink-3); display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-meta .os { width: 14px; height: 14px; opacity: .7; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-shot { margin-top: 72px; }

/* 截图框 */
.frame { border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 24px 64px -24px rgba(17, 19, 24, .18); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfbfa; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e4e7; }
.frame img { width: 100%; }
.hero-shot .frame { border-radius: 18px; box-shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 40px 80px -36px rgba(17, 19, 24, .28); }
.principles-wrap { padding-top: 96px; }

/* 区块 */
.section { padding: 128px 0; }
.section.tint { background: var(--paper-2); }
.section.line { border-top: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: 40px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.sub { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

/* 三条原则 */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles div { padding: 28px 24px; }
.principles div + div { border-left: 1px solid var(--line); }
.principles strong { display: block; font-size: 16px; font-weight: 600; }
.principles span { font-size: 14px; color: var(--ink-3); }

/* 功能行 */
.row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.row + .row { margin-top: 128px; }
.row.flip { grid-template-columns: 1.15fr .85fr; }
.row.flip .row-text { order: 2; }
.row-text h3 { font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.row-text p { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.row-text .eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; }
.points { margin-top: 28px; display: grid; gap: 14px; }
.points li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--ink); }
.row-media { background: var(--paper-2); border-radius: 20px; padding: 36px; display: grid; place-items: center; }
.row-media .frame { width: 100%; max-width: 560px; box-shadow: 0 24px 48px -28px rgba(17, 19, 24, .28); }
.row-media.tall .frame { max-width: 340px; }

/* 步骤（首页简版） */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps3 li { counter-increment: s; padding-top: 24px; border-top: 1px solid var(--ink); }
.steps3 li::before { content: "0" counter(s); display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 14px; }
.steps3 h3 { font-size: 19px; font-weight: 600; }
.steps3 p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.more { margin-top: 48px; font-size: 15px; }

/* 价格 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.plan.pick { border-color: var(--ink); }
.plan-name { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.plan-name em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 2px 10px; border-radius: 999px; background: var(--paper-2); }
.price { margin: 18px 0 4px; font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.price small { font-size: 20px; font-weight: 600; margin-right: 2px; }
.price span { font-size: 15px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.plan-note { font-size: 13px; color: var(--ink-3); min-height: 22px; }
.plan ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.price-foot { margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.price-foot span { display: inline-flex; align-items: center; gap: 6px; }
.price-foot img { width: 16px; height: 16px; border-radius: 4px; }

/* 下载 */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.dl-card.picked { border-color: var(--ink); }
.dl-card h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.dl-card h3 img { width: 24px; height: 24px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.dl-row:first-of-type { border-top: 0; }
.dl-row > div { display: grid; min-width: 0; }
.dl-row strong { font-size: 14px; font-weight: 500; }
.dl-row span { font-size: 12px; color: var(--ink-3); }
.dl-row .btn { flex-shrink: 0; height: 34px; padding: 0 14px; font-size: 13px; }
.dl-row .btn-primary .os { display: none; }
.dl-tip { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.dl-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); margin-top: -5px; transform: rotate(45deg); transition: transform .2s, margin .2s; }
.faq details[open] summary::after { margin-top: 5px; transform: rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 15px; }

/* 结尾 */
.closing { padding: 120px 0; text-align: center; border-top: 1px solid var(--line); }
.closing .h2 { font-size: 36px; }
.closing p { margin-top: 12px; color: var(--ink-2); }
.closing .hero-actions { margin-top: 32px; }

/* 页脚 */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 15px; color: var(--ink); }
.footer .brand img { width: 22px; height: 22px; border-radius: 6px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a:hover { color: var(--ink); }

/* 文档页（教程 / 案例 / 新手） */
.page-head { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; max-width: 780px; }
.page-head p { margin-top: 16px; max-width: 620px; font-size: 17px; color: var(--ink-2); }
.page-meta { margin-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.doc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; padding: 64px 0 120px; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; font-size: 14px; }
.toc a { padding: 6px 0 6px 14px; border-left: 1px solid var(--line); color: var(--ink-3); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--ink); }
.doc { max-width: 720px; }
.doc section { padding-bottom: 64px; scroll-margin-top: 96px; }
.doc section + section { padding-top: 64px; border-top: 1px solid var(--line); }
.doc h2 { font-size: 26px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 32px 0 8px; }
.doc p { color: var(--ink-2); margin-bottom: 14px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .list { display: grid; gap: 10px; margin: 8px 0 16px; }
.doc .list li { position: relative; padding-left: 20px; color: var(--ink-2); }
.doc .list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--ink-2); }
.doc ol.num { counter-reset: n; display: grid; gap: 10px; margin: 8px 0 16px; }
.doc ol.num li { counter-increment: n; position: relative; padding-left: 28px; color: var(--ink-2); }
.doc ol.num li::before { content: counter(n); position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); font-size: 11px; line-height: 16px; text-align: center; color: var(--ink-2); }
.callout { margin: 20px 0; padding: 16px 20px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 15px; }
.callout.warn { background: #fff7ed; color: #9a4a07; }
.callout strong { color: inherit; }
.quote { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--ink); font-size: 18px; line-height: 1.7; color: var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.table th, .table td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.table td:first-child { color: var(--ink-3); white-space: nowrap; }
.table td.hi { color: var(--ink); font-weight: 600; }
.scroll-x { overflow-x: auto; }
.code { margin: 16px 0; padding: 18px 20px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); font-size: 14px; line-height: 1.9; color: var(--ink-2); white-space: pre-wrap; }
.fine { margin-top: 24px; font-size: 12px; color: var(--ink-3); line-height: 1.8; }

/* 赛道 */
.tier { margin-top: 40px; }
.tier-name { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.track { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.track b { font-size: 13px; color: var(--ink-3); font-weight: 500; padding-top: 2px; }
.track h4 { font-size: 16px; font-weight: 600; }
.track p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.track small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.track em { font-style: normal; font-size: 13px; color: var(--ink-2); white-space: nowrap; padding-top: 2px; }

/* 时间线 */
.timeline { display: grid; margin: 16px 0; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-size: 14px; font-weight: 600; }
.timeline span { font-size: 15px; color: var(--ink-2); }

/* 使用教程 */
.tut-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; }
.tut-step + .tut-step { margin-top: 0; }
.tut-num { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; padding-top: 6px; }
.tut-step h2 { margin-bottom: 10px; }
.tut-step .frame { margin-top: 24px; }
.tut-step figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 10px 20px; margin: 16px 0; font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink-2); }
.checklist { display: grid; gap: 12px; margin-top: 8px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-2); }
.checklist li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 5px; border: 1px solid #c9ccd3; border-radius: 4px; }

/* 窄屏 */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary i { width: 14px; height: 1.5px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }
  .menu nav { position: absolute; right: 0; top: 44px; width: 200px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(17, 19, 24, .25); display: grid; }
  .menu nav a { padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
  .menu nav a:hover { background: var(--paper-2); color: var(--ink); }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 17px; }
  .hero-shot { margin-top: 48px; }
  .section { padding: 80px 0; }
  .h2 { font-size: 30px; }
  .head { margin-bottom: 40px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles div:nth-child(3) { border-left: 0; }
  .principles div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 32px; }
  .row.flip .row-text { order: 0; }
  .row + .row { margin-top: 80px; }
  .row-text h3 { font-size: 24px; }
  .row-media { padding: 20px; }
  .steps3, .plans, .downloads { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .toc { display: none; }
  .page-head { padding: 56px 0 40px; }
  .page-head h1 { font-size: 32px; }
  .tut-step { grid-template-columns: 1fr; gap: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .track { grid-template-columns: 32px 1fr; }
  .track em { grid-column: 2; }
  .closing .h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .hero h1 { font-size: 36px; }
  .nav-cta .btn-sm { padding: 0 14px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .faq details p { padding-right: 0; }
}
h1, .h2, .row-text h3, .lead, .sub { text-wrap: balance; }
.footer .brand .slogan { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: .04em; }
.hero h1 { font-size: 60px; }
@media (max-width: 980px) { .hero h1 { font-size: 40px; } }
@media (max-width: 560px) { .hero h1 { font-size: 34px; } }

/* 动画教程播放器 */
.dp { position: relative; }
.dp-box { position: relative; width: 100%; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #f3f5fb; }
.dp-stage { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; background: radial-gradient(70% 90% at 85% 10%, #e8eeff 0%, rgba(232,238,255,0) 60%), linear-gradient(180deg, #fafaf8, #f2f3f6); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); }
.dp-head { position: absolute; left: 64px; top: 34px; display: flex; align-items: center; gap: 14px; }
.dp-head img { width: 46px; height: 46px; }
.dp-head b { font-size: 26px; letter-spacing: .02em; }
.dp-head span { font-size: 20px; color: var(--ink-3); padding-left: 14px; border-left: 2px solid var(--line); letter-spacing: .06em; }
.dp-app { position: absolute; left: 64px; top: 108px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -36px rgba(17, 19, 24, .35); }
.dp-bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #fbfbfa; border-bottom: 1px solid var(--line-2); }
.dp-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e1e2e6; }
.dp-view { position: relative; overflow: hidden; }
.dp-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.dp-layer img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s; }
.dp-layer img.on { opacity: 1; }
.dp-anim { transition: transform .9s cubic-bezier(.45, 0, .2, 1); }
.dp-marks { position: absolute; inset: 0; pointer-events: none; }
.dp-mark { position: absolute; border-radius: 12px; border: 3px solid var(--accent); box-shadow: 0 0 0 4000px rgba(17, 19, 24, .26), 0 0 0 8px rgba(43, 92, 255, .18); transition: left .9s cubic-bezier(.45,0,.2,1), top .9s cubic-bezier(.45,0,.2,1), width .9s cubic-bezier(.45,0,.2,1), height .9s cubic-bezier(.45,0,.2,1); animation: dpMark .35s ease; }
@keyframes dpMark { from { opacity: 0; transform: scale(1.04); } }
.dp-cursor { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -4px 0 0 -6px; opacity: 0; pointer-events: none; transition: opacity .3s; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.dp-cursor.show { opacity: 1; }
.dp-cursor.dp-anim { transition: transform .8s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.dp-cursor svg { width: 100%; height: 100%; transition: transform .12s; transform-origin: 20% 15%; }
.dp-cursor.press svg { transform: scale(.82); }
.dp-ripple { position: absolute; width: 0; height: 0; pointer-events: none; }
.dp-ripple::after { content: ""; position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; background: rgba(43, 92, 255, .35); transform: scale(0); opacity: 0; }
.dp-ripple.go::after { animation: dpRipple .6s ease-out; }
@keyframes dpRipple { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.dp-panel { position: absolute; left: 1150px; top: 108px; width: 390px; }
.dp-panel.in > * { animation: dpIn .55s cubic-bezier(.2, .7, .2, 1) both; }
.dp-panel.in > *:nth-child(2) { animation-delay: .06s; }
.dp-panel.in > *:nth-child(3) { animation-delay: .12s; }
.dp-panel.in > *:nth-child(4) { animation-delay: .18s; }
@keyframes dpIn { from { opacity: 0; transform: translateY(14px); } }
.dp-step { display: inline-block; font-size: 19px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.dp-panel h3 { margin: 18px 0 18px; font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.dp-panel p { font-size: 25px; line-height: 1.6; color: var(--ink-2); }
.dp-panel small { display: block; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.6; color: var(--ink-3); }
.dp-prog { position: absolute; left: 64px; right: 64px; top: 830px; display: flex; gap: 10px; cursor: pointer; }
.dp-prog i { flex: 1; height: 6px; border-radius: 3px; background: rgba(17, 19, 24, .1); overflow: hidden; padding: 0; }
.dp-prog i b { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; }
.dp-cover { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: inherit; }
.dp-cover.on { display: flex; animation: dpFade .6s ease; }
.dp-cover img { width: 150px; height: 150px; margin-bottom: 40px; animation: dpIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.dp-cover h2 { font-size: 84px; font-weight: 800; letter-spacing: -.01em; animation: dpIn .7s .1s cubic-bezier(.2, .7, .2, 1) both; }
.dp-cover p { margin-top: 20px; font-size: 30px; color: var(--ink-2); animation: dpIn .7s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dpFade { from { opacity: 0; } }
.dp-caption { display: none; margin-top: 16px; }
.dp-caption .dp-step { font-size: 13px; }
.dp-caption h3 { margin: 4px 0 6px; font-size: 20px; font-weight: 700; }
.dp-caption p { font-size: 15px; color: var(--ink-2); }
.dp-caption small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.dp-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.dp-ctrl button { height: 36px; min-width: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.dp-ctrl button:hover { border-color: #cfd2d8; }
.dp-ctrl .dp-play { min-width: 72px; }
.dp-ctrl .dp-pos { margin-left: 6px; font-variant-numeric: tabular-nums; }
.dp-ctrl .dp-full { margin-left: auto; color: var(--accent); }
.dp-narrow .dp-head, .dp-narrow .dp-panel, .dp-narrow .dp-prog { display: none; }
.dp-narrow .dp-app { left: 128px; top: 15px; }
.dp-narrow .dp-caption { display: block; }
.dp-record { width: 100vw; height: 100vh; display: grid; place-items: center; background: #0d0e11; }
.dp-record .dp-box { border: 0; border-radius: 0; }
.demo-section { padding: 48px 0 24px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--ink); padding: 6px 16px; }
.kicker i { background: var(--accent); }

/* 案例页图文组件 */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.case-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .2s; }
.case-card:hover { border-color: var(--ink); }
.case-card .tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.case-card h3 { margin: 10px 0 20px; font-size: 20px; font-weight: 700; line-height: 1.45; }
.case-nums { display: flex; gap: 32px; flex-wrap: wrap; }
.case-nums div { display: grid; }
.case-nums strong { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.case-nums span { font-size: 13px; color: var(--ink-3); }
.figure { margin: 28px 0; padding: 28px; border-radius: 16px; background: var(--paper-2); }
.figure figcaption { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.figure svg { display: block; width: 100%; height: auto; }
.htl { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.htl::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: var(--line); }
.htl li { position: relative; text-align: center; padding: 0 6px; }
.htl li::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 14px; border-radius: 50%; background: var(--paper); border: 2px solid #c9ccd3; position: relative; }
.htl li.hit::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(43, 92, 255, .15); }
.htl li.bad::before { border-color: #e5484d; }
.htl b { display: block; font-size: 14px; }
.htl span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.gate { padding: 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.gate.ok { border-color: var(--ink); }
.gate h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.gate h4 em { font-style: normal; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); }
.gate.ok h4 em { background: var(--ink); color: #fff; }
.gate li { font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.path span { padding: 8px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.path span.end { background: var(--ink); color: #fff; border-color: var(--ink); }
.path i { font-style: normal; color: var(--ink-3); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.tcard { padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tcard b { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.tcard h4 { margin: 4px 0 6px; font-size: 15px; font-weight: 600; }
.tcard p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.tcard em { margin-top: 10px; font-style: normal; font-size: 12px; color: var(--ink-3); }
.tcard em strong { color: var(--ink); }
.tier-label { margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; align-items: start; }
.duo figure .frame { box-shadow: 0 16px 40px -24px rgba(17, 19, 24, .3); }
.duo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.rules4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.rules4 div { padding: 20px; border-radius: 14px; background: var(--paper-2); }
.rules4 h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.rules4 li { font-size: 14px; color: var(--ink-2); padding: 3px 0 3px 16px; position: relative; }
.rules4 li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 1px; background: var(--ink-2); }
.source { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.source a { color: var(--accent); }
@media (max-width: 980px) {
  .cases, .gates, .tgrid, .duo, .rules4 { grid-template-columns: 1fr; }
  .htl { grid-template-columns: 1fr; gap: 14px; }
  .htl::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .htl li { display: grid; grid-template-columns: 18px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .htl li::before { margin: 2px 0 0; grid-row: span 2; }
  .htl span { margin-top: 0; }
}
.duo .frame img { height: 440px; object-fit: cover; object-position: top center; }
@media (max-width: 980px) { .duo .frame img { height: 380px; } }

/* 案例页：手机界面示意 */
.phones { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 24px 0 8px; }
.phone { width: 210px; flex-shrink: 0; border-radius: 34px; padding: 8px; background: #16181d; box-shadow: 0 24px 48px -24px rgba(17, 19, 24, .45); }
.phone-in { height: 410px; border-radius: 27px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: 12px; color: #222; position: relative; }
.phone-in::before { content: ""; display: block; height: 26px; flex-shrink: 0; background: linear-gradient(90deg, transparent 38%, #16181d 38%, #16181d 62%, transparent 62%) top / 100% 18px no-repeat; }
.ph-title { padding: 6px 14px 10px; font-size: 14px; font-weight: 600; text-align: center; border-bottom: 1px solid #f0f0f0; }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #f4f4f4; }
.ph-row i { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 13px; }
.ph-row b { flex: 1; font-weight: 500; }
.ph-row em { font-style: normal; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: #ff2442; color: #fff; font-size: 10px; text-align: center; }
.ph-row small { color: #999; }
.ph-row.hl { background: #fff4f5; box-shadow: inset 3px 0 0 #ff2442; }
.ph-card { margin: 10px 12px; padding: 12px; border-radius: 12px; border: 1px solid #f0f0f0; }
.ph-card.hl { border-color: #ff2442; box-shadow: 0 0 0 3px rgba(255, 36, 66, .12); }
.ph-card b { display: block; font-size: 13px; }
.ph-card p { margin: 4px 0 0; color: #888; font-size: 11px; line-height: 1.5; }
.ph-btn { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 999px; background: #ff2442; color: #fff; font-size: 11px; }
.ph-toggle { display: flex; justify-content: space-between; align-items: center; }
.ph-toggle span { width: 32px; height: 18px; border-radius: 9px; background: #ff2442; position: relative; }
.ph-toggle span::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ph-box { margin-top: 8px; padding: 8px; border-radius: 8px; background: #f7f7f7; color: #555; font-size: 11px; line-height: 1.6; }
.ph-img { margin: 0 12px; height: 150px; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #dfe7ff); display: grid; place-items: center; text-align: center; color: #1f3fd4; font-weight: 700; font-size: 18px; line-height: 1.3; }
.ph-note { padding: 10px 14px; }
.ph-note b { font-size: 13px; }
.ph-note p { margin: 4px 0 0; color: #666; font-size: 11px; line-height: 1.6; }
.ph-goods { position: absolute; left: 12px; bottom: 54px; display: flex; gap: 8px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; background: #fff7d6; border: 1px solid #ffe38a; font-size: 11px; }
.ph-goods i { width: 28px; height: 28px; border-radius: 6px; background: #ffd34d; }
.ph-cmt { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; border-top: 1px solid #f0f0f0; font-size: 11px; color: #555; background: #fff; }
.ph-cmt b { color: #ff2442; font-weight: 600; margin-right: 4px; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
.ph-sheet p { margin: 0 0 8px; font-weight: 600; font-size: 12px; }
.ph-dim { position: absolute; inset: 26px 0 0; background: rgba(0,0,0,.35); }
.ph-step { text-align: center; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.ph-step b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.ph-wrap { display: flex; flex-direction: column; align-items: center; }
.ph-order { margin: 14px 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #fff1f3, #fff); border: 1px solid #ffe0e5; }
.ph-order small { color: #999; font-size: 11px; }
.ph-order strong { display: block; margin: 4px 0; font-size: 34px; color: #ff2442; letter-spacing: -.02em; }
.ph-order p { margin: 0; font-size: 11px; color: #666; }
.ph-push { margin: 10px 12px 0; padding: 10px 12px; border-radius: 14px; background: #f3f4f6; font-size: 11px; color: #333; }
.ph-push b { display: block; font-size: 12px; margin-bottom: 2px; }
.ph-push small { float: right; color: #999; }
.sketch-note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--ink-3); }
.split { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin: 24px 0; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; justify-items: center; gap: 20px; } }

/* 赛道封面卡 */
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.cover { display: flex; flex-direction: column; }
.cover-img { aspect-ratio: 3 / 4; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; position: relative; }
.cover-img b { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.cover-img span { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.92); color: #111; font-size: 11px; font-weight: 600; }
.cover-img i { position: absolute; right: -18px; bottom: -18px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.16); }
.cover h4 { margin: 10px 0 2px; font-size: 14px; font-weight: 600; }
.cover p { margin: 0; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.cover p strong { color: var(--ink); }
.c1 { background: linear-gradient(160deg, #ff8fa3, #ff4d6d); } .c2 { background: linear-gradient(160deg, #5b8cff, #2b5cff); } .c3 { background: linear-gradient(160deg, #ffc86b, #ff9f1c); }
.c4 { background: linear-gradient(160deg, #6ee7b7, #10b981); } .c5 { background: linear-gradient(160deg, #a78bfa, #7c3aed); } .c6 { background: linear-gradient(160deg, #67e8f9, #0891b2); }
@media (max-width: 980px) { .covers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .phones { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -16px; margin-right: -16px; padding: 4px 16px 12px; -webkit-overflow-scrolling: touch; }
  .ph-wrap { scroll-snap-align: center; }
}
.doc { min-width: 0; }
@media (max-width: 980px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); justify-items: stretch; } .split > * { min-width: 0; } }

/* 案例页：原文截图 */
.case-card .case-thumb { margin: -28px -28px 20px; height: 150px; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--paper-2); }
.case-card .case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pic { margin: 24px 0; }
.pic img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-2); }
.pic figcaption, .shots figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.pic.small img { max-width: 420px; margin: 0 auto; }
.pic-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; align-items: start; }
.pic-row .pic { margin: 0; }
.shots { display: flex; gap: 14px; overflow-x: auto; margin: 20px 0; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots figure { flex: 0 0 168px; scroll-snap-align: start; }
.shots img { width: 168px; height: 340px; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line); background: var(--paper-2); }
.shots figcaption { text-align: left; }
.shots figcaption b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.cover-img.photo { padding: 0; background: var(--paper-2); }
.cover-img.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cover-img.photo span { position: absolute; left: 10px; bottom: 10px; }
@media (max-width: 980px) { .pic-row { grid-template-columns: 1fr; } .shots { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } }

/* 首页首屏 v2：左文右图，强调收益 */
.hero2 { padding: 88px 0 72px; background: radial-gradient(50% 60% at 80% 30%, #eef2ff 0%, rgba(238, 242, 255, 0) 70%); overflow: hidden; }
.hero2-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.hero2 h1 { margin: 24px 0 22px; font-size: 68px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-wrap: initial; }
.hero2 h1 em { font-style: normal; color: var(--accent); }
.hero2 .lead { margin: 0; max-width: 440px; font-size: 19px; line-height: 1.75; color: var(--ink-2); text-wrap: initial; }
.hero2 .hero-actions { justify-content: flex-start; margin-top: 36px; }
.hero2 .btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.hero2 .hero-meta { justify-content: flex-start; gap: 20px; margin-top: 20px; }
.hero2 .hero-meta span { gap: 6px; }
.hero2 .hero-meta .os { opacity: .55; }
.hero2-visual { position: relative; }
.hero2-visual .frame { border-radius: 16px; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; box-shadow: 0 50px 100px -40px rgba(17, 19, 24, .35), 0 0 0 1px var(--line); }
.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 20px 50px -18px rgba(17, 19, 24, .35), 0 0 0 1px rgba(17, 19, 24, .05); font-size: 13px; }
.float b { display: block; font-weight: 600; color: var(--ink); }
.float small { display: block; color: var(--ink-3); font-size: 12px; }
.float .dot { width: 10px; height: 10px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 5px rgba(18, 183, 106, .15); flex-shrink: 0; }
.float.f1 { left: -36px; bottom: 56px; animation: floatIn .8s .3s both; }
.float.f2 { right: -12px; top: -28px; flex-direction: column; align-items: stretch; gap: 8px; animation: floatIn .8s .55s both; }
.float.f2 .reply { padding-top: 8px; border-top: 1px solid var(--line-2); }
.float.f2 .reply b { color: var(--accent); }
@keyframes floatIn { from { opacity: 0; transform: translateY(12px); } }
.gains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gains div { padding: 30px 28px 30px 0; }
.gains div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.gains strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.gains span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 980px) {
  .hero2 { padding: 48px 0 56px; }
  .hero2-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero2 h1 { font-size: 46px; }
  .hero2 .lead { font-size: 17px; }
  .hero2-visual .frame { transform: none; }
  .float.f1 { left: 8px; bottom: -20px; }
  .float.f2 { right: 8px; top: -24px; }
  .gains { grid-template-columns: 1fr 1fr; }
  .gains div, .gains div + div { padding: 22px 16px; border-left: 0; }
  .gains div:nth-child(2n) { border-left: 1px solid var(--line); }
  .gains div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .hero2 h1 { font-size: 40px; } .float { padding: 10px 12px; font-size: 12px; } .float.f2 { display: none; } }
.shots img { object-fit: contain; object-position: center; background: #f2f3f5; }
.agreement section { padding-bottom: 40px; }
.agreement section + section { padding-top: 40px; }
.agreement h2 { font-size: 20px; }
.agreement p { font-size: 15px; line-height: 1.9; }
.agreement .clause b { color: var(--ink-3); font-weight: 500; margin-right: 2px; }
.agreement strong { color: var(--ink); }
