@charset "UTF-8";
/* ==========================================================================
   FOMATH.CN — 临清青年番木网络工作室 旗舰设计系统 v2026.11.26
   风格：深空曜石蓝 + 品牌赤红 + 科技香槟金 + 极光白（现代数字工程 & AI GEO 工作室）
   特性：零第三方框架依赖 · 浅/深双态高对比 · 移动端 Grid 零横向溢出 · 纯静态原生友好
   ========================================================================== */

:root {
  /* 品牌核心色板 */
  --ink-950: #070C17;
  --ink-900: #0B1221;
  --ink-800: #131E35;
  --ink-700: #1D2D4C;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;

  --brand: #C8342B;
  --brand-hover: #A92820;
  --brand-soft: #FEF2F2;
  --brand-border: #FECACA;

  --gold: #D4A853;
  --gold-dark: #9A7228;
  --gold-soft: #FDF8EC;

  --blue-accent: #2563EB;
  --teal-accent: #0D9488;

  /* 表面与边框 */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* 阴影体系 */
  --shadow-xs: 0 1px 2px rgba(11, 18, 33, 0.05);
  --shadow-sm: 0 4px 12px rgba(11, 18, 33, 0.06);
  --shadow-md: 0 12px 28px rgba(11, 18, 33, 0.09);
  --shadow-lg: 0 24px 52px rgba(11, 18, 33, 0.14);
  --shadow-brand: 0 12px 28px rgba(200, 52, 43, 0.28);

  /* 排版与布局 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container-max: 1200px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 基础复位与防横向溢出铁律 */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-page);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* 通用容器与留白节奏 */
.fm-wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.fm-sec {
  padding: 88px 0;
  position: relative;
}
.fm-sec-subtle { background: var(--bg-subtle); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.fm-sec-dark {
  background: radial-gradient(1100px 540px at 15% 0%, #1B2E52 0%, var(--ink-900) 58%, var(--ink-950) 100%);
  color: #FFFFFF;
}
.fm-sec-tight { padding: 56px 0; }

/* 区块标题层级 */
.fm-head {
  margin-bottom: 48px;
  max-width: 740px;
}
.fm-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.fm-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.fm-head-center .fm-eyebrow::before { display: none; }
.fm-sec-dark .fm-eyebrow { color: var(--gold); }
.fm-sec-dark .fm-eyebrow::before { background: var(--gold); }

.fm-h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.fm-sec-dark .fm-h2 { color: #FFFFFF; }

.fm-lead {
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.75;
}
.fm-sec-dark .fm-lead { color: rgba(255, 255, 255, 0.76); }

/* ==========================================================================
   按钮体系（显式区分浅底 / 深底双态高对比度，杜绝悬停隐身）
   ========================================================================== */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.fm-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.fm-btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 8px; }
.fm-btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 11px; }

/* 主红按钮（浅底 & 深底通用高对比） */
.fm-btn-primary {
  background: linear-gradient(135deg, #D33C32 0%, var(--brand) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}
.fm-btn-primary:hover, .fm-btn-primary:focus-visible {
  background: linear-gradient(135deg, #B82E25 0%, var(--brand-hover) 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(200, 52, 43, 0.36);
}

/* 浅底上的次级/深色实心按钮 */
.fm-btn-dark {
  background: var(--ink-900);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.fm-btn-dark:hover, .fm-btn-dark:focus-visible {
  background: var(--ink-800);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 浅底上的描边按钮（明确墨蓝字 + 悬停深蓝底白字） */
.fm-btn-outline {
  background: #FFFFFF;
  color: var(--ink-900);
  border-color: var(--border-light);
}
.fm-btn-outline:hover, .fm-btn-outline:focus-visible {
  background: var(--ink-900);
  color: #FFFFFF;
  border-color: var(--ink-900);
  transform: translateY(-2px);
}

/* 深底上的透明描边按钮（明确纯白字 + 悬停微亮白边） */
.fm-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.fm-btn-ghost:hover, .fm-btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* 深底上的金色点缀按钮 */
.fm-btn-gold {
  background: linear-gradient(135deg, #E2B864 0%, var(--gold) 100%);
  color: var(--ink-950);
}
.fm-btn-gold:hover, .fm-btn-gold:focus-visible {
  background: linear-gradient(135deg, #ECC576 0%, #DFB35C 100%);
  color: var(--ink-950);
  transform: translateY(-2px);
}

/* ==========================================================================
   顶部双态 Glassmorphism 吸顶导航（彻底解决透明白字隐身 & Logo标语重叠）
   ========================================================================== */
.fm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--ink-900);
}

/* 带深色首屏的页面初始呈通透深色玻璃态，滚动超过 40px 立即切浅白高对比态 */
body.has-dark-hero .fm-header:not(.is-scrolled) {
  background: rgba(11, 18, 33, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}
body.has-dark-hero .fm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 6px 24px rgba(11, 18, 33, 0.08);
  color: var(--ink-900);
}

/* 浅色首屏内页统一预留顶部导航高度 */
body:not(.has-dark-hero) {
  padding-top: var(--header-h);
}

.fm-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}
.fm-brand-logo {
  display: flex;
  align-items: center;
  height: 30px;
}
.fm-brand-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.fm-logo-white { display: none; }
.fm-logo-dark { display: block; }
body.has-dark-hero .fm-header:not(.is-scrolled) .fm-logo-white { display: block; }
body.has-dark-hero .fm-header:not(.is-scrolled) .fm-logo-dark { display: none; }

.fm-brand-sep {
  width: 1px;
  height: 18px;
  background: currentColor;
  opacity: 0.22;
}
.fm-brand-tag {
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.78;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* 主导航链接 */
.fm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fm-nav-item {
  position: relative;
}
.fm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  color: inherit;
  opacity: 0.88;
  white-space: nowrap;
}
.fm-nav-link:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.05);
  color: var(--brand);
}
body.has-dark-hero .fm-header:not(.is-scrolled) .fm-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.fm-nav-item.is-active > .fm-nav-link {
  opacity: 1;
  color: var(--brand);
  background: var(--brand-soft);
}
body.has-dark-hero .fm-header:not(.is-scrolled) .fm-nav-item.is-active > .fm-nav-link {
  color: var(--gold);
  background: rgba(212, 168, 83, 0.14);
}

/* 下拉子菜单 */
.fm-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 196px;
  background: #FFFFFF;
  color: var(--ink-900);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.fm-nav-item:hover .fm-dropdown,
.fm-nav-item:focus-within .fm-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.fm-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.fm-dropdown a:hover {
  background: var(--bg-subtle);
  color: var(--brand);
}
.fm-dropdown-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
}

.fm-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.fm-tel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0.9;
}
.fm-tel-pill:hover { opacity: 1; color: var(--brand); }
body.has-dark-hero .fm-header:not(.is-scrolled) .fm-tel-pill:hover { color: var(--gold); }

/* 移动端汉堡按钮 */
.fm-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.fm-burger svg { width: 22px; height: 22px; }

/* 移动端抽屉导航 */
.fm-drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 23, 0.58);
  backdrop-filter: blur(4px);
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.fm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 330px);
  background: #FFFFFF;
  color: var(--ink-900);
  z-index: 990;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(7, 12, 23, 0.2);
}
body.drawer-open .fm-drawer-mask { opacity: 1; visibility: visible; }
body.drawer-open .fm-drawer { transform: translateX(0); }

.fm-drawer-head {
  height: var(--header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.fm-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-600);
  background: var(--bg-subtle);
}
.fm-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 28px;
}
.fm-drawer-group {
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.fm-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  border-radius: 8px;
}
.fm-drawer-link:hover { background: var(--bg-subtle); color: var(--brand); }
.fm-drawer-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 4px 8px 8px;
}
.fm-drawer-sub a {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--bg-subtle);
  border-radius: 8px;
  text-align: center;
}
.fm-drawer-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   深空旗舰 Hero 首屏（彻底消除加载闪白 & 0+ 闪烁）
   ========================================================================== */
.fm-hero {
  position: relative;
  background-color: var(--ink-900);
  background-image: radial-gradient(1100px 620px at 14% -5%, rgba(37, 99, 235, 0.28) 0%, transparent 60%),
                    radial-gradient(900px 540px at 88% 12%, rgba(200, 52, 43, 0.22) 0%, transparent 58%),
                    linear-gradient(165deg, #0D172B 0%, #09101E 55%, #060B14 100%);
  color: #FFFFFF;
  padding: calc(var(--header-h) + 74px) 0 84px;
  overflow: hidden;
}
.fm-hero-compact {
  padding: calc(var(--header-h) + 54px) 0 60px;
}
.fm-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 82%);
  pointer-events: none;
}
.fm-hero-inner {
  position: relative;
  z-index: 2;
}
.fm-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.fm-hero-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.fm-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.fm-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
}
.fm-hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.fm-hero h1 .fm-grad {
  background: linear-gradient(92deg, #FFFFFF 0%, #FFE4DE 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fm-hero-desc {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 32px;
}
.fm-hero-center .fm-hero-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 740px;
}
.fm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.fm-hero-center .fm-hero-cta { justify-content: center; }

.fm-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}
.fm-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fm-hero-trust svg { width: 15px; height: 15px; color: var(--gold); }

/* 首页右侧高对比深空实力指标面板（去除 backdrop-filter 避免移动端/微信WebView渲染发糊） */
.fm-hero-panel {
  background: linear-gradient(165deg, #162440 0%, #0D1629 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  min-width: 0;
  max-width: 100%;
}
.fm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.fm-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}
.fm-panel-pill {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(52, 211, 153, 0.18);
  color: #6EE7B7;
  font-weight: 700;
  flex-shrink: 0;
}
.fm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.fm-kpi-box {
  background: #1B2B4B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  min-width: 0;
}
.fm-kpi-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.fm-kpi-num em { font-style: normal; color: var(--gold); font-size: 18px; margin-left: 1px; }
.fm-kpi-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #DCE6F5;
  line-height: 1.4;
}
.fm-stack-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.fm-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #162544;
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13.5px;
  min-width: 0;
}
.fm-stack-row:hover {
  background: #1D3056;
  border-color: rgba(212, 168, 83, 0.45);
}
.fm-stack-row strong { color: #FFFFFF; font-weight: 700; }
.fm-stack-row span { color: #DCE6F5; font-size: 12.5px; text-align: right; white-space: nowrap; }

/* ==========================================================================
   核心 Grid 系统（全员强制 minmax(0, 1fr) + min-width: 0 防溢出）
   ========================================================================== */
.fm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fm-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fm-grid-4 > *, .fm-grid-3 > *, .fm-grid-2 > *, .fm-grid-5 > * { min-width: 0; max-width: 100%; }

/* 服务卡片（高级克制 Bento 风格，取代土味饱和四色块） */
.fm-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.fm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.fm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}
.fm-card:hover::before { transform: scaleX(1); }

.fm-ico-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--ink-800), #2563EB);
  box-shadow: 0 8px 18px rgba(19, 30, 53, 0.16);
}
.fm-ico-box.is-red { background: linear-gradient(135deg, var(--brand), #E05A4F); box-shadow: 0 8px 18px rgba(200, 52, 43, 0.22); }
.fm-ico-box.is-gold { background: linear-gradient(135deg, #B28228, var(--gold)); box-shadow: 0 8px 18px rgba(178, 130, 40, 0.22); }
.fm-ico-box.is-teal { background: linear-gradient(135deg, #0F766E, #14B8A6); box-shadow: 0 8px 18px rgba(15, 118, 110, 0.2); }
.fm-ico-box svg { width: 22px; height: 22px; }

.fm-card-en {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 6px;
}
.fm-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.35;
}
.fm-card p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.7;
  flex: 1;
}
.fm-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}
.fm-card:hover .fm-card-more { gap: 10px; }

/* ==========================================================================
   GEO 旗舰示范展区
   ========================================================================== */
.fm-geo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}
.fm-engine-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}
.fm-engine-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
}
.fm-geo-card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  gap: 14px;
}
.fm-geo-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 10px;
  background: rgba(7, 12, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fm-geo-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.18);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fm-geo-item h4 { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 4px; }
.fm-geo-item p { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

/* ==========================================================================
   精选案例画廊（精致浏览器外框 + 16:10 统一比例 + 清晰行业分类胶囊）
   ========================================================================== */
.fm-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.fm-tab {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-600);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}
.fm-tab:hover {
  color: var(--brand);
  border-color: var(--brand-border);
  background: var(--brand-soft);
}
.fm-tab.active, .fm-tab.is-active {
  color: #FFFFFF;
  background: var(--ink-900);
  border-color: var(--ink-900);
}

.fm-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.fm-case-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  min-width: 0;
}
.fm-case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}
.fm-case-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink-900);
  overflow: hidden;
}
.fm-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s var(--ease);
}
.fm-case-card:hover .fm-case-thumb img { transform: scale(1.05); }
.fm-case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.04) 40%, rgba(11, 18, 33, 0.72) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  transition: opacity .28s var(--ease);
}
.fm-case-card:hover .fm-case-overlay { opacity: 1; }
.fm-case-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-900);
  font-size: 12.5px;
  font-weight: 700;
}
.fm-case-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.fm-case-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fm-case-card:hover .fm-case-title { color: var(--brand); }
.fm-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.fm-tag-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--ink-500);
}

/* ==========================================================================
   套餐报价体系（清晰层级 + 推荐主推深色尊享卡）
   ========================================================================== */
.fm-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.fm-price-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  min-width: 0;
}
.fm-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fm-price-card.is-featured {
  background: linear-gradient(165deg, #162440 0%, var(--ink-900) 100%);
  border-color: rgba(212, 168, 83, 0.35);
  color: #FFFFFF;
  box-shadow: 0 24px 56px rgba(11, 18, 33, 0.24);
}
.fm-price-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(200, 52, 43, 0.3);
}
.fm-price-name { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.fm-price-sub { font-size: 13.5px; color: var(--ink-500); margin-bottom: 20px; min-height: 44px; }
.fm-price-card.is-featured .fm-price-sub { color: rgba(255, 255, 255, 0.72); }
.fm-price-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.fm-price-val small { font-size: 14px; font-weight: 600; color: var(--ink-400); margin-left: 3px; }
.fm-price-card.is-featured .fm-price-val { color: var(--gold); }
.fm-price-card.is-featured .fm-price-val small { color: rgba(255, 255, 255, 0.6); }
.fm-price-meta { font-size: 12.5px; color: var(--ink-400); margin-bottom: 22px; }
.fm-price-card.is-featured .fm-price-meta { color: rgba(255, 255, 255, 0.56); }

.fm-price-list {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}
.fm-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.55;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}
.fm-price-card.is-featured .fm-price-list li {
  color: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.fm-price-list li::before {
  content: "✓";
  color: var(--teal-accent);
  font-weight: 800;
  flex-shrink: 0;
}
.fm-price-card.is-featured .fm-price-list li::before { color: var(--gold); }
.fm-price-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 26px;
  line-height: 1.8;
}

/* ==========================================================================
   流程步骤 & 对比表 & 原生 <details> FAQ
   ========================================================================== */
.fm-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.fm-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #E05A4F);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 14px rgba(200, 52, 43, 0.25);
}
.fm-step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--ink-900); }
.fm-step-card p { font-size: 13px; color: var(--ink-500); line-height: 1.6; }

/* 表格防溢出容器 */
.fm-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
}
.fm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14.5px;
}
.fm-table th, .fm-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.fm-table thead th {
  background: var(--ink-900);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
}
.fm-table tbody tr:nth-child(even) td { background: var(--bg-subtle); }
.fm-table tbody tr:last-child td { border-bottom: none; }

/* 原生折叠 FAQ */
.fm-faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.fm-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: border-color .2s, box-shadow .2s;
}
.fm-faq-item[open] {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}
.fm-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 32px 19px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
}
.fm-faq-item summary::-webkit-details-marker { display: none; }
.fm-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .25s var(--ease);
}
.fm-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fm-faq-body {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.8;
}
.fm-faq-body a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ==========================================================================
   首页三栏杂志风资讯区 & 资讯列表 / 文章详情页
   ========================================================================== */
.fm-news-col {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.fm-news-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.fm-news-col-head h3 { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.fm-news-col-head a { font-size: 13px; font-weight: 700; color: var(--brand); flex-shrink: 0; }
.fm-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.fm-news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--border-subtle);
}
.fm-news-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fm-news-list a {
  display: block;
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fm-news-list a:hover { color: var(--brand); }
.fm-news-date {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 资讯列表卡片 */
.fm-article-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.fm-article-row {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.fm-article-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}
.fm-article-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-muted);
}
.fm-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fm-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-400);
  margin-bottom: 8px;
}
.fm-article-row h2 {
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.fm-article-row:hover h2 a { color: var(--brand); }
.fm-article-excerpt {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 纯静态分页器 */
.fm-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.fm-pagination a, .fm-pagination span, .fm-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  background: #FFFFFF;
  color: var(--ink-700);
  border: 1px solid var(--border-light);
}
.fm-pagination a:hover { border-color: var(--brand); color: var(--brand); }
.fm-pagination .active, .fm-pagination .thisclass, .fm-pagination strong, .fm-pagination span.current {
  background: var(--ink-900);
  color: #FFFFFF;
  border-color: var(--ink-900);
}

/* 面包屑导航 */
.fm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-400);
  margin-bottom: 22px;
}
.fm-breadcrumb a { color: var(--ink-500); }
.fm-breadcrumb a:hover { color: var(--brand); }

/* 文章 / 案例详情主体（高可读性杂志级阅读体验 + 防宽表溢出） */
.fm-detail-shell {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow: hidden;
}
.fm-detail-shell h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.fm-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-400);
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}
.fm-prose {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-700);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.fm-prose p { margin-bottom: 18px; }
.fm-prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}
.fm-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 24px 0 10px;
}
.fm-prose ul, .fm-prose ol { margin: 0 0 18px 22px; list-style: disc; }
.fm-prose ol { list-style: decimal; }
.fm-prose li { margin-bottom: 8px; }
.fm-prose img {
  border-radius: 10px;
  margin: 20px auto;
  max-width: 100% !important;
  height: auto !important;
  box-shadow: var(--shadow-sm);
}
.fm-prose a { color: var(--brand); text-decoration: underline; }
.fm-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
.fm-prose th, .fm-prose td {
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  white-space: nowrap;
}
.fm-prose blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-left: 4px solid var(--ink-800);
  border-radius: 0 10px 10px 0;
  color: var(--ink-600);
}

/* 详情底部作者与咨询名片 */
.fm-consult-box {
  margin-top: 38px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fm-consult-qr {
  width: 112px;
  height: 112px;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 6px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}
.fm-consult-qr img { width: 100%; height: 100%; object-fit: contain; }
.fm-prenext {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fm-prenext-card {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  display: block;
}
.fm-prenext-card:hover { border-color: var(--brand); background: #FFFFFF; }
.fm-prenext-card span { display: block; font-size: 12px; color: var(--ink-400); margin-bottom: 4px; }
.fm-prenext-card strong { display: block; font-size: 14px; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 套餐详情规格切换器（用于基础/标准/专属建站页） */
.fm-spec-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.fm-spec-pill {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--ink-700);
  border: 1.5px solid var(--border-light);
}
.fm-spec-pill.is-active, .fm-spec-pill:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand);
}

/* 纯静态高转化联系页卡片 */
.fm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}
.fm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}
.fm-contact-qr-card {
  background: linear-gradient(165deg, #162440 0%, var(--ink-900) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.fm-contact-qr-frame {
  width: 200px;
  height: 200px;
  margin: 22px auto;
  padding: 10px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.fm-contact-qr-frame img { width: 100%; height: 100%; object-fit: contain; }

/* CTA 收口横幅 */
.fm-cta-band {
  background: radial-gradient(960px 440px at 50% 0%, #1D345D 0%, var(--ink-900) 68%, var(--ink-950) 100%);
  color: #FFFFFF;
  padding: 76px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fm-cta-band h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  margin-bottom: 14px;
}
.fm-cta-band p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 16px;
}
.fm-cta-tel {
  display: inline-block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #FFFFFF, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* ==========================================================================
   高端深色四栏页脚（零双 ©、零换行孤字、预留底部与右侧安全距）
   ========================================================================== */
.fm-footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.74);
  padding: 68px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.fm-footer-logo { height: 28px; width: auto; margin-bottom: 16px; }
.fm-footer-bio { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.62); max-width: 340px; }
.fm-footer-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.fm-footer-links { display: grid; gap: 10px; }
.fm-footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }
.fm-footer-links a:hover { color: var(--gold); }
.fm-footer-contact { display: grid; gap: 10px; font-size: 13.5px; }
.fm-footer-contact a { color: #FFFFFF; font-weight: 700; }
.fm-footer-contact a:hover { color: var(--gold); }

.fm-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.fm-footer-bottom a { color: rgba(255, 255, 255, 0.62); }
.fm-footer-bottom a:hover { color: #FFFFFF; }
.fm-footer-meta-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   克制防遮挡右侧悬浮咨询栏 + 微信弹窗 + 手机端固定底栏
   ========================================================================== */
.fm-float-dock {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 820;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fm-dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11, 18, 33, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(7, 12, 23, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
}
.fm-dock-btn svg { width: 18px; height: 18px; }
.fm-dock-btn:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); color: #FFFFFF; }
.fm-dock-btn.is-wx { background: linear-gradient(135deg, var(--brand), #D33C32); border-color: transparent; }

/* 微信弹窗 */
.fm-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 23, 0.66);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s;
}
.fm-modal-mask.is-open { opacity: 1; visibility: visible; }
.fm-modal {
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
}
.fm-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--ink-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.fm-modal h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.fm-modal p { font-size: 13.5px; color: var(--ink-500); margin-bottom: 16px; }
.fm-modal-qr {
  width: 196px;
  height: 196px;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.fm-modal-qr img { width: 100%; height: 100%; object-fit: contain; }

/* 轻提示 Toast */
.fm-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink-900);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.fm-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 手机端固定底栏（默认桌面隐藏） */
.fm-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: rgba(11, 18, 33, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 860;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fm-mobile-bar a, .fm-mobile-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 600;
}
.fm-mobile-bar svg { width: 18px; height: 18px; }
.fm-mobile-bar .is-cta { background: var(--brand); color: #FFFFFF; }

/* 滚动显现动效（带 prefers-reduced-motion 保护） */
.fm-reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-ready .fm-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(20px);
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .fm-reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式断点（平板 1080px / 手机 768px / 375x812 严测零溢出）
   ========================================================================== */
@media (max-width: 1320px) {
  .fm-footer-bottom { padding-right: 68px; }
}

@media (max-width: 1120px) {
  .fm-brand-sep, .fm-brand-tag, .fm-tel-pill { display: none; }
  .fm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fm-hero-layout, .fm-geo-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .fm-nav, .fm-header-actions .fm-btn { display: none; }
  .fm-burger { display: inline-flex; }
  .fm-case-grid, .fm-pricing, .fm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .fm-detail-shell { padding: 28px 24px; }
  .fm-consult-box { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .fm-wrap { padding: 0 16px; }
  .fm-sec { padding: 56px 0; }
  .fm-hero { padding: calc(var(--header-h) + 38px) 0 54px; }
  .fm-hero-compact { padding: calc(var(--header-h) + 32px) 0 42px; }
  .fm-hero-cta { flex-direction: column; align-items: stretch; }
  .fm-hero-cta .fm-btn { width: 100%; }
  .fm-hero-panel { padding: 20px 16px; }
  .fm-kpi-grid { gap: 10px; }
  .fm-kpi-box { padding: 14px 6px; }
  .fm-kpi-num { font-size: 22px; }
  .fm-kpi-label { font-size: 11.5px; }
  .fm-stack-row { flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 14px; }
  .fm-stack-row span { text-align: left; }
  .fm-badge-live, .fm-btn-ghost { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .fm-news-col { padding: 20px 16px; }
  .fm-grid-4, .fm-grid-3, .fm-grid-2, .fm-grid-5, .fm-pricing, .fm-case-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .fm-article-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .fm-detail-shell { padding: 22px 16px; border-radius: 14px; }
  .fm-prenext { grid-template-columns: minmax(0, 1fr); }
  .fm-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* 手机端切换固定底栏，隐藏桌面悬浮栏，并给页脚留足底部安全距离防遮挡 */
  .fm-float-dock { display: none; }
  .fm-mobile-bar { display: grid; }
  .fm-footer { padding: 48px 0 92px; }
  .fm-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .fm-tab { flex-shrink: 0; padding: 8px 16px; font-size: 13.5px; }
  .fm-faq-item { padding: 0 16px; }
  .fm-faq-item summary { font-size: 15px; }
}
