/* ============================================================
   铭联客服系统 · 官网首页 v2
   设计语言：品牌蓝 + 深墨蓝 · 编辑式排版 · 克制动效
   依赖：header.js / footer.js 注入的 DOM（样式在本文件重定义）
   ============================================================ */

:root {
  --ink: #0d1b2e;
  --ink-2: #33415c;
  --muted: #67748a;
  --brand: #2b63f6;
  --brand-deep: #1740c4;
  --brand-soft: #eef3ff;
  --cyan: #0db5a0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --line: rgba(13, 27, 46, 0.09);
  --line-strong: rgba(13, 27, 46, 0.16);
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(13, 27, 46, 0.18);
  --shadow-lg: 0 32px 64px -24px rgba(23, 64, 196, 0.25);
  --radius: 14px;
  --font-latin: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.hide-style { display: none !important; }

/* ============ 通用容器 ============ */
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

section { position: relative; }

/* 区块头：编号小标签 + 大标题（编辑式） */
.sec-head { margin-bottom: 52px; }
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.sec-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sec-head p.sec-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.1s; }
.reveal[data-delay='2'] { transition-delay: 0.2s; }
.reveal[data-delay='3'] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ 页头（header.js DOM 重设计） ============ */
.site-header { position: relative; z-index: 100; }

/* 桌面导航 */
.pc-nav-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 100;
}
.pc-nav-top.nav_pos_top {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -18px rgba(13, 27, 46, 0.25);
  background: rgba(255, 255, 255, 0.94);
}
/* header.js 注入结构：.container > div > (.navbar-header + div > ul.navbar-nav) */
.pc-nav-top .container {
  height: 68px;
  display: block;
}
.pc-nav-top .container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.pc-nav-top .navbar-header {
  display: flex;
  align-items: center;
  height: 100%;
}
.pc-nav-top .navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.pc-nav-top .navbar-brand img { height: 34px; width: auto; }
.pc-nav-top .navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  visibility: visible !important;
}
.pc-nav-top .navbar-nav li { list-style: none; }
.pc-nav-top .button-nav {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease, background 0.2s ease;
}
.pc-nav-top .button-nav:hover { color: var(--brand); background: var(--brand-soft); }
.pc-nav-top .button-nav-signup {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 6px 18px -6px rgba(43, 99, 246, 0.55);
  margin-left: 6px;
}
.pc-nav-top .button-nav-signup:hover {
  color: #fff;
  background: linear-gradient(135deg, #3a72ff, #1d4ad8);
}
.pc-nav-top .button-nav-login { margin-left: 4px; }

/* 移动端导航 */
.mobile-nav { display: none; }
.menu-btn-responsive {
  display: none;
  padding: 8px;
  margin-right: -8px;
}
.menu-btn-responsive img { width: 24px; }

#mobile-links {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  padding: 18px 24px;
  overflow-y: auto;
}
#mobile-links .mobile-links-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
#mobile-links .close { width: 22px; cursor: pointer; }
#mobile-links .nav-links-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
#mobile-links .nav-links-item img { width: 16px; opacity: 0.35; }
#mobile-links .nav-login-item {
  margin-top: 22px;
  border: none;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  font-size: 16px;
}
#mobile-links .nav-login-item img { display: none; }
#mobile-links .nav-login-item-register {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}
#mobile-links .nav-login-item-login {
  color: var(--brand);
  background: var(--brand-soft);
  margin-top: 10px;
}
#mobile-links .no-border { border-bottom: none; }

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 58px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 150;
  }
  .mobile-nav .navbar-brand img { height: 28px; }
  .menu-btn-responsive { display: block; }
  .pc-nav-top { display: none; }
}

/* ============ Hero ============ */
.hero {
  padding: 148px 0 96px;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(43, 99, 246, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(13, 181, 160, 0.09), transparent 55%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 27, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 46, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 600px at 60% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(1200px 600px at 60% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(43, 99, 246, 0.25);
  background: rgba(43, 99, 246, 0.06);
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand-deep);
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-badge .dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hero-badge .dot i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7ef2df;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 20%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(43, 99, 246, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(43, 99, 246, 0.6); }
.btn-primary svg { width: 17px; height: 17px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-trust { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-trust svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }

/* Hero 右侧产品图 */
.hero-visual { position: relative; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -8% -6% -4%;
  background: radial-gradient(closest-side, rgba(43, 99, 246, 0.22), transparent 72%);
  filter: blur(10px);
  z-index: 0;
}
.hero-shot {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 46, 0.1);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
}
.hero-shot .browser {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 10px;
}
.hero-shot .browser i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e3e8f0;
}
.hero-shot .browser i:nth-child(1) { background: #ff9d95; }
.hero-shot .browser i:nth-child(2) { background: #ffd479; }
.hero-shot .browser i:nth-child(3) { background: #8fe3a8; }
.hero-shot .browser .addr {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: #f2f5fa;
  font-family: var(--font-latin);
  font-size: 11px;
  color: #9aa6b8;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.hero-shot img { border-radius: 8px; width: 100%; }

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.hero-float .fi {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float .fi svg { width: 18px; height: 18px; }
.hero-float b { display: block; font-size: 13px; line-height: 1.35; }
.hero-float span { font-size: 12px; color: var(--muted); }
.hf-1 { top: 12%; left: -34px; animation-delay: 0.4s; }
.hf-1 .fi { background: #e8f0ff; color: var(--brand); }
.hf-2 { bottom: 9%; right: -26px; }
.hf-2 .fi { background: #e3f8f3; color: var(--cyan); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* 数据条 */
.hero-stats {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat .num {
  font-family: var(--font-latin);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.stat .num i { font-style: normal; color: var(--brand); }
.stat .lab { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ============ 渠道带 ============ */
.channels { padding: 44px 0 52px; border-bottom: 1px solid var(--line); }
.channels .container { text-align: center; }
.channels-tip { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 22px; }
.channels-tip--sub { margin-top: 18px; margin-bottom: 0; color: #9aa4b2; letter-spacing: 0.02em; }
.channels-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}
.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.channel-pill:hover {
  border-color: rgba(43, 99, 246, 0.45);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.channel-pill svg { width: 14px; height: 14px; opacity: 0.75; }

/* ============ AI 能力区（深色） ============ */
.ai-section {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(43, 99, 246, 0.28), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(13, 181, 160, 0.14), transparent 55%),
    #0b1526;
  color: #eef3fb;
  padding: 100px 0 108px;
  overflow: hidden;
}
.ai-section .sec-tag { color: #8fb3ff; }
.ai-section .sec-tag::before { background: #8fb3ff; }
.ai-section h2 { color: #fff; }
.ai-section .sec-sub { color: #9fb0c9; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ai-card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.ai-card::after {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 179, 255, 0.5), transparent);
  opacity: 0.6;
}
.ai-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(143, 179, 255, 0.35);
}
.ai-card .ai-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(43, 99, 246, 0.4), rgba(13, 181, 160, 0.25));
  border: 1px solid rgba(143, 179, 255, 0.3);
  color: #aecdff;
  margin-bottom: 18px;
}
.ai-card .ai-icon svg { width: 22px; height: 22px; }
.ai-card h3 { font-size: 17.5px; font-weight: 600; color: #fff; margin-bottom: 9px; }
.ai-card p { font-size: 13.8px; color: #9fb0c9; line-height: 1.75; }
.ai-card .kw {
  display: inline-block;
  margin-top: 13px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(143, 179, 255, 0.12);
  border: 1px solid rgba(143, 179, 255, 0.18);
  color: #aecdff;
  font-size: 12px;
  font-family: var(--font-latin);
  letter-spacing: 0.04em;
}
/* AI 区技术指标条（营销向硬数据） */
.ai-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ai-metric {
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}
.ai-metric b {
  display: block;
  font-family: var(--font-latin);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #aecdff, #7ef2df);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-metric span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #9fb0c9;
}
@media (max-width: 768px) {
  .ai-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
  .ai-metric { padding: 14px 10px; }
  .ai-metric b { font-size: 19px; }
}

/* ============ 功能矩阵（tab 交互区） ============ */
.feature-block { padding: 104px 0; }
.feature-block.alt { background: var(--bg-soft); }
.fb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.fb-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}
.fb-layout.reverse { grid-template-columns: 1fr 380px; }
.fb-menu { display: flex; flex-direction: column; gap: 8px; }
.fb-menu li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 20px 20px 20px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.fb-menu li:hover { background: rgba(43, 99, 246, 0.045); }
.fb-menu li.active {
  background: #fff;
  border-color: rgba(43, 99, 246, 0.28);
  box-shadow: 0 16px 36px -18px rgba(23, 64, 196, 0.3);
}
.feature-block.alt .fb-menu li.active { background: #fff; }
.fb-menu .idx {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  color: #b6c2d4;
  padding-top: 3px;
  transition: color 0.25s ease;
}
.fb-menu li.active .idx { color: var(--brand); }
.fb-menu .fb-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
/* 图标统一染成品牌蓝（不依赖 PNG 素材本身的配色，保证「都有颜色」且风格一致） */
.fb-menu .fb-icon img {
  width: 24px; height: 24px;
  filter: brightness(0) saturate(100%) invert(32%) sepia(94%) saturate(1680%) hue-rotate(212deg) brightness(97%) contrast(102%);
  transition: filter 0.25s ease, transform 0.25s ease;
}
/* 选中：蓝底反白图标 + 描边，状态清晰可辨 */
.fb-menu li.active .fb-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 0 0 2px rgba(43, 99, 246, 0.28), 0 6px 16px -6px rgba(43, 99, 246, 0.5);
}
.fb-menu li.active .fb-icon img { filter: brightness(0) invert(1); transform: scale(1.08); }
.fb-menu h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.fb-menu .fb-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.fb-stage {
  position: relative;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: var(--shadow-md);
}
.fb-stage .stage-tabbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 10px;
}
.fb-stage .stage-tabbar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #e3e8f0;
}
.fb-stage .stage-tabbar i:nth-child(1) { background: #ff9d95; }
.fb-stage .stage-tabbar i:nth-child(2) { background: #ffd479; }
.fb-stage .stage-tabbar i:nth-child(3) { background: #8fe3a8; }
.fb-stage .stage-body { position: relative; }
.fb-stage .stage-body img {
  width: 100%;
  border-radius: 8px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  height: 100%;
  object-fit: contain;
  object-position: top;
}
.fb-stage .stage-body img.show { position: relative; opacity: 1; height: auto; }

/* ============ 更多功能 ============ */
.more-section { padding: 104px 0; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.more-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.more-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 99, 246, 0.3);
}
.more-item img { width: 40px; height: 40px; }
.more-item .mo-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-item .mo-icon svg { width: 20px; height: 20px; }
.more-item b { font-size: 15px; font-weight: 600; }
.more-item span { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: -8px; }

/* ============ 客户墙 ============ */
.clients { padding: 96px 0; background: var(--bg-soft); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.client-grid .company-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.client-grid .company-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.client-grid .company-item img { max-height: 44px; width: auto; max-width: 82%; object-fit: contain; }

/* ============ 用户评价 ============ */
.quotes { padding: 104px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  position: relative;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card .qmark {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(43, 99, 246, 0.18);
  height: 34px;
}
.quote-card .q-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.quote-card .q-user { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card .q-user img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote-card .q-user b { display: block; font-size: 14.5px; }
.quote-card .q-user span { font-size: 12.5px; color: var(--muted); }

/* ============ CTA ============ */
.cta-section { padding: 0 0 104px; }
.cta-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(13, 181, 160, 0.35), transparent 60%),
    radial-gradient(800px 380px at 10% 120%, rgba(43, 99, 246, 0.45), transparent 60%),
    linear-gradient(135deg, #10204a 0%, #0b1526 100%);
  color: #fff;
  text-align: center;
  padding: 78px 32px 84px;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.cta-box h2 { position: relative; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.cta-box p { position: relative; margin-top: 14px; color: #a9bad6; font-size: 16px; }
.cta-box .hero-actions { position: relative; justify-content: center; margin-top: 34px; }
.cta-box .btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: #dfe8f7; background: transparent; }
.cta-box .btn-ghost:hover { border-color: #8fb3ff; color: #8fb3ff; }
.cta-box .hero-trust { position: relative; justify-content: center; color: #8fa0bb; }

/* ============ 最新动态（CMS） ============ */
.cms-home-section { background: #fff; padding: 88px 0 96px; border-top: 1px solid var(--line); }
.cms-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.cms-home-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.cms-home-col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cms-home-col-head h3 { margin: 0; font-size: 17px; color: var(--ink); font-weight: 600; }
.cms-home-col-head a { font-size: 13px; color: var(--brand); }
.cms-home-col-head a:hover { text-decoration: underline; }
.cms-home-list { list-style: none; margin: 0; padding: 0; }
.cms-home-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f2f5;
}
.cms-home-list li:last-child { border-bottom: none; }
.cms-home-list a {
  color: var(--ink-2);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.cms-home-list a:hover { color: var(--brand); }
.cms-home-date { color: var(--muted); font-size: 12px; flex-shrink: 0; font-family: var(--font-latin); }

/* ============ 页脚（footer.js DOM 重设计） ============ */
.site-footer { background: #0b1526; color: #9fb0c9; padding: 72px 0 32px; }
/* footer.js 无 .container 包裹，用共享容器宽度居中 */
.bottom-menu-container,
.bottom-menu-container-mobile {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.bottom-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bottom-menu-title { color: #e8eefb; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.bottom-menu ul li { margin-bottom: 11px; }
.bottom-menu ul a { font-size: 14px; color: #9fb0c9; transition: color 0.2s ease; }
.bottom-menu ul a:hover { color: #8fb3ff; }
.bottom-menu-contact-title { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.bottom-menu-contact-description { font-size: 13.5px; line-height: 1.8; }
.bottom-menu-container-mobile { display: none; }
.site-footer .company {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #5f7192;
}
/* 底行链接（备案号/网站地图）：继承底行灰，hover 与页脚导航一致 */
.site-footer .company a { transition: color 0.2s ease; }
.site-footer .company a:hover { color: #8fb3ff; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: repeat(3, 1fr); }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .fb-layout, .fb-layout.reverse { grid-template-columns: 1fr; gap: 30px; }
  .fb-layout.reverse .fb-stage { order: -1; }
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 640px; }
  .hf-1 { left: -6px; }
  .hf-2 { right: -6px; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 36px); }
  .hero { padding: 118px 0 72px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
  .ai-section { padding: 76px 0 84px; }
  .ai-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-block { padding: 72px 0; }
  .more-section { padding: 72px 0; }
  .more-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .more-item { padding: 18px 16px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { padding: 72px 0; }
  .quote-grid { grid-template-columns: 1fr; gap: 12px; }
  .cta-box { padding: 56px 22px 62px; border-radius: 18px; }
  .cta-section { padding: 0 0 72px; }
  .cms-home-section { padding: 64px 0 72px; }
  .cms-home-grid { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 34px; }

  /* 功能 tab：菜单横向滚动 */
  .fb-layout, .fb-layout.reverse { gap: 20px; }
  .fb-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    scrollbar-width: none;
  }
  .fb-menu::-webkit-scrollbar { display: none; }
  .fb-menu li { flex-shrink: 0; width: 230px; padding: 14px 14px 14px 16px; }
  .fb-menu li.active { border-color: rgba(43, 99, 246, 0.4); }
  .fb-menu .fb-desc { display: none; }
  .fb-layout.reverse .fb-stage { order: 0; }

  /* 页脚移动端折叠 */
  .bottom-menu-container { display: none; }
  .bottom-menu-container-mobile { display: block; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .bottom-menu-container-mobile .bottom-menu { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .bottom-menu-container-mobile .bottom-menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin: 0;
    cursor: pointer;
    font-size: 14.5px;
  }
  .bottom-menu-container-mobile .arrow {
    width: 9px; height: 9px;
    border-right: 1.5px solid #5f7192;
    border-bottom: 1.5px solid #5f7192;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }
  .bottom-menu-container-mobile .bottom-menu.active .arrow { transform: rotate(-135deg); }
  .bottom-menu-container-mobile ul { display: none; padding-bottom: 10px; }
  .bottom-menu-container-mobile ul li { margin-bottom: 9px; }
  .site-footer { padding: 48px 0 26px; }
}
