/* ==========================================================================
   晴荷报账 · 官网推广站 样式表
   浅色主题 · 青蓝主色 · 无外部依赖

   3.0 视觉升级：
   - 首页首屏改为深色版：深墨青底 + 极光色团 + 白→薄荷→天蓝渐变标题，
     页头在首屏上自动转为深色玻璃态，吸顶后恢复白底
   - 版面节奏进一步拉开：区块留白与「标题 → 内容」间距按统一刻度放大
   - 对比表在窄屏（≤860px）由横向滚动表格改为逐行卡片，每格上方标注列名
   - 微动效与交错入场，全部遵循 prefers-reduced-motion

   类名与 HTML 结构保持兼容，本文件可整体替换旧版。
   ========================================================================== */

:root {
  /* ---------- 主色 ---------- */
  --brand: #0e7c76;
  --brand-2: #0b7fb0;
  --brand-ink: #0a5c58;
  --brand-deep: #05383a;
  --accent: #12a594;
  --accent-2: #35c4ae;

  /* 主色梯度（底色 / 描边 / 悬停态，统一色阶） */
  --brand-50:  #f2fbf9;
  --brand-100: #e2f4f1;
  --brand-200: #cfe7e4;
  --brand-300: #a9d5d1;
  --brand-400: #7cc4d8;

  /* ---------- 中性色 ---------- */
  --ink: #0a1e28;
  --ink-2: #2a414f;
  --body: #465c6a;
  --muted: #75879a;
  --line: #e2ebef;
  --line-2: #edf3f5;
  --bg: #ffffff;
  --soft: #f5faf9;
  --soft-2: #eaf6f4;
  --ok: #0f766e;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  --radius: 14px;
  --radius-lg: 22px;

  /* ---------- 阴影（多层叠加，避免灰扑扑的单层投影） ---------- */
  --shadow-xs: 0 1px 2px rgba(9, 43, 46, .05);
  --shadow-s:  0 1px 2px rgba(9, 43, 46, .04), 0 4px 14px -10px rgba(9, 43, 46, .22);
  --shadow-m:  0 2px 4px rgba(9, 43, 46, .04), 0 20px 44px -28px rgba(9, 43, 46, .42);
  --shadow-l:  0 12px 28px -22px rgba(5, 56, 58, .32), 0 46px 90px -46px rgba(5, 56, 58, .52);
  --shadow-brand: 0 20px 44px -26px rgba(11, 127, 176, .72);

  --ring: 0 0 0 4px rgba(14, 124, 118, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, .84, .44, 1);

  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  scrollbar-width: thin;
  scrollbar-color: #c9d8de transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.018em;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.4vw, 48px); }
h2 { font-size: clamp(25px, 3.1vw, 36px); }
h3 { font-size: 18px; letter-spacing: -.012em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }

.ico { flex: 0 0 auto; vertical-align: -3px; }

img, svg { max-width: 100%; }
img { height: auto; }

/* 标题锚点不被吸顶页头遮住 */
[id] { scroll-margin-top: 100px; }

::selection { background: var(--brand-200); color: var(--brand-deep); }

/* ---------- 滚动条（Chromium / Safari） ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #c9d8de; border-radius: 99px;
  border: 3px solid #fff; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #a9bcc6; background-clip: padding-box; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s ease,
              background-color .24s ease, border-color .24s ease, color .24s ease;
  white-space: nowrap;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn .ico { transition: transform .24s var(--ease); }
.btn:hover .ico { transform: translateX(2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3),
              inset 0 -1px 0 rgba(0, 0, 0, .08),
              0 14px 30px -16px rgba(11, 127, 176, .8);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35) 46%, transparent 68%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36),
              0 22px 42px -18px rgba(11, 127, 176, .85);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-outline {
  background: #fff; color: var(--brand-ink); border-color: var(--brand-200);
  box-shadow: 0 1px 2px rgba(9, 43, 46, .04);
}
.btn-outline:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--brand-50); transform: translateY(-2px);
  box-shadow: 0 16px 30px -20px rgba(10, 92, 88, .85);
}
.btn-outline:active { transform: translateY(0) scale(.985); }

.btn-light { background: #fff; color: var(--brand-ink); box-shadow: 0 16px 32px -22px rgba(2, 32, 30, .95); }
.btn-light:hover { color: var(--brand); transform: translateY(-2px); box-shadow: 0 20px 38px -22px rgba(2, 32, 30, .9); }
.btn-light:active { transform: translateY(0) scale(.985); }

.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .24); color: #fff; border-color: rgba(255, 255, 255, .8); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.site-header.is-stuck {
  box-shadow: 0 12px 34px -26px rgba(9, 43, 46, .55);
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand:hover .brand-text strong { color: var(--brand-ink); }
.logo-mark { flex: 0 0 auto; display: block; transition: transform .35s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-5deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong { font-size: 18.5px; color: var(--ink); letter-spacing: .01em; font-weight: 800; transition: color .2s; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: inline-block; padding: 9px 15px; border-radius: 10px; position: relative;
  font-size: 15px; font-weight: 500; color: var(--ink-2); transition: .22s var(--ease);
}
.site-nav a:hover { background: var(--soft-2); color: var(--brand-ink); }
.site-nav a.is-active { color: var(--brand); background: var(--soft-2); font-weight: 600; }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 18px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center;
  transition: .2s;
}
.nav-toggle:hover { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-ink); }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline-flex; }

/* ---------- 首页：页头浮在深色首屏上 ---------- */
/* 首页 logo 始终留一圈内衬，深色页头时垫白底保证双色调 logo 可读，
   吸顶变白后底色透明、外观与原来一致（padding 恒定，不产生跳动） */
.page-home .logo-mark {
  box-sizing: content-box; padding: 4px; border-radius: 10px;
  background: transparent; transition: background .28s ease, box-shadow .28s ease;
}
@media (min-width: 901px) {
  .page-home .site-header:not(.is-stuck) {
    background: linear-gradient(180deg, rgba(4, 32, 36, .60), rgba(4, 32, 36, .34));
    border-bottom-color: rgba(255, 255, 255, .09);
  }
  .page-home .site-header:not(.is-stuck) .brand-text strong { color: #fff; }
  .page-home .site-header:not(.is-stuck) .brand-text em { color: rgba(255, 255, 255, .62); }
  .page-home .site-header:not(.is-stuck) .logo-mark {
    background: #fff;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .85);
  }
  .page-home .site-header:not(.is-stuck) .site-nav a { color: rgba(255, 255, 255, .85); }
  .page-home .site-header:not(.is-stuck) .site-nav a:hover {
    background: rgba(255, 255, 255, .13); color: #fff;
  }
  .page-home .site-header:not(.is-stuck) .site-nav a.is-active {
    color: #fff; background: rgba(255, 255, 255, .15);
  }
  /* 首屏上移到页头底下，实现无缝深色顶区 */
  .page-home .hero { margin-top: -76px; }
  .page-home .hero-inner { padding-top: 168px; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .page-home .hero-inner { padding-top: 148px; }
}

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: rgba(226, 242, 240, .82);
  background:
    radial-gradient(1100px 540px at 6% -22%, rgba(16, 148, 132, .30) 0%, rgba(16, 148, 132, 0) 62%),
    radial-gradient(900px 480px at 98% -4%, rgba(11, 127, 176, .32) 0%, rgba(11, 127, 176, 0) 60%),
    linear-gradient(180deg, #042a30 0%, #053438 56%, #07404a 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
}

/* 极光色团：大范围柔光缓慢漂移，给首屏底色一点生命力 */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -14%; right: -14%; top: -32%; height: 150%;
  background:
    radial-gradient(34% 36% at 24% 30%, rgba(22, 200, 176, .30), transparent 72%),
    radial-gradient(30% 34% at 76% 20%, rgba(36, 152, 220, .28), transparent 74%),
    radial-gradient(26% 30% at 56% 76%, rgba(96, 205, 224, .20), transparent 76%);
  filter: blur(52px) saturate(130%);
  animation: qh-drift 26s ease-in-out infinite alternate;
}

/* 细网格纹理 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .8;
  mask-image: radial-gradient(circle at 30% 18%, #000 0%, transparent 66%);
  -webkit-mask-image: radial-gradient(circle at 30% 18%, #000 0%, transparent 66%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px;
  align-items: center; padding: 92px 24px 104px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #c2ece3;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 12px 26px -22px rgba(0, 0, 0, .85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.hero-badge .ico { color: var(--accent-2); }

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 1.16;
  letter-spacing: -.026em;
  color: var(--ink);
}
/* 主标题在深色底上走 白 → 薄荷 → 天蓝 的渐变，浏览器不支持时自动退回浅色 */
.hero h1 { color: #f2fbf9; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background-image: linear-gradient(168deg, #ffffff 0%, #c9f2e6 48%, #96d8f5 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}

.hero-lead { font-size: 17.5px; color: rgba(214, 236, 233, .82); max-width: 33em; line-height: 1.85; }
.hero-lead strong { color: #f0fdfa; font-weight: 700; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #d9f3ee;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px; border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: .24s var(--ease);
}
.hero-tags li:hover {
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .9);
}
.hero-tags .ico { color: var(--accent-2); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: rgba(198, 224, 221, .58); max-width: 40em; line-height: 1.75; }

/* 深色首屏里的描边按钮转为幽灵态 */
.hero .btn-outline {
  background: rgba(255, 255, 255, .06); color: #eafaf6;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); color: #fff;
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .9);
}

/* ---------- 首屏主视觉：软件界面示意 ---------- */
.hero-visual { perspective: 1500px; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 4% -8% -10% -8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(22, 200, 176, .38), rgba(11, 127, 176, .16) 62%, transparent 100%);
  filter: blur(38px); pointer-events: none;
}

.app-mock {
  position: relative; z-index: 1;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .72),
              0 80px 130px -70px rgba(0, 0, 0, .60),
              0 0 80px -34px rgba(22, 200, 176, .45),
              inset 0 0 0 1px rgba(255, 255, 255, .8);
  overflow: hidden;
  transform: rotateX(3.5deg) rotateY(-8deg);
  transform-origin: 58% 50%;
  transition: transform .8s var(--ease), box-shadow .8s ease;
}
.hero-visual:hover .app-mock {
  transform: rotateX(0deg) rotateY(0deg);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .72),
              0 80px 130px -70px rgba(0, 0, 0, .60),
              0 0 110px -30px rgba(22, 200, 176, .60),
              0 0 0 1px rgba(255, 255, 255, .20),
              inset 0 0 0 1px #fff;
}

.app-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 17px;
  background: linear-gradient(180deg, #fbfdfe, #f4f8fa);
  border-bottom: 1px solid var(--line-2);
}
.app-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #dbe3e8; }
.app-bar .d1 { background: #f5b4ac; } .app-bar .d2 { background: #f6d99a; } .app-bar .d3 { background: #a8ddc0; }
.app-title { margin-left: 10px; font-size: 12.5px; color: var(--muted); }

.app-body { display: grid; grid-template-columns: 118px 1fr; }
.app-nav { padding: 16px 10px; background: linear-gradient(180deg, #fbfdfd, #f6fbfb); border-right: 1px solid var(--line-2); }
.app-nav li {
  font-size: 12.5px; color: var(--muted); padding: 9px 11px; border-radius: 9px; margin-bottom: 3px;
  transition: .2s var(--ease);
}
.app-nav li.on {
  background: linear-gradient(135deg, #e3f6f2, #e5f1fb);
  color: var(--brand-ink); font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(14, 124, 118, .1);
}
.app-main { padding: 17px; }

.mock-toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.mock-search {
  flex: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  height: 34px; padding: 0 13px; border-radius: 10px;
  background: #fff; border: 1px solid #e6edf0;
  color: #9dabb6; font-size: 12px; white-space: nowrap; overflow: hidden;
}
.mock-search .ico { color: #b6c4cd; }
.mock-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 15px;
  border-radius: 10px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 18px -12px rgba(11, 127, 176, .95);
}

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.mock-stat {
  background: linear-gradient(180deg, #fbfdfd, var(--soft));
  border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px;
}
.mock-stat span { display: block; font-size: 11.5px; color: var(--muted); }
.mock-stat b {
  font-size: 21px; color: var(--ink); letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.mock-stat b.up { color: #c62828; }
.mock-stat b i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; }

.mock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.mock-row > span { width: 56px; flex: 0 0 auto; }
.mock-row b { width: 34px; text-align: right; color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 8px; border-radius: 99px; background: #eaf0f3; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--brand)); }
.bar.b2 i { background: linear-gradient(90deg, #7cc9e6, var(--brand-2)); }

.mock-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 82px;
  margin-top: 15px; padding: 11px;
  background: linear-gradient(180deg, #fbfdfd, var(--soft));
  border: 1px solid var(--line-2); border-radius: 12px;
}
.mock-chart span {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #5fcbbe, #b9e6df);
  min-height: 8%;
  transition: height .5s var(--ease);
}
.mock-caption { margin: 9px 0 0; font-size: 11px; color: var(--muted); text-align: right; }

/* 漂浮信息片：白玻璃药丸在深色底上自然浮起 */
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand-ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .75),
              inset 0 0 0 1px rgba(14, 124, 118, .08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: qh-float 7s ease-in-out infinite;
}
.float-chip .ico { color: var(--accent); }
.chip-1 { top: 4%; left: -36px; }
.chip-2 { bottom: 11%; right: -30px; animation-delay: -3.5s; }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 118px 0; position: relative; }

.section-soft {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f4fbfa 0%, #fafdfe 58%, #ffffff 100%);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.section-soft::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 90% 2%, rgba(18, 165, 148, .11), transparent 68%),
    radial-gradient(580px 300px at 4% 98%, rgba(11, 127, 176, .1), transparent 70%);
}
.section-soft > .wrap { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16.5px; margin: 0; line-height: 1.8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink);
  background: linear-gradient(140deg, #eaf7f5, #e9f2fb);
  border: 1px solid #d6ebe8;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px -4px rgba(10, 92, 88, .4);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  box-shadow: 0 0 0 3px rgba(18, 165, 148, .14);
}
.eyebrow::after { content: none; }

.center-more { text-align: center; margin-top: 48px; }
.link-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; transition: gap .24s var(--ease); }
.link-more:hover { gap: 12px; }

.page-hero {
  position: relative; overflow: hidden;
  padding: 96px 0 76px;
  background:
    radial-gradient(820px 340px at 6% -24%, #ddf4ef 0%, rgba(221, 244, 239, 0) 66%),
    radial-gradient(700px 320px at 96% 0%, #e3effc 0%, rgba(227, 239, 252, 0) 62%),
    linear-gradient(180deg, #f8fdfc, #ffffff);
  border-bottom: 1px solid var(--line-2);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  mask-image: radial-gradient(circle at 14% 10%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 14% 10%, #000 0%, transparent 60%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22em; margin-bottom: 18px; }
.page-lead { font-size: 17px; max-width: 46em; margin: 0; line-height: 1.85; color: var(--body); }
.page-lead strong { color: var(--ink); font-weight: 700; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--brand-ink); background: #fff; border: 1px solid #d8ebe9;
  box-shadow: 0 1px 2px rgba(9, 43, 46, .04);
  transition: .22s var(--ease);
}
.anchor-nav a:hover {
  border-color: var(--brand); color: var(--brand); transform: translateY(-2px);
  box-shadow: 0 14px 26px -20px rgba(10, 92, 88, .95);
}
.anchor-nav .ico { color: var(--accent); }

/* ==========================================================================
   卡片
   ========================================================================== */
.card-grid { display: grid; gap: 26px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px 30px;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(18, 165, 148, .14), transparent 100%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-m);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: 11px; }
.card p { font-size: 14.8px; color: var(--body); line-height: 1.82; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 17px; margin-bottom: 20px;
  background: linear-gradient(140deg, #e4f7f3, #e7f1fb 62%, #edf1fd);
  color: var(--brand);
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px -18px rgba(10, 92, 88, .9);
  transition: transform .34s var(--ease), box-shadow .34s ease;
}
.card:hover .card-icon { transform: translateY(-3px) scale(1.05) rotate(-2deg); }

/* 图标色相做轻微轮换，整片卡片不再是一片同色 */
.card-grid .card:nth-child(3n+2) .card-icon {
  background: linear-gradient(140deg, #e6f2fd, #e8f6f7 62%, #eef2fd);
  color: var(--brand-2);
}
.card-grid .card:nth-child(3n+3) .card-icon {
  background: linear-gradient(140deg, #e9f6ef, #e6f4f3 62%, #e9f2fd);
  color: #128a7d;
}

.card-plain { padding-top: 30px; }
.card-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 700; color: var(--brand);
  background: linear-gradient(180deg, #ffffff, var(--soft-2));
  border: 1px solid #dbeae9;
  padding: 5px 11px; border-radius: 8px;
  box-shadow: 0 1px 2px rgba(9, 43, 46, .04);
}

/* ==========================================================================
   流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 20px 24px; position: relative;
  box-shadow: var(--shadow-xs);
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease;
}
.steps li::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--brand-2));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.steps li:hover { border-color: var(--brand-200); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.steps li:hover::before { transform: scaleX(1); }

.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 13.5px; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #dceeed, 0 10px 20px -14px rgba(11, 127, 176, .95);
  margin-bottom: 16px; font-variant-numeric: tabular-nums;
  transition: transform .3s var(--ease);
}
.steps li:hover .step-no { transform: scale(1.06); }
.steps h3 { font-size: 16.5px; margin-bottom: 9px; }
.steps p { font-size: 14px; margin: 0; line-height: 1.78; }

/* 桌面端步骤之间用虚线连接 */
@media (min-width: 1081px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 2px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-300) 0 4px, transparent 4px 8px);
  }
}

/* ==========================================================================
   对比表
   ========================================================================== */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-m);
  background: #fff;
}
table.compare { width: 100%; border-collapse: collapse; min-width: 780px; background: #fff; }
.compare th, .compare td { padding: 17px 22px; text-align: left; font-size: 14.8px; vertical-align: top; }
.compare thead th {
  background: linear-gradient(180deg, #f8fbfc, #f2f8f9);
  font-size: 14px; font-weight: 800; color: var(--ink);
  border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .01em;
}
.compare thead th.col-us { color: var(--brand); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line-2); }
.compare tbody th {
  width: 152px; font-weight: 700; color: var(--ink);
  background: #fcfefe; font-size: 14px;
}
.compare tbody tr { transition: background .22s ease; }
.compare tbody tr:nth-child(even) td { background: #fdfefe; }
.compare tbody tr:nth-child(even) th { background: #fafdfd; }
.compare tbody tr:hover td { background: #fafdfd; }
.compare tbody tr:hover .col-us { background: linear-gradient(90deg, #eef9f7, #f2f9fd); }
.compare .col-them { color: var(--muted); }
.compare .col-us {
  background: linear-gradient(90deg, #f2fbfa, #f6fbfd);
  color: var(--ink-2); font-weight: 500;
  box-shadow: inset 3px 0 0 -1px var(--accent);
}
.compare .col-us .ico { color: var(--accent); margin-right: 9px; }

/* 窄屏：横向滚动表格改为逐行卡片，每格上方标注列名（data-label 由模板输出） */
@media (max-width: 860px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: none; }
  table.compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 16px; }
  .compare tbody tr {
    display: block; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-s);
    transition: transform .26s var(--ease), box-shadow .26s ease, border-color .26s ease;
  }
  .compare tbody tr:hover {
    transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow-m);
  }
  .compare tbody th {
    display: block; width: auto; position: static;
    padding: 15px 20px 13px; font-size: 15.5px;
    background: linear-gradient(180deg, #f7fbfb, #f1f8f8);
    border-bottom: 1px solid var(--line-2);
    box-shadow: none;
  }
  .compare td {
    display: block; padding: 14px 20px 15px;
    font-size: 14.6px; line-height: 1.8;
  }
  .compare td::before {
    content: attr(data-label);
    display: block; margin-bottom: 6px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
    color: var(--muted);
  }
  /* 取消桌面端的斑马纹 / 吸附列 / 悬停底色 */
  .compare tbody tr:nth-child(even) td,
  .compare tbody tr:nth-child(even) th,
  .compare tbody tr:hover td { background: transparent; }
  .compare .col-them { color: var(--body); }
  .compare .col-us {
    background: linear-gradient(90deg, #f1fbf9, #f5fbfd);
    color: var(--ink); font-weight: 600;
    box-shadow: inset 4px 0 0 -1px var(--accent);
  }
  .compare tbody tr:hover .col-us { background: linear-gradient(90deg, #f1fbf9, #f5fbfd); }
  .compare .col-us::before { color: var(--brand); }
  .compare .col-us .ico { color: var(--accent); margin-right: 8px; }
}

/* ==========================================================================
   功能模块（功能页）
   ========================================================================== */
.module-head {
  position: relative;
  display: flex; align-items: flex-start; gap: 22px;
  margin-bottom: 48px; padding-bottom: 30px;
}
/* 模块标题下的一条渐隐分隔线，让每个功能模块的起止更清楚 */
.module-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--brand-200), var(--line-2) 52%, transparent 92%);
}
.module-head h2 { margin-bottom: 9px; }
.module-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; flex: 0 0 auto; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 32px -20px rgba(11, 127, 176, .9);
}
.module-summary { color: var(--muted); margin: 0; font-size: 16.5px; }

.check-list { display: grid; gap: 18px 48px; }
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); }
.check-list.cols-1 { grid-template-columns: 1fr; }
.check-list li { display: flex; gap: 11px; font-size: 15.2px; line-height: 1.85; color: var(--body); }
.check-list .ico { color: var(--accent); margin-top: 6px; }
.check-list.large li { font-size: 15.8px; }
.check-list.large .ico { margin-top: 7px; }

/* 单列的「运行环境」列表做成卡片，比裸列表更耐看 */
.check-list.large.cols-1 { gap: 18px; }
.check-list.large.cols-1 li {
  align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-s);
  transition: transform .26s var(--ease), box-shadow .26s ease, border-color .26s ease;
}
.check-list.large.cols-1 li:hover {
  transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow-m);
}
.check-list.large.cols-1 li .ico { margin-top: 3px; }

/* ==========================================================================
   强调块
   ========================================================================== */
.callout {
  position: relative; overflow: hidden;
  display: flex; gap: 26px; align-items: flex-start;
  padding: 48px 48px; border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 260px at 96% 0%, rgba(11, 127, 176, .1), transparent 66%),
    linear-gradient(135deg, #f1fbf8 0%, #edf5fb 100%);
  border: 1px solid #d7eae8;
  box-shadow: 0 30px 60px -50px rgba(5, 56, 58, .8);
}
.callout::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--brand-2));
}
.callout-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; flex: 0 0 auto; border-radius: 18px;
  background: #fff; color: var(--brand); border: 1px solid #d7eae8;
  box-shadow: 0 14px 28px -22px rgba(10, 92, 88, .95);
}
.callout h2 { font-size: 25px; }
.callout p { color: var(--ink-2); line-height: 1.85; }
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ==========================================================================
   说明卡片
   ========================================================================== */
.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.note {
  display: flex; gap: 15px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform .26s var(--ease), border-color .26s ease, box-shadow .26s ease;
}
.note:hover { border-color: var(--brand-200); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.note-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px;
  background: linear-gradient(140deg, #fff6ec, #fdf1e4); color: #b45309;
  box-shadow: inset 0 1px 0 #fff;
}
.note h3 { font-size: 16px; margin-bottom: 7px; }
.note p { font-size: 14.4px; margin: 0; line-height: 1.8; }

/* ==========================================================================
   定位说明：做什么 / 不做什么
   ========================================================================== */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 32px 30px; box-shadow: var(--shadow-s);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}
.scope:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); border-color: var(--brand-200); }
.scope h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 20px; }
.scope ul { display: grid; gap: 15px; }
.scope li { display: flex; gap: 11px; font-size: 14.8px; color: var(--body); line-height: 1.8; }
.scope li::before {
  content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(18, 165, 148, .13);
}
.scope-do { border-top: 3px solid var(--accent); }
.scope-do h3 .ico { color: var(--accent); }
.scope-dont { border-top: 3px solid #e0a94a; }
.scope-dont h3 .ico { color: #c0811a; }
.scope-dont li { color: var(--ink-2); }
.scope-dont li::before { background: #d9a13f; box-shadow: 0 0 0 3px rgba(217, 161, 63, .16); }

/* ==========================================================================
   联系
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-s);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}
.contact-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--brand-200); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card .card-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.contact-card h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.contact-strong {
  font-size: 17.5px; font-weight: 800; color: var(--ink); margin: 0 0 7px;
  word-break: break-all; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.contact-strong a { color: var(--ink); border-bottom: 1px solid transparent; transition: .2s; }
.contact-strong a:hover { color: var(--brand); border-bottom-color: currentColor; }
.muted { color: var(--muted); font-size: 13.6px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 2px 0 12px; padding: 8px 14px; border-radius: 9px;
  border: 1px solid var(--brand-200); background: #fff; color: var(--brand-ink);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: .22s var(--ease);
}
.copy-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); transform: translateY(-1px); }
.copy-btn.is-done { background: #f0fbf6; border-color: #bfe6d3; color: #12805c; }

/* ==========================================================================
   表单
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: start; }
.form-aside h2 { font-size: 23px; }
.form-aside .check-list { margin-bottom: 28px; }
.aside-note {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #f3fbfa, #f4f9fd);
  border: 1px solid #dfeeec; border-radius: var(--radius); padding: 22px 24px;
}
.aside-note h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; margin-bottom: 9px; }
.aside-note h3 .ico { color: var(--brand); }
.aside-note p { font-size: 14.4px; margin-bottom: 7px; }
.aside-note a { font-weight: 700; }

.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-m);
}
.form-panel-narrow { max-width: 840px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: #d92d20; }
.field input[type="text"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 12px 15px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fcfdfe; border: 1px solid #d8e0e6; border-radius: 12px;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.field input[type="text"]:hover, .field input[type="number"]:hover,
.field select:hover, .field textarea:hover { border-color: #c3ced6; background: #fff; }
.field textarea { resize: vertical; min-height: 116px; line-height: 1.75; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2375879a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: var(--ring); outline: none; background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #a3aeb9; }
.field-msg { margin: 0; font-size: 12.6px; color: var(--muted); min-height: 18px; }
.field-msg .counter { font-variant-numeric: tabular-nums; }
.has-error input, .has-error select, .has-error textarea { border-color: #f0a8a0; background: #fffbfa; }
.has-error .field-msg { color: var(--danger); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14.4px; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--brand); flex: 0 0 auto; cursor: pointer; }
.form-foot .btn { margin-top: 14px; }
.form-tip { margin: 13px 0 0; font-size: 12.8px; color: var(--muted); }

.flash {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 19px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14.8px;
}
.flash-ok { background: #f0fbf6; border: 1px solid #bfe6d3; color: #14603f; }
.flash-ok .ico { color: #12805c; margin-top: 4px; }
.flash-err { background: var(--danger-bg); border: 1px solid #f6c9c4; color: var(--danger); }
.flash-err .ico { color: var(--danger); margin-top: 4px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 4px 24px; box-shadow: var(--shadow-xs);
  transition: border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}
.faq:hover { border-color: var(--brand-200); }
.faq[open] { border-color: var(--brand-200); box-shadow: var(--shadow-s); background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-size: 16.4px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: color .2s ease;
}
.faq summary:hover { color: var(--brand-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--brand); flex: 0 0 auto;
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brand-50); transition: .3s var(--ease);
}
.faq[open] summary { color: var(--brand-ink); }
.faq[open] summary::after {
  content: "−"; background: var(--brand-100); transform: rotate(180deg);
}
.faq p {
  padding-bottom: 20px; margin: 0; font-size: 14.8px; color: var(--body); line-height: 1.85;
  animation: qh-fade .32s var(--ease) both;
}
@keyframes qh-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CTA 条
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; color: #fff; padding: 84px 0;
  background:
    radial-gradient(760px 380px at 10% 14%, rgba(18, 165, 148, .55), transparent 60%),
    radial-gradient(680px 340px at 90% 88%, rgba(11, 127, 176, .58), transparent 62%),
    linear-gradient(118deg, #04302f 0%, #0a5c58 46%, #0a5f8e 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 64%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 64%);
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -70px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255, 255, 255, .07);
  box-shadow: -170px 210px 0 44px rgba(255, 255, 255, .04);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 9px; letter-spacing: -.02em; }
.cta-inner p { color: rgba(255, 255, 255, .84); margin: 0; max-width: 44em; }
.cta-actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #f8fbfc 0%, #f4f8fa 100%);
  border-top: 1px solid var(--line-2); padding: 68px 0 30px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-200) 18%, var(--brand-300) 50%, var(--brand-200) 82%, transparent);
  opacity: .85;
}
.footer-inner { display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; }
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand strong { font-size: 17.5px; color: var(--ink); display: block; font-weight: 800; }
.footer-brand p { font-size: 13.4px; color: var(--muted); margin: 4px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-cols h4 {
  font-size: 13.5px; color: var(--ink); margin-bottom: 14px;
  letter-spacing: .06em; font-weight: 800;
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols li { font-size: 14px; color: var(--body); display: flex; align-items: center; gap: 8px; }
.footer-cols a { color: var(--body); border-bottom: 1px solid transparent; transition: .2s; }
.footer-cols a:hover { color: var(--brand); border-bottom-color: currentColor; }
.footer-cols .ico { color: var(--brand); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--muted); margin: 0; }
.footer-note { max-width: 52em; text-align: right; }

/* ==========================================================================
   动效
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* 入场完成后恢复组件自身的过渡节奏，悬停反馈才不会被入场动画拖慢 */
.card.reveal.is-in, .note.reveal.is-in, .scope.reveal.is-in, .faq.reveal.is-in {
  transition: opacity .55s var(--ease-out), transform .3s var(--ease),
              box-shadow .3s ease, border-color .3s ease;
}
.steps li.reveal.is-in {
  transition: opacity .55s var(--ease-out), transform .28s var(--ease),
              box-shadow .28s ease, border-color .28s ease;
}

@keyframes qh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.07); }
  100% { transform: translate3d(2.5%, -1.5%, 0) scale(1.02); }
}
@keyframes qh-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .app-mock { transform: none; }
  .hero::before { animation: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .chip-1 { left: -14px; }
  .chip-2 { right: -10px; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; padding: 72px 24px 84px; }
  .hero-visual { max-width: 660px; }
  .app-mock { transform: rotateX(1.5deg) rotateY(-3.5deg); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 96px 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px; box-shadow: 0 26px 48px -30px rgba(9, 43, 46, .55);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 13px 14px; }
  .site-nav a.is-active::after { left: 14px; transform: none; }
  .nav-cta { margin: 10px 0 0; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .note-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-note { text-align: left; }
  .float-chip { display: none; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; line-height: 1.78; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .cols-3, .steps, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .form-panel { padding: 24px; }
  .callout { flex-direction: column; padding: 30px 24px; gap: 18px; }
  .callout::before { left: 0; right: 0; bottom: auto; width: auto; height: 4px; }
  .hero-inner { padding: 48px 20px 60px; }
  .hero-visual::before { display: none; }
  .app-mock { transform: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-nav { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .app-nav li { white-space: nowrap; }
  .mock-stats { grid-template-columns: 1fr; }
  .mock-search { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .scope { padding: 26px 24px; }
  .module-head { gap: 15px; }
  .module-icon { width: 50px; height: 50px; border-radius: 15px; }
  .card { padding: 28px 24px 26px; }
  .page-hero { padding: 60px 0 48px; }
}

/* ==========================================================================
   打印
   ========================================================================== */
@media print {
  .site-header, .cta-band, .site-footer, .hero-visual, .nav-toggle,
  .copy-btn, .anchor-nav, .skip-link { display: none !important; }
  html { scroll-behavior: auto; }
  body { color: #000; font-size: 12pt; }
  h1, h2, h3 { color: #000; }
  /* 渐变文字在打印时可能不渲染背景，强制回退为纯黑 */
  .hero h1 {
    background-image: none !important; -webkit-background-clip: border-box !important;
    background-clip: border-box !important; color: #000 !important;
  }
  .section, .page-hero { padding: 18px 0; }
  .hero { background: none; border-bottom: 0; box-shadow: none; }
  .hero::before, .hero::after, .page-hero::after, .section-soft::before { display: none !important; }
  /* 深色首屏在打印时整体回退为黑字白底 */
  .hero-badge, .hero-tags li { background: none; border-color: #bbb; color: #000; box-shadow: none; }
  .hero-lead, .hero-lead strong, .hero-note { color: #000; }
  .hero .btn-outline { background: none; border-color: #999; color: #000; box-shadow: none; }
  .page-home .hero { margin-top: 0; }
  .page-home .hero-inner { padding-top: 0; }
  .page-home .logo-mark { padding: 0; }
  .hero-inner { display: block; padding: 0 0 18px; }
  .card, .note, .scope, .faq, .callout, .steps li { break-inside: avoid; box-shadow: none; }
  .section-soft { background: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
}
