/* ==========================================================
   茂智森 · 全站样式（亮色版）
   风格：纯白主背景 + 深靛蓝主色 + 电光蓝/青点缀，
   欧美 SaaS 质感：浅灰分区、1px 细描边、柔和投影、小面积渐变
   ========================================================== */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f7f9fc;
  --surface:   #ffffff;
  --border:    rgba(15, 23, 42, .08);
  --border-strong: rgba(15, 23, 42, .14);
  --text:      #0f172a;
  --text-dim:  #55657a;
  --accent:    #3358ff;   /* 深靛蓝 */
  --accent-2:  #00a3c4;   /* 青绿（深一档，保证白底可读） */
  --radius:    14px;
  --max:       1200px;
  --shadow:    0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-up: 0 2px 4px rgba(15, 23, 42, .05), 0 14px 34px rgba(51, 88, 255, .12);
  /* v1.22.0：统一回弹缓动，所有入场/浮起动画共用 */
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* 锚点定位避开吸顶导航 */
#services, #plans, #why, #faq, #contact, #boundary, #choose, #explain { scroll-margin-top: 84px; }

/* ---------- 细节质感 ---------- */
::selection { background: rgba(51, 88, 255, .16); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c9d3e2; border-radius: 6px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #aeb9cc; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 全站极光底色（固定层，缓慢漂移） ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 8% -8%,  rgba(51, 88, 255, .075), transparent 60%),
    radial-gradient(760px 460px at 96% 4%,  rgba(0, 163, 196, .065), transparent 60%),
    radial-gradient(880px 620px at 50% 112%, rgba(122, 90, 248, .055), transparent 62%);
  animation: auroraShift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes auroraShift {
  from { background-position: 0 0, 0 0, 0 0; filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(8deg); }
  to   { background-position: -70px 30px, 60px -24px, -30px -50px; filter: hue-rotate(-6deg); }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
/* 版式节奏：每个区块标题下的渐变装饰线 */
h2::after {
  content: ""; display: block; width: 44px; height: 4px; margin-top: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Hero 标题关键词渐变强调 */
.grad-text {
  background: linear-gradient(120deg, var(--accent) 20%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
/* v1.22.0：主按钮悬停光泽扫过 */
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%;
  width: 45%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transition: left .55s var(--ease-spring);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 20px rgba(51, 88, 255, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(51, 88, 255, .4); }
.btn-primary:active { transform: translateY(0) scale(.98); box-shadow: 0 4px 14px rgba(51, 88, 255, .3); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(51, 88, 255, .4); }
.btn-ghost:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; padding: 6px 2px; color: var(--text-dim); font-size: 14.5px; transition: color .18s ease; }
/* v1.22.0：导航下划线生长动画 + 当前页高亮 */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .26s var(--ease-spring);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav.scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, .07); }

/* ---------- 移动端汉堡菜单 ---------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
}
.mobile-menu nav { display: grid; gap: 4px; padding: 12px 24px 20px; }
.mobile-menu a:not(.btn) {
  padding: 13px 10px; border-radius: 10px;
  color: var(--text); font-weight: 500; font-size: 15.5px;
}
.mobile-menu a:not(.btn):hover { background: var(--bg-alt); color: var(--accent); }
.mobile-menu .btn { margin-top: 10px; min-height: 48px; }
.mobile-menu.open { display: block; animation: menuIn .22s ease; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% 0 auto; height: 640px;
  background:
    radial-gradient(640px 340px at 25% 20%, rgba(51, 88, 255, .10), transparent 65%),
    radial-gradient(560px 320px at 75% 12%, rgba(0, 163, 196, .08), transparent 65%),
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-36px); }
}

/* ---------- Hero 漂浮光斑（彩色渐变球，缓慢浮动） ---------- */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: .5;
  will-change: transform;
}
.orb-a {
  width: 340px; height: 340px; top: -80px; right: 6%;
  background: radial-gradient(circle at 32% 32%, rgba(51, 88, 255, .42), rgba(84, 140, 255, .12) 62%, transparent 74%);
  animation: orbFloatA 13s ease-in-out infinite alternate;
}
.orb-b {
  width: 280px; height: 280px; top: 24%; right: -70px;
  background: radial-gradient(circle at 36% 34%, rgba(0, 200, 214, .36), rgba(0, 163, 196, .10) 60%, transparent 74%);
  animation: orbFloatB 17s ease-in-out infinite alternate;
}
.orb-c {
  width: 220px; height: 220px; bottom: -70px; left: 4%;
  background: radial-gradient(circle at 40% 34%, rgba(148, 108, 255, .30), rgba(122, 90, 248, .08) 62%, transparent 76%);
  animation: orbFloatC 15s ease-in-out infinite alternate;
}
@keyframes orbFloatA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-64px, 44px) scale(1.08); }
}
@keyframes orbFloatB {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(-52px, -58px) scale(.94); }
}
@keyframes orbFloatC {
  from { transform: translate(0, 0); }
  to   { transform: translate(70px, -42px) scale(1.1); }
}
.hero-inner { position: relative; max-width: 820px; }
/* v1.22.0：Hero 级联入场（仅页面加载时播放一次，不受 reveal 控制） */
.hero-inner > * { animation: heroIn .7s var(--ease-spring) both; }
.hero-inner > .hero-badge  { animation-delay: .05s; }
.hero-inner > h1          { animation-delay: .16s; }
.hero-inner > .hero-sub   { animation-delay: .28s; }
.hero-inner > .hero-cta   { animation-delay: .40s; }
.hero-inner > .hero-points{ animation-delay: .52s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 22px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  border: 1px solid rgba(51, 88, 255, .25); border-radius: 999px;
  background: rgba(51, 88, 255, .06);
}
/* 呼吸脉冲点：暗示「服务在线」 */
.hero-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(0, 163, 196, .5);
  animation: badgePulse 2.4s ease-out infinite;
}
@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 163, 196, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 163, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 163, 196, 0); }
}
.hero-sub { margin-top: 20px; font-size: 17.5px; color: var(--text-dim); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- 服务关键词滚动带（纯装饰） ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
/* 间距放在 item 内部（gap 22 + padding-right 22），轨道自身不留 gap，
   这样「两份完全相同的内容」位移 -50% 时严丝合缝，循环处不会跳帧 */
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marquee 18s linear infinite;
  will-change: transform;
}
/* 只有带真实指针的设备才在悬停时暂停，触屏上不会因「模拟 hover」卡住 */
@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.marquee-item {
  display: flex; align-items: center; gap: 22px; padding-right: 22px;
  white-space: nowrap; font-size: 14px; font-weight: 600;
  color: var(--text-dim); letter-spacing: .05em;
}
.marquee-item::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: .45; flex: none;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 通用版块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, #f4f7fd 0%, #eef3fa 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-sub { margin-top: 12px; color: var(--text-dim); font-size: 16px; }
.section-note { margin-top: 22px; color: var(--text-dim); font-size: 14.5px; }

.grid { display: grid; gap: 18px; margin-top: 44px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* 网格内容错峰淡入 */
.grid .reveal:nth-child(2) { transition-delay: .07s; }
.grid .reveal:nth-child(3) { transition-delay: .14s; }
.grid .reveal:nth-child(4) { transition-delay: .21s; }
.grid .reveal:nth-child(5) { transition-delay: .07s; }
.grid .reveal:nth-child(6) { transition-delay: .14s; }
.grid .reveal:nth-child(7) { transition-delay: .21s; }
.grid .reveal:nth-child(8) { transition-delay: .28s; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease-spring), border-color .25s ease, box-shadow .25s ease;
}
/* v1.22.0：悬停时顶部渐变描边线 */
.card::before {
  content: ""; position: absolute; top: -1px; left: 18px; right: 18px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0; transform: scaleX(.6);
  transition: opacity .25s ease, transform .3s var(--ease-spring);
}
.card:hover { transform: translateY(-5px); border-color: rgba(51, 88, 255, .35); box-shadow: var(--shadow-up); }
.card:hover::before { opacity: 1; transform: scaleX(1); }
.card-num {
  position: absolute; top: 18px; right: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: rgba(15, 23, 42, .18);
  transition: color .2s ease;
}
.card:hover .card-num { color: rgba(51, 88, 255, .55); }
.card-icon {
  width: 44px; height: 44px; margin-bottom: 16px;
  display: grid; place-items: center;
  color: var(--accent);
  background: rgba(51, 88, 255, .07);
  border: 1px solid rgba(51, 88, 255, .18);
  border-radius: 11px;
  transition: transform .25s var(--ease-spring), background .25s ease, color .25s ease, border-color .25s ease;
}
/* v1.22.0：悬停时图标反白渐变填充 */
.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(51, 88, 255, .3);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* ---------- 技术方向选择（第 1 步，首屏下方） ---------- */
.choose-wrap { padding-top: 80px; }
.choose-head { max-width: 780px; }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; align-items: start; }

.choose-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 26px;
  text-align: left; font-family: inherit; color: var(--text); cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.choose-card:hover { transform: translateY(-4px); border-color: rgba(51, 88, 255, .4); box-shadow: var(--shadow-up); }
.choose-card:active { transform: translateY(-1px) scale(.995); }
.choose-card.selected {
  border-color: rgba(51, 88, 255, .55);
  box-shadow: 0 0 0 3px rgba(51, 88, 255, .1), var(--shadow-up);
}
.choose-card.selected::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(51, 88, 255, .055), rgba(0, 163, 196, .035) 62%, transparent);
}

.choose-top { display: flex; align-items: center; gap: 12px; }
.choose-icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  color: var(--accent); background: rgba(51, 88, 255, .08);
  border: 1px solid rgba(51, 88, 255, .18); border-radius: 12px;
}
.choose-icon svg { width: 23px; height: 23px; }
.choose-name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.choose-mark {
  margin-left: auto; width: 24px; height: 24px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border-strong); color: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.choose-mark svg { width: 14px; height: 14px; }
.choose-card.selected .choose-mark {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  animation: markPop .35s var(--ease-spring);
}
@keyframes markPop {
  0% { transform: scale(.4); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.choose-price {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, #2b4fee, #0087ab);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 子元素需重置文字填充，否则跟着父级一起变透明 */
.choose-price em {
  margin-left: 8px; font-size: 13px; font-weight: 500; font-style: normal;
  color: var(--text-dim); -webkit-text-fill-color: var(--text-dim);
}
.choose-desc { font-size: 14.5px; color: var(--text-dim); }
.choose-lists { position: relative; display: flex; flex-direction: column; gap: 14px; }
/* 折叠态：每组只露前 8 个，其余用「展开完整清单」打开 */
.choose-lists.is-clamped .choose-group .choose-list .choose-chip:nth-of-type(n+9) { display: none; }
.choose-more {
  align-self: flex-start; margin-top: -6px; padding: 4px 0;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 700; color: var(--accent);
}
.choose-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.choose-group { display: flex; flex-direction: column; gap: 8px; }
.choose-list-title {
  margin-top: 2px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; color: var(--text-dim);
}
.choose-list { display: flex; flex-wrap: wrap; gap: 7px; }
.choose-chip {
  padding: 4px 10px; font-size: 12.5px; line-height: 1.5; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
}
.choose-includes {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 13px; color: #056a80;
  background: rgba(0, 163, 196, .07); border: 1px solid rgba(0, 163, 196, .2);
}
.choose-includes svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.choose-best {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-strong);
  font-size: 13.5px; color: var(--text-dim);
}
.choose-cta {
  margin-top: auto; padding: 6px 0 0; width: 100%;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--accent); text-align: left;
}
.choose-cta svg { width: 17px; height: 17px; transition: transform .2s ease; }
.choose-card:hover .choose-cta svg { transform: translateX(4px); }
.choose-note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- 技术解析框（不知道选哪个时看这里） ---------- */
.explain {
  margin-top: 26px; padding: 34px 32px 30px;
  border: 1px solid rgba(51, 88, 255, .18); border-radius: 20px;
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6fd 100%);
  box-shadow: var(--shadow);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.explain.spot { border-color: rgba(51, 88, 255, .6); box-shadow: 0 0 0 4px rgba(51, 88, 255, .12), var(--shadow-up); }
.explain-head { max-width: 760px; }
.explain-badge {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: rgba(51, 88, 255, .1); color: var(--accent);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.explain-head h3 { margin-top: 14px; font-size: 22px; }
.explain-head p { margin-top: 10px; font-size: 15px; color: var(--text-dim); }

.explain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.explain-col {
  padding: 22px 22px 18px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px;
}
.explain-col-title { font-size: 15.5px; font-weight: 700; }
.explain-sub-title { margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.explain-sub-title.is-pros { color: #047857; }
.explain-sub-title.is-cons { color: #b45309; }
.explain-list { list-style: none; margin-top: 10px; display: grid; gap: 9px; }
.explain-list li { display: flex; gap: 9px; font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.explain-bullet {
  flex: none; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.explain-list.is-pros .explain-bullet { background: rgba(4, 120, 87, .1); color: #047857; }
.explain-list.is-cons .explain-bullet { background: rgba(180, 83, 9, .1); color: #b45309; }

.explain-scenarios { margin-top: 26px; }
.scenario-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.scenario-group-title {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.scenario-list { list-style: none; display: grid; gap: 8px; }
.scenario-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 14px; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
}
.scenario-row::before {
  content: "→"; flex: none; font-size: 13px; color: var(--text-dim); opacity: .7;
}
.pick-wp { background: rgba(0, 163, 196, .12); color: #046b80; }
.pick-ai { background: rgba(51, 88, 255, .1); color: #2b4fee; }
.explain-foot {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.explain-foot p { font-size: 14px; color: var(--text-dim); max-width: 640px; }
.explain-foot .btn { flex: none; }

/* ---------- 方案区 ---------- */
.link-btn {
  padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--text-dim);
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--accent); }

/* ---------- 首次访问：方向引导弹层 ---------- */
.choice-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.choice-modal.show { display: block; }
.choice-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.choice-modal-panel {
  position: relative; z-index: 1;
  width: calc(100% - 32px); max-width: 640px;
  margin: 9vh auto 0; padding: 34px 32px 22px;
  max-height: 82vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .26);
  animation: modalIn .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.choice-modal-panel:focus { outline: none; } /* 容器聚焦不加焦点环 */
.choice-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text-dim);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.choice-modal-close:hover { background: var(--bg-alt); color: var(--text); }
.choice-modal-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.choice-modal-panel h2 { margin-top: 10px; font-size: clamp(21px, 3.4vw, 27px); padding-right: 30px; }
.choice-modal-panel h2::after { display: none; } /* 弹层标题不加装饰线 */
.choice-modal-sub { margin-top: 10px; font-size: 14.5px; color: var(--text-dim); }
.choice-modal-actions { display: grid; gap: 12px; margin-top: 24px; }
.choice-opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; font-family: inherit; cursor: pointer;
  background: #fff; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.choice-opt:hover {
  border-color: rgba(51, 88, 255, .5); background: #fbfcff;
  box-shadow: var(--shadow); transform: translateY(-1px);
}
.choice-opt-icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  color: var(--accent); background: rgba(51, 88, 255, .08);
  border: 1px solid rgba(51, 88, 255, .16); border-radius: 11px;
}
.choice-opt-icon svg { width: 21px; height: 21px; }
.choice-opt-body { display: grid; gap: 3px; }
.choice-opt-name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.choice-opt-desc { font-size: 12.5px; color: var(--text-dim); }
.choice-opt-price { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.choice-opt-arrow { margin-left: auto; color: var(--text-dim); display: grid; place-items: center; }
.choice-opt-arrow svg { width: 18px; height: 18px; }
.choice-opt:hover .choice-opt-arrow { color: var(--accent); }
.choice-modal-link {
  display: block; width: 100%; margin-top: 16px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px;
}
.choice-modal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.choice-modal-skip {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 13.5px; color: var(--text-dim);
  text-decoration: underline; text-underline-offset: 3px;
}
.choice-modal-skip:hover { color: var(--text); }
.choice-modal-tip { font-size: 12px; color: var(--text-dim); }
body.modal-open { overflow: hidden; }

/* ---------- 模式切换 ---------- */
.mode-tabs {
  display: inline-flex; gap: 4px; margin-top: 36px; padding: 4px;
  background: #eef1f7; border: 1px solid var(--border); border-radius: 12px;
}
.mode-tab {
  padding: 11px 26px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text-dim);
  font-size: 15px; font-weight: 600; font-family: inherit;
  transition: background .18s, color .18s, box-shadow .18s;
}
.mode-tab.active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px rgba(51, 88, 255, .3);
}
.mode-panel { display: none; margin-top: 34px; }
.mode-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.mode-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
/* WordPress 方案只有一个价格卡 + 12 项清单，改成上下排，清单两列，避免左侧大片空白 */
@media (min-width: 961px) {
  .mode-grid-stack { grid-template-columns: 1fr; gap: 28px; }
  .mode-grid-stack .price-cards { max-width: 540px; }
  .mode-grid-stack .checklist { grid-template-columns: 1fr 1fr; column-gap: 36px; }
}
.mode-tag { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .08em; }
.mode-pitch { margin-top: 8px; font-size: 18px; font-weight: 600; }
.mode-note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }

.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.check-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); flex: none; }

.price-cards { display: grid; gap: 14px; }
.price-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
  transition: transform .25s var(--ease-spring), box-shadow .25s ease, border-color .25s ease;
}
/* v1.22.0：价格卡悬停浮起 + 左侧渐变条 */
.price-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0; transition: opacity .25s ease;
}
.price-card:hover {
  transform: translateY(-3px); border-color: rgba(51, 88, 255, .3);
  box-shadow: var(--shadow-up);
}
.price-card:hover::before { opacity: 1; }
.price-name { font-size: 14px; color: var(--text-dim); }
.price-value {
  margin-top: 4px; font-size: 26px; font-weight: 800;
  background: linear-gradient(120deg, #2b4fee, #0087ab);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-note { margin-top: 6px; font-size: 13.5px; color: var(--text-dim); }
.price-card .btn { margin-top: 14px; }

.checklist-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.checklist-title { font-weight: 700; margin-bottom: 16px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checklist svg { width: 17px; height: 17px; margin-top: 4px; color: var(--accent); flex: none; }

/* ---------- 对比表（后台列表仍在用 table-wrap） ---------- */
.table-wrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
th, td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
th { color: var(--accent); font-weight: 600; background: rgba(51, 88, 255, .05); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text-dim); white-space: nowrap; }
.plans-back { margin-top: 14px; font-size: 14px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 8px; }
.dot-sep { color: var(--border-strong); }
.plans-back a { color: var(--accent); text-decoration: none; }
.plans-back a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Why 对比卡 ---------- */
.why-pillars { margin-top: 38px; }
.why-pillar { padding: 26px; }
.why-pillar h3 { font-size: 15.5px; }
.why-pillar p { font-size: 14px; line-height: 1.72; }
.why-compare-title {
  margin-top: 46px; font-size: 15px; font-weight: 700;
  color: var(--text-dim); letter-spacing: .01em;
}
.why-compare-title + .grid { margin-top: 16px; }
.why-cta-wrap { margin-top: 26px; text-align: center; }
.why-cta-wrap .btn svg { width: 17px; height: 17px; }
.vs-card {
  border-radius: var(--radius); padding: 30px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.vs-card h3 { font-size: 18px; margin-bottom: 16px; }
.vs-card ul { list-style: none; display: grid; gap: 12px; font-size: 15px; color: var(--text-dim); }
.vs-diy { background: var(--bg-alt); box-shadow: none; }
.vs-diy li { padding-left: 20px; position: relative; }
.vs-diy li::before { content: "—"; position: absolute; left: 0; color: var(--text-dim); }
.vs-pro { border-color: rgba(51, 88, 255, .35); box-shadow: var(--shadow-up); }
.vs-pro li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.vs-pro svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); flex: none; }
.why-conclusion {
  margin-top: 40px; padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(51, 88, 255, .05); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16.5px; font-weight: 500;
}

/* ---------- 价格锚点（跟随方案区价格展示） ---------- */
.price-anchor { margin-top: 22px; font-size: 14px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 0 22px; box-shadow: var(--shadow);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
/* v1.22.0：悬停/展开态高亮，引导视线 */
.faq-item:hover { border-color: rgba(51, 88, 255, .28); }
.faq-item[open] {
  border-color: rgba(51, 88, 255, .4);
  box-shadow: var(--shadow-up);
  background: linear-gradient(180deg, #fdfdff, #fff);
}
.faq-item summary {
  padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .18s ease;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; color: var(--accent); flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--text-dim); font-size: 14.5px; }
.faq-item[open] p { animation: faqIn .28s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 业务边界 ---------- */
.boundary {
  margin-top: 44px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.boundary h3 { font-size: 16.5px; margin-bottom: 14px; }
.boundary ul { list-style: none; display: grid; gap: 10px; }
.boundary li {
  font-size: 13.5px; color: var(--text-dim);
  padding-left: 16px; position: relative;
}
.boundary li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.boundary-note {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px; color: var(--text-dim);
}

/* ---------- 表单 ---------- */
.lead-form {
  margin-top: 40px; padding: 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-up);
  display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.lead-form label > span { display: block; line-height: 1.5; }
.lead-form em { color: var(--accent); font-style: normal; margin-left: 3px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px;
  background: #fbfcfe; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 9px;
  font-size: 14.5px; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51, 88, 255, .12);
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 15px 20px; border-radius: 11px; font-size: 14.5px;
  animation: faqIn .35s ease;
}
.alert svg { width: 18px; height: 18px; flex: none; }
.alert-success { background: rgba(0, 163, 196, .08); border: 1px solid rgba(0, 136, 173, .3); color: #056a80; }
.alert-error   { background: rgba(239, 68, 68, .07); border: 1px solid rgba(239, 68, 68, .3); color: #b91c1c; }

/* ---------- 页脚 ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding: 56px 0 32px; background: var(--bg-alt); }
.footer::before {
  content: "";
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 240px;
  background: radial-gradient(closest-side, rgba(51, 88, 255, .08), transparent 72%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 36px; }
.footer p { font-size: 14px; color: var(--text-dim); margin-top: 6px; }
.footer .brand { font-size: 19px; color: var(--text); }
.footer-title { color: var(--text) !important; font-weight: 600; margin-bottom: 4px; }
.footer-cta { margin-top: 14px; }
.footer-link { color: var(--accent); font-size: 14px; display: inline-block; margin-top: 14px; }
.footer-link:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 13px; color: var(--text-dim);
}

.form-error-tip { margin-top: 12px; font-size: 13.5px; color: #b42318; text-align: center; }
.form-privacy { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--text-dim); text-align: center; }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease-spring), transform .65s var(--ease-spring); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  /* 注：.marquee-track 故意不在此列表——系统开启「减弱动画」时也应保持滚动，
     否则访客看到的是一条静止的文字带（业主明确要求滚动） */
  .hero-glow, .alert, .faq-item[open] p,
  .hero-inner > *, .hero-badge::before, .choose-card.selected .choose-mark,
  body::before, .orb, .mobile-menu.open,
  .choice-modal-backdrop, .choice-modal-panel { animation: none !important; }
  .btn-primary::after, .nav-links a::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式（移动端优先适配） ---------- */
@media (max-width: 960px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-pillars { grid-template-columns: 1fr; }  /* 3 张优势卡不拆成 2+1 */
  .mode-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 104px 0 80px; }
  .orb-a { width: 260px; height: 260px; }
  .orb-b { width: 220px; height: 220px; }
  .choose-grid { grid-template-columns: 1fr; gap: 16px; }
  .explain-grid { grid-template-columns: 1fr; }
  .scenario-groups { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 640px) {
  .nav-inner { gap: 14px; height: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 72px 0 56px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid { gap: 14px; margin-top: 32px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; }

  /* 触控与 iOS：控件 16px 防聚焦缩放，按钮 48px 触控目标 */
  .btn { min-height: 48px; }
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .lead-form { padding: 24px 20px; }
  .hero-cta .btn { flex: 1 1 auto; }

  .marquee { padding: 12px 0; }
  .marquee-item { font-size: 13px; gap: 15px; padding-right: 15px; }

  /* 移动端光斑减负：更小更淡，降低模糊渲染开销 */
  .orb { filter: blur(40px); opacity: .38; }
  .orb-a { width: 200px; height: 200px; top: -60px; }
  .orb-b { width: 170px; height: 170px; }
  .orb-c { width: 150px; height: 150px; bottom: -50px; }

  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .footer-bottom { justify-content: center; text-align: center; }
  .faq-item summary { padding: 17px 44px 17px 18px; }
  .alert { font-size: 14px; }

  /* 方向选择 / 解析框 / 弹层（手机） */
  .choose-wrap { padding-top: 60px; }
  .choose-grid { margin-top: 28px; }
  .choose-card { padding: 24px 20px; border-radius: 16px; }
  .choose-name { font-size: 17px; }
  .choose-price { font-size: 23px; }
  .explain { padding: 24px 20px 22px; border-radius: 16px; }
  .explain-head h3 { font-size: 19px; }
  .explain-foot { flex-direction: column; align-items: stretch; }
  .explain-foot .btn { width: 100%; }
  .choice-modal-panel { margin: 4vh auto 0; padding: 28px 20px 18px; max-height: 90vh; }
  .choice-modal-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .choice-opt { padding: 14px 14px; gap: 12px; }
  .choice-opt-icon { width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .brand { font-size: 18px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 56px 0; }
}

/* =========================================================
   文章列表 / 文章详情（v1.7.0）
   ========================================================= */
.section-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(51, 88, 255, .08); color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
}
.section-title {
  margin: 14px 0 10px; font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; letter-spacing: -.02em;
}
.articles-page { padding: 72px 0 90px; }
.articles-page .section-sub { margin-bottom: 40px; }
.articles-empty {
  padding: 60px 20px; text-align: center; color: var(--text-dim);
  background: var(--bg-alt); border: 1px dashed var(--border-strong); border-radius: var(--radius);
}
.article-list { display: grid; gap: 14px; }
.article-card {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .22s var(--ease-spring), box-shadow .22s ease, border-color .22s ease;
}
/* v1.22.0：文章卡左侧渐变引导条 */
.article-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0; transform: scaleY(.4);
  transition: opacity .22s ease, transform .3s var(--ease-spring);
}
.article-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: rgba(51, 88, 255, .35);
}
.article-card:hover::before { opacity: 1; transform: scaleY(1); }
.article-card h2 { margin: 0; font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; }
.article-card h2 a { color: var(--text); text-decoration: none; }
.article-card h2 a:hover { color: var(--accent); }
.article-card-sub {
  margin: 8px 0 0; color: var(--text-dim); font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-meta {
  flex: none; text-align: right; color: var(--text-dim); font-size: 12.5px; line-height: 1.9;
  display: flex; flex-direction: column; white-space: nowrap;
}
.pager {
  margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 16px;
}
.pager-info { color: var(--text-dim); font-size: 13.5px; }

/* ---------- 详情页 ---------- */
.article-page { padding: 56px 0 90px; }
.article-breadcrumb a { color: var(--text-dim); font-size: 13.5px; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--accent); }
.article-title {
  margin: 18px 0 12px; font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.35;
}
.article-meta {
  display: flex; gap: 18px; color: var(--text-dim); font-size: 13.5px;
  padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 30px;
}
.article-body { font-size: 15.5px; line-height: 1.9; color: var(--text); }
.article-body p { margin: 0 0 1.2em; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  margin: 1.6em 0 .7em; font-weight: 700; letter-spacing: -.01em; line-height: 1.4;
}
.article-body h2 { font-size: 22px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article-body h3 { font-size: 18px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body img, .article-body video {
  max-width: 100%; height: auto; border-radius: 10px;
  border: 1px solid var(--border); margin: 6px 0; display: block;
}
.article-body ul, .article-body ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.article-body li { margin: .35em 0; }
.article-body blockquote {
  margin: 1.2em 0; padding: 10px 18px; border-left: 4px solid var(--accent-2);
  background: var(--bg-alt); border-radius: 0 10px 10px 0; color: var(--text-dim);
}
.article-body code {
  font-family: Consolas, monospace; font-size: .9em; background: var(--bg-alt);
  padding: 2px 7px; border-radius: 6px;
}
.article-body pre {
  background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 10px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.7;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
.article-body th, .article-body td { border: 1px solid var(--border-strong); padding: 8px 12px; font-size: 14px; }
.article-body th { background: var(--bg-alt); }

.article-adjacent {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 18px;
}
.adjacent-link {
  max-width: 48%; text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 600;
  display: flex; flex-direction: column; gap: 4px;
}
.adjacent-link span { color: var(--text-dim); font-size: 12px; font-weight: 500; }
.adjacent-link:hover { color: var(--accent); }
.adjacent-next { text-align: right; margin-left: auto; }

.article-cta {
  margin-top: 48px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(51, 88, 255, .07), rgba(0, 163, 196, .07));
  border: 1px solid rgba(51, 88, 255, .18);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.article-cta p { margin: 0; font-weight: 700; }

@media (max-width: 640px) {
  .article-card { flex-direction: column; gap: 10px; padding: 18px; }
  .article-card-meta { flex-direction: row; gap: 14px; text-align: left; }
  .article-adjacent { flex-direction: column; }
  .adjacent-link { max-width: 100%; }
  .article-cta { flex-direction: column; text-align: center; }
}

/* =========================================================
   v1.22.0 · 美化与阅读体验增强
   ========================================================= */

/* ---------- 文章页顶部阅读进度条（JS 注入） ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; z-index: 80;
  width: 100%; height: 3px;
  background: transparent; pointer-events: none;
}
.read-progress-bar {
  display: block; width: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
}

/* ---------- 返回顶部按钮（JS 注入） ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--accent);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .3s var(--ease-spring), box-shadow .2s ease, border-color .2s ease;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { border-color: rgba(51, 88, 255, .45); box-shadow: var(--shadow-up); transform: translateY(-2px); }
.back-top:active { transform: scale(.92); }
.back-top svg { width: 20px; height: 20px; }
/* 首页右下角有客服按钮（56px），返回顶部在其上方避让 */
@media (max-width: 640px) {
  .back-top { right: 16px; bottom: 84px; width: 42px; height: 42px; }
}

/* ---------- 估读时间徽标（JS 注入 .article-meta） ---------- */
.read-time {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: 999px;
  background: rgba(51, 88, 255, .07); border: 1px solid rgba(51, 88, 255, .16);
  color: var(--accent); font-size: 12.5px; font-weight: 600;
}
.read-time svg { width: 13px; height: 13px; }

/* ---------- 正文阅读优化 ---------- */
.article-body { font-size: 16px; line-height: 1.95; letter-spacing: .005em; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 {
  position: relative;
  margin: 1.9em 0 .8em;
  scroll-margin-top: 90px;
}
.article-meta { align-items: center; flex-wrap: wrap; }
.adjacent-link { transition: color .18s ease, transform .22s var(--ease-spring); }
.adjacent-link:hover { transform: translateY(-2px); }

/* ---------- 方案切换 tab：未选中态悬停反馈 ---------- */
.mode-tab:not(.active):hover { background: rgba(255, 255, 255, .75); color: var(--text); }

/* ---------- 区块角标微交互 ---------- */
.section-tag { transition: box-shadow .25s ease, transform .25s var(--ease-spring); }
.section-tag:hover { box-shadow: 0 4px 14px rgba(51, 88, 255, .18); transform: translateY(-1px); }

/* ---------- 表单输入聚焦时的柔和上浮 ---------- */
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  background: #fff;
  transform: translateY(-1px);
}
.lead-form input, .lead-form select, .lead-form textarea {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

/* ---------- 滚动带条目悬停提亮 ---------- */
@media (hover: hover) {
  .marquee-item { transition: color .2s ease; }
  .marquee:hover .marquee-item:hover { color: var(--accent); }
}

/* ---------- 页脚链接箭头 ---------- */
.footer-link { transition: color .18s ease, padding-left .22s var(--ease-spring); }
.footer-link:hover { padding-left: 4px; }
