/* ============================================================
   Matrix Engine · 官网
   设计基调：DARK GLASS VIOLET / 精确的暗色 / 少量青与蜜色
   参考：Linear（近黑 + 克制紫 + 发丝边）、Vercel（等宽数字、精确）、
        Stripe（柔光渐变）、cruip open-react-template（区块节奏与双 CTA）
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-2: #0b0b14;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --panel-3: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f3ff;
  --text-2: #c9c4dc;
  --muted: #8f8aa6;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --violet-3: #c4b5fd;
  --cyan: #22d3ee;
  --honey: #f5b942;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::selection { background: rgba(139, 92, 246, 0.35); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code {
  font-family: "SF Mono", "JetBrains Mono", Consolas, monospace;
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--violet-3);
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--violet); color: #fff;
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; }

/* ───────── 背景 ───────── */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.g1 { width: 720px; height: 720px; left: -180px; top: -260px; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 65%); }
.g2 { width: 640px; height: 640px; right: -180px; top: 80px; background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 66%); }
.g3 { width: 720px; height: 520px; left: 30%; top: 60%; background: radial-gradient(circle, rgba(245, 185, 66, 0.09), transparent 68%); }
.bg-noise {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* ───────── 通用 ───────── */
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 108px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; color: var(--violet-3);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.grad {
  background: linear-gradient(100deg, #c4b5fd 0%, #8b5cf6 45%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.14; }
h1 { font-size: clamp(40px, 5vw, 62px); }
.keep { white-space: nowrap; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 18px; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { color: var(--text-2); font-size: 16px; line-height: 1.8; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: linear-gradient(180deg, #9b6cff, #7c3aed);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 44px -18px rgba(139, 92, 246, 0.9);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 24px 54px -18px rgba(139, 92, 246, 1); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(139, 92, 246, 0.55); transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 26px; border-radius: 14px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: 0.48; transform: none !important; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .menu-btn:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ───────── 导航 ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.76);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 10px 26px -12px rgba(139, 92, 246, 0.9); }
.brand-name { font-size: 14px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.05; display: flex; flex-direction: column; }
.brand-name small { color: var(--muted); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--text-2); font-size: 13px; font-weight: 500; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; }
.menu-btn span { display: block; width: 15px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform 0.2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 20px 18px; border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 12, 0.97); backdrop-filter: blur(18px);
}
.mobile-menu a { padding: 11px 8px; color: var(--text-2); font-size: 14px; border-radius: 8px; }
.mobile-menu a:hover { background: var(--panel); color: var(--text); }

/* ───────── Hero ───────── */
.hero {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 54px; align-items: center;
  padding-top: 84px; padding-bottom: 64px; min-height: 640px;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 12px;
}
.hero-meta li { position: relative; padding-left: 13px; }
.hero-meta li::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--violet-2); transform: translateY(-50%); }

/* 产品窗口 mock */
.hero-visual { position: relative; }
.app-window {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(22, 22, 34, 0.96), rgba(10, 10, 17, 0.98));
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.08), 0 30px 80px -50px rgba(139, 92, 246, 0.6);
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
}
.app-top { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.025); }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.traffic i:first-child { background: #fb7185; } .traffic i:nth-child(2) { background: #fbbf24; } .traffic i:last-child { background: #34d399; }
.app-title { color: var(--muted); font-size: 10px; letter-spacing: 0.04em; }
.app-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-size: 9.5px; }
.app-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 370px; }
.app-side { padding: 12px 9px; border-right: 1px solid var(--border); background: rgba(0, 0, 0, 0.18); }
.side-brand { display: flex; align-items: center; gap: 7px; padding: 2px 7px 13px; font-size: 11px; font-weight: 650; color: var(--text); }
.mini-mark { width: 15px; height: 15px; border-radius: 4px; background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.side-item { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; color: var(--muted); font-size: 10.5px; }
.side-item span { width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.18); }
.side-item.active { background: rgba(139, 92, 246, 0.16); color: var(--text); }
.side-item.active span { background: var(--violet); border-color: transparent; }
.side-user { display: flex; align-items: center; gap: 8px; margin-top: 104px; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); }
.side-user .ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: linear-gradient(135deg, #8b5cf6, #22d3ee); color: #fff; }
.side-user b { display: block; font-size: 9.5px; line-height: 1.3; }
.side-user small { display: block; color: var(--muted); font-size: 8px; }
.app-main { display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-head b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.app-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 9.5px; }
.chip { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.13); color: var(--violet-3); font-size: 9px; white-space: nowrap; }
.app-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bubble { max-width: 88%; padding: 9px 11px; border-radius: 10px; font-size: 10px; line-height: 1.6; }
.bubble.user { align-self: flex-end; background: rgba(139, 92, 246, 0.22); border: 1px solid rgba(139, 92, 246, 0.35); color: #ede9fe; }
.bubble.ai { align-self: flex-start; background: rgba(255, 255, 255, 0.055); border: 1px solid var(--border); color: var(--text-2); }
.bubble b { color: var(--text); font-weight: 600; }
.toolrow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--cyan); font-size: 8.5px; }
.toolrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.plan-card { align-self: flex-start; width: 92%; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; align-items: center; padding: 9px; border-radius: 10px; border: 1px solid var(--border-strong); background: rgba(0, 0, 0, 0.28); }
.plan-card div span { display: block; color: var(--muted); font-size: 8px; }
.plan-card div b { display: block; font-size: 9.5px; margin-top: 1px; }
.plan-card button { height: 24px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--violet); color: #fff; font-size: 8.5px; font-weight: 600; pointer-events: none; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-stats > div { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.app-stats small { display: block; color: var(--muted); font-size: 8px; }
.app-stats b { display: inline-block; margin-top: 2px; font-size: 16px; letter-spacing: -0.03em; }
.app-stats span { margin-left: 6px; font-size: 8px; color: var(--muted); }
.app-stats .up { color: var(--ok); }
.float-card {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(14, 14, 23, 0.92); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  font-size: 10px; color: var(--text-2); white-space: nowrap;
}
.fc1 { left: -26px; bottom: 46px; }
.fc2 { right: -18px; top: 44px; }
.fc2 b { font-size: 14px; color: var(--cyan); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ───────── 平台 ───────── */
.platforms { display: flex; align-items: center; gap: 26px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms > p { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; white-space: nowrap; }
.platform-row { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; }
.platform-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; font-weight: 500; opacity: 0.78; transition: opacity 0.15s ease; }
.platform-row span:hover { opacity: 1; }
.platform-row img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }

/* ───────── 数字 ───────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 8px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.stat { padding: 28px 26px; background: rgba(10, 10, 17, 0.8); }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #b9b3cb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 12px; }

/* ───────── 区块头 ───────── */
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p:not(.eyebrow) { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  overflow: hidden; transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 220px at 20% 0%, rgba(139, 92, 246, 0.16), transparent 70%);
  transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.38); }
.card:hover::after { opacity: 1; }
.bento > :nth-child(1) { grid-column: span 4; }
.bento > :nth-child(2) { grid-column: span 2; }
.bento > :nth-child(3) { grid-column: span 2; }
.bento > :nth-child(4) { grid-column: span 2; }
.bento > :nth-child(5) { grid-column: span 2; }
.bento > :nth-child(6) { grid-column: span 6; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.13); color: var(--violet-3); }
.icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.cyan { border-color: rgba(34, 211, 238, 0.32); background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.icon.honey { border-color: rgba(245, 185, 66, 0.32); background: rgba(245, 185, 66, 0.1); color: var(--honey); }
.tag { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 9.5px; letter-spacing: 0.08em; }
.card h3 { margin-bottom: 9px; }
.card > p { color: var(--text-2); font-size: 13px; line-height: 1.75; max-width: 62ch; }
.acct-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.acct { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 11px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.22); font-size: 9px; }
.acct .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; font-style: normal; margin-bottom: 4px; }
.a1 { background: linear-gradient(135deg, #8b5cf6, #22d3ee); } .a2 { background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.a3 { background: linear-gradient(135deg, #f5b942, #f472b6); } .a4 { background: linear-gradient(135deg, #34d399, #22d3ee); }
.acct b { font-size: 10.5px; color: var(--text); }
.acct em { font-style: normal; color: var(--muted); }
.acct u { text-decoration: none; font-size: 8.5px; margin-top: 2px; }
.acct .ok { color: var(--ok); } .acct .wait { color: var(--warn); }
.health { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.health-row { display: grid; grid-template-columns: 56px 1fr 74px; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.health-row i { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.health-row i::before { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #22d3ee); }
.health-row i.warn::before { background: linear-gradient(90deg, #f59e0b, #fb7185); }
.health-row b { color: var(--ok); font-size: 10px; text-align: right; }
.health-row .warn-t { color: var(--warn); }

/* ───────── Agent ───────── */
.agent-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.agent-copy .lead { margin-top: 18px; max-width: 500px; }
.check-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.check-list li { display: flex; gap: 14px; }
.check-list li > span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.12); color: var(--violet-3); font-size: 10px; font-weight: 600; }
.check-list b { display: block; font-size: 14px; margin-bottom: 3px; }
.check-list p { color: var(--muted); font-size: 12.5px; line-height: 1.7; max-width: 46ch; }
.agent-visual { position: relative; }
.chat-card { border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(20, 20, 32, 0.96), rgba(9, 9, 16, 0.98)); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.08); }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.chat-head small { margin-left: auto; color: var(--violet-3); font-size: 9.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 370px; }
.msg { max-width: 92%; padding: 10px 13px; border-radius: 12px; font-size: 11.5px; line-height: 1.7; }
.msg.user { align-self: flex-end; background: rgba(139, 92, 246, 0.22); border: 1px solid rgba(139, 92, 246, 0.35); color: #ede9fe; }
.msg.ai { align-self: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text-2); }
.msg.ai.muted { color: var(--muted); font-size: 10.5px; }
.msg b { color: var(--text); }
.tool-chip { display: block; margin-bottom: 5px; color: var(--cyan); font-size: 9.5px; }
.tool-chip i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-right: 6px; box-shadow: 0 0 8px var(--cyan); }
.mini-plan { display: grid; gap: 4px; margin-top: 9px; padding: 9px; border-radius: 9px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.24); }
.mini-plan div { display: flex; justify-content: space-between; gap: 12px; font-size: 9.5px; }
.mini-plan span { color: var(--muted); }
.mini-plan b { font-weight: 500; color: var(--text); }
.mini-plan b.draft { color: var(--warn); }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 0 14px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 11px; }
.chat-input i { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; background: var(--violet); box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.9); }

/* ───────── 步骤 ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)); }
.step-no { display: inline-block; margin-bottom: 18px; color: var(--violet-3); font-family: "SF Mono", Consolas, monospace; font-size: 11px; letter-spacing: 0.1em; }
.step h3 { margin-bottom: 8px; }
.step > p { color: var(--muted); font-size: 12.5px; line-height: 1.75; min-height: 66px; }
.step-art { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.24); }
.pill { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.045); font-size: 10px; color: var(--text-2); }
.pill img { width: 14px; height: 14px; border-radius: 3px; }
.pill i { margin-left: auto; font-style: normal; color: var(--ok); font-size: 9px; }
.art-2 .line { display: flex; align-items: center; gap: 8px; font-size: 9.5px; color: var(--text-2); }
.art-2 .line span { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--cyan); border-top-color: transparent; animation: spin 1.4s linear infinite; }
.art-2 .line:nth-child(2) span { border-color: var(--ok); animation: none; }
.art-2 .line b { font-weight: 500; } .art-2 .line em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 8.5px; }
@keyframes spin { to { transform: rotate(360deg); } }
.plan-mini { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.045); font-size: 9.5px; }
.plan-mini span { color: var(--text); font-weight: 600; }
.plan-mini b { color: var(--text-2); font-weight: 400; }
.plan-mini em { margin-left: auto; font-style: normal; color: var(--warn); }
.plan-mini i { font-style: normal; color: var(--ok); }

/* ───────── 安全 ───────── */
.safety { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.safety-grid { display: grid; gap: 12px; }
.safety-grid article { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(255, 255, 255, 0.028); }
.safety-grid .icon { margin-bottom: 14px; }
.safety-grid h3 { font-size: 15px; margin-bottom: 6px; }
.safety-grid p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }

/* ───────── 下载 ───────── */
.downloads { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; margin-top: 8px; }
.dl-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); box-shadow: 0 30px 80px -50px rgba(139, 92, 246, 0.45); }
.dl-card.soon { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)); box-shadow: none; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.os { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); }
.os svg { width: 22px; height: 22px; fill: currentColor; }
.os.win { color: #7dd3fc; } .os.mac { color: var(--text-2); }
.dl-head h3 { font-size: 19px; }
.dl-head p { color: var(--muted); font-size: 11px; margin-top: 2px; }
.badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.28); color: var(--ok); font-size: 9.5px; }
.soon-badge { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.26); color: var(--warn); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0; color: var(--muted); font-size: 11px; }
.dl-meta b { color: var(--text-2); font-weight: 500; }
.dl-alt { display: block; margin-top: 12px; text-align: center; color: var(--muted); font-size: 11.5px; text-decoration: underline; text-underline-offset: 3px; }
.dl-alt:hover { color: var(--violet-3); }
.dl-note { margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.dl-foot { margin-top: 22px; color: var(--muted); font-size: 11.5px; text-align: center; }

/* ───────── 迁映 promo ───────── */
.promo {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding: 52px; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(139, 92, 246, 0.22), transparent 65%),
    radial-gradient(500px 300px at 95% 100%, rgba(34, 211, 238, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(20, 16, 32, 0.9), rgba(9, 9, 16, 0.96));
}
.promo-copy p:not(.eyebrow) { margin-top: 16px; color: var(--text-2); font-size: 14px; max-width: 520px; }
.promo-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.promo-art { position: relative; min-height: 280px; }
.orb { position: absolute; inset: 12% 8% 0 20%; border-radius: 50%; background: radial-gradient(circle at 38% 30%, rgba(196, 181, 253, 0.55), rgba(139, 92, 246, 0.25) 35%, transparent 68%); filter: blur(18px); }
.promo-chip { position: absolute; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(10, 10, 18, 0.82); backdrop-filter: blur(10px); font-size: 10.5px; color: var(--text-2); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9); }
.c1 { left: 2%; top: 10%; } .c2 { right: 0; top: 32%; } .c3 { left: 12%; bottom: 14%; }
.credit-card { position: absolute; right: 4%; bottom: 4%; width: 190px; padding: 18px; border-radius: 16px; border: 1px solid rgba(139, 92, 246, 0.35); background: linear-gradient(160deg, rgba(30, 24, 52, 0.96), rgba(12, 12, 22, 0.98)); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); transform: rotate(-3deg); }
.credit-card small { color: var(--muted); font-size: 9.5px; }
.credit-card b { display: block; margin: 4px 0 2px; font-size: 40px; letter-spacing: -0.05em; background: linear-gradient(90deg, #fff, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.credit-card span { color: var(--muted); font-size: 9px; }

/* ───────── FAQ ───────── */
.faq-sec { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { position: relative; padding: 20px 34px 20px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; font-weight: 300; transition: transform 0.2s ease, color 0.2s ease; }
.faq details[open] summary::after { content: "−"; color: var(--violet-3); }
.faq p { padding: 0 34px 20px 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

/* ───────── 末尾 CTA ───────── */
.final-cta { text-align: center; padding: 96px 0 110px; }
.final-cta h2 { margin-bottom: 28px; }
.final-cta .hero-cta { justify-content: center; }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--border); background: rgba(5, 5, 9, 0.7); padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }
.f-brand p { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col b { margin-bottom: 4px; color: var(--text); font-size: 11.5px; letter-spacing: 0.04em; }
.f-col a { color: var(--muted); font-size: 12px; transition: color 0.15s ease; }
.f-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10.5px; }

/* ───────── Reveal ───────── */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse, .art-2 .line span { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ───────── 响应式 ───────── */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 64px; min-height: 0; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 720px; }
  .agent-sec, .safety, .faq-sec { grid-template-columns: 1fr; gap: 40px; }
  .faq-sec .sec-head { max-width: none; }
  .downloads { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; padding: 38px; }
  .promo-art { min-height: 240px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .mobile-menu[hidden] { display: none; }
  .section { padding: 78px 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > :nth-child(n) { grid-column: span 1; }
  .bento > :nth-child(1), .bento > :nth-child(6) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .step > p { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .downloads { grid-template-columns: 1fr; }
  .acct-strip { grid-template-columns: repeat(2, 1fr); }
  .app-window { transform: none; }
  .fc1 { left: 8px; } .fc2 { right: 8px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: clamp(36px, 11vw, 52px); }
  h2 { font-size: clamp(28px, 8.4vw, 38px); }
  .hero { padding-top: 44px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .platforms { flex-direction: column; align-items: flex-start; gap: 14px; }
  .platform-row { gap: 10px 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento > :nth-child(n) { grid-column: span 1; }
  .bento > :nth-child(6) { grid-column: span 1; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float-card { display: none; }
  .promo { padding: 26px; border-radius: 22px; }
  .promo-art { min-height: 220px; }
  .credit-card { width: 160px; right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .dl-card { padding: 20px; }
  .plan-card { grid-template-columns: repeat(3, 1fr); }
  .plan-card button { grid-column: span 3; }
}
