/* MeaiChat 官网 */
:root {
  --p: #2456e8; --p-2: #1d47c4; --p-soft: #eaf0fe;
  --ink: #161b26; --ink-2: #4b5363; --ink-3: #8a91a0;
  --bg: #ffffff; --bg-2: #f5f7fb; --card: #ffffff; --line: #e6e9f0;
  --ok: #129a5c; --ok-soft: #e4f6ec; --bad: #d9383e; --bad-soft: #fdecec; --warn: #c27a06;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -8px rgba(16, 24, 40, .12);
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --p: #5b85ff; --p-2: #7b9cff; --p-soft: #1c2747; --ink: #eef0f4; --ink-2: #b4bac6; --ink-3: #7d8494; --bg: #0f1218; --bg-2: #151a22; --card: #1a1f29; --line: #2a303c; --ok: #35c27e; --ok-soft: #15301f; --bad: #ff6b70; --bad-soft: #3a1c1e; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -8px rgba(0,0,0,.5); color-scheme: dark; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--p); text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.sm { font-size: 13px; }

/* 标志：纯色气泡 + 三个点 */
.logo { width: 30px; height: 30px; display: inline-block; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 5C13.5 5 5 12.6 5 22c0 5.2 2.6 9.9 6.8 13L10 43l8.6-4.3c1.7.4 3.5.6 5.4.6 10.5 0 19-7.6 19-17S34.5 5 24 5Z' fill='%232456e8'/%3E%3Ccircle cx='16' cy='22' r='3' fill='%23fff'/%3E%3Ccircle cx='24' cy='22' r='3' fill='%23fff'/%3E%3Ccircle cx='32' cy='22' r='3' fill='%23fff'/%3E%3C/svg%3E"); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand.sm .logo { width: 22px; height: 22px; } .brand.sm b { font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 9px; border: 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .15s; }
.btn.primary { background: var(--p); color: #fff; box-shadow: 0 1px 2px rgba(36,86,232,.3), inset 0 1px 0 rgba(255,255,255,.12); }
.btn.primary:hover { background: var(--p-2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 11px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.btn:active { transform: translateY(1px); }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: inset 0 -1px 0 var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.links { display: flex; gap: 22px; }
.links a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.links a:hover { color: var(--ink); }
.nav-acts { margin-left: auto; display: flex; gap: 8px; }

/* 首屏 */
.hero { padding: 56px 0 72px; background: radial-gradient(1000px 420px at 85% 10%, var(--p-soft), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--p); background: var(--p-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: 18px; color: var(--ink-2); margin: 20px 0 0; max-width: 560px; }
.lead.sm { font-size: 16px; }
.hero-cta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-soft) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2L9.5 3.6' fill='none' stroke='%23129a5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 首屏插图：接线端 + 访客窗口（纯 HTML/CSS 画的） */
.hero-art { position: relative; min-height: 470px; }
.desk { position: absolute; inset: 0 40px 96px 0; background: var(--card); border-radius: 16px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.desk-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.desk-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.desk-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.desk-body { flex: 1; display: grid; grid-template-columns: 200px 1fr; min-height: 0; }
.d-list { border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.d-item { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; font-size: 12.5px; }
.d-item.on { background: var(--p-soft); }
.d-item div { flex: 1; min-width: 0; }
.d-item b { display: block; font-weight: 600; }
.d-item small { display: block; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-item em { font-style: normal; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; display: grid; place-items: center; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 600; flex: none; }
.a1 { background: linear-gradient(135deg, #93c5fd, #3b82f6); } .a2 { background: linear-gradient(135deg, #f9a8d4, #db2777); } .a3 { background: linear-gradient(135deg, #86efac, #16a34a); } .a4 { background: linear-gradient(135deg, #fcd34d, #d97706); }
.d-chat { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; min-width: 0; }
.d-hd { display: flex; align-items: center; gap: 8px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tagx { font-size: 11px; color: var(--p); background: var(--p-soft); padding: 1px 7px; border-radius: 5px; }
.dot-on { font-size: 11.5px; color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.dot-on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.b { max-width: 78%; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.b.in { background: var(--bg-2); align-self: flex-start; border-top-left-radius: 4px; }
.b.out { background: var(--p); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }
.b.sm { font-size: 12px; max-width: 90%; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: var(--bg-2); border-radius: 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: tp 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.d-input { margin-top: auto; display: flex; align-items: center; gap: 8px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 6px 0 12px; font-size: 12px; color: var(--ink-3); }
.d-input b { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: var(--p); }
.widget { position: absolute; right: 0; bottom: 0; width: 250px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-6px); } }
.w-hd { display: flex; gap: 10px; align-items: center; padding: 14px; background: var(--p); color: #fff; }
.w-hd b { display: block; font-size: 14px; }
.w-hd small { font-size: 11px; opacity: .9; display: flex; align-items: center; gap: 5px; }
.w-hd small i { width: 6px; height: 6px; border-radius: 50%; background: #5ff0a5; }
.w-logo { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.18); position: relative; }
.w-logo::after { content: ""; position: absolute; inset: 8px; border-radius: 6px 6px 6px 2px; background: #fff; }
.w-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.w-rate { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px; text-align: center; font-size: 12px; }
.w-rate div { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
.w-rate i { width: 16px; height: 16px; background: #f5b301; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.w-rate i.off { background: var(--line); }
.fab { position: absolute; right: 262px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; background: var(--p); box-shadow: 0 8px 20px -4px rgba(36,86,232,.5); }
.fab::after { content: ""; position: absolute; inset: 13px 12px 15px; border-radius: 8px 8px 8px 2px; background: #fff; }

/* 区块 */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-2); }
.sec-hd { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.sec-hd p { color: var(--ink-2); font-size: 16px; margin: 12px 0 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.feat:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); transform: translateY(-2px); }
.fi { width: 40px; height: 40px; border-radius: 11px; background: var(--p-soft); color: var(--p); display: grid; place-items: center; margin-bottom: 16px; }
.fi svg, .ok-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 4px; }

/* 线路切换示意 */
.lines { background: var(--card); border-radius: 18px; padding: 26px; box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; gap: 12px; }
.ln { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); font-size: 14px; }
.ln code, .ln .mono { font: 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ln em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 600; }
.ln-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ln.bad .ln-dot { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); } .ln.bad em { color: var(--bad); } .ln.bad code, .ln.bad .mono { text-decoration: line-through; color: var(--ink-3); }
.ln.ok .ln-dot { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); } .ln.ok em { color: var(--ok); }
.ln.ok:not(.dim) { background: var(--ok-soft); }
.ln.dim { opacity: .65; } .ln.dim em { color: var(--ink-3); }
.ln.arrow { background: none; padding: 0; height: 22px; justify-content: center; }
.ln.arrow::before { content: ""; width: 2px; height: 22px; background: repeating-linear-gradient(var(--ink-3) 0 4px, transparent 4px 8px); }

/* 价格 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-bottom: 20px; }
.plan { position: relative; background: var(--card); border-radius: 18px; padding: 28px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan.hot { box-shadow: 0 0 0 2px var(--p), var(--shadow); }
.badge { position: absolute; top: -12px; left: 28px; font-size: 12px; font-weight: 700; color: #fff; background: var(--p); padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 18px; }
.price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.price b.ask { font-size: 26px; }
.price span { color: var(--ink-3); font-size: 14px; }
.plan > p { font-size: 13px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2L9.5 3.6' fill='none' stroke='%232456e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 常见问题 */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }

/* 试用表单 */
.trial { align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--p-soft); color: var(--p); font-weight: 700; display: grid; place-items: center; }
.steps b { font-size: 15px; } .steps span { color: var(--ink-3); font-size: 13.5px; }
.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.form { padding: 28px; }
.f { display: block; margin-bottom: 14px; }
.f > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.f em { color: var(--bad); font-style: normal; }
.f small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.f small.ok { color: var(--ok); } .f small.bad { color: var(--bad); }
input, textarea { width: 100%; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input { height: 42px; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--p); box-shadow: 0 0 0 3px var(--p-soft); }
.f.bad input, .f.bad textarea { border-color: var(--bad); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slug { display: flex; }
.slug input { border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.slug b { display: flex; align-items: center; padding: 0 12px; background: var(--bg-2); border: 1px solid var(--line); border-left: 0; border-radius: 0 9px 9px 0; font-weight: 500; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; max-width: 58%; overflow: hidden; text-overflow: ellipsis; }
.cap { display: flex; gap: 10px; }
.cap button { flex: none; border: 0; padding: 0; background: #fff; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; height: 42px; overflow: hidden; }
.cap img { display: block; height: 42px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: var(--bad-soft); color: var(--bad); border-radius: 9px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 14px; }
.done { text-align: center; padding: 18px 6px; }
.done h3 { font-size: 22px; margin: 12px 0 8px; }
.done p { color: var(--ink-2); margin: 0 0 18px; word-break: break-all; }
.ok-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-grid; place-items: center; }
.ok-ic svg { width: 26px; height: 26px; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.foot-in .muted:last-child { margin-left: auto; }

/* 找后台弹窗 */
.mask { position: fixed; inset: 0; z-index: 50; background: rgba(10,14,24,.42); display: grid; place-items: center; padding: 16px; }
.mask[hidden] { display: none; }
.dlg { width: min(420px, 100%); padding: 26px; }
.dlg h3 { font-size: 19px; }
.dlg p { margin: 6px 0 16px; font-size: 14px; }
.dlg .err { margin: 12px 0 0; }
.dlg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 400px; }
  .grid3, .plans { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { gap: 12px; }
  .brand b { font-size: 16px; }
  #findBtn { display: none; }
  .hero { padding: 32px 0 48px; }
  .lead { font-size: 16px; }
  .hero-art { min-height: 360px; }
  .desk-body { grid-template-columns: 1fr; }
  .d-list { display: none; }
  .widget, .fab { display: none; }
  .desk { position: relative; inset: auto; height: 360px; }
  .hero-art { min-height: 0; }
  .sec { padding: 60px 0; }
  .grid3, .plans, .row { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .foot-in .muted:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .widget, .typing i { animation: none; } html { scroll-behavior: auto; } }

.foot-in a { color: var(--ink-2); cursor: pointer; }
.foot-in a:hover { color: var(--p); }

.btn.lang { font-weight: 500; color: var(--ink-2); }
@media (max-width: 640px) { .btn.lang { padding: 0 10px; } }

/* 同意条款 */
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; cursor: pointer; }
.agree input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--p); flex: none; }
.agree a { color: var(--p); text-decoration: none; }
.agree a:hover { text-decoration: underline; }
.agree.bad span { color: var(--bad); }

/* 服务条款 / 隐私政策 / 退款说明 */
.legal-page { background: var(--bg); }
.lg-tabs a.on { color: var(--p); font-weight: 600; }
.lg-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-top: 104px; padding-bottom: 72px; align-items: start; }
.lg-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.lg-toc-h { font-size: 12px; font-weight: 600; color: var(--ink-3); margin: 0 0 8px 10px; }
.lg-side a { color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: 6px; line-height: 1.4; }
.lg-side a:hover { background: var(--p-soft); color: var(--p); }
.lg-doc { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 40px 48px; max-width: 820px; }
.lg-doc h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.01em; }
.lg-upd { color: var(--ink-3); font-size: 13px; margin: 0 0 28px; }
.lg-doc section { scroll-margin-top: 96px; }
.lg-doc h2 { font-size: 17px; margin: 30px 0 10px; }
.lg-doc p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); margin: 0 0 12px; }
@media (max-width: 860px) {
  .lg-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 84px; }
  .lg-side { display: none; }
  .lg-doc { padding: 24px 18px; border-radius: 8px; }
  .lg-doc h1 { font-size: 24px; }
  .lg-tabs { display: none; }
}

/* ================= 2026-11 改版：首屏 + 四段演示 ================= */
:root { --ai1: #5b6cff; --ai2: #19b6d9; --ai3: #8e5bff; --dark: #0b0e14; --dark-2: #141a24; }
.nav .brand .ai, .foot .brand .ai, .lg-wrap .ai { background: linear-gradient(100deg, var(--ai1), var(--ai2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 首屏 */
.hx { padding: 72px 0 40px; text-align: center; overflow: hidden; position: relative; }
.hx::before { content: ''; position: absolute; inset: -20% -10% auto; height: 640px; background: radial-gradient(520px 260px at 50% 30%, color-mix(in srgb, var(--ai1) 16%, transparent), transparent 70%), radial-gradient(420px 220px at 70% 55%, color-mix(in srgb, var(--ai2) 12%, transparent), transparent 70%); pointer-events: none; z-index: -1; }
.hx-in { display: flex; flex-direction: column; align-items: center; }
.hx-kicker { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; opacity: 0; animation: hxUp .8s .05s cubic-bezier(.2,.8,.2,1) forwards; }
.hx-word { font-size: clamp(64px, 12vw, 148px); line-height: .95; font-weight: 800; letter-spacing: -.055em; margin: 0; display: flex; }
.hx-word span { display: inline-block; opacity: 0; transform: translateY(28px); animation: hxUp 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hx-word span:nth-child(1) { animation-delay: .12s; } .hx-word span:nth-child(2) { animation-delay: .24s; } .hx-word span:nth-child(3) { animation-delay: .36s; }
.hx-word .ai { background: linear-gradient(100deg, var(--ai1) 0%, var(--ai2) 45%, var(--ai3) 70%, var(--ai1) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .02em; animation: hxUp 1s .24s cubic-bezier(.2,.8,.2,1) forwards, hxShine 6s 1.4s ease-in-out infinite; }
.hx-line { margin: 28px 0 0; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; opacity: 0; animation: hxUp .9s .5s cubic-bezier(.2,.8,.2,1) forwards; }
.hx-sub { max-width: 640px; margin: 18px auto 0; font-size: 17px; color: var(--ink-2); opacity: 0; animation: hxUp .9s .62s cubic-bezier(.2,.8,.2,1) forwards; }
.hx-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; opacity: 0; animation: hxUp .9s .74s cubic-bezier(.2,.8,.2,1) forwards; }
.br-m { display: none; }
@keyframes hxUp { to { opacity: 1; transform: none; } }
@keyframes hxShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hx-stage { position: relative; max-width: 760px; margin: 56px auto 0; opacity: 0; transform: translateY(40px) scale(.98); animation: hxUp 1.1s .85s cubic-bezier(.2,.8,.2,1) forwards; }
.hx-win { background: var(--card); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(20, 30, 70, .35), 0 0 0 1px var(--line); overflow: hidden; text-align: left; }
.hx-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.hx-bar > i { width: 11px; height: 11px; border-radius: 6px; background: #ff5f57; } .hx-bar > i:nth-child(2) { background: #febc2e; } .hx-bar > i:nth-child(3) { background: #28c840; }
.hx-url { margin: 0 auto; font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); background: var(--card); padding: 4px 14px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; }
.hx-url .lock { width: 9px; height: 10px; border: 1.6px solid var(--ok); border-radius: 2px; position: relative; top: 1px; }
.hx-url .lock::before { content: ''; position: absolute; left: 50%; top: -6px; width: 5px; height: 5px; margin-left: -4.1px; border: 1.6px solid var(--ok); border-bottom: 0; border-radius: 4px 4px 0 0; }
.hx-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 330px; }
.hx-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; opacity: 0; transform: translateY(10px); animation: hxUp .55s var(--d) cubic-bezier(.2,.8,.2,1) forwards; animation-play-state: paused; }
.hx.on .hx-msg, .hx.on .hx-typing, .hx.on .hx-chip { animation-play-state: running; }
.hx-msg.in { align-self: flex-start; background: var(--bg-2); border-bottom-left-radius: 5px; }
.hx-msg.out { align-self: flex-end; background: var(--p); color: #fff; border-bottom-right-radius: 5px; }
.hx-msg.out.ai { background: linear-gradient(135deg, #4f5ff0, #2c8fd9); }
.hx-msg .who { display: block; font-size: 11.5px; opacity: .8; margin-bottom: 3px; }
.hx-msg .who b { font-size: 10.5px; background: rgba(255,255,255,.22); padding: 1px 6px; border-radius: 5px; margin-right: 4px; letter-spacing: .04em; }
.pd-b code, .hx-msg code { white-space: nowrap; }
.hx-msg code { font: 13px ui-monospace, Menlo, monospace; background: rgba(255,255,255,.16); padding: 1px 6px; border-radius: 5px; }
.hx-verified { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; color: #d8ffe9; }
.hx-verified::before { content: ''; width: 14px; height: 14px; border-radius: 7px; background: #2fd387 no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hx-typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; background: var(--bg-2); border-radius: 16px; opacity: 0; animation: hxTyping 1.1s var(--d) forwards; animation-play-state: paused; }
.hx-typing i { width: 6px; height: 6px; border-radius: 3px; background: var(--ink-3); animation: hxDot 1s infinite; } .hx-typing i:nth-child(2) { animation-delay: .15s; } .hx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hxTyping { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: -5px 0; } }
@keyframes hxDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.hx-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; background: var(--card); box-shadow: 0 12px 30px -10px rgba(20,30,70,.3), 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(8px) scale(.96); animation: hxUp .6s var(--d) cubic-bezier(.2,.8,.2,1) forwards; animation-play-state: paused; white-space: nowrap; }
.hx-chip i { width: 18px; height: 18px; border-radius: 6px; flex: none; }
.hx-chip.c1 { right: calc(100% + 18px); top: 112px; } .hx-chip.c2 { left: calc(100% + 18px); top: 190px; } .hx-chip.c3 { left: calc(100% + 18px); bottom: 40px; }
@media (max-width: 1180px) { .hx-chip { display: none; } }
.ic-order { background: #fff3d6 no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 3h8v10H4z' fill='none' stroke='%23c27a06' stroke-width='1.6'/%3E%3Cpath d='M6 6h4M6 9h3' stroke='%23c27a06' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-ai { background: linear-gradient(135deg, var(--ai1), var(--ai2)) no-repeat; position: relative; }
.ic-ai::after { content: 'AI'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.ic-shield { background: #e2f7ec no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8l5 2v3.8c0 3-2.1 5.4-5 6.4-2.9-1-5-3.4-5-6.4V3.8z' fill='none' stroke='%23129a5c' stroke-width='1.5'/%3E%3Cpath d='M5.6 8l1.7 1.6 3.2-3.2' fill='none' stroke='%23129a5c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 演示段落通用 */
.scene { padding: 130px 0; position: relative; }
.scene.dark { background: var(--dark); color: #eef1f6; }
.scene.soft { background: var(--bg-2); }
.scene-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.scene-in.rev .scene-txt { order: 2; }
.tag-k { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--p); margin-bottom: 16px; }
.scene.dark .tag-k { color: #7fa5ff; }
.scene h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.scene-p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 20px 0 0; max-width: 520px; }
.scene-p b { color: var(--ink); }
.muted-d { color: var(--ink-3); font-size: 15px; }
.scene-more { margin: 26px 0 0; font-size: 15px; line-height: 1.7; color: #9aa4b6; max-width: 500px; }
.scene-txt > * { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.scene.on .scene-txt > * { opacity: 1; transform: none; }
.scene.on .scene-txt > *:nth-child(2) { transition-delay: .08s; } .scene.on .scene-txt > *:nth-child(3) { transition-delay: .16s; } .scene.on .scene-txt > *:nth-child(4) { transition-delay: .24s; } .scene.on .scene-txt > *:nth-child(5) { transition-delay: .32s; }
.scene-art { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 1s .1s cubic-bezier(.2,.8,.2,1), transform 1s .1s cubic-bezier(.2,.8,.2,1); }
.scene.on .scene-art { opacity: 1; transform: none; }

/* 防劫持：步骤 + 线路图 */
.steps-x { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 4px; }
.steps-x li { display: flex; flex-direction: column; padding: 14px 0 14px 22px; border-left: 2px solid #232b38; transition: border-color .4s, opacity .4s; opacity: .45; }
.steps-x li b { font-size: 18px; font-weight: 700; color: #fff; } .steps-x li span { font-size: 14.5px; color: #9aa4b6; margin-top: 3px; line-height: 1.6; }
.steps-x li.cur { border-color: #7fa5ff; opacity: 1; }
.ln-map { position: relative; height: 380px; border-radius: 22px; background: radial-gradient(400px 220px at 70% 30%, rgba(91,108,255,.18), transparent 70%), var(--dark-2); box-shadow: inset 0 0 0 1px #222a37; overflow: hidden; }
.lm-paths { position: absolute; inset: 0; width: 100%; height: 100%; }
.lm-paths path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; stroke: #3b4a63; transition: stroke .5s; }
.ln-map[data-s="1"] .p1 { stroke: #ff6b70; }
.ln-map[data-s="2"] .p2, .ln-map[data-s="3"] .p1 { stroke: #35c27e; animation: lmFlow 1s linear infinite; }
@keyframes lmFlow { to { stroke-dashoffset: -28; } }
.lm-user { position: absolute; left: 13%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: #9aa4b6; padding-top: 22px; }
.lm-user span { width: 54px; height: 54px; border-radius: 27px; background: #1f2735 no-repeat center/26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='4' fill='none' stroke='%23c9d3e6' stroke-width='1.6'/%3E%3Cpath d='M4.5 20c1.3-3.6 4.2-5.5 7.5-5.5s6.2 1.9 7.5 5.5' fill='none' stroke='%23c9d3e6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); box-shadow: 0 0 0 6px rgba(127,165,255,.08); }
.lm-node { position: absolute; left: 50%; right: 5%; transform: translateY(-50%); padding: 12px 16px; border-radius: 14px; background: #1b2230; box-shadow: inset 0 0 0 1px #2a3446; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .5s, opacity .5s; }
.lm-node.n1 { top: 30%; } .lm-node.n2 { top: 70%; }
.lm-node b { font: 600 13.5px ui-monospace, Menlo, monospace; color: #e5eaf3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-node em { font-style: normal; font-size: 12px; font-weight: 600; color: #9aa4b6; }
.lm-node em.s2 { display: none; }
.ln-map[data-s="1"] .n1 em.s1, .ln-map[data-s="2"] .n1 em.s1 { color: #ff7b80; }
.ln-map[data-s="1"] .n1, .ln-map[data-s="2"] .n1 { box-shadow: inset 0 0 0 1px #ff6b70, 0 0 30px -6px rgba(255,107,112,.5); }
.ln-map[data-s="2"] .n1 { opacity: .55; }
.ln-map[data-s="2"] .n2 { box-shadow: inset 0 0 0 1px #35c27e, 0 0 30px -6px rgba(53,194,126,.45); }
.ln-map[data-s="2"] .n2 em.s1 { display: none; } .ln-map[data-s="2"] .n2 em.s2 { display: block; color: #4fd492; }
.ln-map[data-s="3"] .n1 { box-shadow: inset 0 0 0 1px #35c27e, 0 0 30px -6px rgba(53,194,126,.45); }
.ln-map[data-s="3"] .n1 em.s1 { display: none; } .ln-map[data-s="3"] .n1 em.s2 { display: block; color: #4fd492; }
.ln-map[data-s="3"] .n2 { opacity: .6; }
.lm-x { position: absolute; left: 30.4%; top: 41%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 17px; background: #ff5a60 no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 0 0 6px rgba(255,90,96,.18); }
.ln-map[data-s="1"] .lm-x, .ln-map[data-s="2"] .lm-x { transform: scale(1); }

/* 资金安全演示 */
.pay-demo { border-radius: 22px; background: var(--card); box-shadow: 0 30px 60px -30px rgba(20,30,70,.3), 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 380px; }
.pd-row { display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(12px); transition: all .6s cubic-bezier(.2,.8,.2,1); }
.pd-who { flex: none; font-size: 12px; color: var(--ink-3); width: 32px; padding-top: 10px; }
.pd-b { padding: 10px 14px; border-radius: 14px; background: var(--p-soft); font-size: 14px; }
.pd-b code { font: 13px ui-monospace, Menlo, monospace; }
.pd-fake { position: relative; }
.pd-fake::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--bad); transform: scaleX(0); transform-origin: left; transition: transform .5s .2s; }
.pd-row.visitor { justify-content: flex-end; }
.pd-b.v { background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; }
.pd-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 9px 3px 6px; border-radius: 99px; align-self: flex-start; }
.pd-ok::before { content: ''; width: 13px; height: 13px; border-radius: 7px; background: var(--ok) no-repeat center/8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pd-block { display: flex; gap: 12px; align-items: center; margin-left: 42px; padding: 12px 14px; border-radius: 14px; background: var(--bad-soft); opacity: 0; transform: scale(.96); transition: all .5s cubic-bezier(.3,1.4,.5,1); }
.pd-block i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--bad) no-repeat center/15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8l5 2v3.8c0 3-2.1 5.4-5 6.4-2.9-1-5-3.4-5-6.4V3.8z' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M6 6l4 4M10 6l-4 4' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pd-block div { display: flex; flex-direction: column; font-size: 13px; } .pd-block b { color: var(--bad); font-size: 14px; } .pd-block span { color: var(--ink-2); }
.pay-demo[data-s="1"] .pd-row:nth-child(1), .pay-demo[data-s="2"] .pd-row:nth-child(1), .pay-demo[data-s="3"] .pd-row:nth-child(1) { opacity: 1; transform: none; }
.pay-demo[data-s="2"] .pd-fake::after, .pay-demo[data-s="3"] .pd-fake::after { transform: scaleX(1); }
.pay-demo[data-s="2"] .pd-block, .pay-demo[data-s="3"] .pd-block { opacity: 1; transform: none; }
.pay-demo[data-s="2"] .pd-row:nth-child(1) .pd-b, .pay-demo[data-s="3"] .pd-row:nth-child(1) .pd-b { opacity: .55; }
.pay-demo[data-s="3"] .pd-row:nth-child(3), .pay-demo[data-s="3"] .pd-row:nth-child(4) { opacity: 1; transform: none; }
.pay-demo[data-s="3"] .pd-row:nth-child(4) { transition-delay: .5s; }

/* AI 回复演示 */
.ai-demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; min-height: 380px; }
.ad-kb { border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ad-kb-h { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.ad-doc { border-radius: 12px; padding: 10px 12px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; font-size: 13px; transition: box-shadow .5s, background .5s; }
.ad-doc b { font-size: 13.5px; } .ad-doc span { color: var(--ink-3); font-size: 12.5px; }
.ai-demo[data-s="2"] .d1, .ai-demo[data-s="3"] .d1 { background: color-mix(in srgb, var(--ai1) 12%, var(--card)); box-shadow: inset 0 0 0 1.5px var(--ai1); }
.ad-chat { border-radius: 20px; background: var(--card); box-shadow: 0 30px 60px -30px rgba(20,30,70,.3), 0 0 0 1px var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ad-m { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; opacity: 0; transform: translateY(10px); transition: all .55s cubic-bezier(.2,.8,.2,1); }
.ad-m.in { align-self: flex-start; background: var(--bg-2); } .ad-m.out { align-self: flex-end; background: linear-gradient(135deg, #4f5ff0, #2c8fd9); color: #fff; }
.ad-src { display: block; font-size: 11px; opacity: .85; margin-bottom: 3px; }
.ad-hand { align-self: center; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); padding: 4px 12px; border-radius: 99px; opacity: 0; transition: opacity .5s; }
.ai-demo[data-s="1"] .ad-m:nth-child(1), .ai-demo[data-s="2"] .ad-m:nth-child(-n+2), .ai-demo[data-s="3"] .ad-m { opacity: 1; transform: none; }
.ai-demo[data-s="3"] .ad-hand { opacity: 1; transition-delay: .5s; }

/* AI 质检演示 */
.qc-demo { border-radius: 22px; background: var(--card); box-shadow: 0 30px 60px -30px rgba(20,30,70,.3), 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; gap: 18px; min-height: 380px; }
.qd-top { display: flex; gap: 18px; align-items: center; } .qd-top > div:last-child { display: flex; flex-direction: column; font-size: 13px; } .qd-top > div:last-child span { color: var(--ink-3); }
.qd-ring { position: relative; width: 96px; height: 96px; flex: none; }
.qd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qd-ring circle { fill: none; stroke-width: 10; } .qd-ring .bg { stroke: var(--bg-2); }
.qd-ring .fg { stroke: url(#none); stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.qd-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.qd-items { display: flex; flex-direction: column; gap: 10px; }
.qd-it { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.qd-it i { height: 7px; border-radius: 4px; background: var(--bg-2); position: relative; overflow: hidden; }
.qd-it i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--ai1), var(--ai2)); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.qd-red { border-radius: 14px; background: var(--bad-soft); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: all .6s cubic-bezier(.2,.8,.2,1); }
.qd-red b { color: var(--bad); font-size: 12px; letter-spacing: .02em; } .qd-red em { font-style: normal; color: var(--bad); font-weight: 600; font-size: 12px; }
.qc-demo[data-s] .qd-ring .fg { stroke-dashoffset: 25; }
.qc-demo[data-s] .qd-it i::after { transform: scaleX(1); }
.qc-demo[data-s] .qd-it:nth-child(2) i::after { transition-delay: .1s; } .qc-demo[data-s] .qd-it:nth-child(3) i::after { transition-delay: .2s; } .qc-demo[data-s] .qd-it:nth-child(4) i::after { transition-delay: .3s; }
.qc-demo[data-s="2"] .qd-red, .qc-demo[data-s="3"] .qd-red { opacity: 1; transform: none; }

/* 功能格子：新版 */
#features .sec-hd h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; }

/* 深色模式 */
@media (prefers-color-scheme: dark) {
  .hx-win, .pay-demo, .ad-chat, .qc-demo { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px var(--line); }
  .scene.dark { background: #07090d; }
}
/* 手机 */
@media (max-width: 900px) {
  .hx { padding-top: 48px; }
  .br-m { display: inline; }
  .hx-chip { display: none; }
  .hx-body { padding: 16px; min-height: 0; }
  .scene { padding: 80px 0; }
  .scene-in, .scene-in.rev { grid-template-columns: 1fr; gap: 40px; }
  .scene-in.rev .scene-txt { order: 0; }
  .ln-map { height: 320px; }
  .lm-node { right: 4%; padding: 10px 12px; } .lm-node b { font-size: 11px; }
  .ai-demo { grid-template-columns: 1fr; }
}
/* 不喜欢动效的人：直接显示最后的样子 */
@media (prefers-reduced-motion: reduce) {
  .hx-kicker, .hx-word span, .hx-line, .hx-sub, .hx-cta, .hx-stage, .hx-msg, .hx-chip, .scene-txt > *, .scene-art { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .hx-typing { display: none; }
}
/* 滚到深色那段时，顶栏跟着变深，不然半透明白底压在黑底上发灰 */
.nav { transition: box-shadow .2s, background-color .35s; }
.nav.ondark { background: rgba(11, 14, 20, .78); box-shadow: inset 0 -1px 0 #1d2430; }
.nav.ondark .brand b, .nav.ondark .links a:hover { color: #fff; }
.nav.ondark .links a { color: #aab3c4; }
.nav.ondark .btn.ghost { color: #e8ecf3; box-shadow: inset 0 0 0 1px #2c3544; }
.nav.ondark .btn.ghost:hover { background: #1a212d; }
/* 英文字母挤得比中文明显，英文界面字距放松一点 */
html[lang="en"] .scene h2 { letter-spacing: -.022em; }
html[lang="en"] .hx-line { letter-spacing: -.012em; }
