/* ===== 南途科技官网 · 共享样式（克莱因蓝 + 白 · 提纯版） ===== */
:root {
  /* 克莱因蓝（IKB）提纯色系 —— 只向更亮过渡，不用深蓝大色块 */
  --klein: #002FA7;          /* 标准克莱因蓝 */
  --klein-grad: #1E48D6;     /* 渐变高光（更亮，不减艳） */
  --klein-bright: #2A55D4;   /* 强调/浅阶 */
  --klein-tint: #EEF2FC;     /* 极浅蓝底 */
  --klein-tint-2: #E6EDFC;
  --white: #ffffff;
  /* 中性 */
  --ink: #14161F;
  --text: #1f2430;
  --text-soft: #5A6275;
  --border: #E2E8F4;
  /* 派生 */
  --primary: var(--klein);
  --primary-light: var(--klein-bright);
  --bg: #ffffff;
  --bg-soft: var(--klein-tint);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 47, 167, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 47, 167, 0.16);
  --max: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--klein);
  letter-spacing: 0.5px;
}
.brand .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--klein);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-footer .brand-logo { height: 58px; }
@media (max-width: 768px) {
  .brand-logo { height: 36px; }
  .site-footer .brand-logo { height: 48px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--klein); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--klein);
  border-radius: 2px;
}
.nav-cta {
  background: var(--klein);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--klein-grad); transform: translateY(-1px); }

/* ===== 中英文切换按钮 ===== */
.lang-item { margin-left: 2px; }
.lang-toggle {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--klein);
  background: var(--klein-tint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 15px;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: var(--klein); color: #fff; border-color: var(--klein); }
.lang-toggle.active { background: var(--klein); color: #fff; border-color: var(--klein); }

/* ===== 区块通用 ===== */
section { padding: 84px 0; }
.section-soft { background: var(--klein-tint); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--klein);
  background: rgba(0, 47, 167, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--klein);
}
.section-head p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 16px;
}

/* ===== Hero（提纯克莱因蓝铺底） ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--klein) 0%, var(--klein-grad) 100%);
  background-size: 200% 200%;
  animation: heroFloat 16s ease infinite;
  padding: 96px 0 88px;
  color: #fff;
}
@keyframes heroFloat { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* 克制的白色点阵 + 净色光斑，避免灰浊 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 72%);
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.hero h1 .hl { color: #cfe0ff; }
.hero .lead {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
/* Hero 内按钮反白，形成强对比 */
.hero .btn-primary { background: #fff; color: var(--klein); }
.hero .btn-primary:hover { background: #eef3ff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.hero-stats {
  margin-top: 44px;
  display: flex;
  gap: 38px;
}
.hero-stats .stat .num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stats .stat .label { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* Hero 动态插图卡（白底夹心反差） */
.hero-visual {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 26px;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.hv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hv-badge {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: #fff; background: var(--klein);
  padding: 4px 11px; border-radius: 999px;
}
.hv-head h3 { font-size: 17px; color: var(--klein); font-weight: 800; }
.hero-illus { width: 100%; height: auto; display: block; margin: 4px 0 8px; }
.hv-caption { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }

/* 插图动效 */
.flow-line { stroke-dasharray: 7 6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.node-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.growth-arrow { stroke-dasharray: 4 4; animation: flow 1.6s linear infinite; }

/* ===== 四大业务板块（相互独立，非递进） ===== */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--klein);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--klein); }
.module-card .mc-index {
  font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--klein);
}
.module-card .mc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--klein-tint); color: var(--klein);
  display: flex; align-items: center; justify-content: center;
  margin: 12px 0 16px;
  transition: background 0.25s, color 0.25s;
}
.module-card:hover .mc-icon { background: var(--klein); color: #fff; }
.module-card .mc-icon svg { width: 28px; height: 28px; }
.module-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); line-height: 1.4; }
.module-card p { color: var(--text-soft); font-size: 14.5px; min-height: 46px; }
.module-card ul { list-style: none; margin-top: 14px; }
.module-card ul li {
  font-size: 13.5px; color: var(--text);
  padding: 6px 0 6px 22px; position: relative;
}
.module-card ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--klein);
}
.module-card .who {
  margin-top: 16px; font-size: 12.5px; color: var(--klein);
  background: rgba(0,47,167,0.07);
  display: inline-block; padding: 5px 12px; border-radius: 999px;
}

/* ===== 价值主张 ===== */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-card {
  text-align: center;
  padding: 32px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--klein); box-shadow: var(--shadow); }
.value-card .vc-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--klein-tint);
  color: var(--klein);
  display: flex; align-items: center; justify-content: center;
}
.value-card .vc-icon svg { width: 28px; height: 28px; }
.value-card h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-soft); }

/* ===== 合作流程 ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.flow-item:hover { transform: translateY(-4px); border-color: var(--klein); }
.flow-item .fi-num {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--klein);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.flow-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.flow-item p { font-size: 14px; color: var(--text-soft); }

/* ===== 业务详情（services） ===== */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-aside {
  position: relative;
  background: linear-gradient(150deg, var(--klein), var(--klein-grad));
  color: #fff;
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.service-aside .sa-ico {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-aside .sa-ico svg { width: 26px; height: 26px; }
.service-aside .sa-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  background: rgba(255,255,255,0.16);
  padding: 5px 12px; border-radius: 999px;
  display: inline-block; margin-bottom: 14px;
}
.service-aside h3 { font-size: 26px; margin-bottom: 14px; }
.service-aside p { font-size: 15px; opacity: 0.9; }
.service-aside .sa-who {
  margin-top: 20px; font-size: 13px;
  background: rgba(255,255,255,0.12);
  padding: 8px 14px; border-radius: 10px; display: inline-block;
}
.service-detail h3 { font-size: 24px; color: var(--ink); margin-bottom: 10px; }
.service-detail .sd-sub { color: var(--text-soft); margin-bottom: 22px; }
.service-list { list-style: none; display: grid; gap: 16px; }
.service-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.service-list .sl-dot {
  flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--klein); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.service-list .sl-text strong { display: block; font-size: 16px; color: var(--ink); }
.service-list .sl-text span { font-size: 14px; color: var(--text-soft); }

/* ===== 关于我们 ===== */
.about-hero { background: linear-gradient(150deg, var(--klein), var(--klein-grad)); color: #fff; padding: 80px 0; }
.about-hero .container { max-width: 880px; }
.about-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 18px; }
.about-hero p { font-size: 17px; opacity: 0.92; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.about-card {
  background: #fff; border: 1px solid var(--border);
  border-top: 4px solid var(--klein);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card h4 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.about-card .ac-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--klein-tint); color: var(--klein);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.about-card .ac-icon svg { width: 26px; height: 26px; }
.about-card p { font-size: 14px; color: var(--text-soft); }
.mission { max-width: 820px; margin: 0 auto; text-align: center; }
.mission p { font-size: 19px; color: var(--text); line-height: 1.9; }
.mission .q { color: var(--klein); font-weight: 700; }

/* ===== 增长数据区 ===== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.metric {
  padding: 30px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.metric:last-child { border-right: none; }
.metric-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--klein);
  line-height: 1;
  letter-spacing: 0;
}
.metric-label { margin-top: 10px; font-size: 14px; color: var(--text-soft); }

.chart-wrap {
  margin-top: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 18px;
  box-shadow: var(--shadow);
}
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-line {
  fill: none;
  stroke: var(--klein);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-area { fill: url(#areaGrad); opacity: 0; transition: opacity 1.2s ease 0.4s; }
.chart-wrap.in .chart-area { opacity: 1; }
.chart-dot { fill: #fff; stroke: var(--klein); stroke-width: 3; }
.chart-grid { stroke: var(--border); stroke-width: 1; }
.chart-phase { fill: var(--text-soft); font-size: 12px; font-weight: 600; }
/* 自绘动画：默认隐藏，进入视口后绘制 */
.js .chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.9s ease;
}
.js .chart-wrap.in .chart-line { stroke-dashoffset: 0; }

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 22px; color: var(--ink); margin-bottom: 20px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .cl-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--klein-tint); color: var(--klein);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .cl-icon svg { width: 24px; height: 24px; }
.contact-list .cl-text strong { display: block; font-size: 15px; color: var(--ink); }
.contact-list .cl-text span { font-size: 15px; color: var(--text-soft); }
.placeholder-note {
  font-size: 12px; color: var(--klein); background: rgba(0,47,167,0.07);
  padding: 2px 8px; border-radius: 6px; margin-left: 8px;
}
.contact-card {
  background: linear-gradient(150deg, var(--klein), var(--klein-grad));
  color: #fff; border-radius: 20px; padding: 38px 34px; box-shadow: var(--shadow-lg);
}
.contact-card h3 { font-size: 20px; margin-bottom: 14px; }
.contact-card p { font-size: 15px; opacity: 0.92; margin-bottom: 8px; }
.contact-card .cc-qr {
  margin-top: 18px;
  width: 160px; height: 160px;
  background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  padding: 10px;
  box-sizing: border-box;
}
.contact-card .cc-qr svg { width: 64px; height: 64px; }
.contact-card .cc-qr img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.map-note { margin-top: 18px; font-size: 14px; color: var(--text-soft); }

/* ===== 页脚 CTA ===== */
.cta-band {
  background: linear-gradient(135deg, var(--klein), var(--klein-grad));
  color: #fff; text-align: center; border-radius: 20px;
  padding: 54px 30px; margin: 0 auto;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 16px; opacity: 0.9; margin-bottom: 26px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--klein); color: #cdd9e8; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-logo { filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: #b9c8e0; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: #b9c8e0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-wx img { width: 116px; height: 116px; border-radius: 10px; background: #fff; padding: 5px; margin-bottom: 8px; }
.footer-wx span { font-size: 13px; color: #b9c8e0; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 13px; color: #a9bce0; text-align: center;
}
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.icp-link { color: #a9bce0; text-decoration: none; transition: color 0.2s; }
.icp-link:hover { color: #fff; }

/* ===== 滚动揭示（无 JS 时全部可见） ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== 服务页 / 联系页页头可读性（克莱因蓝底） ===== */
.hero .section-head { margin-bottom: 0; }
.hero .section-head .eyebrow { color: #fff; background: rgba(255,255,255,0.18); }
.hero .section-head h2 { color: #fff; }
.hero .section-head h2::after { background: rgba(255,255,255,0.7); }
.hero .section-head p { color: rgba(255,255,255,0.92); }
.hero .slogan { color: #cfe0ff; font-size: 19px; font-weight: 600; margin-top: 16px; letter-spacing: 0.5px; }

/* ===== 社区动态 / FAQ ===== */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--klein); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--klein); font-weight: 700; flex: none; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; line-height: 1.8; }

.faq-form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 36px 34px; box-shadow: var(--shadow); }
.faq-form-wrap h3 { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.faq-form-wrap .ff-sub { color: var(--text-soft); margin-bottom: 24px; font-size: 15px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--klein); box-shadow: 0 0 0 3px rgba(0,47,167,0.12); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 10px; }
.ff-list { max-width: 720px; margin: 28px auto 0; display: grid; gap: 14px; }
.ff-item { background: var(--klein-tint); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.ff-item .ff-q { font-size: 15px; font-weight: 600; color: var(--ink); }
.ff-item .ff-meta { font-size: 12.5px; color: var(--text-soft); margin-top: 6px; }
.ff-empty { text-align: center; color: var(--text-soft); font-size: 14px; padding: 20px; }

/* ===== 新闻动态 / 客户案例 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--klein); }
.news-feature { border: 1.5px solid var(--klein); }
.news-feature .news-tag { background: var(--klein); }
.news-thumb { height: 150px; background: linear-gradient(135deg, var(--klein), var(--klein-grad)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.news-thumb svg { width: 56px; height: 56px; opacity: 0.92; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.22); padding: 4px 10px; border-radius: 999px; }
.news-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }
.news-body h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; line-height: 1.45; }
.news-body p { font-size: 14px; color: var(--text-soft); flex: 1; }
.news-more { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--klein); }
.placeholder-flag { font-size: 12px; color: var(--klein); background: rgba(0,47,167,0.08); padding: 2px 8px; border-radius: 6px; margin-left: 8px; }
.post-list { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.post { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--klein); border-radius: 12px; padding: 18px 22px; }
.post .post-date { font-size: 13px; color: var(--text-soft); }
.post h4 { font-size: 16px; color: var(--ink); margin: 6px 0; }
.post p { font-size: 14px; color: var(--text-soft); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== 案例文章页 ===== */
.article { padding: 56px 0 84px; }
.a-head { max-width: 860px; margin: 0 auto 28px; }
.a-cat {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: #fff; background: var(--klein); padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.a-head h1 { font-size: 32px; line-height: 1.4; font-weight: 800; color: var(--ink); letter-spacing: 0.3px; }
.a-meta { margin-top: 18px; font-size: 14px; color: var(--text-soft); display: flex; flex-wrap: wrap; gap: 8px; }
.a-cover { margin: 8px auto 36px; max-width: 920px; }
.a-cover svg, .a-cover img, .a-fig svg { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: var(--shadow); }
.a-cover figcaption, .a-fig figcaption { margin-top: 12px; font-size: 13.5px; color: var(--text-soft); text-align: center; }
.a-body { max-width: 760px; margin: 0 auto; }
.a-body h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--klein-tint); }
.a-body p { font-size: 16.5px; color: var(--text); line-height: 1.95; margin: 14px 0; }
.a-lead { font-size: 18px !important; color: var(--ink) !important; line-height: 2 !important; background: var(--klein-tint); padding: 22px 24px; border-radius: 14px; border-left: 4px solid var(--klein); }
.a-list { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.a-list li { position: relative; padding: 14px 18px 14px 46px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: 15.5px; color: var(--text); }
.a-list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--klein); }
.a-list li strong { color: var(--klein); }
.a-link { color: var(--klein); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.a-fig { margin: 30px 0; }
.a-quote {
  margin: 32px 0; padding: 26px 30px; background: linear-gradient(135deg, var(--klein), var(--klein-grad));
  color: #fff; border-radius: 16px; font-size: 19px; line-height: 1.8; font-weight: 600; position: relative;
}
.a-quote::before { content: "\201C"; position: absolute; left: 18px; top: 2px; font-size: 60px; color: rgba(255,255,255,0.28); font-weight: 800; }
.a-quote cite { display: block; margin-top: 16px; font-size: 14px; font-weight: 500; font-style: normal; color: #cfe0ff; }
.a-cta { margin-top: 44px; background: var(--klein-tint); border: 1px solid var(--border); border-radius: 18px; padding: 34px 32px; text-align: center; }
.a-cta h3 { font-size: 21px; color: var(--ink); margin-bottom: 10px; }
.a-cta p { font-size: 15px; color: var(--text-soft); margin-bottom: 20px; }
.a-cta .btn-primary { background: var(--klein); color: #fff; }
.a-cta .btn-primary:hover { background: var(--klein-grad); transform: translateY(-2px); }

/* 案例页：摘要 / FAQ（兼顾 AI 收录可读性） */
.a-summary { background: var(--klein-tint); border-left: 4px solid var(--klein); border-radius: 12px; padding: 18px 22px; margin: 26px 0 8px; }
.a-summary h3 { font-size: 16px; margin: 0 0 10px; color: var(--klein); }
.a-summary ul { margin: 0; padding-left: 18px; }
.a-summary li { margin: 6px 0; font-size: 15px; color: var(--ink); }

.a-faq { margin: 34px 0 8px; }
.a-faq h2 { font-size: 22px; margin: 0 0 14px; color: var(--ink); }
.a-faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 12px 0; background: #fff; }
.a-faq-item h3 { font-size: 16px; margin: 0 0 8px; color: var(--klein); }
.a-faq-item p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 26px; }
  .service-block.reverse .sd-more { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 33px; }
  .section-head h2 { font-size: 26px; }
  .values, .flow, .footer-grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); }
  .metric:last-child { border-bottom: none; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  section { padding: 60px 0; }
}

/* ===== 移动端折叠导航（汉堡菜单） ===== */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-burger .bar {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--klein);
  transition: transform 0.28s, opacity 0.2s;
}
.nav-burger.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open .bar:nth-child(2) { opacity: 0; }
.nav-burger.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav { position: relative; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    padding: 6px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--klein); }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    display: block;
    margin-top: 16px;
    padding: 12px 20px !important;
    text-align: center;
    border-bottom: none;
  }
  .nav-links .lang-item {
    margin-top: 16px;
    text-align: center;
  }
  .nav-links .lang-toggle { width: 100%; }
}

/* ===== 导航「产品服务」下拉菜单 ===== */
.nav-has-sub { position: relative; }
.nav-has-sub > .nav-parent { padding-right: 14px; }
.nav-has-sub > .nav-parent::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-30%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 130;
}
.nav-sub::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
/* 透明桥接区：填补导航项与子菜单之间的 12px 间隙，避免鼠标下移时菜单消失 */
.nav-sub::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border-bottom: none;
  line-height: 1.5;
}
.nav-sub a:hover { background: var(--klein-tint); }
.nav-sub strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.nav-sub a:hover strong { color: var(--klein); }
.nav-sub span { display: block; font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
.sub-toggle { display: none; }

/* 服务详情入口链接 */
.sd-more, .mc-more {
  display: flex; align-items: center; gap: 6px; width: 100%;
  margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--klein);
}
/* 反向排版块（蓝色卡片在右）的「了解详情」靠右对齐，避免贴左边缘 */
.service-block.reverse .sd-more { justify-content: flex-end; }
.sd-more:hover, .mc-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 产品详情页：亮点小标签 */
.feature-points { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.feature-points li {
  position: relative; padding: 7px 10px 7px 26px;
  font-size: 13.5px; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
}
.feature-points li::before {
  content: ""; position: absolute; left: 10px; top: 14px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--klein);
}
/* 产品详情页：定价/说明提示框 */
.note-band {
  margin-top: 8px; background: var(--klein-tint);
  border: 1px solid var(--border); border-left: 4px solid var(--klein);
  border-radius: 12px; padding: 16px 20px;
  font-size: 14.5px; color: var(--text);
}
/* 其他服务交叉链接卡 */
.other-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.other-link-card {
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--klein);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.other-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--klein); }
.other-link-card .ol-tag { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--klein); }
.other-link-card h4 { font-size: 17px; color: var(--ink); margin: 8px 0 6px; line-height: 1.45; }
.other-link-card p { font-size: 13.5px; color: var(--text-soft); }
.other-link-card .mc-more { margin-top: 12px; font-size: 13.5px; }
@media (max-width: 768px) { .other-links { grid-template-columns: 1fr; } }

/* 移动端：产品服务子菜单折叠 */
@media (max-width: 768px) {
  .nav-links .nav-has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-has-sub > .nav-parent { flex: 1; padding-right: 4px; }
  .nav-has-sub > .nav-parent::before { display: none; }
  .nav-sub { flex: 0 0 100%; order: 3; }
  .sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    cursor: pointer;
  }
  .sub-toggle::before {
    content: "";
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-soft);
  }
  .sub-toggle.open::before {
    border-top: none;
    border-bottom: 6px solid var(--klein);
  }
  .nav-sub {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 14px;
  }
  .nav-sub.open { display: block; }
  .nav-sub::before { display: none; }
  .nav-sub a { border-radius: 0; border-bottom: 1px solid var(--border); padding: 11px 4px; }
  .nav-has-sub:hover .nav-sub,
  .nav-has-sub:focus-within .nav-sub { transform: none; }
}

/* 产品详情页：两列模块卡 */
.values-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 768px) { .values-2 { grid-template-columns: 1fr; } }
