:root {
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --fuchsia: #d946ef;
  --grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #d946ef 100%);
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --card: #fff;
  --line: #e8ebf3;
  --bg: #f7f8fc;
  --good: #059669;
  --bad: #dc2626;
  --warn: #d97706;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px rgba(49, 46, 129, 0.14);
  --radius: 18px;
  --nav-h: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: #c7d2fe; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  background: rgba(247, 248, 252, 0.78);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35); font-size: 16px;
}
.nav { display: flex; align-items: center; gap: 14px; font-size: 15px; white-space: nowrap; }
.nav a { color: var(--ink-soft); font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--indigo); }
.nav .nav-login { color: #fff; background: var(--ink); padding: 6px 14px; border-radius: 999px; }
.nav .nav-login:hover { color: #fff; background: var(--indigo); }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 40px 0 28px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg span:nth-child(1) { width: 520px; height: 520px; background: #c7d2fe; top: -220px; left: -160px; }
.hero-bg span:nth-child(2) { width: 460px; height: 460px; background: #f5d0fe; top: -120px; right: -160px; }
.hero-bg span:nth-child(3) { width: 420px; height: 420px; background: #bae6fd; bottom: -260px; left: 35%; opacity: .4; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(79, 70, 229, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 5px 14px 5px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-soft); background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.lead { margin: 14px 0 26px; font-size: 17px; color: var(--ink-soft); }

.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pain {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; color: var(--ink);
  background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pain:hover, .pain:focus-visible { transform: translateY(-2px); border-color: #c7d2fe; box-shadow: 0 10px 28px rgba(79, 70, 229, .12); outline: none; }
.pain-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex: none;
  color: var(--indigo); background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}
.pain:hover .pain-icon { color: #fff; background: var(--grad); }
.pain-text { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.5; }
.pain-go { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--indigo); font-weight: 600; white-space: nowrap; }
.pain-go svg { transition: transform .18s; }
.pain:hover .pain-go svg { transform: translateX(3px); }

/* 首屏产品示意 */
.hero-visual { position: relative; margin: 0; }
.hero-visual figcaption { margin-top: 14px; font-size: 12px; color: var(--ink-mute); }
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
  font-size: 13px; line-height: 1.5;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); color: var(--ink-mute); font-size: 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.mock-bar i:nth-child(1) { background: #fca5a5; }
.mock-bar i:nth-child(2) { background: #fcd34d; }
.mock-bar i:nth-child(3) { background: #86efac; }
.mock-bar span { margin-left: 8px; font-weight: 500; }
.mock-body { padding: 14px; }
.mock-row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid #f1f5f9; }
.mock-row.mock-head { font-size: 11px; color: var(--ink-mute); font-weight: 600; padding-top: 0; }
.mock-row.key span:first-child { font-weight: 600; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; font-style: normal; white-space: nowrap; }
.tag.ok { background: #f1f5f9; color: var(--ink-soft); }
.tag.good { background: #ecfdf5; color: var(--good); }
.tag.bad { background: #fef2f2; color: var(--bad); }
.tag.warn { background: #fffbeb; color: var(--warn); }
.mock-alert {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 10px;
  background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 500;
}
.mock-chat {
  position: absolute; right: -16px; bottom: -64px; width: 270px; padding: 14px; border-radius: 16px;
  animation: float 6s ease-in-out infinite;
}
.mock-chat .q { margin: 0 0 10px; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--indigo); color: #fff; margin-left: 28px; }
.mock-chat .a { display: flex; gap: 8px; }
.mock-chat .a p { margin: 0; padding: 8px 12px; border-radius: 4px 12px 12px 12px; background: #f5f3ff; }
.ai-dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; font-size: 12px; }
.source { display: inline-block; margin-top: 8px; margin-left: 30px; font-size: 11px; color: var(--violet); background: #f5f3ff; padding: 2px 8px; border-radius: 999px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.promise {
  list-style: none; margin: 56px 0 0; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); position: relative; z-index: 1;
}
.promise li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.promise svg { color: var(--good); font-size: 16px; }

/* ---------- 通用区块 ---------- */
.capabilities, .demo, .process { padding: 56px 0; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--violet); text-align: center; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; letter-spacing: -0.02em; }
.section-lead { margin: 10px auto 36px; max-width: 560px; text-align: center; color: var(--ink-soft); }
.note { margin: 12px 0 0; font-size: 13px; color: var(--ink-mute); }

/* ---------- 能力 ---------- */
.cap {
  --accent: var(--indigo);
  display: grid; gap: 28px; margin-bottom: 24px; padding: 24px; border-radius: 24px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: calc(var(--nav-h) + 16px); position: relative; overflow: hidden;
}
.cap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); opacity: .85; }
.cap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cap-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; font-size: 22px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white);
}
.cap h3 { font-size: 22px; font-weight: 800; }
.cap-tagline { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.cap-body { margin: 0; display: grid; gap: 12px; }
.cap-body > div { padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid #f1f5f9; }
.cap-body dt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.cap-body dd { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.cap-body ul { margin: 0; padding: 0; list-style: none; }
.cap-body li { position: relative; padding-left: 20px; margin: 3px 0; }
.cap-body li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, white); box-shadow: inset 0 0 0 2px var(--accent);
}
.cap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.cap-actions:empty { display: none; }
.cap-visual { display: none; }
.visual-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-mute); }

/* 能力示意图 */
.report { display: grid; gap: 10px; }
.report-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid #f1f5f9; background: #fafbff; }
.report-item b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; flex: none; }
.report-item div { flex: 1; display: flex; flex-direction: column; }
.report-item strong { font-size: 14px; }
.report-item span { font-size: 12px; color: var(--ink-mute); }
.flow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 14px; min-width: 88px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.flow-step svg { font-size: 20px; color: var(--accent); }
.flow-arrow { color: #cbd5e1; font-size: 18px; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-stats div { padding: 10px; border-radius: 12px; background: #f8fafc; text-align: center; }
.mock-stats b { display: block; font-size: 22px; font-weight: 800; }
.mock-stats span { font-size: 11px; color: var(--ink-mute); }
.c-good { color: var(--good); } .c-bad { color: var(--bad); } .c-warn { color: var(--warn); }
.chat-mock { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 13px; }
.bubble.me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { display: flex; gap: 8px; align-self: flex-start; background: #f8fafc; border: 1px solid #f1f5f9; border-top-left-radius: 4px; }
.bubble.ai .source { margin-left: 0; display: block; width: fit-content; }
.vault { position: relative; }
.vault-office { position: relative; padding: 22px 18px 18px; border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, white); background: color-mix(in srgb, var(--accent) 5%, white); }
.vault-label { position: absolute; top: -12px; left: 18px; padding: 0 10px; background: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--accent); }
.vault-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vault-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.vault-chip svg { color: var(--accent); }
.vault-server { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #e2e8f0; font-size: 13px; font-weight: 600; }
.vault-server svg { font-size: 18px; color: #5eead4; }
.vault-lock { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 18px; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 40%, transparent); }
.vault-out { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--ink-mute); }
.vault-out span { text-decoration: line-through; }
.vault-out b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fef2f2; color: var(--bad); font-size: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center; border: 0; border-radius: 12px; padding: 11px 20px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(124, 58, 237, .28); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-light { color: var(--indigo); background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.btn-light:hover { transform: translateY(-1px); }
.btn-link { padding: 11px 4px; background: none; color: var(--accent, var(--indigo)); }
.btn-link svg { transition: transform .15s; }
.btn-link:hover svg { transform: translateX(3px); }
.btn-ghost { background: #f1f5f9; color: var(--ink-soft); }

/* ---------- 合作流程 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.steps li { position: relative; padding: 22px 20px 20px 76px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-no {
  position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: var(--grad); box-shadow: 0 6px 16px rgba(124, 58, 237, .3);
}
.steps h3 { font-size: 17px; font-weight: 700; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.process-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; padding: 30px 28px;
  border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(500px 220px at 100% 0%, rgba(244, 114, 182, .45), transparent 60%), linear-gradient(120deg, #312e81, #4f46e5 55%, #7c3aed);
  box-shadow: 0 20px 40px rgba(79, 70, 229, .25);
}
.process-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 36px rgba(255,255,255,.05); }
.process-cta h3 { font-size: 22px; font-weight: 800; color: #fff; }
.cta-copy { position: relative; z-index: 1; }
.process-cta .btn { position: relative; z-index: 1; }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink-mute); }
.process-cta .hint { color: #e0e7ff; }

/* ---------- 页脚 ---------- */
.footer { padding: 36px 0 44px; background: var(--ink); color: #94a3b8; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand { color: #fff; }
.footer p { margin: 6px 0 0; font-size: 14px; }
.footer a { color: #c7d2fe; }
.copyright { font-size: 13px; }

/* ---------- 找真人 ---------- */
.contact-button {
  position: fixed; right: 16px; bottom: 96px; /* 给右下角的 MomoBird 助手留位置 */ z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 18px;
  font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--grad);
  box-shadow: 0 10px 28px rgba(124, 58, 237, .4); cursor: pointer;
}
.contact-dialog {
  width: min(340px, calc(100vw - 32px)); border: 0; border-radius: 22px; padding: 28px; text-align: center;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .3);
}
.contact-dialog::backdrop { background: rgba(15, 23, 42, .5); backdrop-filter: blur(4px); }
.contact-dialog h2 { font-size: 19px; }
.contact-dialog img { display: block; width: 220px; max-width: 100%; height: auto; margin: 18px auto 8px; border-radius: 12px; border: 1px solid var(--line); }
.contact-dialog p { margin: 8px 0 18px; color: var(--ink-soft); font-size: 14px; }

/* ---------- 滚动出现（仅在 JS 可用时启用，内容本身始终在 HTML 里） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mock-chat { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 26px; height: 26px; }
  .nav { gap: 10px; font-size: 14px; }
  .nav .nav-login { padding: 4px 10px; }
  .hero h1 { font-size: 34px; }
  .pain-go { display: none; }
}
@media (max-width: 767px) {
  .hero-visual .mock-chat { position: relative; right: auto; bottom: auto; width: auto; margin: -20px 12px 0 40px; animation: none; }
  .promise { margin-top: 32px; justify-content: flex-start; }
}
@media (min-width: 768px) {
  :root { --nav-h: 66px; }
  .nav { gap: 28px; }
  .hero { padding: 72px 0 40px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 19px; }
  .capabilities, .demo, .process { padding: 80px 0; }
  .section-title { font-size: 36px; }
  .cap { padding: 36px; }
  .cap-body { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps::before {
    content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, #c7d2fe, #f0abfc); z-index: 0;
  }
  .steps li { padding: 78px 20px 22px; text-align: center; z-index: 1; }
  .step-no { left: 50%; transform: translateX(-50%); top: 20px; }
  .process-cta { padding: 40px 44px; }
  .contact-button { right: 24px; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hero-visual { padding: 0 20px 36px 0; }
  .cap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 44px; }
  .cap:nth-of-type(even) .cap-main { order: 2; }
  .cap-body { grid-template-columns: 1fr; }
  .cap-visual { display: block; }
}
