/* ==========================================================
   同泽科技 · 腾讯 WorkBuddy 授权代理商
   不依赖任何外部字体 / CDN，国内访问稳定
   ========================================================== */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --brand: #1546c7;
  --brand-2: #2563eb;
  --brand-ink: #0e2f8a;
  --brand-soft: #eaf0ff;
  --navy: #0b1a3a;
  --navy-2: #13254d;
  --ok: #0e9f6e;
  --err: #c2410c;
  --amber: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px rgba(15, 23, 42, .07);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li + li { margin-top: .35em; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-soft); color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-tag { display: flex; flex-direction: column; padding-left: 12px; border-left: 2px solid #ddd6fe; line-height: 1.3; white-space: nowrap; }
.brand-tag b { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-tag em {
  font-style: normal; font-size: 14px; font-weight: 800; letter-spacing: .08em;
  background: linear-gradient(100deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li + li { margin-top: 0; }
.main-nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.main-nav a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-phone { display: none !important; font-weight: 700; color: var(--ink) !important; white-space: nowrap; }
.nav-toggle { display: none; }

@media (min-width: 1240px) {
  .nav-phone { display: block !important; }
}

@media (max-width: 1080px) {
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; border-radius: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--bg-2); border-radius: 0; }
  .nav-phone { display: block !important; margin-top: 8px; padding: 13px 12px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand { margin-right: auto; }
  .brand-logo { height: 34px; }
  .brand-tag { padding-left: 10px; }
  .brand-tag b { font-size: 12px; }
  .brand-tag em { font-size: 13px; letter-spacing: .05em; }
}

/* ---------- 面包屑 ---------- */
.crumbs { border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 10px 0; }
.crumbs li + li { margin-top: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- 版块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.section.tight { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 17px; color: var(--ink-3); margin: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brand);
}
.lead { font-size: 18px; color: var(--ink-2); }

/* ---------- 首页首屏 ---------- */
.hero { padding: 72px 0 80px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, .10), transparent 60%),
  linear-gradient(#fff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft);
}
.badge.neutral { color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.hero h1 .hl { color: var(--brand); }
.hero .lead { max-width: 600px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-contact { font-size: 15px; color: var(--ink-3); margin: 0; }
.hero-contact a { font-weight: 700; color: var(--ink); }

/* 智能体示意窗口 */
.agent {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(11, 26, 58, .25), 0 2px 6px rgba(11, 26, 58, .06);
  overflow: hidden; font-size: 14px;
}
.agent-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.agent-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: block; }
.agent-bar i:nth-child(1) { background: #f87171; }
.agent-bar i:nth-child(2) { background: #fbbf24; }
.agent-bar i:nth-child(3) { background: #34d399; }
.agent-bar span { margin-left: 8px; font-weight: 600; color: var(--ink-2); font-size: 13px; }
.agent-body { padding: 18px; display: grid; gap: 14px; }
.agent-user {
  justify-self: end; max-width: 88%;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; line-height: 1.6;
}
.agent-steps { list-style: none; margin: 0; padding: 12px 14px; background: var(--bg-2); border-radius: 12px; }
.agent-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.agent-steps li + li { margin-top: 8px; }
.agent-steps .dot {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--ok); position: relative;
}
.agent-steps .dot::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.agent-steps .dot.run { background: none; border: 2px solid var(--brand-2); border-right-color: transparent; animation: spin 1s linear infinite; }
.agent-steps .dot.run::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .agent-steps .dot.run { animation: none; } html { scroll-behavior: auto; } }
.agent-files { display: flex; flex-wrap: wrap; gap: 8px; }
.file {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-weight: 600; color: var(--ink); font-size: 13px;
}
.file b { font-size: 11px; color: #fff; padding: 2px 6px; border-radius: 5px; letter-spacing: .03em; }
.file .x { background: #16a34a; } .file .p { background: #ea580c; } .file .w { background: #2563eb; }
.agent-foot { font-size: 12px; color: var(--ink-3); padding: 0 18px 14px; }
.figure-note { font-size: 12px; color: var(--ink-3); text-align: center; margin: 10px 0 0; }

/* 关键数据条 */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-size: 22px; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--ink-3); line-height: 1.5; display: block; }

/* ---------- 子页面头部 ---------- */
.page-hero { padding: 56px 0 44px; background: linear-gradient(180deg, var(--bg-2), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 42px); max-width: 900px; }
.page-hero .lead { max-width: 820px; margin-bottom: 18px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); margin: 0; }

/* 一句话回答 */
.tldr {
  margin: 28px 0 0; max-width: 900px;
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--brand-soft); border-left: 4px solid var(--brand);
  color: var(--ink); font-size: 16.5px;
}
.tldr::before { content: "简要回答"; display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--brand); margin-bottom: 4px; }
.tldr p:last-child { margin-bottom: 0; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.soft { background: var(--bg-2); border-color: transparent; }
.card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px;
}
.tick { list-style: none; padding: 0; }
.tick li { position: relative; padding-left: 26px; }
.tick li::before {
  content: ""; position: absolute; left: 3px; top: .55em; width: 6px; height: 11px;
  border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cross li::before { border: 0; width: 12px; height: 2px; top: .9em; left: 2px; background: var(--ink-3); transform: none; }

/* 指令示例 */
.prompt {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px dashed var(--line-2);
  font-size: 15px; color: var(--ink); line-height: 1.65;
}
.prompt::before { content: "可以这样说"; display: block; font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .08em; margin-bottom: 2px; }
.out { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.out::before { content: "产出 → "; color: var(--ok); font-weight: 700; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--bg-2); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
table.data tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; width: 1%; }
table.data tr:last-child td, table.data tr:last-child th { border-bottom: 0; }
table.data .price { font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
table.kv { min-width: 0; }
.table-note { font-size: 13px; color: var(--ink-3); margin: 10px 2px 0; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps.row { grid-template-columns: repeat(4, 1fr); }
.steps > li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; margin: 0; }
.steps > li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  background: var(--navy); color: #fff; font-weight: 700;
}
.steps h3 { margin-bottom: 6px; font-size: 18px; }
.steps p { margin: 0; font-size: 15px; }
.steps .when { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }

/* ---------- 对比 ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.versus > div { padding: 26px; }
.versus > div + div { border-left: 1px solid var(--line); background: var(--brand-soft); }
.versus h3 { font-size: 17px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-list.center { margin: 0 auto; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
details.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
details.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 22px; font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.55;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 24px; }

/* ---------- 行动条 ---------- */
.cta-band { background: var(--navy); color: #cbd5e1; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-points li { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; }
.contact-points span { font-size: 14px; color: var(--ink-3); }
.contact-points a, .contact-points strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.lead-form h3 { font-size: 22px; margin-bottom: 4px; }
.lead-form .form-sub { color: var(--ink-3); font-size: 15px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--err); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.field .invalid { border-color: var(--err); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; }
.form-note.ok { color: var(--ok); font-weight: 600; }
.form-note.err { color: var(--err); }
.form-legal { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- 正文排版（指南类页面） ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.2em; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ol > li, .prose ul > li { margin-top: .5em; }
.prose .card { margin: 20px 0; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside .card + .card { margin-top: 16px; }
.toc { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink-2); }

.sources { font-size: 14px; color: var(--ink-3); }
.sources ol { padding-left: 1.2em; }
.sources a { word-break: break-all; }

.cert { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 18px; background: #fff; }

/* ---------- 网站地图页 ---------- */
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list > li { margin: 0; }
.sitemap-title { font-size: 18px; margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #94a3b8; font-size: 14px; padding: 64px 0 28px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { height: 40px; width: auto; margin-bottom: 14px; }
.foot-name { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.foot-contact { line-height: 2; }
.foot-h { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li + li { margin-top: 8px; }
.foot-legal { border-top: 1px solid var(--navy-2); margin-top: 44px; padding-top: 22px; font-size: 13px; }
.foot-legal p { margin: 0 0 6px; }

/* ---------- 手机底部快捷栏 ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 64px; height: 48px; padding: 0 8px;
    font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-2);
    background: none; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none;
  }
  .mobile-bar svg { width: 20px; height: 20px; fill: var(--ink-2); }
  .mobile-bar .mobile-bar-cta { background: var(--brand); color: #fff; font-size: 16px; flex-direction: row; }
}

/* ---------- 微信弹窗 ---------- */
.wechat-dialog {
  border: 0; border-radius: 18px; padding: 30px 28px 24px; width: min(360px, calc(100vw - 32px));
  text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.wechat-dialog::backdrop { background: rgba(11, 26, 58, .55); }
.wechat-dialog h2 { font-size: 20px; }
.wechat-dialog img { margin: 0 auto 8px; border-radius: 8px; }
.wechat-close-form { position: absolute; right: 10px; top: 8px; margin: 0; }
.wechat-close { font-size: 26px; line-height: 1; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ink-3); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-4, .steps.row { grid-template-columns: repeat(2, 1fr); }
  .layout-aside { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .versus { grid-template-columns: 1fr; }
  .versus > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 30px; }
  .grid-2, .grid-3, .grid-4, .steps.row, .form-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .lead-form { padding: 22px 18px; }
  .cta-band { padding: 48px 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .page-hero { padding: 36px 0 32px; }
  table.data th, table.data td { padding: 12px 14px; }
  /* 多列表格在手机上按卡片显示 */
  table.stack { min-width: 0; }
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack tbody th, table.stack td { display: flex; gap: 12px; padding: 3px 0; border: 0; width: auto; white-space: normal; }
  table.stack tbody th { font-size: 17px; padding-bottom: 8px; }
  table.stack td::before { content: attr(data-label); flex: 0 0 76px; color: var(--ink-3); font-size: 13px; padding-top: 2px; }
  table.stack .price { font-size: 18px; }
}

/* ==========================================================
   渐变配色（蓝 → 紫 → 品红）
   - 渐变集中用在品牌色、标题强调、按钮、图标和深色区块
   - 所有动画在系统开启“减少动态效果”时自动关闭
   - 滚动渐显只在脚本运行后才生效，不影响搜索引擎读取内容
   ========================================================== */

:root {
  --grad-brand: linear-gradient(120deg, #2563eb 0%, #6d28d9 55%, #c026d3 100%);
  --grad-text: linear-gradient(100deg, #2563eb 0%, #7c3aed 45%, #db2777 90%);
  --grad-cool: linear-gradient(120deg, #06b6d4 0%, #2563eb 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #fdf4ff 100%);
  --glow: 0 10px 30px -10px rgba(109, 40, 217, .55);
  --brand-soft: #eef2ff;
}

/* 渐变文字 */
.grad-text, .hero h1 .hl, .fact strong, .eyebrow {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow { background-image: var(--grad-cool); }

/* 按钮 */
.btn-primary {
  background: var(--grad-brand);
  background-size: 180% 100%;
  background-position: 0% 50%;
  box-shadow: var(--glow);
  transition: background-position .5s ease, box-shadow .2s, transform .15s;
}
.btn-primary:hover { background: var(--grad-brand); background-size: 180% 100%; background-position: 100% 50%; box-shadow: 0 14px 34px -10px rgba(192, 38, 211, .55); transform: translateY(-1px); }
.btn-ghost:hover { border-color: #a78bfa; color: #6d28d9; }
.mobile-bar .mobile-bar-cta { background: var(--grad-brand); box-shadow: var(--glow); }

/* 徽标与小标签 */
.badge { background: linear-gradient(120deg, #e0e7ff, #f3e8ff); color: #4c1d95; }
.badge.neutral { background: linear-gradient(120deg, #dbeafe, #e0e7ff); color: #1e40af; border: 1px solid #c7d2fe; }

/* 首屏：彩色光斑背景 */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -180px; background: radial-gradient(circle, #a5b4fc, #c4b5fd 45%, transparent 70%); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(circle, #99f6e4, #bae6fd 45%, transparent 70%); }
.hero > .wrap { position: relative; z-index: 1; }

/* 首屏智能体窗口：渐变描边 + 光晕 */
.hero figure { position: relative; }
.hero figure::before {
  content: ""; position: absolute; inset: 8% 6% 14%; z-index: -1;
  background: var(--grad-brand); filter: blur(48px); opacity: .28; border-radius: 30px;
}
.agent { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #c7d2fe, #e9d5ff, #fbcfe8) border-box; }
.agent-user { background: var(--grad-brand); }
.agent-bar span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 关键数据条 */
.facts { background: linear-gradient(90deg, #fafbff, #fdfaff); }

/* 浅色区块背景 */
.section.alt { background: linear-gradient(180deg, #f7f8ff 0%, #faf7ff 100%); }
.page-hero {
  background:
    radial-gradient(700px 280px at 95% -30%, rgba(167, 139, 250, .28), transparent 65%),
    radial-gradient(600px 260px at 0% -20%, rgba(96, 165, 250, .22), transparent 65%),
    linear-gradient(180deg, #f8faff, #fff);
}

/* 简要回答框：渐变底色 + 渐变竖条 */
.tldr { position: relative; border-left: 0; padding-left: 26px; background: var(--grad-soft); }
.tldr::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 10px 0 0 10px; background: var(--grad-brand); }
.tldr::before { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 卡片：悬停浮起 */
.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.grid > .card:hover, .steps > li:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 20px 40px -22px rgba(76, 29, 149, .35);
}
.steps > li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card.featured { border: 2px solid transparent; box-shadow: 0 20px 40px -24px rgba(109, 40, 217, .45); background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; }
.card.soft { background: var(--grad-soft); }

/* 图标：每张卡片换一种颜色 */
.icon { transition: transform .3s ease; }
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.grid > :nth-child(6n+1) .icon { background: linear-gradient(135deg, #dbeafe, #e0e7ff); color: #2563eb; }
.grid > :nth-child(6n+2) .icon { background: linear-gradient(135deg, #ede9fe, #fae8ff); color: #7c3aed; }
.grid > :nth-child(6n+3) .icon { background: linear-gradient(135deg, #ccfbf1, #cffafe); color: #0d9488; }
.grid > :nth-child(6n+4) .icon { background: linear-gradient(135deg, #fef3c7, #ffedd5); color: #d97706; }
.grid > :nth-child(6n+5) .icon { background: linear-gradient(135deg, #fce7f3, #ffe4e6); color: #db2777; }
.grid > :nth-child(6n+6) .icon { background: linear-gradient(135deg, #dcfce7, #d1fae5); color: #059669; }

/* 步骤编号、序号块 */
.steps > li::before, .num { background: var(--grad-brand); box-shadow: 0 6px 14px -6px rgba(109, 40, 217, .6); }
.steps .when { color: #7c3aed; }

/* 指令示例 */
.prompt { background: linear-gradient(135deg, #f8faff, #fbf7ff); border-color: #c7d2fe; }
.prompt::before { color: #7c3aed; }

/* FAQ */
details.faq[open] { border-color: #c7d2fe; }
details.faq[open] summary { color: #4c1d95; }

/* 深色行动条：彩色光晕 */
.cta-band {
  background:
    radial-gradient(520px 260px at 8% 0%, rgba(124, 58, 237, .55), transparent 65%),
    radial-gradient(560px 280px at 95% 100%, rgba(6, 182, 212, .40), transparent 65%),
    radial-gradient(400px 200px at 60% 50%, rgba(219, 39, 119, .18), transparent 70%),
    var(--navy);
}

/* 页脚顶部渐变线 */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-brand); }

/* 页头：滚动后出现阴影 */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(30, 27, 75, .18); }
.main-nav a[aria-current="page"] { background: linear-gradient(120deg, #e0e7ff, #f3e8ff); color: #4c1d95; }

/* 表单 */
.lead-form { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #c7d2fe, #e9d5ff, #fbcfe8) border-box; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }

/* ---------- 动效（系统允许动画时才启用） ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* 标题渐变缓慢流动 */
  .hero h1 .hl { animation: gradFlow 6s ease-in-out infinite alternate; }
  @keyframes gradFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

  /* 背景光斑缓慢漂移 */
  .hero::before { animation: drift1 14s ease-in-out infinite alternate; }
  .hero::after { animation: drift2 16s ease-in-out infinite alternate; }
  @keyframes drift1 { to { transform: translate(-60px, 50px) scale(1.08); } }
  @keyframes drift2 { to { transform: translate(70px, -40px) scale(1.1); } }

  /* 智能体窗口：轻微悬浮 + 任务逐步完成 */
  .agent { animation: float 7s ease-in-out 3.6s infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .agent-user { animation: popIn .5s cubic-bezier(.2, .8, .2, 1) .3s both; }
  .agent-steps li { animation: stepIn .45s ease both; }
  .agent-steps li:nth-child(1) { animation-delay: .9s; }
  .agent-steps li:nth-child(2) { animation-delay: 1.5s; }
  .agent-steps li:nth-child(3) { animation-delay: 2.1s; }
  .agent-steps li:nth-child(4) { animation-delay: 2.7s; }
  .agent-steps .dot:not(.run) { animation: tick .4s cubic-bezier(.3, 1.6, .5, 1) both; }
  .agent-steps li:nth-child(1) .dot { animation-delay: 1.25s; }
  .agent-steps li:nth-child(2) .dot { animation-delay: 1.85s; }
  .agent-steps li:nth-child(3) .dot { animation-delay: 2.45s; }
  .agent-files .file { animation: popIn .45s cubic-bezier(.2, .8, .2, 1) both; }
  .agent-files .file:nth-child(1) { animation-delay: 3.1s; }
  .agent-files .file:nth-child(2) { animation-delay: 3.3s; }
  .agent-files .file:nth-child(3) { animation-delay: 3.5s; }
  @keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes stepIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
  @keyframes tick { from { transform: scale(0); } to { transform: scale(1); } }

  /* 滚动渐显（main.js 给 <html> 加上 js-reveal 后才生效） */
  .js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }

  /* FAQ 展开 */
  details.faq[open] .faq-a { animation: faqIn .3s ease both; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
@media print {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
