/* ============================================================
 * aidosaas-cms-02 主样式（Module11 移植）
 * 所有硬编码颜色均已替换为 :root 注入的 --m2-* 变量。
 * 前缀：m2-；动画：anm 系列；媒体查询：1024/768/480。
 * ============================================================ */

/* ============================================================
 * 设计令牌 v2.0（对齐 aidosaas-cms-pro 视觉体系 · 2026-09-02）
 * 主色 #3CA5F6 色板 / 中性 10 级色阶 / 圆角 / 阴影 / 间距 / 字号 / 过渡
 * 前缀沿用 --m2-*，与 functions.php 注入变量同源覆盖；
 * 令牌为默认值（不带 !important），后台注入的动态色（functions.php wp_head 30）优先级更高，后台改色实时生效；暗色块/组件层保留必要 !important
 * ============================================================ */
:root {
  /* 品牌色 */
  --m2-primary: #3CA5F6;
  --m2-primary-rgb: 60, 165, 246;
  --m2-primary-hover: #2B8FE4;
  --m2-primary-deep: #1B6FD0;
  --m2-primary-soft: #EAF5FE;
  --m2-accent: #5B8CFF;
  --m2-accent-rgb: 91, 140, 255;
  --m2-gradient: linear-gradient(135deg, #0F2A4A 0%, #1B6FD0 60%, #3CA5F6 100%);
  --m2-gradient-soft: linear-gradient(135deg, #EAF5FE 0%, #F4F7FB 100%);

  /* 中性色阶 gray-50 ~ gray-900 */
  --m2-gray-50: #F8FAFC;
  --m2-gray-100: #F1F5F9;
  --m2-gray-200: #E2E8F0;
  --m2-gray-300: #CBD5E1;
  --m2-gray-400: #94A3B8;
  --m2-gray-500: #64748B;
  --m2-gray-600: #475569;
  --m2-gray-700: #334155;
  --m2-gray-800: #1E293B;
  --m2-gray-900: #0F172A;

  /* 语义色 */
  --m2-bg: #F7F9FC;
  --m2-bg-2: #F4F7FB;
  --m2-surface: #FFFFFF;
  --m2-surface-2: #F4F7FB;
  --m2-border: #E6EBF2;
  --m2-border-strong: #D3DCE8;
  --m2-text: #1B2431;
  --m2-text-2: #5B6775;
  --m2-text-3: #8A97A5;
  --m2-heading: #14213D;
  --m2-tint: #EAF5FE;
  --m2-line: rgba(100, 116, 139, .14);
  --m2-footer-bg: #0F172A;

  /* 圆角 */
  --m2-radius-sm: 8px;
  --m2-radius: 12px;
  --m2-radius-md: 12px;
  --m2-radius-lg: 16px;
  --m2-radius-pill: 999px;

  /* 阴影（柔和分层 + 品牌微光） */
  --m2-shadow-sm: 0 1px 3px rgba(16, 42, 88, .05), 0 2px 10px rgba(16, 42, 88, .06);
  --m2-shadow-md: 0 2px 8px rgba(16, 42, 88, .05), 0 10px 28px rgba(16, 42, 88, .08);
  --m2-shadow: 0 2px 8px rgba(16, 42, 88, .05), 0 10px 28px rgba(16, 42, 88, .08);
  --m2-shadow-lg: 0 6px 18px rgba(16, 42, 88, .06), 0 24px 56px rgba(16, 42, 88, .12);
  --m2-shadow-brand: 0 8px 24px rgba(60, 165, 246, .20);

  /* 间距 8px 网格 */
  --m2-space-1: 8px;
  --m2-space-2: 16px;
  --m2-space-3: 24px;
  --m2-space-4: 32px;
  --m2-space-5: 40px;
  --m2-space-6: 48px;
  --m2-space-7: 56px;
  --m2-space-8: 64px;

  /* 字号层级 */
  --m2-fs-h1: clamp(34px, 4.6vw, 52px);
  --m2-fs-h2: clamp(26px, 3vw, 36px);
  --m2-fs-h3: 22px;
  --m2-fs-h4: 18px;
  --m2-fs-h5: 16px;
  --m2-fs-h6: 14px;
  --m2-fs-body: 16px;
  --m2-fs-small: 14px;
  --m2-fs-caption: 12px;
  --m2-lh-body: 1.7;
  --m2-lh-heading: 1.35;

  /* 过渡 */
  --m2-ease-fast: 150ms;
  --m2-ease-normal: 250ms;
  --m2-ease-slow: 400ms;
  --m2-timing: cubic-bezier(.4, 0, .2, 1);

  /* 布局 */
  --m2-container-w: 1200px;
  --m2-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--m2-text, #333);
  background: var(--m2-bg, #fff);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--m2-primary, #3E53D8); text-decoration: none; transition: color .2s; }
a:hover { color: var(--m2-accent, #FFA600); }
h1, h2, h3, h4, h5, h6 { color: var(--m2-heading, #06003B); line-height: 1.35; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.m2-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }
/* .m2-page 是 header.php:25 输出的整页外壳（包住 header/main/footer），不可限宽，
   否则宽屏下整站被压进中间 860px 而内部 .m2-container(1200px) 也一起被挤扁。
   真正的排版宽度由内部 .m2-container / .m2-header-inner 控制。 */
.m2-page { max-width: 100%; margin: 0 auto; }
/* .m2-article 是 single.php:31 的文章正文，860px 阅读宽度是刻意的，保留。 */
.m2-article { max-width: 860px; margin: 0 auto; }
.m2-center { text-align: center; }
.m2-empty { text-align: center; color: var(--m2-text-2, #5B6775); padding: 24px 0; }

/* ---------- 按钮 ---------- */
.m2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--m2-radius-sm, 6px);
  font-size: 15px; font-weight: 600; line-height: 1.4; border: 2px solid transparent;
  transition: background .22s, color .22s, border-color .22s, transform .18s, box-shadow .22s;
}
.m2-btn-primary { background: var(--m2-primary, #3E53D8); color: #fff; box-shadow: 0 8px 20px rgba(var(--m2-primary-rgb, 62,83,216), .28); }
.m2-btn-primary:hover { background: var(--m2-accent, #FFA600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--m2-accent-rgb, 255,166,0), .30); }
.m2-btn-outline { background: transparent; color: var(--m2-primary, #3E53D8); border-color: var(--m2-primary, #3E53D8); }
.m2-btn-outline:hover { background: var(--m2-primary, #3E53D8); color: #fff; transform: translateY(-2px); }
.m2-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 8px; }
.m2-btn-arrow .m2-btn-icon { transition: transform .22s; display: inline-block; }
.m2-btn-arrow:hover .m2-btn-icon { transform: translateX(4px); }

/* ---------- 区块骨架 ---------- */
.m2-section { padding: 72px 0; }
.m2-section--white { background: var(--m2-bg, #fff); }
.m2-section--tint { background: var(--m2-tint, #ECF4FF); }
.m2-section-title { text-align: center; font-size: 32px; font-weight: 800; letter-spacing: .5px; margin-bottom: 12px; }
.m2-section-sub { text-align: center; color: var(--m2-text-2, #5B6775); margin-bottom: 38px; }
.m2-section-lead { text-align: center; color: var(--m2-text-2, #5B6775); max-width: 640px; margin: 0 auto 34px; }
.m2-grid { display: grid; gap: 26px; }
.m2-grid--2 { grid-template-columns: repeat(2, 1fr); }
.m2-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 吸顶导航 ---------- */
.m2-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent; transition: background .25s, box-shadow .25s;
}
.m2-header.is-scrolled { background: var(--m2-bg, #fff); box-shadow: 0 1px 5px rgba(0, 0, 0, .10); }
.m2-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.m2-logo { font-size: 22px; font-weight: 800; color: var(--m2-heading, #06003B); letter-spacing: .5px; }
.m2-logo:hover { color: var(--m2-primary, #3E53D8); }
.m2-nav { display: flex; align-items: center; gap: 22px; }
.m2-nav-menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.m2-nav-menu a {
  display: inline-block; padding: 8px 13px; border-radius: 6px; color: var(--m2-heading, #06003B);
  font-size: 15px; font-weight: 500; transition: background .2s, color .2s;
}
.m2-nav-menu a:hover { background: rgba(var(--m2-primary-rgb, 62,83,216), .08); color: var(--m2-primary, #3E53D8); }
.m2-nav-cta { padding: 9px 18px; font-size: 14px; }
.m2-burger { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; border-radius: 8px; flex-direction: column; justify-content: center; gap: 5px; }
.m2-burger span { display: block; height: 2px; width: 100%; background: var(--m2-heading, #06003B); border-radius: 2px; transition: transform .25s, opacity .25s; }
.m2-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m2-burger.is-open span:nth-child(2) { opacity: 0; }
.m2-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.m2-hero { background: var(--m2-tint, #ECF4FF); padding: 148px 0 96px; overflow: hidden; }
.m2-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.m2-hero-title { font-size: 46px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; color: var(--m2-heading, #06003B); }
.m2-hero-hl { color: var(--m2-accent, #FFA600); position: relative; }
.m2-hero-sub { display: flex; flex-direction: column; gap: 2px; color: #110B39; font-size: 18px; margin-bottom: 30px; }
.m2-hero-art { position: relative; }
.m2-hero-illust { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.m2-hero-blob { position: absolute; width: 280px; height: 280px; }
.m2-hero-panel {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 220px; height: 150px; border-radius: 18px; background: var(--m2-surface, #fff);
  box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16));
  font-size: 20px; font-weight: 700; color: var(--m2-heading, #06003B);
}
.m2-hero-panel em { font-style: normal; color: var(--m2-primary, #3E53D8); }
.m2-hero-chip { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--m2-surface, #fff); box-shadow: var(--m2-shadow-sm, 0 6px 18px rgba(62,83,216,.10)); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.m2-hero-chip:nth-child(1) { top: 8%; left: 8%; }
.m2-hero-chip:nth-child(2) { top: 16%; right: 10%; }
.m2-hero-chip:nth-child(3) { bottom: 10%; left: 12%; }
.m2-hero-arrow { position: absolute; top: -8px; right: 4px; font-size: 40px; color: var(--m2-primary, #3E53D8); font-weight: 800; }

/* ---------- 特性卡片 ---------- */
.m2-feature-card {
  background: var(--m2-surface, #fff); border: 1px solid var(--m2-border, #ECEEF1);
  border-radius: var(--m2-radius, 10px); padding: 30px 26px;
  box-shadow: var(--m2-shadow-sm, 0 6px 18px rgba(62,83,216,.10));
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.m2-feature-card:hover { transform: translateY(-6px); box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); border-color: var(--m2-primary, #3E53D8); }
.m2-feature-icon {
  width: 58px; height: 58px; border-radius: 14px; font-size: 26px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--m2-primary-rgb, 62,83,216), .10); color: var(--m2-primary, #3E53D8); margin-bottom: 16px;
  transition: background .25s, transform .25s;
}
.m2-feature-card:hover .m2-feature-icon { background: var(--m2-primary, #3E53D8); transform: scale(1.06); }
.m2-feature-card h3 { font-size: 19px; margin-bottom: 8px; transition: color .25s; }
.m2-feature-card:hover h3 { color: var(--m2-primary, #3E53D8); }
.m2-feature-card p { color: var(--m2-text-2, #5B6775); margin: 0; font-size: 14.5px; }
.m2-about-grid { max-width: 980px; margin: 0 auto; }
.m2-domain-card { text-align: center; padding: 34px 22px; }
.m2-domain-card .m2-feature-icon { margin: 0 auto 16px; }
.m2-domain-card h3 { font-size: 18px; }
.m2-domain-card p { font-size: 13.5px; }

/* ---------- 视频 ---------- */
.m2-video-wrap { padding-top: 40px; }
.m2-video-cover { position: relative; max-width: 860px; margin: 0 auto 14px; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); background: var(--m2-tint, #ECF4FF); }
.m2-video-cover img { width: 100%; min-height: 320px; object-fit: cover; transition: transform .4s; }
.m2-video-cover:hover img { transform: scale(1.03); }
.m2-video-cover-ph { display: flex; align-items: center; justify-content: center; min-height: 320px; font-size: 42px; color: var(--m2-primary, #3E53D8); }
.m2-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--m2-primary, #3E53D8); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px;
  box-shadow: 0 10px 26px rgba(var(--m2-primary-rgb, 62,83,216), .45);
  transition: background .22s, transform .22s;
}
.m2-video-cover:hover .m2-play-btn { background: var(--m2-accent, #FFA600); transform: translate(-50%, -50%) scale(1.08); }
.m2-video-desc { text-align: center; color: var(--m2-text-2, #5B6775); }

/* ---------- Tab ---------- */
.m2-tab { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; max-width: 980px; margin: 0 auto; }
.m2-tab-nav { display: flex; flex-direction: column; gap: 12px; }
.m2-tab-item {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 18px 20px; border: 1px solid var(--m2-border, #ECEEF1); border-radius: 12px;
  background: var(--m2-surface, #fff); font-size: 16px; font-weight: 600; color: var(--m2-heading, #06003B);
  transition: border-color .22s, background .22s, box-shadow .22s, transform .22s;
}
.m2-tab-ico { font-size: 20px; }
.m2-tab-item:hover { border-color: var(--m2-primary, #3E53D8); transform: translateX(4px); }
.m2-tab-item.is-active { border-color: var(--m2-primary, #3E53D8); background: rgba(var(--m2-primary-rgb, 62,83,216), .06); color: var(--m2-primary, #3E53D8); box-shadow: 0 8px 20px rgba(var(--m2-primary-rgb, 62,83,216), .14); }
.m2-tab-panels { position: relative; min-height: 380px; }
.m2-tab-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(.97); transition: opacity .3s, transform .3s, visibility .3s; }
.m2-tab-panel.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.m2-tab-visual {
  height: 100%; min-height: 380px; border-radius: 16px; padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, rgba(var(--m2-primary-rgb, 62,83,216), .10), rgba(var(--m2-accent-rgb, 255,166,0), .10));
  border: 1px solid var(--m2-border, #ECEEF1);
}
.m2-tab-visual-ico { font-size: 72px; margin-bottom: 18px; }
.m2-tab-visual strong { font-size: 26px; color: var(--m2-heading, #06003B); margin-bottom: 10px; }
.m2-tab-visual em { font-style: normal; color: var(--m2-text-2, #5B6775); max-width: 420px; font-size: 15px; }

/* ---------- Intro ---------- */
.m2-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.m2-intro-text { color: var(--m2-text-2, #5B6775); font-size: 15.5px; }
.m2-link-arrow { display: inline-block; font-weight: 700; color: var(--m2-primary, #3E53D8); margin-top: 6px; }
.m2-link-arrow:hover { color: var(--m2-accent, #FFA600); }
.m2-intro-svg { width: 120px; height: 120px; }

/* ---------- 新闻 ---------- */
.m2-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 34px; }
.m2-news-card { background: var(--m2-surface, #fff); border-radius: 12px; overflow: hidden; border: 1px solid var(--m2-border, #ECEEF1); box-shadow: var(--m2-shadow-sm, 0 6px 18px rgba(62,83,216,.10)); transition: transform .25s, box-shadow .25s; }
.m2-news-card:hover { transform: translateY(-6px); box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); }
.m2-news-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--m2-tint, #ECF4FF); }
.m2-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m2-news-card:hover .m2-news-thumb img { transform: scale(1.05); }
.m2-news-thumb--placeholder { display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; color: var(--m2-primary, #3E53D8); }
.m2-news-body { padding: 18px 18px 16px; }
.m2-news-cat { display: inline-block; font-size: 12px; font-weight: 600; color: var(--m2-primary, #3E53D8); background: rgba(var(--m2-primary-rgb, 62,83,216), .10); padding: 2px 9px; border-radius: 20px; margin-bottom: 10px; }
.m2-news-title { font-size: 16.5px; margin-bottom: 8px; }
.m2-news-title a { color: var(--m2-heading, #06003B); }
.m2-news-title a:hover { color: var(--m2-primary, #3E53D8); }
.m2-news-desc { color: var(--m2-text-2, #5B6775); font-size: 13.5px; margin-bottom: 12px; }
.m2-news-meta { display: flex; gap: 12px; color: var(--m2-text-3, #8A97A5); font-size: 12.5px; }

/* ---------- 手风琴 ---------- */
.m2-accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.m2-acc-item { border: 1px solid var(--m2-border, #ECEEF1); border-radius: 12px; background: var(--m2-surface, #fff); overflow: hidden; box-shadow: var(--m2-shadow-sm, 0 6px 18px rgba(62,83,216,.10)); }
.m2-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; background: transparent; border: 0; text-align: left;
  font-size: 17px; font-weight: 600; color: var(--m2-heading, #06003B); transition: color .2s;
}
.m2-acc-head:hover { color: var(--m2-primary, #3E53D8); }
.m2-acc-arrow { position: relative; width: 14px; height: 14px; flex-shrink: 0; transition: transform .3s; }
.m2-acc-arrow::before, .m2-acc-arrow::after { content: ""; position: absolute; background: var(--m2-primary, #3E53D8); border-radius: 2px; transition: background .3s; }
.m2-acc-arrow::before { left: 0; top: 6px; width: 14px; height: 2px; }
.m2-acc-arrow::after { left: 6px; top: 0; width: 2px; height: 14px; }
.m2-acc-item.is-open .m2-acc-arrow { transform: rotate(-180deg); }
.m2-acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.m2-acc-item.is-open .m2-acc-body { max-height: 400px; }
.m2-acc-body-inner { padding: 0 22px 20px; color: var(--m2-text-2, #5B6775); font-size: 15px; }

/* ---------- 客户 Logo ---------- */
.m2-logos-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.m2-logo-item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 26px 12px; border: 1px solid var(--m2-border, #ECEEF1); border-radius: 12px;
  background: var(--m2-surface, #fff); color: var(--m2-text-2, #5B6775); font-weight: 700; font-size: 15px;
  transition: border-color .25s, color .25s, transform .25s;
}
.m2-logo-mark { color: var(--m2-primary, #3E53D8); font-size: 12px; }
.m2-logo-item:hover { border-color: var(--m2-primary, #3E53D8); color: var(--m2-primary, #3E53D8); transform: translateY(-4px); }

/* ---------- 页脚 ---------- */
.m2-footer { background: var(--m2-footer-bg, #3E53D8); color: rgba(255, 255, 255, .82); margin-top: 0; }
.m2-footer a { color: rgba(255, 255, 255, .82); }
.m2-footer a:hover { color: #fff; }
.m2-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 20px 40px; }
.m2-footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.m2-footer-col p { margin-bottom: 10px; font-size: 14.5px; }
.m2-footer-col ul { list-style: none; margin: 0; padding: 0; }
.m2-footer-col li { margin-bottom: 8px; font-size: 14.5px; }
.m2-footer-hotline { font-weight: 600; }
.m2-footer-hotline a { color: var(--m2-accent, #FFA600); font-size: 18px; }
.m2-footer-contact-btn { color: #fff; border-color: rgba(255, 255, 255, .75); }
.m2-footer-contact-btn:hover { background: var(--m2-accent, #FFA600); border-color: var(--m2-accent, #FFA600); color: #fff; }
.m2-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding: 16px 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .66); }

/* ---------- 侧边悬浮条 ---------- */
.m2-action { position: fixed; right: 0; top: 42%; z-index: 880; display: flex; flex-direction: column; gap: 2px; }
.m2-action-item {
  position: relative; display: flex; align-items: center; gap: 0; min-height: 44px; padding: 0;
  background: var(--m2-footer-bg, #3E53D8); color: #fff; overflow: hidden; transition: background .22s;
}
.m2-action-item:hover { background: var(--m2-primary, #3E53D8); }
.m2-action-icon { width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.m2-action-inner {
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  max-width: 0; overflow: hidden; white-space: nowrap;
  transform: translateX(-5px); opacity: 0;
  transition: max-width .3s ease, opacity .2s ease, transform .3s ease, padding .3s ease;
  font-size: 12px; line-height: 1.4;
}
.m2-action-item:hover .m2-action-inner { max-width: 210px; opacity: 1; transform: translateX(0); padding-right: 14px; }
.m2-action-inner strong { font-size: 13px; }
.m2-action-inner em { font-style: normal; opacity: .85; }
.m2-action-wechat .m2-qr { display: none; position: absolute; right: 210px; top: -60px; width: 130px; height: 130px; background: #fff; border-radius: 10px; box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); color: var(--m2-text, #333); font-size: 11px; text-align: center; align-items: center; justify-content: center; padding: 8px; }
.m2-action-item--share:hover .m2-qr { display: flex; animation: m2-pop .25s ease-out; }
.m2-qr { line-height: 1.6; }
.m2-gotop { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 6px; background: var(--m2-footer-bg, #3E53D8); color: #fff; border: 0; border-radius: 0; font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, visibility .3s, transform .3s, background .2s; }
.m2-gotop.is-visible { opacity: 1; visibility: visible; transform: none; }
.m2-gotop:hover { background: var(--m2-accent, #FFA600); }

/* ---------- 弹窗 ---------- */
.m2-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
.m2-modal.is-open { opacity: 1; visibility: visible; }
.m2-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.m2-modal-card { position: relative; background: var(--m2-bg, #fff); border-radius: 16px; padding: 34px 30px 28px; max-width: 460px; width: 100%; box-shadow: var(--m2-shadow-lg, 0 24px 60px rgba(62,83,216,.18)); transform: translateY(14px) scale(.97); transition: transform .28s; }
.m2-modal.is-open .m2-modal-card { transform: none; }
.m2-modal-card--video { max-width: 800px; padding: 0; background: #000; overflow: hidden; }
.m2-modal-card--video video { width: 100%; max-height: 70vh; display: block; }
.m2-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .45); color: #fff; font-size: 15px; }
.m2-modal-close:hover { background: var(--m2-primary, #3E53D8); }
.m2-modal-card h3 { font-size: 20px; margin-bottom: 16px; }
.m2-contact-list { list-style: none; margin: 0 0 16px; padding: 0; }
.m2-contact-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--m2-border, #ECEEF1); font-size: 14.5px; }
.m2-contact-list li span { color: var(--m2-text-2, #5B6775); }
.m2-contact-list a { font-weight: 600; }
.m2-contact-wechat { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.m2-contact-wechat .m2-qr { display: flex; width: 92px; height: 92px; border: 1px solid var(--m2-border, #ECEEF1); border-radius: 10px; color: var(--m2-text-2, #5B6775); font-size: 10.5px; text-align: center; align-items: center; justify-content: center; }
.m2-contact-wechat p { margin: 0; font-size: 13px; color: var(--m2-text-2, #5B6775); }

/* ---------- 单页 / 文章 ---------- */
.m2-breadcrumb { font-size: 13.5px; color: var(--m2-text-3, #8A97A5); margin-bottom: 16px; }
.m2-breadcrumb-sep { margin: 0 8px; }
.m2-page-title { font-size: 30px; margin-bottom: 16px; }
.m2-single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.m2-single-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--m2-text-3, #8A97A5); font-size: 13.5px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--m2-border, #ECEEF1); }
.m2-single-tags { margin-top: 20px; }
.m2-sidebar-card { border: 1px solid var(--m2-border, #ECEEF1); border-radius: 12px; padding: 20px; margin-bottom: 20px; background: var(--m2-surface, #fff); }
.m2-sidebar-card h4 { font-size: 16px; margin-bottom: 12px; }
.m2-related-list { list-style: none; margin: 0; padding: 0; }
.m2-related-list li { padding: 7px 0; border-bottom: 1px dashed var(--m2-border, #ECEEF1); font-size: 14px; }
.m2-related-list li:last-child { border-bottom: 0; }
.m2-comments { margin-top: 30px; }
.m2-comments-title { font-size: 19px; margin-bottom: 12px; }
.m2-comment-list { list-style: none; margin: 0; padding: 0; }
.m2-comment-item { border: 1px solid var(--m2-border, #ECEEF1); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.m2-comment-meta { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.m2-comment-body { color: var(--m2-text-2, #5B6775); font-size: 14.5px; }

/* ---------- 分页 / 404 ---------- */
.m2-pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.m2-pager { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--m2-border, #ECEEF1); border-radius: 8px; color: var(--m2-text-2, #5B6775); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.m2-pager.is-current, .m2-pager:hover { background: var(--m2-primary, #3E53D8); border-color: var(--m2-primary, #3E53D8); color: #fff; }
.m2-404 { padding: 140px 0; }
.m2-404-inner { text-align: center; }
.m2-404-code { font-size: 110px; font-weight: 800; color: var(--m2-primary, #3E53D8); line-height: 1; margin-bottom: 10px; }
.m2-404-text { color: var(--m2-text-2, #5B6775); margin-bottom: 24px; }

/* ---------- 自定义模块 ---------- */
.m2-cp { padding: 60px 0; }
.m2-cp-head { text-align: center; margin-bottom: 30px; }
.m2-cp-carousel { background: var(--m2-tint, #ECF4FF); }
.m2-carousel { position: relative; max-width: 980px; margin: 0 auto; }
.m2-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px; }
.m2-slide { position: relative; display: block; scroll-snap-align: start; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--m2-surface, #fff); box-shadow: var(--m2-shadow-sm, 0 6px 18px rgba(62,83,216,.10)); }
.m2-slide-img { width: 100%; height: 100%; object-fit: cover; }
.m2-slide-veil { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.45), transparent); }
.m2-slide-caption { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m2-cp-card-body { text-align: center; }
.m2-cp-card-img { max-width: 980px; margin: 0 auto; border-radius: 14px; box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); }
.m2-cp-text-body { max-width: 860px; margin: 0 auto; text-align: center; color: var(--m2-text-2, #5B6775); }
.m2-cp-html-body { max-width: 980px; margin: 0 auto; }

/* ---------- anm 滚动渐入系统 ----------
 * 元素带 data-anm="动画名,延迟ms,偏移px"，JS 解析后写入
 * --m2-anim-name/--m2-anim-delay/--m2-anim-offset，进入视口加 .anm-animated 触发。
 */
.anm { opacity: 0; }
.anm-animated { animation: var(--m2-anim-name, fadeInUp) var(--animate-duration, .6s) cubic-bezier(.22, .61, .36, 1) both; animation-delay: var(--m2-anim-delay, 0ms); }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, var(--m2-anim-offset, 60px), 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, calc(var(--m2-anim-offset, 60px) * -1), 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(calc(var(--m2-anim-offset, 40px) * -1), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(var(--m2-anim-offset, 60px), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes m2-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.no-anm .anm, .no-anm .anm { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .anm { opacity: 1; } .anm-animated { animation: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .m2-news-grid { grid-template-columns: repeat(2, 1fr); }
  .m2-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .m2-logos-row { grid-template-columns: repeat(3, 1fr); }
  .m2-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .m2-section { padding: 52px 0; }
  .m2-hero { padding: 120px 0 60px; }
  .m2-hero-inner, .m2-intro, .m2-tab, .m2-single-layout { grid-template-columns: 1fr; }
  .m2-hero-title { font-size: 34px; }
  .m2-hero-art { display: none; }
  .m2-burger { display: flex; }
  .m2-nav { position: fixed; top: 66px; left: 0; right: 0; background: var(--m2-bg, #fff); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; box-shadow: var(--m2-shadow, 0 18px 44px rgba(62,83,216,.16)); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s, opacity .25s; }
  .m2-nav.is-open { max-height: calc(100vh - 66px); opacity: 1; overflow-y: auto; }
  .m2-nav-menu { flex-direction: column; align-items: stretch; }
  .m2-nav-menu a { padding: 13px 10px; border-bottom: 1px solid var(--m2-border, #ECEEF1); }
  .m2-nav-cta { margin-top: 14px; text-align: center; }
  .m2-tab-panels { min-height: 300px; }
  .m2-tab-panel { position: relative; inset: auto; display: none; transform: none; }
  .m2-tab-panel.is-active { display: block; }
  .m2-tab-visual { min-height: 260px; padding: 26px 18px; }
  .m2-section-title { font-size: 26px; }
  .m2-accordion { max-width: 100%; }
  .m2-action-item .m2-action-inner { max-width: 180px; }
}
@media (max-width: 480px) {
  .m2-grid--2, .m2-grid--4 { grid-template-columns: 1fr; }
  .m2-news-grid { grid-template-columns: 1fr; }
  .m2-logos-row { grid-template-columns: repeat(2, 1fr); }
  .m2-footer-grid { grid-template-columns: 1fr; }
  .m2-btn-lg { width: 100%; }
  .m2-action-inner { display: none; }
  .m2-action-item:hover .m2-action-inner { max-width: 190px; }
}

/* ============================================================
 * aidosaas-cms-02 · pro 视觉体系覆盖层 v2.0（2026-09-02）
 * 仅改样式，不动模板结构 / 函数名 / 模块 key / 设置项
 * 契约类名 m2-* 与 PHP/JS 三端保持一致
 * ============================================================ */

/* ---------- 全局基础对齐 ---------- */
html { overflow-x: clip; }
body {
  font-family: 'Inter', 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--m2-text);
  background: var(--m2-bg);
}
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: var(--m2-lh-heading); letter-spacing: -.01em; color: var(--m2-heading); }
a { transition: color var(--m2-ease-fast) var(--m2-timing); }
a:hover { color: var(--m2-primary-hover); }
.m2-container { max-width: var(--m2-container-w); padding-left: var(--m2-space-3); padding-right: var(--m2-space-3); }

/* ---------- 区块骨架 ---------- */
.m2-section { padding: var(--m2-space-8) 0; }
.m2-section--white { background: var(--m2-surface); }
.m2-section--tint { background: var(--m2-gradient-soft); }
.m2-section-title { font-size: var(--m2-fs-h2); font-weight: 800; letter-spacing: -.01em; margin: 0 0 var(--m2-space-2); }
.m2-section-sub { color: var(--m2-text-2); margin-bottom: var(--m2-space-5); }
.m2-section-lead { color: var(--m2-text-2); }

/* ---------- 导航吸顶毛玻璃 ---------- */
.m2-header {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: background var(--m2-ease-normal) var(--m2-timing), box-shadow var(--m2-ease-normal) var(--m2-timing), border-color var(--m2-ease-normal) var(--m2-timing);
}
.m2-header-inner { height: var(--m2-header-h); max-width: var(--m2-container-w); }
.m2-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--m2-border);
  box-shadow: var(--m2-shadow-md);
}
.m2-logo { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.m2-nav-menu a {
  padding: 8px 14px;
  border-radius: var(--m2-radius-pill);
  font-weight: 500;
  transition: color var(--m2-ease-fast) var(--m2-timing), background var(--m2-ease-fast) var(--m2-timing);
}
.m2-nav-menu a:hover { background: var(--m2-primary-soft); color: var(--m2-primary); }
.m2-burger { width: 42px; height: 42px; padding: 10px; border-radius: var(--m2-radius-md); }
.m2-burger span { background: var(--m2-heading); }

/* ---------- 按钮体系 ---------- */
.m2-btn {
  padding: 12px 26px;
  border-radius: var(--m2-radius-md);
  transition: transform var(--m2-ease-fast) var(--m2-timing), box-shadow var(--m2-ease-fast) var(--m2-timing), background var(--m2-ease-fast) var(--m2-timing), border-color var(--m2-ease-fast) var(--m2-timing), color var(--m2-ease-fast) var(--m2-timing);
}
.m2-btn:active { transform: translateY(0) scale(.98); }
.m2-btn-lg { padding: 14px 34px; border-radius: var(--m2-radius-md); }
.m2-btn-primary { background: var(--m2-gradient); box-shadow: var(--m2-shadow-brand); }
.m2-btn-primary:hover { background: var(--m2-gradient); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(var(--m2-primary-rgb), .30); }
.m2-btn-outline { background: transparent; border: 2px solid var(--m2-border-strong); color: var(--m2-heading); }
.m2-btn-outline:hover { background: transparent; border-color: var(--m2-primary); color: var(--m2-primary); transform: translateY(-2px); box-shadow: var(--m2-shadow-sm); }

/* ---------- Hero（对齐 pro typed-hero：深色渐变 + 光斑 + 玻璃插画） ---------- */
.m2-hero {
  position: relative;
  background: var(--m2-gradient);
  color: #fff;
  overflow: hidden;
}
.m2-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 360px at 12% -10%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(640px 340px at 88% 108%, rgba(var(--m2-accent-rgb), .28), transparent 60%),
    radial-gradient(400px 240px at 72% -12%, rgba(var(--m2-primary-rgb), .45), transparent 65%);
  pointer-events: none;
}
.m2-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}
.m2-hero-inner { position: relative; z-index: 1; }
.m2-hero-title { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }
.m2-hero-hl { color: #fff; }
.m2-hero-hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(var(--m2-accent-rgb), .85), rgba(var(--m2-primary-rgb), .55));
  border-radius: var(--m2-radius-pill);
  z-index: -1;
}
.m2-hero-sub { color: rgba(255, 255, 255, .82); font-size: clamp(16px, 1.6vw, 19px); }
.m2-hero .m2-btn-primary { background: #fff; color: var(--m2-primary-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.m2-hero .m2-btn-primary:hover { background: #fff; color: var(--m2-primary); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.m2-hero-panel {
  background: rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}
.m2-hero-panel em { color: #fff; }
.m2-hero-chip { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.m2-hero-blob { opacity: .5; }
.m2-hero-arrow { color: rgba(255, 255, 255, .85); }

/* ---------- 特性卡 ---------- */
.m2-feature-card {
  border-radius: var(--m2-radius-lg);
  border-color: var(--m2-border);
  transition: transform var(--m2-ease-normal) var(--m2-timing), box-shadow var(--m2-ease-normal) var(--m2-timing), border-color var(--m2-ease-normal) var(--m2-timing);
}
.m2-feature-card:hover { transform: translateY(-4px); box-shadow: var(--m2-shadow-md); border-color: var(--m2-border-strong); }
.m2-feature-icon {
  width: 54px; height: 54px;
  border-radius: var(--m2-radius-md);
  background: var(--m2-primary-soft);
  color: var(--m2-primary);
  font-size: 26px;
  transition: transform var(--m2-ease-normal) var(--m2-timing), background var(--m2-ease-normal) var(--m2-timing), color var(--m2-ease-normal) var(--m2-timing);
}
.m2-feature-card:hover .m2-feature-icon { background: var(--m2-gradient); color: #fff; transform: translateY(-3px) scale(1.04); }
.m2-feature-card h3 { font-weight: 700; }
.m2-feature-card:hover h3 { color: var(--m2-primary); }

/* ---------- 视频 ---------- */
.m2-video-cover { border-radius: var(--m2-radius-lg); box-shadow: var(--m2-shadow-md); }
.m2-play-btn {
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  transition: background var(--m2-ease-normal) var(--m2-timing), transform var(--m2-ease-normal) var(--m2-timing);
}
.m2-video-cover:hover .m2-play-btn { background: var(--m2-gradient); transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Tab ---------- */
.m2-tab-item {
  border-radius: var(--m2-radius-md);
  transition: border-color var(--m2-ease-fast) var(--m2-timing), background var(--m2-ease-fast) var(--m2-timing), box-shadow var(--m2-ease-fast) var(--m2-timing), transform var(--m2-ease-fast) var(--m2-timing);
}
.m2-tab-item.is-active { border-color: var(--m2-primary); background: var(--m2-primary-soft); color: var(--m2-primary); box-shadow: var(--m2-shadow-sm); }
.m2-tab-visual {
  border-radius: var(--m2-radius-lg);
  background: var(--m2-gradient-soft);
  border-color: var(--m2-border);
}

/* ---------- Intro ---------- */
.m2-intro-text { color: var(--m2-text-2); }
.m2-link-arrow { font-weight: 700; color: var(--m2-primary); }
.m2-link-arrow:hover { color: var(--m2-primary-hover); }

/* ---------- 文章列表卡片（16:10 + hover） ---------- */
.m2-news-card {
  border-radius: var(--m2-radius-lg);
  border-color: var(--m2-border);
  transition: transform var(--m2-ease-normal) var(--m2-timing), box-shadow var(--m2-ease-normal) var(--m2-timing), border-color var(--m2-ease-normal) var(--m2-timing);
}
.m2-news-card:hover { transform: translateY(-4px); box-shadow: var(--m2-shadow-md); border-color: var(--m2-border-strong); }
.m2-news-thumb { aspect-ratio: 16 / 10; background: var(--m2-surface-2); }
.m2-news-thumb img { transition: transform var(--m2-ease-normal) var(--m2-timing); }
.m2-news-card:hover .m2-news-thumb img { transform: scale(1.06); }
.m2-news-thumb--placeholder { background: var(--m2-primary-soft); color: var(--m2-primary); font-size: 34px; font-weight: 800; }
.m2-news-body { padding: 20px 22px 22px; }
.m2-news-cat { background: var(--m2-primary-soft); color: var(--m2-primary); padding: 3px 12px; border-radius: var(--m2-radius-pill); }
.m2-news-title { font-size: var(--m2-fs-h4); font-weight: 700; }
.m2-news-title a { color: var(--m2-heading); }
.m2-news-title a:hover { color: var(--m2-primary); }
.m2-news-desc { color: var(--m2-text-2); }

/* ---------- 手风琴（FAQ 化卡片） ---------- */
.m2-acc-item { border-radius: var(--m2-radius-lg); border-color: var(--m2-border); transition: border-color var(--m2-ease-normal) var(--m2-timing), box-shadow var(--m2-ease-normal) var(--m2-timing); }
.m2-acc-item.is-open { border-color: var(--m2-primary); box-shadow: var(--m2-shadow-sm); }
.m2-acc-head { padding: 20px 24px; font-size: var(--m2-fs-h5); font-weight: 600; }
.m2-acc-head:hover { color: var(--m2-primary); }
.m2-acc-body-inner { padding: 0 24px 22px; color: var(--m2-text-2); }

/* ---------- 客户 Logo ---------- */
.m2-logo-item { border-radius: var(--m2-radius-md); transition: transform var(--m2-ease-normal) var(--m2-timing), border-color var(--m2-ease-normal) var(--m2-timing), box-shadow var(--m2-ease-normal) var(--m2-timing); }
.m2-logo-item:hover { border-color: var(--m2-primary); box-shadow: var(--m2-shadow-sm); }
.m2-logo-mark { color: var(--m2-primary); }

/* ---------- 分页器 ---------- */
.m2-pager {
  min-width: 40px; height: 40px;
  padding: 0 14px;
  border-radius: var(--m2-radius-md);
  border-color: var(--m2-border);
  color: var(--m2-text-2);
  transition: color var(--m2-ease-fast) var(--m2-timing), border-color var(--m2-ease-fast) var(--m2-timing), transform var(--m2-ease-fast) var(--m2-timing), background var(--m2-ease-fast) var(--m2-timing);
}
.m2-pager:hover { color: var(--m2-primary); border-color: var(--m2-primary); transform: translateY(-1px); }
.m2-pager.is-current, .m2-pager.is-current:hover { background: var(--m2-gradient); border-color: transparent; color: #fff; font-weight: 700; box-shadow: var(--m2-shadow-brand); }

/* ---------- 标签徽章 / 面包屑 ---------- */
.m2-single-tags a,
.m2-single-tags .tag {
  display: inline-block;
  background: var(--m2-primary-soft);
  color: var(--m2-primary);
  padding: 4px 12px;
  margin: 4px 8px 0 0;
  border-radius: var(--m2-radius-pill);
  font-size: var(--m2-fs-caption);
  font-weight: 600;
  transition: background var(--m2-ease-fast) var(--m2-timing), color var(--m2-ease-fast) var(--m2-timing);
}
.m2-single-tags a:hover { background: var(--m2-primary); color: #fff; }
.m2-breadcrumb { font-size: var(--m2-fs-small); color: var(--m2-text-3); }
.m2-breadcrumb a { color: var(--m2-text-2); }
.m2-breadcrumb a:hover { color: var(--m2-primary); }

/* ---------- 页面 / 文章 / 评论 ---------- */
.m2-page-title { font-size: var(--m2-fs-h1); font-weight: 800; letter-spacing: -.02em; }
.m2-single-meta { color: var(--m2-text-3); border-bottom-color: var(--m2-border); }
.m2-sidebar-card { border-radius: var(--m2-radius-lg); border-color: var(--m2-border); box-shadow: var(--m2-shadow-sm); }
.m2-sidebar-card h4 { font-size: var(--m2-fs-h5); font-weight: 700; }
.m2-related-list li { border-bottom-color: var(--m2-border); }
.m2-comment-item { border-radius: var(--m2-radius-md); border-color: var(--m2-border); }
.m2-comment-body { color: var(--m2-text-2); }

/* ---------- 404 ---------- */
.m2-404-code {
  background: var(--m2-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m2-404-text { color: var(--m2-text-2); }

/* ---------- 页脚（深色，对齐 pro） ---------- */
.m2-footer { background: var(--m2-gray-900); color: rgba(255, 255, 255, .72); }
.m2-footer a { color: rgba(255, 255, 255, .66); transition: color var(--m2-ease-fast) var(--m2-timing), padding-left var(--m2-ease-fast) var(--m2-timing); }
.m2-footer a:hover { color: #fff; padding-left: 4px; opacity: 1; }
.m2-footer-grid { gap: var(--m2-space-5); padding-top: var(--m2-space-7); padding-bottom: var(--m2-space-5); }
.m2-footer-col h4 { color: #fff; font-size: var(--m2-fs-h5); font-weight: 700; }
.m2-footer-col p { color: rgba(255, 255, 255, .62); }
.m2-footer-col ul a { color: rgba(255, 255, 255, .66); }
.m2-footer-hotline { font-weight: 600; }
.m2-footer-hotline a { color: #fff; font-size: 17px; }
.m2-footer-contact-btn { color: #fff; border-color: rgba(255, 255, 255, .55); }
.m2-footer-contact-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.m2-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .60); }

/* ---------- 侧边悬浮条 ---------- */
.m2-action-item { background: var(--m2-gray-900); }
.m2-action-item:hover { background: var(--m2-gradient); }
.m2-gotop { background: var(--m2-gray-900); border-radius: 8px 0 0 8px; }
.m2-gotop:hover { background: var(--m2-primary-hover); }
.m2-action-item--share .m2-qr { border-radius: var(--m2-radius-md); }

/* ---------- 弹窗 ---------- */
.m2-modal-mask { background: rgba(15, 23, 42, .60); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.m2-modal-card { border-radius: var(--m2-radius-lg); box-shadow: var(--m2-shadow-lg); }
.m2-modal-card h3 { font-size: var(--m2-fs-h3); font-weight: 700; }
.m2-contact-list li { border-bottom-color: var(--m2-border); }
.m2-modal-close { background: rgba(15, 23, 42, .45); }
.m2-modal-close:hover { background: var(--m2-primary); }

/* ---------- 表单控件（评论 / 页面 / aid-forms 插件） ---------- */
.m2-comments input[type="text"],
.m2-comments input[type="email"],
.m2-comments input[type="url"],
.m2-comments textarea,
.m2-page input[type="text"],
.m2-page input[type="email"],
.m2-page input[type="url"],
.m2-page textarea,
.m2-page-content input[type="text"],
.m2-page-content input[type="email"],
.m2-page-content textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--m2-border);
  border-radius: var(--m2-radius-md);
  background: var(--m2-surface);
  color: var(--m2-text);
  font-size: var(--m2-fs-body);
  transition: border-color var(--m2-ease-fast) var(--m2-timing), box-shadow var(--m2-ease-fast) var(--m2-timing);
}
.m2-comments input:focus,
.m2-comments textarea:focus,
.m2-page input:focus,
.m2-page textarea:focus,
.m2-page-content input:focus,
.m2-page-content textarea:focus {
  outline: 0;
  border-color: var(--m2-primary);
  box-shadow: 0 0 0 4px var(--m2-primary-soft);
}
.aid-forms-form input[type="text"],
.aid-forms-form input[type="email"],
.aid-forms-form input[type="tel"],
.aid-forms-form input[type="url"],
.aid-forms-form input[type="password"],
.aid-forms-form input[type="number"],
.aid-forms-form input[type="date"],
.aid-forms-form textarea,
.aid-forms-form select {
  width: 100%;
  border: 1px solid var(--m2-border, #D8E0EA);
  border-radius: var(--m2-radius-md, 12px);
  background: var(--m2-surface, #FFFFFF);
  color: var(--m2-text);
  padding: 10px 14px;
  font-size: var(--m2-fs-body, 15px);
  line-height: 1.5;
  transition: border-color var(--m2-ease-fast) var(--m2-timing), box-shadow var(--m2-ease-fast) var(--m2-timing);
}
.aid-forms-form input:focus,
.aid-forms-form textarea:focus,
.aid-forms-form select:focus {
  outline: none !important;
  border-color: var(--m2-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--m2-primary-rgb), .18) !important;
}
.aid-forms-form textarea { min-height: 110px; resize: vertical; }
.aid-forms-form select { cursor: pointer; }
.aid-forms-form button[type="submit"],
.aid-forms-form input[type="submit"] {
  border: 0;
  border-radius: var(--m2-radius-pill);
  background: var(--m2-gradient);
  color: #fff;
  padding: 12px 30px;
  font-size: var(--m2-fs-body, 15px);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--m2-ease-fast) var(--m2-timing), box-shadow var(--m2-ease-fast) var(--m2-timing);
}
.aid-forms-form button[type="submit"]:hover,
.aid-forms-form input[type="submit"]:hover {
  box-shadow: 0 6px 18px rgba(var(--m2-primary-rgb), .35);
  transform: translateY(-1px);
}

/* ---------- 移动端 479（375 适配：单列 / 汉堡 / 无横向溢出） ---------- */
@media (max-width: 479px) {
  .m2-container { padding-left: 16px; padding-right: 16px; }
  .m2-header-inner { padding: 0 16px; height: 64px; }
  .m2-section { padding: var(--m2-space-6) 0; }
  .m2-section-title { font-size: 24px; }
  .m2-hero { padding: 108px 0 48px; }
  .m2-hero-title { font-size: 28px; }
  .m2-hero-sub { font-size: 16px; }
  .m2-hero .m2-btn-lg { width: 100%; }
  .m2-news-grid, .m2-grid--2, .m2-grid--4 { grid-template-columns: 1fr; }
  .m2-logos-row { grid-template-columns: repeat(2, 1fr); }
  .m2-footer-grid { grid-template-columns: 1fr; gap: var(--m2-space-3); }
  .m2-tab { grid-template-columns: 1fr; gap: 20px; }
  .m2-tab-panels { min-height: 0; }
  .m2-tab-visual { min-height: 240px; padding: 24px 16px; }
  .m2-single-layout { grid-template-columns: 1fr; gap: 24px; }
  .m2-404-code { font-size: 72px; }
  .m2-action-inner { display: none; }
  .m2-action-item:hover .m2-action-inner { max-width: 190px; }
}

/* ---------- 暗色模式（跟随系统，可选） ---------- */

