/* 官网 v2: 版式照出海匠(深夜紫 + 霓虹渐变 + 玻璃 + 滚动演示), 文案是旧站原文 */
:root {
  --bg: #0c0a1d; --bg2: #110e27; --panel: #17142f; --ink: #f2f1fb; --mute: #a9a6c6; --dim: #6f6c8f;
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --a1: #5b5cff; --a2: #9a5bff; --a3: #e45bff; --ok: #34d399;
  --grad: linear-gradient(120deg, var(--a1), var(--a2) 50%, var(--a3));
  --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.16, 1, .3, 1);
  --ink2: #d4d0ef;
  --mx: 50vw; --my: 30vh;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(154, 91, 255, .45); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: hue 6s linear infinite; }
@keyframes hue { to { background-position: 200% 0; } }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #b6a6ff; }

/* ---------- 背景: 极光 + 网格 + 跟随鼠标的光 ---------- */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 820px; height: 520px; left: 50%; top: -260px; margin-left: -410px; background: #3b2bd8; }
.aurora i:nth-child(2) { width: 520px; height: 520px; left: -160px; top: 38vh; background: #8a2be2; opacity: .28; animation-duration: 28s; }
.aurora i:nth-child(3) { width: 480px; height: 480px; right: -140px; top: 70vh; background: #c026d3; opacity: .2; animation-duration: 32s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.gridbg { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); opacity: .5; }
.cursor-light { position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(124, 92, 255, .12), transparent 45%); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- 按钮: 渐变 + 流光 + 磁吸 + 涟漪 ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font: 600 13.5px/1 inherit; color: #fff; border: 0; cursor: pointer; white-space: nowrap; transition: transform .45s var(--spring), box-shadow .3s, background .2s, border-color .2s; will-change: transform; }
.btn.lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn.primary { background: var(--grad); box-shadow: 0 10px 30px -10px rgba(154, 91, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn.primary:hover { box-shadow: 0 16px 40px -10px rgba(154, 91, 255, .95), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.btn.ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); color: var(--ink2); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(182, 166, 255, .45); }
.btn:active { transform: scale(.94) !important; transition-duration: .08s; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .65s var(--out); pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- 顶栏: 悬浮胶囊, 滚动后收窄 ---------- */
.top { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 14px; }
.bar { max-width: 1200px; margin: 0 auto; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 0 16px; border-radius: 999px; border: 1px solid transparent; transition: max-width .6s var(--out), background .4s, border-color .4s, height .4s, box-shadow .4s; }
.top.scrolled .bar { max-width: 980px; height: 54px; background: rgba(20, 17, 44, .72); border-color: var(--line2); backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.brand { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 999px; background: #fff; transition: transform .4s var(--spring); }
.brand:hover { transform: scale(1.04); }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: 4px; font-size: 13.5px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .7); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad); }
.actions { display: flex; align-items: center; gap: 8px; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 12px); width: 320px; padding: 8px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(22, 19, 48, .96); backdrop-filter: blur(20px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); transform-origin: top right; animation: pop .35s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(-6px); } }
.menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.menu a:hover { background: rgba(255, 255, 255, .06); }
.menu .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font-size: 16px; }
.menu b { display: block; font-size: 13.5px; }
.menu span { font-size: 11.5px; color: var(--dim); font-family: ui-monospace, Consolas, monospace; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: #fff; font-size: 16px; cursor: pointer; }
.mnav { max-width: 1200px; margin: 8px auto 0; border-radius: 22px; padding: 10px; background: rgba(22, 19, 48, .97); border: 1px solid var(--line2); }
.mnav a { display: block; padding: 11px 14px; border-radius: 12px; }

/* ---------- 进场动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--out), transform .9s var(--out), filter .9s var(--out); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal="scale"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; } .grad, .btn.primary::after, .aurora i { animation: none; } }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; }
.hero .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-size: 12.5px; color: var(--ink2); }
.hero .tag b { padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 7vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero .sub { max-width: 680px; margin: 20px auto 0; color: var(--mute); font-size: 17px; }
.ask { display: block; position: relative; max-width: 720px; margin: 36px auto 0; padding: 16px 16px 12px; border-radius: 22px; text-align: left; background: rgba(23, 20, 47, .78); border: 1px solid var(--line2); backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(91, 92, 255, .55); }
.ask::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--a2), var(--a3), transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.ask .typed { min-height: 54px; font-size: 15.5px; color: var(--ink2); }
.ask .typed .ph { color: var(--dim); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #c4b5ff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ask .ai { font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.ask .ai i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.ask .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #120f29; font-weight: 800; transition: transform .4s var(--spring); }
.ask .go:hover { transform: scale(1.12) rotate(-12deg); }
.agents { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.agent { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--ink2); cursor: pointer; transition: transform .4s var(--spring), border-color .25s, background .25s, box-shadow .25s; }
.agent:hover, .agent.on { transform: translateY(-3px); border-color: rgba(182, 166, 255, .55); background: rgba(154, 91, 255, .14); box-shadow: 0 10px 30px -12px rgba(154, 91, 255, .8); }
.agent .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--grad); }
.metrics { display: flex; justify-content: center; gap: 48px; margin-top: 40px; }
.metrics b { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; }
.metrics span { font-size: 12.5px; color: var(--dim); }

/* 首屏大屏: 透视倾斜, 随滚动立起来 */
.stage { perspective: 1600px; margin-top: 64px; }
.window { position: relative; max-width: 1120px; margin: 0 auto; border-radius: 22px; transform-origin: 50% 0; transform: rotateX(var(--tilt, 22deg)) scale(var(--sc, .92)); transition: transform .12s linear; }
.window::before { content: ""; position: absolute; inset: -60px -40px auto; height: 70%; background: radial-gradient(closest-side, rgba(91, 92, 255, .55), transparent); filter: blur(30px); z-index: -1; }
.window .rim { padding: 1.5px; border-radius: 22px; background: linear-gradient(140deg, rgba(255, 255, 255, .35), rgba(154, 91, 255, .5) 30%, rgba(255, 255, 255, .05) 60%, rgba(228, 91, 255, .5)); }
.window .inner { position: relative; border-radius: 21px; overflow: hidden; background: #0f0d22; }
.chrome { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #15122f; border-bottom: 1px solid var(--line); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .chrome i:nth-child(2) { background: #febc2e; } .chrome i:nth-child(3) { background: #28c840; }
.chrome .url { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: rgba(255, 255, 255, .05); font: 12px ui-monospace, Consolas, monospace; color: var(--dim); }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 auto 18px; }
.tabs button { position: relative; overflow: hidden; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--ink2); font: 600 13px/1 inherit; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tabs button.on { background: rgba(154, 91, 255, .18); color: #fff; border-color: rgba(182, 166, 255, .5); }
.tabs button .bar2 { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.tabs button.on .bar2 { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.shots { position: relative; aspect-ratio: 16 / 10; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--out), transform 1.2s var(--out); }
.shots img.on { opacity: 1; transform: none; }
/* 大屏上浮着的 AI 对话 */
.chat { position: absolute; right: 18px; bottom: 18px; width: min(360px, 46%); padding: 14px; border-radius: 18px; background: rgba(17, 14, 39, .86); border: 1px solid var(--line2); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); font-size: 12.5px; }
.chat .h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; }
.chat .h i { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.msg { margin-top: 10px; padding: 8px 11px; border-radius: 12px; max-width: 92%; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--out), transform .5s var(--out); }
.msg.in { opacity: 1; transform: none; }
.msg.me { margin-left: auto; background: var(--grad); color: #fff; }
.msg.bot { background: rgba(255, 255, 255, .06); color: var(--ink2); }
.msg.tool { background: transparent; border: 1px dashed var(--line2); color: var(--mute); font-size: 11.5px; }
.msg.card { background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .35); color: #c9f5e3; }
.msg.card b { color: #fff; }
.msg .ok { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--ok); color: #052e1e; font-weight: 700; font-size: 11px; }

/* ---------- 区块通用 ---------- */
.sec { position: relative; padding: 120px 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto; }
.head h2 { margin-top: 14px; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.head p { margin-top: 16px; color: var(--mute); font-size: 16.5px; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); font-size: 12.5px; color: var(--ink2); }
.badge .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--grad); }

/* 光跟随卡片 */
.spot { position: relative; overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); transition: transform .5s var(--out), border-color .3s, background .3s; }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--x, -999px) var(--y, -999px), rgba(154, 91, 255, .18), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--x, -999px) var(--y, -999px), rgba(196, 181, 255, .7), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot:hover { border-color: rgba(182, 166, 255, .25); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }

/* bento 功能卡 */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.bento .spot { padding: 26px; min-height: 200px; display: flex; flex-direction: column; }
.bento .spot.wide { grid-column: span 2; }
.bento .no { font: 800 13px/1 ui-monospace, Consolas, monospace; }
.bento h3 { margin-top: auto; padding-top: 28px; font-size: 18px; font-weight: 700; }
.bento p { margin-top: 8px; color: var(--mute); font-size: 13.5px; line-height: 1.75; }
.bento .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: rgba(154, 91, 255, .14); border: 1px solid rgba(182, 166, 255, .25); transition: transform .5s var(--spring); }
.bento .spot:hover .ico { transform: rotate(-10deg) scale(1.1); }

/* 之前 vs 之后 */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.vs .spot { padding: 30px; }
.vs .lbl { font: italic 800 24px/1 Georgia, serif; }
.vs .bad .lbl { color: #ff6b8b; } .vs .good .lbl { color: #b6a6ff; }
.vs ul { list-style: none; margin: 20px 0 0; padding: 0; }
.vs li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.vs li:first-child { border-top: 0; }
.vs .bad li::before { content: "✕"; color: #ff6b8b; } .vs .good li::before { content: "✓"; color: var(--ok); }
.vs .time { margin-top: 18px; text-align: right; font-weight: 800; font-size: 30px; }
.vs .bad .time { color: #ff6b8b; } .vs .good .time { color: var(--ok); }
.vs .good { border-color: rgba(182, 166, 255, .3); background: linear-gradient(160deg, rgba(91, 92, 255, .12), rgba(228, 91, 255, .05)); }

/* 功能演示区: 左文右演示 */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding: 70px 0; }
.feature.rev { grid-template-columns: 1.25fr 1fr; }
.feature.rev > .txt { order: 2; }
.feature h3 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
.feature .lead { margin-top: 16px; color: var(--mute); font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); }
.checks li::before { content: ""; flex: none; margin-top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 3px, #000 3.5px); mask: radial-gradient(circle, transparent 3px, #000 3.5px); }
.checks b { color: var(--ink); }
.demo { position: relative; border-radius: 22px; padding: 18px; background: rgba(23, 20, 47, .7); border: 1px solid var(--line2); box-shadow: 0 40px 90px -40px rgba(91, 92, 255, .6); transform-style: preserve-3d; transition: transform .25s ease-out; }
.demo .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.demo .shot img { width: 100%; }
.float { position: absolute; padding: 12px 14px; border-radius: 16px; background: rgba(17, 14, 39, .9); border: 1px solid var(--line2); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); font-size: 12.5px; transform: translateZ(60px); }
.float.tl { left: -26px; top: 26px; } .float.br { right: -22px; bottom: 26px; } .float.tr { right: -22px; top: 30px; } .float.bl { left: -26px; bottom: 34px; }
.float b { font-size: 22px; display: block; }
.float .up { color: var(--ok); font-weight: 700; }

/* 规则演示 */
.rule { font: 13px/1.6 ui-monospace, Consolas, monospace; }
.rule .line { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.rule .kw { color: #c4b5ff; font-weight: 700; }
.rule .act { color: #ffb4d4; font-weight: 700; }
.conds { display: grid; gap: 8px; margin-top: 12px; }
.cond { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--mute); font-size: 12.5px; transition: border-color .4s, background .4s, color .4s; }
.cond .st { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 11px; color: transparent; transition: all .4s var(--spring); }
.cond.ok { border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .06); color: #e6fff4; }
.cond.ok .st { background: var(--ok); border-color: var(--ok); color: #052e1e; transform: scale(1.1); }
.items { display: grid; gap: 6px; margin-top: 12px; }
.item { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 12px; transition: opacity .5s, transform .6s var(--out), background .4s; }
.item .th { width: 44px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #2a2560, #4b2a7a); }
.item .id { font-family: ui-monospace, Consolas, monospace; color: var(--mute); }
.item .cpa { font-weight: 700; }
.item .tg { padding: 2px 8px; border-radius: 999px; font-size: 10.5px; background: rgba(255, 255, 255, .06); color: var(--mute); }
.item.hit { background: rgba(255, 107, 139, .08); }
.item.hit .tg { background: #ff6b8b; color: #fff; }
.item.gone { opacity: .35; transform: translateX(14px); }
.item.gone .id { text-decoration: line-through; }

/* KPI 演示 */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.kpi span { font-size: 11px; color: var(--dim); }
.kpi b { display: block; font-size: 20px; font-weight: 800; }
.kpi i { font-style: normal; font-size: 11px; color: var(--ok); }
.chart { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.chart svg { width: 100%; height: 170px; display: block; }
.chart path.l { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.4s var(--out); }
.chart.in path.l { stroke-dashoffset: 0; }
.chart path.f { opacity: 0; transition: opacity 1.2s 1s; }
.chart.in path.f { opacity: 1; }

/* 模块切换(ERP 三大模块) */
.switch { display: grid; grid-template-columns: 340px 1fr; gap: 28px; margin-top: 56px; align-items: start; }
.switch .list { display: grid; gap: 10px; }
.switch .opt { text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--ink); font: inherit; cursor: pointer; transition: background .3s, border-color .3s; }
.switch .opt b { font-size: 16px; }
.switch .opt p { margin-top: 6px; font-size: 13px; color: var(--mute); max-height: 0; overflow: hidden; transition: max-height .5s var(--out); }
.switch .opt.on { background: rgba(154, 91, 255, .12); border-color: rgba(182, 166, 255, .4); }
.switch .opt.on p { max-height: 120px; }
.switch .pane { display: none; } .switch .pane.on { display: block; animation: paneIn .6s var(--out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.switch .pane .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.switch .pane .feat .spot { padding: 16px; }
.switch .pane .feat b { font-size: 14.5px; } .switch .pane .feat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mute); }

/* 合规块: 旋转描边 */
.ring { position: relative; border-radius: 30px; padding: 52px; background: rgba(23, 20, 47, .65); }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), rgba(91, 92, 255, .15), var(--a2), var(--a3), rgba(91, 92, 255, .15) 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 8s linear infinite; pointer-events: none; }
.ring .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* 产品入口: 3D 倾斜卡 */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; perspective: 1200px; }
.prod { padding: 28px; display: flex; flex-direction: column; min-height: 330px; transform-style: preserve-3d; }
.prod .tag { align-self: flex-start; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(154, 91, 255, .16); color: #d7cdff; }
.prod h3 { margin-top: 18px; font-size: 23px; font-weight: 800; transform: translateZ(30px); }
.prod .host { margin-top: 4px; font: 12px ui-monospace, Consolas, monospace; color: var(--dim); }
.prod ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: var(--mute); font-size: 13.5px; }
.prod li::before { content: "→ "; color: #b6a6ff; }
.prod .btn { margin-top: auto; align-self: flex-start; transform: translateZ(40px); }
.prod .thumb { margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 96px; }
.prod .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--out); }
.prod:hover .thumb img { transform: scale(1.06); }

/* 为什么选择 */
.why .spot { padding: 30px; }
.why h3 { font-size: 21px; }
.why .sub2 { margin-top: 6px; color: var(--mute); font-size: 14px; }
.why ul { margin: 18px 0 0; padding-left: 18px; color: var(--ink2); font-size: 13.5px; }
.why li { margin: 7px 0; }
.why .num { margin-top: 26px; font-size: 44px; font-weight: 800; line-height: 1; }
.why .num + span { font-size: 12.5px; color: var(--dim); }

/* 跑马灯 */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-top: 40px; }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 子页 ---------- */
.page-hero { padding: 150px 0 40px; text-align: center; }
.page-hero h1 { margin-top: 16px; font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.page-hero .sub { max-width: 700px; margin: 18px auto 0; color: var(--mute); font-size: 16.5px; }
.page-hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 56px 0; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.split .lead { margin-top: 12px; color: var(--mute); }
.feat2 { margin-top: 22px; display: grid; gap: 12px; }
.feat2 .spot { padding: 14px 16px; }
.feat2 b { font-size: 14.5px; } .feat2 span { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.pic { padding: 10px; border-radius: 22px; background: rgba(23, 20, 47, .7); border: 1px solid var(--line2); }
.pic img { border-radius: 14px; width: 100%; background: #fff; }
.doc { max-width: 880px; margin: 0 auto; padding: 140px 24px 40px; }
.doc h1 { margin-top: 14px; font-size: clamp(32px, 4.8vw, 50px); font-weight: 800; line-height: 1.18; }
.doc .lead { margin-top: 18px; color: var(--mute); font-size: 16.5px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.doc .toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--mute); transition: color .2s, border-color .2s; }
.doc .toc a:hover { color: #fff; border-color: rgba(182, 166, 255, .5); }
.doc .block { margin-top: 18px; padding: 26px 28px; scroll-margin-top: 100px; }
.doc h2 { font-size: 19px; font-weight: 700; }
.doc .block p { margin-top: 10px; color: var(--ink2); }
.doc ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink2); }
.doc li { margin: 7px 0; }
.doc li b { color: var(--ink); }
.notice { margin-top: 24px; border-radius: 18px; padding: 18px 22px; border: 1px solid rgba(228, 91, 255, .35); background: rgba(228, 91, 255, .07); }
.doc .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.plans { max-width: 860px; margin: 48px auto 0; }
.plan { padding: 32px; display: flex; flex-direction: column; min-height: 240px; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan p { margin: 10px 0 24px; color: var(--mute); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.hot { border-color: rgba(182, 166, 255, .45); background: linear-gradient(160deg, rgba(91, 92, 255, .16), rgba(228, 91, 255, .06)); }
table.cmp { width: 100%; max-width: 860px; margin: 36px auto 0; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; font-size: 14px; border: 1px solid var(--line); }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp th { background: rgba(255, 255, 255, .05); color: var(--mute); font-weight: 600; }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp tr { transition: background .2s; } table.cmp tr:hover td { background: rgba(255, 255, 255, .03); }
.faq { max-width: 860px; margin: 64px auto 0; }
.faq details { padding: 18px 22px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: #b6a6ff; font-size: 20px; line-height: 1; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.stats .spot { padding: 22px; }
.stats b { display: block; font-size: 32px; font-weight: 800; }
.stats span { font-size: 13px; color: var(--dim); }

/* ---------- 页脚 ---------- */
footer { position: relative; margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.cta { padding: 100px 0 80px; text-align: center; }
.cta h2 { margin-top: 14px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.02em; }
.cta p { margin: 16px auto 0; max-width: 640px; color: var(--mute); font-size: 16px; }
.cta .btn { margin-top: 30px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.foot h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #b6a6ff; }
.foot p, .foot a { color: var(--mute); }
.foot a { display: block; padding: 4px 0; transition: color .2s, transform .3s var(--out); }
.foot a:hover { color: #fff; transform: translateX(3px); }
.copy { padding: 20px 0 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .nav, #registerBtn, .menu-wrap { display: none; }
  .burger { display: inline-block; }
  .g3, .g4, .stats, .bento, .prods, .kpis { grid-template-columns: repeat(2, 1fr); }
  .bento .spot.wide { grid-column: span 2; }
  .feature, .feature.rev, .split, .switch, .vs, .foot { grid-template-columns: 1fr; gap: 32px; }
  .feature.rev > .txt, .split.rev > :first-child { order: 0; }
  .float { display: none; }
  .ring { padding: 30px 22px; }
  .chat { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .g2, .g3, .g4, .stats, .bento, .prods { grid-template-columns: 1fr; }
  .bento .spot.wide { grid-column: auto; }
  .metrics { gap: 22px; } .metrics b { font-size: 26px; }
  .hero { padding-top: 120px; } .sec { padding: 80px 0; }
  .switch .pane .feat { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* 演示卡上的浮动小卡要伸出卡外, 光效层仍在卡内 */
.demo.spot { overflow: visible; }
.demo.spot::before, .demo.spot::after { border-radius: inherit; }
