/* ===================== 基础变量 ===================== */
:root {
  --blue: #1a4f9c;
  --blue-d: #15407f;
  --blue-l: #e8f0fb;
  --blue-m: #2b6bc4;
  --ink: #1f2733;
  --muted: #64748b;
  --line: #e3e8ef;
  --bg: #f5f7fa;
  --card: #ffffff;
  --green: #1a7f37;
  --green-bg: #e8f3ec;
  --red: #b42318;
  --red-bg: #fef3f2;
  --amber: #b7791f;
  --amber-bg: #fdf6e7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.05);
  --shadow-sm: 0 2px 8px rgba(16,24,40,.08);
  --shadow-md: 0 8px 24px rgba(26,79,156,.12);
  --shadow-lg: 0 14px 38px rgba(16,24,40,.16);
  --maxw: 1040px;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip 而非 hidden：避免创建滚动容器，从而保证 position:sticky 生效 */
  overflow-x: clip;
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 10px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* 键盘焦点：统一可见焦点环（无障碍） */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible,
.page-hero :focus-visible,
.hero :focus-visible,
.cta-banner :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px;
  z-index: 99; border-radius: 0 0 8px 0; font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ===================== 页眉 / 导航 ===================== */
.site-header {
  background: linear-gradient(135deg, var(--blue) 0%, #2b6bc4 100%);
  color: #fff;
  padding-bottom: 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 14px rgba(16,24,40,.14);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 12px;
}
.brand {
  color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.brand-ico { width: 22px; height: 22px; fill: #fff; }
.nav-links { display: flex; align-items: center; gap: 17px; }
/* 导航链接：补热区至 ≥24px，负外边距抵消掉因此增加的头部高度 */
.nav-links > a { color: rgba(255,255,255,.92); font-size: 14px; padding: 4px 0; margin: -4px 0; white-space: nowrap; }
.nav-links > a:hover {
  color: #fff; text-decoration: none; opacity: 1;
}
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.nav-cta {
  min-height: 36px;
  background: linear-gradient(135deg, #ffd85e, #ffc107); color: #1f2733; border: none;
  border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap; box-shadow: 0 4px 12px rgba(255,193,7,.32);
  transition: transform .16s ease, box-shadow .16s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,193,7,.42); }

/* hero：与页眉同为深蓝渐变，向上顶接页眉（负 margin），左右铺满视口 */
.hero {
  position: relative; z-index: 1; overflow: hidden;
  text-align: center;
  margin: -28px calc(50% - 50vw) 0;
  padding: 16px calc(50vw - 50% + 16px) 32px;
  background: linear-gradient(135deg, var(--blue) 0%, #2b6bc4 100%);
  color: #fff;
}
/* hero 柔光装饰（纯装饰，不影响内容） */
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 320px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.16); color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font-size: 12.5px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
  letter-spacing: .02em;
}
.hero h1 { font-size: 27px; margin-bottom: 10px; font-weight: 800; }
.hero .sub { font-size: 14.5px; opacity: .93; margin: 0 auto 18px; max-width: 660px; }
.hero .sub strong { color: #fff; }

/* hero 次级 CTA（微信弹层触发按钮） */
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.ghost-btn {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.ghost-btn:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); text-decoration: none; color: #fff; }

/* ===================== 主体 ===================== */
.site-main { padding-top: 0; padding-bottom: 36px; }
.section { margin-top: 38px; }
.section-title {
  font-size: 21px; text-align: center; margin-bottom: 8px; font-weight: 700;
  position: relative; padding-bottom: 12px;
}
.section-title::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), #7aa9e8);
  border-radius: 999px; margin: 10px auto 0;
}
/* 说明文字：--muted 在本站浅底上为 4.43:1，略低于 WCAG AA 4.5:1，故加深至 #5e6b7f（约 5.0:1） */
.section-sub { text-align: center; color: #5e6b7f; font-size: 14px; margin: 0 auto 22px; max-width: 640px; }

/* 内页页头：与页眉同色渐变并向上顶接（负 margin），左右铺满视口 */
.page-hero {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #2b6bc4 100%);
  color: #fff;
  padding: 16px calc(50vw - 50% + 16px) 28px;
  margin: -28px calc(50% - 50vw) 0;
}
.page-hero .container { padding-top: 0; padding-bottom: 0; }
.crumb { font-size: 13px; color: rgba(255,255,255,.82); margin-bottom: 5px; }
/* 增大点击热区至 ≥24px（WCAG 2.2 目标尺寸），负外边距抵消布局位移 */
.crumb a { color: rgba(255,255,255,.95); display: inline-block; padding: 5px 3px; margin: -5px 0; }
.crumb a:hover { color: #fff; }
.page-hero h1 { font-size: 25px; margin: 0 0 8px; color: #fff; font-weight: 800; }
.page-hero .lead { font-size: 14.5px; opacity: .93; max-width: 700px; margin: 0; }

.center { text-align: center; margin-top: 22px; }

/* 正文排版（业务页） */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; color: var(--blue-d); font-weight: 700; }
.prose h3 { font-size: 16.5px; margin: 20px 0 8px; color: var(--ink); }
.prose p { color: #3c4655; margin: 8px 0; line-height: 1.8; }
.prose ul.ticks { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.prose ul.ticks li { padding-left: 26px; position: relative; color: #3c4655; font-size: 14.5px; }
.prose ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}

/* 通用按钮 */
.primary-btn {
  background: linear-gradient(135deg, #2f74cd, var(--blue-d)); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 12px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 18px rgba(26,79,156,.28);
  transition: transform .16s ease, box-shadow .16s ease;
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26,79,156,.34); }
.primary-btn:disabled { opacity: .6; cursor: default; }
.line-btn {
  display: inline-block; margin-top: 12px; background: #fff; color: var(--blue);
  border: 1px solid var(--blue); border-radius: var(--radius-sm);
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.line-btn:hover { background: var(--blue); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* 卡片网格 */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* 业务服务卡 */
.card.service { padding: 22px 18px; text-align: left; display: flex; flex-direction: column; }
.svc-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, #3d82d8, var(--blue));
  display: grid; place-items: center; margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(26,79,156,.24);
}
.svc-ico svg { width: 26px; height: 26px; fill: #fff; }
.card.service h3 { font-size: 17.5px; }
.card.service p { color: #4a5568; font-size: 13.5px; margin: 6px 0; line-height: 1.7; }
/* 卡片/链接卡：hover 微交互 */
.card.service, .faq-item, .rel-faq-item, a.faq-nav-item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.service:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(26,79,156,.34);
}

/* 微信绿主按钮（获客专用，与蓝色主按钮区分，强化品牌联想） */
.wx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(135deg, #12c869, #07a34f); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 12px 22px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 18px rgba(7,163,79,.28);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.wx-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(7,163,79,.34); filter: brightness(1.03); text-decoration: none; color: #fff; }
.wx-btn::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: #fff; -webkit-mask: var(--wx-ico) center/contain no-repeat; mask: var(--wx-ico) center/contain no-repeat;
}
:root { --wx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.9 3 2.8 6.2 2.8 10.2c0 2.3 1.3 4.3 3.4 5.6l-.9 2.9 3.3-1.7c.8.2 1.6.3 2.4.3h.5a5.7 5.7 0 0 1-.2-1.5c0-3.6 3.4-6.5 7.6-6.5h.4C18.5 5.8 15.6 3 12 3zm-3 4.5a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zm6 0a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zm3.9 3.5c-3.4 0-6.1 2.3-6.1 5.1 0 2.8 2.7 5.1 6.1 5.1.6 0 1.2-.1 1.8-.2l2.6 1.3-.7-2.2c1.5-1 2.4-2.4 2.4-4 0-2.8-2.7-5.1-6.1-5.1zm-2 2.6a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8zm4 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8z'/%3E%3C/svg%3E"); }

/* 内联微信条（内容区内的上下文获客入口：二维码 + 复制 + 按钮） */
.wx-inline {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg, #f3fbf6, #eafaf0);
  border: 1px solid #c9efd8; border-radius: var(--radius);
  padding: 16px 18px; margin: 18px 0 4px; box-shadow: var(--shadow);
}
.wx-inline-qr { flex: none; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid #fff; box-shadow: 0 3px 10px rgba(16,24,40,.10); background: #fff; }
.wx-inline-qr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wx-inline-body { flex: 1; min-width: 0; }
.wx-inline-body b { display: block; font-size: 15.5px; color: #0f7a3d; margin-bottom: 3px; }
.wx-inline-body p { margin: 0 0 10px; font-size: 13.5px; color: #3c4655; line-height: 1.6; }
.wx-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wx-inline-id { font-size: 13px; color: var(--muted); }
.wx-inline-id b { color: var(--blue); font-size: 14px; }

/* 弹层价值点 */
.wx-perks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.wx-perks li { font-size: 13px; color: #3c4655; padding-left: 22px; position: relative; line-height: 1.5; }
.wx-perks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* 信任数据 */
.trust { margin-top: 32px; }
.trust-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  background: linear-gradient(135deg, #ffffff, #f7faff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow); text-align: center;
}
.trust-row > div { display: flex; flex-direction: column; gap: 3px; }
.trust-row b { font-size: 21px; color: var(--blue); font-weight: 800; }
.trust-row span { font-size: 12.5px; color: var(--muted); }

/* 使用步骤 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start;
}
.steps .num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #3d82d8, var(--blue));
  color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px;
}
.steps .txt { flex: 1; min-width: 0; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; }
.faq details p { margin: 10px 0 0; color: #4a5568; font-size: 13.5px; line-height: 1.75; }

/* 底部 CTA banner */
.cta-banner {
  margin-top: 38px; background: linear-gradient(135deg, var(--blue-d), var(--blue-m));
  color: #fff; border-radius: 20px; padding: 30px 22px; text-align: center;
  box-shadow: 0 14px 34px rgba(26,79,156,.24);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-weight: 800; }
.cta-banner p { opacity: .92; margin: 0 0 18px; font-size: 14px; }
/* 底部大 CTA 统一为微信绿，强化获客转化 */
.cta-banner .primary-btn { background: linear-gradient(135deg, #12c869, #07a34f); box-shadow: 0 6px 18px rgba(7,163,79,.30); }
.cta-banner .primary-btn:hover { background: linear-gradient(135deg, #14d06e, #089a4b); box-shadow: 0 10px 24px rgba(7,163,79,.36); }

/* ===================== 页脚 ===================== */
.site-footer { background: #11203a; color: #cdd6e4; margin-top: 44px; padding: 34px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.site-footer h2 { color: #fff; font-size: 17.5px; margin: 0 0 8px; font-weight: 700; }
.site-footer h3 { color: #fff; font-size: 14px; margin: 0 0 10px; font-weight: 600; }
.site-footer a { color: #9db8e0; display: block; font-size: 13px; padding: 3px 0; margin-bottom: 2px; transition: color .16s ease; }
.site-footer a:hover { color: #fff; text-decoration: none; }
/* 页脚为深底，--muted（已为浅色调深）在此不可读，需覆盖为浅色以达 AA */
.site-footer .muted { color: #94a3b8; }
.site-footer .copy {
  text-align: center; font-size: 12px; color: #8b97ab; margin: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px;
}

/* ===================== 吸底浮动窗 ===================== */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 4px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(16,24,40,.08);
}
.fb-btn {
  flex: 1; appearance: none; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 4px; border-radius: 12px; color: var(--ink);
  font-size: 12px; font-family: inherit; text-decoration: none;
}
.fb-btn:active { background: var(--blue-l); }
.fb-btn:hover { text-decoration: none; color: var(--blue); }
.fb-ico { width: 22px; height: 22px; fill: currentColor; }
.fb-txt { font-weight: 600; }

/* 浮窗「微信」按钮呼吸动画：轻微提示可点击，引导获客 */
@keyframes wx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(7,163,79,.45); }
  70%  { box-shadow: 0 0 0 10px rgba(7,163,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(7,163,79,0); }
}
.fb-btn[data-modal="wechat"] { color: #07a34f; }
.fb-btn[data-modal="wechat"] .fb-ico { color: #07a34f; }
@media (min-width: 768px) {
  .fb-btn[data-modal="wechat"] { animation: wx-pulse 2.4s ease-out infinite; border-color: rgba(7,163,79,.35); }
  .fb-btn[data-modal="wechat"]:hover { background: linear-gradient(135deg, #12c869, #07a34f); color: #fff; }
  .fb-btn[data-modal="wechat"]:hover .fb-ico { color: #fff; }
}

/* ===================== 弹层 ===================== */
.modal-mask {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.5); padding: 16px;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.modal-mask[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 380px; background: #fff;
  border-radius: 18px; padding: 24px 20px; box-shadow: 0 18px 50px rgba(16,24,40,.28);
  animation: pop .2s ease-out; max-height: 90vh; overflow: auto;
}
@keyframes pop { from { transform: scale(.94) translateY(6px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal h3 { margin: 0 0 14px; font-size: 17.5px; color: var(--blue); font-weight: 700; }
.modal-close {
  position: absolute; top: 10px; right: 12px; width: 30px; height: 30px;
  border: none; background: var(--bg); border-radius: 50%; font-size: 18px;
  line-height: 1; color: var(--muted); cursor: pointer; transition: background .16s ease, color .16s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-close:active { background: var(--line); }

.wx-qr { text-align: center; margin: 4px 0 12px; }
.wx-qr img {
  width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 14px rgba(16,24,40,.10);
}
.wx-id { text-align: center; font-size: 14px; margin: 0 0 4px; }
.wx-id b { color: var(--blue); }
.wx-limit-tip {
  margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--blue-l); color: var(--blue-d); font-size: 13px; font-weight: 600; text-align: center;
}
.wx-limit-tip[hidden] { display: none; }
.wx-services { margin: 10px 0 4px; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.copy-btn {
  border: 1px solid var(--blue); color: var(--blue); background: #fff;
  border-radius: 8px; padding: 2px 10px; font-size: 12px; cursor: pointer; margin-left: 4px;
  transition: background .16s ease, color .16s ease;
}
.copy-btn:hover { background: var(--blue); color: #fff; }
.copy-btn:active { background: var(--blue-l); }

/* ===================== 常见问题栏目（列表 → 文章） ===================== */
.faq-cat { scroll-margin-top: 104px; font-size: 16.5px; color: var(--blue-d); margin: 26px 0 10px; font-weight: 700; }

/* FAQ 页顶部「按产品跳转」：位于深蓝 hero 内。
   原先无样式，继承全局 a{color:var(--blue)} 后为蓝字蓝底（对比度 1:1，完全不可见），
   故反白为胶囊按钮，同时补齐 ≥24px 点击热区（WCAG 2.2）。 */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.faq-jump a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 6px 14px;
  color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.2;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px; text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.faq-jump a:hover {
  background: rgba(255,255,255,.30); color: #fff; text-decoration: none; transform: translateY(-1px);
}
.faq-jump a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.faq-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.faq-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; box-shadow: var(--shadow); color: inherit;
}
.faq-item:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-item h3 { font-size: 15.5px; margin: 0 0 5px; color: var(--ink); }
.faq-item p { margin: 0; font-size: 13.5px; color: #4a5568; line-height: 1.7; }
.faq-more { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--blue); font-weight: 600; }

/* 文章正文 */
.article { max-width: 760px; margin: 0 auto; }
.article p { font-size: 15px; line-height: 1.85; }
.article .primary-btn { margin-top: 6px; }
.rel-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.rel-links .line-btn { margin-top: 0; }

/* ===================== 相关问答 ===================== */
.rel-faq { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rel-faq-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; color: inherit; box-shadow: var(--shadow);
}
.rel-faq-item:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rel-faq-item b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.rel-faq-item span { display: block; font-size: 13px; color: #4a5568; line-height: 1.7; }
.rel-faq-item em { display: inline-block; margin-top: 7px; font-style: normal; font-size: 12.5px; color: var(--blue); font-weight: 600; }

/* ===================== 常见问题 · 上下篇导航 ===================== */
.faq-nav { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.faq-nav-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: inherit; box-shadow: var(--shadow);
}
a.faq-nav-item:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-nav-item.next { text-align: right; }
.faq-nav-item.empty { color: var(--muted); background: var(--bg); box-shadow: none; }
.faq-nav-dir { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.faq-nav-item b { font-size: 14px; font-weight: 600; }

/* 未启用 JS 时的降级提示 */
.noscript-tip {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #b42318; color: #fff; font-size: 13px; text-align: center;
  padding: 10px 16px; line-height: 1.5;
}

/* ===================== FAQ 手风琴（原生 details，无 JS 依赖） ===================== */
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-list details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--ink);
  min-height: 24px; user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-d); }
.faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 8px; }
.faq-ico {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-l);
  color: var(--blue-d); font-size: 15px; font-weight: 700; line-height: 22px; text-align: center;
  transition: transform .18s ease;
}
details[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 16px 14px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-a p { margin: 0 0 8px; }
.faq-a .faq-more { display: inline-block; margin-top: 2px; color: var(--blue); font-weight: 600; min-height: 24px; }
.faq-a .faq-more:hover { color: var(--blue-d); }

/* ===================== 响应式：移动端（汉堡菜单） ===================== */
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue-d); padding: 6px 0 12px;
    box-shadow: 0 10px 24px rgba(16,24,40,.22);
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    color: #fff; padding: 13px 18px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-cta { margin: 10px 18px 0; padding: 11px 14px; font-size: 14px; }

  /* 内联微信条：小屏竖排居中 */
  .wx-inline { flex-direction: column; text-align: center; }
  .wx-inline-actions { justify-content: center; }
  .wx-inline-qr { width: 100px; height: 100px; }
}

/* ===================== 响应式：中等屏（大手机 / 小平板，2 列层） ===================== */
@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .faq-list { grid-template-columns: 1fr 1fr; }
  .rel-faq { grid-template-columns: 1fr 1fr; }
  .faq-nav { grid-template-columns: 1fr 1fr; }
  .wx-inline { padding: 18px 20px; }
}

/* ===================== 响应式：桌面布局（统一断点，合并） ===================== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .page-hero { padding: 38px 0 30px; }
  .page-hero h1 { font-size: 32px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .rel-faq { grid-template-columns: 1fr 1fr; }
  .faq-nav { grid-template-columns: 1fr 1fr; }

  /* 桌面端：右侧竖排圆形悬浮按钮 */
  .floatbar {
    left: auto; right: 20px; bottom: 24px;
    flex-direction: column; gap: 12px; width: auto; padding: 12px;
    border-radius: 20px; border: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 30px rgba(16,24,40,.16);
  }
  .fb-btn {
    flex: none; width: 56px; height: 56px; border-radius: 50%;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(16,24,40,.10);
    transition: background .16s ease, color .16s ease, transform .16s ease;
  }
  .fb-btn:hover {
    background: linear-gradient(135deg, #3d82d8, var(--blue)); color: #fff;
    border-color: transparent; transform: translateY(-2px);
  }
  .fb-ico { width: 24px; height: 24px; }
  .fb-txt { font-size: 11px; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 40px; }
}

/* ===================== 降低动态效果偏好 ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
