/* ============================================================
   AI普惠共创 · 多页官网共享样式
   设计原则：移动优先 / 8px 基线 / 单一字体族 / WCAG 2.2 AA 对比度
   ============================================================ */

:root {
  /* 品牌色阶 */
  --navy: #071c2f;
  --navy-2: #0d2b44;
  --blue: #0b84f3;
  --blue-dark: #0767c4;      /* 白底文字对比度 ≥ 4.5:1 */
  --cyan: #13b9d6;
  --teal: #0a9c83;
  --warm: #d9531e;           /* 深橙，白底对比度 ≥ 4.5:1 */

  /* 中性色 */
  --ink: #102235;
  --muted: #55677a;          /* 白底对比度 5.6:1 */
  --line: #dce6ef;
  --soft: #f4f8fb;
  --white: #ffffff;

  /* 阴影 */
  --shadow-sm: 0 4px 16px rgba(7, 28, 47, .06);
  --shadow-md: 0 14px 40px rgba(7, 28, 47, .08);
  --shadow-lg: 0 30px 80px rgba(7, 28, 47, .16);

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* 布局 */
  --max: 1180px;
  --header-h: 72px;

  /* 间距（8px 基线） */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  /* 动效 */
  --t-fast: .2s;
  --t-med: .28s;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }

/* ---------- 无障碍：跳转链接 / 焦点可见 ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 14px;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- 布局工具 ---------- */
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.section { padding: var(--s6) 0; }
.section.alt { background: var(--soft); }
.section-head { margin-bottom: var(--s5); }
.section-head h2 {
  margin: var(--s1) 0 var(--s2);
  font-size: clamp(26px, 4.4vw, 40px);
}
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue-dark); font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 24px;
  font-weight: 800; font-size: 15px; text-align: center;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 26px rgba(11, 132, 243, .26); }
.btn-light { color: var(--navy); background: var(--white); }
.btn-outline { color: var(--blue-dark); background: transparent; border: 1px solid rgba(11, 132, 243, .32); }
.btn-outline:hover { background: rgba(11, 132, 243, .07); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 页头导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--blue), var(--cyan)); color: var(--white);
  display: grid; place-items: center; font-size: 13px; letter-spacing: .02em;
}
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }

.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink); transition: color var(--t-fast), background var(--t-fast); }
.nav-links a:hover { color: var(--blue-dark); background: rgba(11, 132, 243, .08); }
.nav-links a[aria-current="page"] { color: var(--blue-dark); background: rgba(11, 132, 243, .10); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.nav-toggle span { position: relative; margin: 0 auto; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px); opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-90deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(19, 185, 214, .26), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(11, 132, 243, .22), transparent 32%),
    linear-gradient(145deg, #061827 0%, #0a2840 58%, #0a3551 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--s5);
  padding: var(--s6) 0 var(--s6);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: #cceeff; font-size: 13px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(19, 185, 214, .16); }
.hero h1 {
  margin: var(--s3) 0 var(--s3);
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.08; letter-spacing: -.04em;
}
.hero h1 em { display: block; font-style: normal; color: #7fe0f5; }
.hero-copy { max-width: 620px; margin: 0; color: rgba(255, 255, 255, .80); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-note { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s4); color: rgba(255, 255, 255, .68); font-size: 13px; }
.hero-note b { display: block; color: var(--white); font-size: 22px; font-weight: 900; }

.hero-panel { position: relative; }
.stack-card {
  position: relative; padding: var(--s3);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .08); box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}
.stack-card h3 { margin: 0 0 6px; font-size: 21px; }
.stack-card > p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 14px; }
.ladder { margin-top: var(--s3); display: grid; gap: 10px; }
.ladder-item {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.ladder-item:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
.ladder-item strong { display: block; font-size: 15px; }
.ladder-item small { color: rgba(255, 255, 255, .62); font-size: 12px; }
.level {
  width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
  background: linear-gradient(145deg, rgba(19, 185, 214, .28), rgba(11, 132, 243, .38));
}
.price-mini { font-weight: 900; color: #8ce9fa; white-space: nowrap; font-size: 14px; }
.stack-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s2); color: #9fe8f8; font-size: 13px; font-weight: 800; }
.stack-link:hover { text-decoration: underline; }

/* ---------- Hero 科技感装饰层（纯装饰，不拦截交互） ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .92; }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(72px); }
.hero-orb-a {
  width: 540px; height: 540px; top: -170px; right: -130px;
  background: radial-gradient(circle, rgba(19, 185, 214, .40), transparent 66%);
  animation: orb-a 17s var(--ease) infinite alternate;
}
.hero-orb-b {
  width: 480px; height: 480px; bottom: -190px; left: -140px;
  background: radial-gradient(circle, rgba(11, 132, 243, .38), transparent 66%);
  animation: orb-b 21s var(--ease) infinite alternate;
}
@keyframes orb-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-46px, 42px, 0) scale(1.08); }
}
@keyframes orb-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(54px, -38px, 0) scale(1); }
}

/* 透视网格地板 */
.hero-grid {
  position: absolute; left: -25%; right: -25%; bottom: -6%; height: 52%;
  background-image:
    linear-gradient(rgba(125, 224, 245, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 224, 245, .13) 1px, transparent 1px);
  background-size: 66px 66px;
  transform: perspective(620px) rotateX(64deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .95), transparent 88%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .95), transparent 88%);
  animation: grid-flow 8s linear infinite;
}
@keyframes grid-flow { to { background-position: 0 66px; } }

/* 斜向光束缓慢扫过 */
.hero-sweep {
  position: absolute; inset: -10% -22%;
  background: linear-gradient(102deg, transparent 44%, rgba(140, 233, 250, .07) 50%, transparent 56%);
  animation: sweep 11s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: translateX(-9%); }
  50%      { transform: translateX(9%); }
}

/* 向下滚动提示（仅 PC 端 Hero 满屏时显示） */
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; z-index: 2;
  transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .72); font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero-scroll:hover { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.hero-scroll-mouse {
  width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 12px; display: grid; justify-items: center; padding-top: 6px;
}
.hero-scroll-mouse i {
  width: 3px; height: 7px; border-radius: 2px; background: #8ce9fa;
  animation: scroll-dot 1.7s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(11px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- 数据条 ---------- */
.trust-bar { margin-top: calc(-1 * var(--s5)); position: relative; z-index: 3; }
.trust-inner {
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: var(--r-lg);
  display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden;
}
.trust-item { padding: var(--s3); text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item b { display: block; font-size: 17px; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: 13px; }

/* ---------- 服务包卡片 ---------- */
.pricing-grid { display: grid; gap: var(--s3); }
.pricing-card {
  position: relative; padding: var(--s4) var(--s3);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  color: var(--white); border-color: transparent;
  background: linear-gradient(155deg, var(--navy), #0e3b5a);
  box-shadow: var(--shadow-lg);
}
.tag {
  position: absolute; right: var(--s3); top: var(--s3);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(11, 132, 243, .10); color: var(--blue-dark); font-size: 12px; font-weight: 800;
}
.featured .tag { background: rgba(125, 224, 245, .16); color: #9ceafb; }
.pricing-card h3 { font-size: 24px; }
.pricing-card .desc { min-height: 48px; color: var(--muted); margin: var(--s1) 0 var(--s2); font-size: 15px; }
.featured .desc { color: rgba(255, 255, 255, .72); }
.price { font-size: clamp(32px, 5vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.featured .price small { color: rgba(255, 255, 255, .66); }
.feature-list { list-style: none; padding: 0; margin: var(--s3) 0 var(--s3); display: grid; gap: 11px; flex: 1; }
.feature-list li { position: relative; padding-left: 26px; font-size: 14.5px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.featured .feature-list li::before { border-color: #67e1b5; }
.pricing-note { margin-top: var(--s3); font-size: 13px; color: var(--muted); text-align: center; }
.pricing-note a { color: var(--blue-dark); font-weight: 800; }

/* ---------- 公司简介 / 价值观 ---------- */
.intro-grid { display: grid; gap: var(--s4); align-items: start; }
.intro-text p { margin: 0 0 var(--s3); font-size: 17px; }
.intro-text p:last-child { margin-bottom: 0; }
.value-grid { display: grid; gap: var(--s2); }
.value-item {
  padding: var(--s3); border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
}
.value-item b { display: block; font-size: 17px; color: var(--navy); }
.value-item span { color: var(--muted); font-size: 14px; }

/* ---------- 二级页入口卡片 ---------- */
.entry-grid { display: grid; gap: var(--s3); }
.entry-card {
  padding: var(--s3); border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s1);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast);
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(11, 132, 243, .35); }
.entry-card .entry-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: #eaf5ff; color: var(--blue-dark); font-weight: 900; font-size: 14px;
}
.entry-card h3 { font-size: 18px; }
.entry-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.entry-card .entry-more { color: var(--blue-dark); font-weight: 800; font-size: 13px; }

/* ---------- 二级页页头 ---------- */
.page-hero {
  color: var(--white); padding: var(--s6) 0 var(--s5);
  background:
    radial-gradient(circle at 88% 12%, rgba(19, 185, 214, .22), transparent 34%),
    linear-gradient(145deg, #061827 0%, #0a2840 70%, #0a3551 100%);
}
.page-hero .crumb { color: rgba(255, 255, 255, .55); font-size: 13px; margin-bottom: var(--s2); }
.page-hero .crumb a:hover { color: #9fe8f8; text-decoration: underline; }
.page-hero h1 { font-size: clamp(28px, 5vw, 44px); margin: var(--s1) 0 var(--s2); }
.page-hero p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .74); font-size: 16px; }
.page-hero .hero-actions { margin-top: var(--s3); }

/* ---------- 工具包 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s3); }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 14px;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-btn[aria-pressed="true"] { color: var(--white); border-color: var(--blue); background: var(--blue); }
.filter-empty { text-align: center; color: var(--muted); padding: var(--s4) 0; }

.tools-grid { display: grid; gap: var(--s2); }
.tool-card {
  padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white); display: flex; flex-direction: column;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(11, 132, 243, .3); }
.tool-card.hidden { display: none; }
.tool-top { display: flex; justify-content: space-between; gap: var(--s2); align-items: start; }
.tool-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; color: var(--blue-dark); font-weight: 900; font-size: 13px;
  background: #eaf5ff;
}
.tool-price { color: var(--warm); font-weight: 900; white-space: nowrap; font-size: 15px; }
.tool-card h3 { margin: var(--s2) 0 var(--s1); font-size: 18px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.tool-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); }
.tool-labels span { padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; }

/* ---------- 行业方案 ---------- */
.industry-grid { display: grid; gap: var(--s2); }
.industry-card {
  padding: var(--s3); border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s1);
}
.industry-card .num { color: var(--blue-dark); font-weight: 900; font-size: 12px; letter-spacing: .1em; }
.industry-card h3 { font-size: 19px; }
.industry-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.industry-card b { color: var(--warm); font-size: 20px; }

/* ---------- 实施流程 ---------- */
.process-wrap { position: relative; }
.process-grid { position: relative; display: grid; gap: var(--s3); }
.process-step { text-align: center; }
.process-dot {
  width: 56px; height: 56px; margin: 0 auto var(--s2);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 900; font-size: 18px;
  box-shadow: 0 0 0 6px rgba(11, 132, 243, .10);
}
.process-step h4 { margin: 0 0 4px; font-size: 16px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; }
.process-desc { max-width: 760px; margin: var(--s4) auto 0; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s4); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; padding: var(--s2) 0; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  text-align: left; font-weight: 800; font-size: 16px;
}
.faq-q .sign {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--blue-dark); font-weight: 400; font-size: 18px;
  transition: transform var(--t-fast) var(--ease);
}
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows var(--t-med) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { margin: 0; padding: 0 var(--s5) var(--s3) 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA 带 ---------- */
.cta { background: linear-gradient(145deg, var(--navy), #0c3f5d); color: var(--white); }
.cta-grid { display: grid; gap: var(--s4); align-items: center; }
.cta h2 { font-size: clamp(26px, 4.6vw, 42px); margin: var(--s2) 0 var(--s2); }
.cta-copy { color: rgba(255, 255, 255, .74); margin: 0; }
.contact-points { display: grid; gap: var(--s1); margin-top: var(--s3); color: rgba(255, 255, 255, .80); font-size: 14.5px; }
.contact-points b { color: var(--white); }

/* 浅色背景上的要点列表（诊断页用） */
.point-list { display: grid; gap: var(--s1); margin-top: var(--s3); color: var(--ink); font-size: 14.5px; }
.point-list b { color: var(--navy); }

/* ---------- 诊断表单 ---------- */
.diagnosis {
  background: var(--white); color: var(--ink);
  padding: var(--s3); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.diagnosis h3 { margin: 0 0 6px; font-size: 20px; }
.diagnosis > p { margin: 0 0 var(--s2); color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: var(--s2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; color: var(--ink); }
.field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 13px; color: var(--ink); background: var(--white); font-size: 15px;
}
.field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(11, 132, 243, .35); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 88px; }
.diagnosis .btn { width: 100%; margin-top: var(--s2); }
.result-box {
  display: none; margin-top: var(--s2); padding: var(--s2);
  border-radius: var(--r-md); background: #eff9ff; border: 1px solid #cdeaff;
}
.result-box.show { display: block; }
.result-box strong { color: var(--blue-dark); }
.result-box p { margin: var(--s1) 0; font-size: 14px; color: var(--ink); }
.result-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.result-actions button, .result-actions a {
  border: 0; border-radius: var(--r-sm); padding: 9px 14px;
  font-size: 13px; font-weight: 800;
}
.result-actions button { background: var(--blue); color: var(--white); }
.result-actions a { background: var(--white); color: var(--blue-dark); border: 1px solid #cdeaff; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; gap: var(--s4); align-items: start; }
.contact-list { display: grid; gap: var(--s2); }
.contact-row {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s2); align-items: center;
  padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.contact-row .entry-icon { width: 44px; height: 44px; }
.contact-row b { display: block; font-size: 15px; }
.contact-row span { color: var(--muted); font-size: 14px; }
.contact-row .pending { color: var(--warm); font-weight: 800; }

/* ---------- 页脚 ---------- */
.site-footer { padding: var(--s5) 0 var(--s4); background: #04131f; color: rgba(255, 255, 255, .62); font-size: 13px; }
.footer-grid { display: grid; gap: var(--s4); }
.footer-brand { color: var(--white); font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 12px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: var(--s2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; gap: var(--s1); color: rgba(255, 255, 255, .48);
}

/* ---------- 锚点跳转时避开吸顶页头 ---------- */
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- 滚动进场动画（渐进增强：无 JS 时内容默认可见） ----------
   使用独立 transform 属性 translate，与卡片 hover 的 transform 互不覆盖 */
.js .reveal { opacity: 0; translate: 0 26px; }
.js .reveal.in {
  opacity: 1; translate: 0 0;
  animation: reveal-up .62s var(--ease) backwards;
  animation-delay: var(--rd, 0s);
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ============================================================
   渐进增强：≥576px 手机横屏 / 小屏平板
   ============================================================ */
@media (min-width: 576px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(2) { border-right: 1px solid var(--line); }
  .tools-grid, .entry-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ============================================================
   渐进增强：≥768px 平板
   ============================================================ */
@media (min-width: 768px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .intro-grid { grid-template-columns: 1.35fr .65fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  /* 滚动提示在平板/窄窗口 PC 也显示，并为其预留底部空间 */
  .hero-scroll { display: flex; }
  .hero-inner { padding-bottom: calc(var(--s6) + 48px); }
}

/* ============================================================
   渐进增强：≥992px 笔记本（首页 Hero 双栏、三卡并排）
   ============================================================ */
@media (min-width: 992px) {
  /* Hero 占满首屏：上拉至页头后方，页头在该区域透明 */
  .hero {
    margin-top: calc(-1 * var(--header-h));
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--header-h);
  }
  .hero-inner { grid-template-columns: 1.08fr .92fr; gap: var(--s6); padding: var(--s4) 0; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pricing-card.featured { transform: translateY(-14px); }
  .entry-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-grid { grid-template-columns: .92fr 1.08fr; gap: var(--s6); }
  .faq-grid { grid-template-columns: .78fr 1.22fr; gap: var(--s6); }
  .process-grid { grid-template-columns: repeat(7, 1fr); }
  .process-wrap::before {
    content: ""; position: absolute; left: 7%; right: 7%; top: 28px; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
  }

  /* 页头位于深色 Hero 之上时透明、文字反白 */
  .site-header.is-transparent { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.is-transparent .brand { color: var(--white); }
  .site-header.is-transparent .brand small { color: rgba(255, 255, 255, .62); }
  .site-header.is-transparent .nav-links a { color: rgba(255, 255, 255, .82); }
  .site-header.is-transparent .nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .14); }
  .site-header.is-transparent .nav-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .18); }
}

/* ============================================================
   渐进增强：≥1200px 桌面
   ============================================================ */
@media (min-width: 1200px) {
  .section { padding: var(--s7) 0; }
}

/* ============================================================
   ≤991px 移动端导航折叠
   ============================================================ */
@media (max-width: 991px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: calc(var(--header-h) + 6px);
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    padding: var(--s2); background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-left: 0; margin-top: var(--s1); }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  /* 进场动画直接呈现终态，不隐藏内容 */
  .js .reveal, .js .reveal.in { opacity: 1; translate: none; animation: none; }
}
