/* =========================================================
   CRMEB 首页重构 · 样式表
   设计方向：明亮、克制、以蓝为品牌色，大留白 + 细边框卡片
   适配：手机 / 平板 / PC 全尺寸自适应
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --blue: #2a7efb;
  --blue-600: #176ff2;
  --blue-700: #0f5fd8;
  --blue-050: #eff6ff;
  --blue-100: #dbeafe;

  --ink: #0a1220;
  --ink-2: #1d2838;
  --text: #4a5666;
  --muted: #7c8798;
  --line: #e7edf6;
  --line-2: #f0f4fa;

  --bg: #ffffff;
  --bg-soft: #f6f9fe;
  --bg-dark: #08101f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(12, 26, 48, .06);
  --shadow-sm: 0 2px 8px rgba(12, 26, 48, .06);
  --shadow-md: 0 12px 30px -12px rgba(12, 26, 48, .18);
  --shadow-lg: 0 30px 70px -30px rgba(11, 40, 90, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
          "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-num: "SF Pro Display", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
time { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--blue-100); color: var(--blue-700); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- 3. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s,
              color .18s, box-shadow .25s;
}
.btn .ico { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(42, 126, 251, .85);
}
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 14px 30px -12px rgba(42, 126, 251, .9); }

.btn--ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
}
.btn--ghost:hover { border-color: #c9d8ee; background: #fbfdff; color: var(--blue-600); }

.btn--white { background: #fff; color: var(--blue-700); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); }
.btn--white:hover { background: #f2f7ff; }

.btn--outline { border: 1px solid rgba(255, 255, 255, .38); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
}
.eyebrow .ico { width: 15px; height: 15px; }
.eyebrow--pill {
  padding: 5px 14px 5px 10px;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  background: var(--blue-050);
  letter-spacing: .06em;
}
.eyebrow--light { color: #8db9ff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-600);
  font-size: 14.5px;
  font-weight: 600;
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--lg { font-size: 15.5px; }

.link-quiet { color: var(--muted); font-size: 14px; }
.link-quiet:hover { color: var(--blue-600); }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

/* ---------- 4. 顶部通告 ---------- */
.topbar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__text { display: flex; align-items: center; gap: 10px; }
.topbar__text strong { color: #fff; font-weight: 600; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8db9ff;
  white-space: nowrap;
}
.topbar__link .ico { width: 14px; height: 14px; }
.topbar__link:hover { color: #c3daff; }

/* ---------- 5. 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(12, 26, 48, .45);
  background: rgba(255, 255, 255, .94);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3f8cff, #1f6df5);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(42, 126, 251, .9);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo__text em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s, background-color .18s;
}
.nav__link:hover { color: var(--blue-600); background: var(--blue-050); }
.nav__link.is-active { color: var(--blue-600); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.burger .ico { width: 20px; height: 20px; }
.burger .ico--close { display: none; }
body.menu-open .burger .ico--menu { display: none; }
body.menu-open .burger .ico--close { display: block; }

/* ---------- 6. 移动端抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, 86vw);
  height: 100%;
  padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: -20px 0 60px -20px rgba(8, 20, 40, .35);
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.menu-open .drawer { visibility: visible; pointer-events: auto; }
body.menu-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.drawer__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.drawer__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.drawer__close .ico { width: 18px; height: 18px; }

.drawer__nav { display: flex; flex-direction: column; padding: 10px 0; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 16.5px;
  font-weight: 500;
}
.drawer__nav a:active { color: var(--blue-600); }
.drawer__nav a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #c3ccdb;
  border-right: 1.5px solid #c3ccdb;
  transform: rotate(45deg);
}

.drawer__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 16, 32, .45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
body.menu-open .overlay { opacity: 1; pointer-events: auto; }

/* ---------- 7. Hero Banner 轮播 ---------- */
.hero {
  background: #fff;
}
.banner {
  position: relative;
}
.banner__viewport {
  overflow: hidden;
}
.banner__track {
  display: flex;
  transition: transform .65s cubic-bezier(.33, 1, .68, 1);
  will-change: transform;
}
.banner__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.banner__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 746;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* 左右切换箭头 */
.banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #3d4a5f;
  box-shadow: 0 4px 18px rgba(15, 40, 80, .16);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, background .2s, color .2s, transform .2s;
  z-index: 3;
}
.banner__arrow .ico { width: 19px; height: 19px; stroke-width: 2.4; }
.banner__arrow--prev { left: clamp(10px, 2.4vw, 34px); }
.banner__arrow--prev .ico { transform: rotate(180deg); }
.banner__arrow--next { right: clamp(10px, 2.4vw, 34px); }
.banner:hover .banner__arrow,
.banner:focus-within .banner__arrow { opacity: 1; }
.banner__arrow:hover { background: #fff; color: var(--blue-600); }
.banner__arrow:active { transform: translateY(-50%) scale(.94); }

/* 指示点 */
.banner__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(20, 40, 80, .28);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.banner__dots button.is-active {
  width: 22px;
  background: var(--blue-600);
}

@media (max-width: 640px) {
  .banner__slide img {
    aspect-ratio: 16 / 9;
    object-position: 30% center;
  }
  .banner__arrow { display: none; }
  .banner__dots { bottom: 10px; gap: 6px; }
  .banner__dots button { width: 6px; height: 6px; }
  .banner__dots button.is-active { width: 18px; }
}

@media (hover: none) {
  .banner__arrow { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .banner__track { transition: none; }
}

/* --- 信任数据条 --- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
}
.trust li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--line-2);
}
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust strong {
  font-family: var(--font-num);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.trust em { font-style: normal; font-size: .62em; font-weight: 700; color: var(--blue); margin-left: 2px; }
.trust span { color: var(--muted); font-size: 13.5px; }

/* ---------- 8. 通用区块 ---------- */
.section { position: relative; padding: clamp(56px, 7vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section__head--row .link-arrow { margin-bottom: 6px; }

.section__title {
  font-size: clamp(1.6rem, 2.9vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.28;
}
.section__desc {
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.85;
}

/* ---------- 9. 产品与服务（仿原站：插图卡 + 无缝 marquee + 左右切换） ---------- */
.section--products {
  background: linear-gradient(180deg, #edf3fe 0%, #f7faff 100%);
  overflow-x: hidden;
  overflow-x: clip; /* 全宽 marquee 的 100vw 溢出在此截断，不撑大文档滚动区 */
}

.products-marquee {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 14px 0 24px;
}
.products-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* 左右切换按钮（浅色圆形玻璃 + 深色箭头） */
.products-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}
.pn-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  transition: background .25s, box-shadow .25s, transform .15s;
}
.pn-btn:hover { background: #fff; box-shadow: 0 10px 26px rgba(31, 38, 135, .14); }
.pn-btn:active { transform: scale(.94); }
.pn-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.product {
  position: relative;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-right: 28px;
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 6px 28px rgba(31, 38, 135, .08);
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 38, 135, .16), 0 10px 24px rgba(31, 38, 135, .08);
}

.product .p-visual {
  order: 5;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .45);
  margin: auto 20px 26px;
  flex-shrink: 0;
}
.product .p-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }

.product .p-body { display: contents; }
.product .tag-row { order: 1; display: flex; align-items: center; gap: 8px; margin: 6px 20px 18px; }
.product h3 { order: 2; margin: 0 20px 8px; font-size: 25px; font-weight: 600; color: var(--ink); }
.product .p-sub { order: 3; margin: 0 20px 16px; font-size: 14px; color: var(--muted); }
.product .p-desc { order: 4; margin: 0 20px 24px; font-size: 15px; color: var(--text); line-height: 1.8; }
.product .p-actions { order: 6; margin: 0 20px; display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.product .p-actions .try {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 12px 28px;
  border-radius: 999px;
  transition: background .2s var(--ease);
}
.product .p-actions .try:hover { background: #222; }
.product .p-actions .more {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.product .p-actions .more:hover { color: var(--blue); gap: 7px; }
.product .p-actions .more-arrow { font-size: 17px; line-height: 1; }

/* 技术标签配色（对齐原站） */
.ptag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.ptag--php { background: rgba(0, 137, 255, .14); color: #0089ff; }
.ptag--java { background: rgba(232, 130, 28, .14); color: #e8821c; }
.ptag--s2b2c { background: rgba(123, 92, 255, .14); color: #7b5cff; }
.ptag--b2c { background: rgba(14, 191, 159, .14); color: #0ebf9f; }
.ptag--b2b2c { background: rgba(245, 96, 96, .12); color: #f56060; }
.ptag--o2o { background: rgba(232, 163, 20, .16); color: #e8a314; }

/* ---------- 10. AI 能力矩阵（仿原站：钉钉式大小卡马赛克） ---------- */
.ai-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* --- 马赛克模式（桌面端，由 JS 挂 is-ready） --- */
#aiGrid.is-ready { display: block; }
#aiGrid.is-ready .ai-item {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  cursor: pointer;
  transition: left .55s var(--ease), top .55s var(--ease),
              width .55s var(--ease), height .55s var(--ease);
}
#aiGrid.is-ready .ai-item.is-active { z-index: 6; }
#aiGrid.is-ready .ai-face {
  position: absolute;
  inset: 0;
  height: auto;
  border-radius: 30px;
}
#aiGrid.is-ready .ai-pop {
  position: absolute;
  inset: 0;
  margin-top: 0;
  border-radius: 36px;
  padding: clamp(22px, 2.6vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease .12s;
}
#aiGrid.is-ready .ai-item.is-active .ai-face { opacity: 0; pointer-events: none; }
#aiGrid.is-ready .ai-item.is-active .ai-pop { opacity: 1; pointer-events: auto; }
#aiGrid.is-ready .ai-item:focus-visible { outline: none; }
#aiGrid.is-ready .ai-item:focus-visible .ai-face {
  opacity: 1;
  box-shadow: 0 0 0 3px var(--blue-100), var(--glass-shadow);
}
#aiGrid.is-ready .ai-item:not(.is-active):hover .ai-face img { transform: scale(1.06); }

/* --- 卡片面（收起态） --- */
.ai-face {
  position: relative;
  height: 170px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: opacity .3s ease, box-shadow .3s ease;
}
.ai-face::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  top: -62px;
  left: 50%;
  transform: translateX(-50%);
}
.ai-face img {
  position: relative;
  max-width: 86%;
  max-height: 82%;
  object-fit: contain;
  transition: transform .3s ease;
  filter: drop-shadow(0 6px 16px rgba(31, 38, 135, .08));
}
.ai-item:nth-child(3n+1) .ai-face { background: rgba(237, 244, 255, .72); }
.ai-item:nth-child(3n+1) .ai-face::before { background: rgba(0, 137, 255, .16); }
.ai-item:nth-child(3n+2) .ai-face { background: rgba(242, 239, 252, .72); }
.ai-item:nth-child(3n+2) .ai-face::before { background: rgba(123, 92, 255, .16); }
.ai-item:nth-child(3n) .ai-face { background: rgba(237, 249, 246, .72); }
.ai-item:nth-child(3n) .ai-face::before { background: rgba(14, 191, 159, .16); }

/* --- 详情弹层（展开态） --- */
.ai-pop {
  position: relative;
  margin-top: 14px;
  border-radius: 22px;
  overflow: hidden;
  background: #f0f9ff;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.ai-item:nth-child(1) .ai-pop { background: #f0f9ff; }
.ai-item:nth-child(2) .ai-pop { background: #f0fdff; }
.ai-item:nth-child(3) .ai-pop { background: #f2fbed; }
.ai-item:nth-child(4) .ai-pop { background: #f8f6ff; }
.ai-item:nth-child(5) .ai-pop { background: #fef6f0; }
.ai-item:nth-child(6) .ai-pop { background: #f8f6ff; }
.ai-item:nth-child(7) .ai-pop { background: #f0fdff; }
.ai-item:nth-child(8) .ai-pop { background: #f0f9ff; }
.ai-item:nth-child(9) .ai-pop { background: #fffbf0; }
.ai-item:nth-child(10) .ai-pop { background: #f8f6ff; }

.ai-pop-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ai-ic-sm {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: none;
  overflow: hidden;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 4px 14px rgba(31, 38, 135, .1);
}
.ai-ic-sm img { width: 100%; height: 100%; object-fit: contain; }
.ai-pop-top h3 { font-size: 17px; }

.ai-pop-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ai-desc {
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin-bottom: 14px;
}
.ai-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.ai-points li i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.ai-pop-right {
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.ai-pop-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Agent / MCP 拓展卡 --- */
.ai-extras {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  width: 100%;
}
.ai-extra-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 30px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  min-width: 0;
  flex: 1;
  transition: flex-basis .55s var(--ease), transform .35s ease, box-shadow .35s ease;
}
.ai-extra-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -60px;
  right: -40px;
  pointer-events: none;
}
.ai-extra-card > * { position: relative; z-index: 1; }
.ai-extra-card h3 { font-size: 20px; white-space: normal; }
.ai-extra-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  max-width: 480px;
}
.ext-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 20px;
}
.ai-extra-card.skill { background: linear-gradient(160deg, rgba(240, 247, 255, .8), rgba(224, 237, 255, .62)); }
.ai-extra-card.skill::before { background: rgba(0, 137, 255, .16); }
.ai-extra-card.skill .ext-tag { background: rgba(0, 137, 255, .12); color: var(--blue-600); }
.ai-extra-card.mcp { background: linear-gradient(160deg, rgba(246, 243, 255, .8), rgba(234, 227, 255, .62)); }
.ai-extra-card.mcp::before { background: rgba(123, 92, 255, .16); }
.ai-extra-card.mcp .ext-tag { background: rgba(123, 92, 255, .14); color: #7b5cff; }

/* 桌面端：Agent/MCP 行与单元同高，悬停伸缩 */
@media (min-width: 1025px) {
  .ai-extras { flex-direction: row; gap: 24px; min-height: var(--ai-cell, 220px); }
  .ai-extra-card { padding: 28px 32px; }
  .ai-extra-card h3 { font-size: clamp(19px, 1.8vw, 24px); white-space: nowrap; }
  .ai-extras:hover .ai-extra-card { flex: .6; }
  .ai-extras:hover .ai-extra-card:hover { flex: 1.4; box-shadow: 0 18px 44px rgba(31, 38, 135, .18); }
}

/* 马赛克模式下的弹层排版放大 */
#aiGrid.is-ready .ai-pop-top h3 { font-size: clamp(22px, 2.4vw, 34px); }
#aiGrid.is-ready .ai-desc { font-size: 14px; }
#aiGrid.is-ready .ai-points li { font-size: 13.5px; }
#aiGrid.is-ready .ai-pop-right { min-height: 0; }

@media (max-width: 640px) {
  .ai-grid { grid-template-columns: 1fr; gap: 16px; }
  .ai-face { height: 150px; }
  .ai-pop { padding: 18px; border-radius: 20px; }
  .ai-pop-right { min-height: 190px; }
  .ai-desc { font-size: 13px; }
  .ai-points { gap: 8px 12px; }
  .ai-points li { font-size: 12.5px; }
  .ai-points li i { width: 18px; height: 18px; font-size: 10px; }
  .ai-extra-card { padding: 20px 22px; border-radius: 24px; }
  .ai-extra-card h3 { font-size: 18px; }
}
/* ---------- 11. 行业方案（仿原站：彩色玻璃手风琴卡片） ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.ind-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.ind-card {
  --tint: 0, 137, 255;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  background: linear-gradient(165deg,
    rgba(var(--tint), .10) 0%,
    rgba(255, 255, 255, .74) 46%,
    rgba(255, 255, 255, .62) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow .3s ease, background .3s ease;
}
.ind-card::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(var(--tint), .14);
  pointer-events: none;
}
.ind-card > * { position: relative; z-index: 1; }
.ind-card:hover { box-shadow: 0 14px 40px rgba(var(--tint), .16); }

.ind-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  min-width: 0;
}
.ind-logo {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  overflow: hidden;
}
.ind-logo img { width: 100%; height: 100%; object-fit: cover; }
.ind-head h3 {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ind-tag {
  margin-left: auto;
  flex: none;
  padding: 5px 12px;
  border: 1px solid rgba(var(--tint), .16);
  border-radius: 999px;
  background: rgba(var(--tint), .10);
  color: rgb(var(--tint));
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .3s, background-color .3s, border-color .3s;
}
.ind-desc {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ind-img {
  width: 100%;
  height: clamp(100px, 10vw, 140px);
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(var(--tint), .08);
}
.ind-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.ind-card:hover .ind-img img { transform: scale(1.05); }

.ind-extra { margin-top: 4px; overflow: hidden; }
.ind-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  padding-top: 10px;
}
.ind-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #3a3f4d;
  font-size: 13px;
  line-height: 1.35;
}
.ind-points li:nth-child(3) { grid-column: 1 / -1; }
.ind-points li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ind-points li i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(var(--tint), .12);
  color: rgb(var(--tint));
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}
.ind-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color .25s;
}
.ind-card:hover .ind-btn { background: #2a2a2a; }

/* 桌面端手风琴：同列仅一张卡展开，悬停/聚焦切换（由 JS 挂 is-ready） */
@media (min-width: 1025px) and (hover: hover) {
  .ind-card .ind-img,
  .ind-card .ind-extra {
    transition: max-height .45s var(--ease), opacity .45s var(--ease),
                margin-top .45s var(--ease);
  }
  .ind-card .ind-img { max-height: 200px; }
  .ind-card .ind-extra { max-height: 190px; }

  #indGrid.is-ready .ind-card:not(.is-active) { cursor: pointer; }
  #indGrid.is-ready .ind-card:not(.is-active) .ind-img {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }
  #indGrid.is-ready .ind-card:not(.is-active) .ind-extra {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }
  #indGrid.is-ready .ind-card:not(.is-active) .ind-desc { -webkit-line-clamp: 2; }
  #indGrid.is-ready .ind-card:not(.is-active):hover {
    background: linear-gradient(165deg,
      rgba(var(--tint), .15) 0%,
      rgba(255, 255, 255, .82) 46%,
      rgba(255, 255, 255, .74) 100%);
  }
}

/* ---------- 12. 开源生态（仿原站：2 大竖卡 + 4 小卡 + 2 长条） ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 236px 236px;
  gap: 20px;
}
.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
  padding: 32px 32px 28px;
  min-height: 236px;
  color: var(--ink);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.eco-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(31, 38, 135, .18);
}
.eco-card.tall {
  grid-row: span 2;
  justify-content: flex-start;
}
.eco-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: rgba(255, 255, 255, .45);
  pointer-events: none;
}
.eco-card h3 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}
.eco-card.tall h3 { font-size: 27px; margin-bottom: 14px; }
.eco-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #555b68;
}
.eco-card.tall p { font-size: 15px; max-width: 88%; }

/* 大竖卡整幅插图（插画居底部，上部留白给文案） */
.eco-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.eco-content { position: relative; z-index: 1; }

/* 六色半透明玻璃底 */
.eco-c1 { background: rgba(234, 242, 255, .7); }
.eco-c2 { background: rgba(255, 239, 226, .7); }
.eco-c3 { background: rgba(233, 243, 217, .7); }
.eco-c4 { background: rgba(220, 242, 250, .7); }
.eco-c5 { background: rgba(239, 234, 254, .74); }
.eco-c6 { background: rgba(246, 239, 214, .7); }

/* 右下角圆形箭头 */
.eco-arrow {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.eco-card:hover .eco-arrow { transform: translateX(4px); }
.eco-arrow img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 底部两个长条 */
.eco-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.eco-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border-radius: 30px;
  padding: 34px 38px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.eco-bar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(31, 38, 135, .22);
}
.eco-bar.b1 { background: rgba(255, 255, 255, .7); }
.eco-bar.b1 p { color: #555b68; }
.eco-bar.b2 {
  background: linear-gradient(120deg, rgba(11, 111, 232, .55) 0%, rgba(59, 160, 255, .44) 60%, rgba(91, 184, 255, .38) 100%);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.eco-bar.b2 p { color: rgba(255, 255, 255, .78); }
.bar-copy { min-width: 0; }
.eco-bar h3 { font-size: 23px; font-weight: 700; margin-bottom: 7px; }
.eco-bar p { font-size: 14px; line-height: 1.6; }
.bar-emoji {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar-emoji img { width: 100%; height: 100%; object-fit: contain; }
.eco-bar .bar-arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.eco-bar.b2 .bar-arrow { background: transparent; }
.eco-bar:hover .bar-arrow { transform: translateX(4px); }
.eco-bar .bar-arrow img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- 13. 二开底座（仿原站：整宽 Hero + 6 张卡，每行一长两短） ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* 整宽 Hero */
.feature-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 40px;
  padding: 46px 48px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--glass-shadow);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.feature-hero:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(31, 38, 135, .18);
}
.feature-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -140px;
  top: -170px;
  background: radial-gradient(circle, rgba(0, 137, 255, .16), transparent 70%);
  pointer-events: none;
}
.fh-main { position: relative; flex: 1; min-width: 0; }
.fh-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(0, 137, 255, .10);
  border: 1px solid rgba(0, 137, 255, .16);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.feature-hero h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.5px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.feature-hero p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2, #6e7286);
  max-width: 780px;
}

/* 右侧文件清单 */
.fh-visual {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fh-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 16px rgba(31, 38, 135, .06);
  font-size: 13px;
  color: var(--ink);
}
.fh-file i { font-style: normal; font-size: 15px; line-height: 1; }
.fh-file b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}
.fh-file .ok {
  margin-left: auto;
  color: #16a36b;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* 普通卡 */
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 32px;
  padding: 32px 30px;
  box-shadow: var(--glass-shadow);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(31, 38, 135, .18);
}
.feature.w2 { grid-column: span 2; padding: 32px 34px; }
.feature h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-2, #6e7286);
  line-height: 1.7;
}
.f-ic {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  flex-shrink: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.f-ic img { width: 40px; height: 40px; object-fit: contain; }

/* 长卡底部能力标签 */
.f-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.f-flow span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #0b6fe8;
  background: rgba(0, 137, 255, .10);
  border: 1px solid rgba(0, 137, 255, .16);
  padding: 6px 12px;
  border-radius: 10px;
}
.f-flow.muted span {
  font-family: inherit;
  color: #3a3f4d;
  background: rgba(17, 17, 17, .05);
  border-color: rgba(17, 17, 17, .07);
}

/* ---------- 14. 实力 + 数据（仿原站 brandTrust + stats 玻璃卡） ---------- */
.strength {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.strcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 460px;
  padding: 40px 36px 55px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 28px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.strcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(31, 38, 135, .14);
}
.strcard h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.strcard p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.strcard__fig {
  margin-top: auto;
  align-self: center;
  padding-top: 28px;
}
.strcard__fig img {
  display: block;
  width: 178px;
  height: 178px;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.strcard:hover .strcard__fig img { transform: scale(1.05); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.stats__item {
  padding: 40px 20px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 28px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .06);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stats__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(31, 38, 135, .14);
}
.stats__item strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.stats__item em { font-style: normal; font-size: .55em; color: var(--blue-600); margin-left: 2px; }
.stats__item p { color: var(--muted); font-size: 14px; }

/* ---------- 14.5. 合作客户（仿原站：全屏反向滚动 Logo 墙） ---------- */
.clients-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.clients-row { overflow: hidden; width: 100%; }
.clients-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.clients-row:hover .clients-track,
.clients-row:focus-within .clients-track { animation-play-state: paused; }
.clients-track.ltr { animation: clients-l 42s linear infinite; }
.clients-track.rtl { animation: clients-r 48s linear infinite; }
/* 三拷贝 + -100%/3：任意视口（≤5568px）无缝循环，接缝处内容完全一致 */
@keyframes clients-l { from { transform: translateX(0); } to { transform: translateX(calc(-100% / 3)); } }
@keyframes clients-r { from { transform: translateX(calc(-100% / 3)); } to { transform: translateX(0); } }

.client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 92px;
  margin-right: 18px;
  padding: 0 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.client-logo:hover {
  transform: translateY(-4px);
  border-color: #c9d8ee;
  box-shadow: var(--shadow-md);
}
.client-logo img { max-width: 100%; max-height: 50px; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}

@media (max-width: 640px) {
  .clients-rows { gap: 16px; }
  .client-logo {
    width: 164px;
    height: 72px;
    margin-right: 12px;
    padding: 0 14px;
    border-radius: 16px;
  }
  .client-logo img { max-height: 38px; }
}

/* ---------- 15. 新闻（上图下文，两行四列） ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 38, 135, .05);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.news-card:hover {
  transform: translateY(-8px);
  border-color: #cbdcf5;
  box-shadow: 0 20px 56px rgba(31, 38, 135, .14);
}
.news-img {
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-body h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink-1, #1f2a3d);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body h3 a { transition: color .2s; }
.news-card:hover h3 a { color: var(--blue-600); }
.news-body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c2cad6; }
.news-meta .cat { color: var(--blue-600); font-weight: 600; }
.news-more { text-align: center; margin-top: 44px; }
.news-more .btn--outline {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: #fff;
}
.news-more .btn--outline:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

/* ---------- 16. 荣誉认证（仿原站 certs 玻璃卡） ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .06);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  text-align: center;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(31, 38, 135, .16);
}
.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: 16px;
  overflow: hidden;
}
.cert-badge img { width: 47px; height: 47px; object-fit: contain; display: block; }
.cert-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.4;
  height: 2.8em;
  text-align: center;
  overflow-wrap: break-word;
}

/* ---------- 17. CTA ---------- */
.cta {
  position: relative;
  padding: clamp(48px, 6vw, 76px) 0 clamp(48px, 6vw, 76px);
  background: var(--bg-soft);
}
.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 4.5vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 320px at 88% 12%, rgba(120, 180, 255, .38), transparent 62%),
    linear-gradient(115deg, #0c1a30 0%, #123566 52%, #1d5fc4 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(10, 40, 90, .7);
}
.cta__inner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
}
.cta__copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  letter-spacing: -.02em;
}
.cta__copy p {
  margin-top: 10px;
  max-width: 34em;
  color: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  line-height: 1.8;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- 18. 页脚 ---------- */
.footer {
  padding: clamp(44px, 5vw, 68px) 0 0;
  background: #060d19;
  color: rgba(255, 255, 255, .55);
  font-size: 13.5px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
}
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text em { color: rgba(255, 255, 255, .4); }
.footer__slogan {
  margin-top: 16px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  line-height: 1.9;
}
.footer__contact { margin-top: 18px; }
.footer__hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.footer__hotline .ico { width: 20px; height: 20px; color: #6fa8ff; }
.footer__hotline small { display: block; color: rgba(255, 255, 255, .42); font-size: 11.5px; }
.footer__hotline strong {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.footer__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 20px;
}
.footer__certs li {
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  line-height: 1.7;
}
.footer__certs span { color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.qr {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 7px 7px,
    #0c1626;
  border: 4px solid #fff;
  flex: none;
}
.qr i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #060d19;
  box-shadow: 0 0 0 2px #fff;
}
.footer__social p { color: rgba(255, 255, 255, .6); font-size: 12.5px; line-height: 1.6; }
.footer__social small { color: rgba(255, 255, 255, .35); font-size: 11.5px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h4 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
}
.footer__col a {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  transition: color .18s;
  width: fit-content;
}
.footer__col a:hover { color: #8db9ff; }
.footer__col--contact p { color: rgba(255, 255, 255, .42); font-size: 12.8px; line-height: 1.7; }
.footer__col--contact a { color: rgba(255, 255, 255, .72); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12.5px;
}
.footer__links span { color: rgba(255, 255, 255, .35); }
.footer__links a { color: rgba(255, 255, 255, .42); }
.footer__links a:hover { color: #8db9ff; }
.footer__apply { color: #6fa8ff !important; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 0 calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .32);
  font-size: 12.5px;
}
.footer__meta { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .32); }
.footer__meta a:hover { color: #8db9ff; }

/* ---------- 19. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, color .2s;
}
.to-top .ico { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--blue-600); border-color: #cbdcf5; }

/* ---------- 20. 滚动入场 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   21. 响应式
   ========================================================= */

/* 大屏 PC */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
}

/* 中等 PC / 小笔记本 */
@media (max-width: 1180px) {
  .nav__link { padding: 0 9px; font-size: 14.5px; }
  .product { flex-basis: 360px; }
  .product .p-visual { height: 190px; }
  .certs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #aiGrid:not(.is-ready) { grid-template-columns: 1fr; }
}

/* 平板横屏 */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .header__demo { display: none; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__inner { justify-content: space-between; }


  .section__head--row { align-items: flex-start; flex-direction: column; }
  .section__head--row .link-arrow { margin-bottom: 0; }

  .feature-hero { flex-direction: column; align-items: flex-start; gap: 28px; padding: 36px 32px; border-radius: 32px; }
  .fh-visual { width: 100%; }

  /* 平板：底座卡片两列，长卡整行 */
  .features-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .feature.w2 { grid-column: 1 / -1; }

  /* 平板：生态卡平铺两列，大卡横排整行 */
  .eco-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .eco-card { min-height: 210px; }
  .eco-card.tall {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
  }
  .eco-card.tall h3 { font-size: 24px; }
  .eco-card.tall p { max-width: 30em; font-size: 14px; }
  .eco-card.tall .eco-img {
    position: relative;
    inset: auto;
    order: 2;
    width: 32%;
    max-width: 240px;
    height: auto;
    margin-left: auto;
    flex-shrink: 0;
  }
  .eco-bars { grid-template-columns: 1fr; }

  /* 平板起取消列配对，卡片改为平铺展示 */
  .ind-col { display: contents; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* 平板竖屏 / 大手机 */
@media (max-width: 860px) {
  .container { padding-inline: 20px; }

  .strength { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .strcard { min-height: 400px; padding: 32px 28px 44px; }
  .strcard__fig img { width: 150px; height: 150px; }
  .news-grid { gap: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* 手机 */
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.72; }

  .topbar__text strong { display: none; }
  .topbar__inner { min-height: 36px; font-size: 12.5px; }
  .topbar__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .topbar__link { flex: none; }

  .logo__text { font-size: 17px; }
  .logo__text em { display: none; }
  .logo__mark { width: 32px; height: 32px; }
  .header__actions { gap: 8px; }
  .header__actions .btn--primary { min-height: 38px; padding: 0 14px; font-size: 13.5px; }


  .trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    padding: 22px 0 28px;
  }
  .trust li { padding-left: 0; border-left: 0; }
  .trust li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-2); }
  .trust strong { font-size: 24px; }

  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .section__title { font-size: 1.5rem; line-height: 1.32; }
  .section__desc { font-size: 14px; margin-top: 10px; }
  .eyebrow { font-size: 12.5px; margin-bottom: 10px; }

  .product { flex-basis: 82vw; margin-right: 18px; }
  .product .p-visual { height: 170px; margin-bottom: 20px; }
  .product h3 { font-size: 21px; }
  .product .p-actions .try { padding: 11px 24px; }
  .pn-btn { width: 46px; height: 46px; }

  .ind-grid { grid-template-columns: 1fr; gap: 12px; }
  .ind-card { padding: 20px 18px; border-radius: 22px; }
  .ind-head h3 { font-size: 17.5px; }
  .ind-logo { width: 38px; height: 38px; }
  .ind-img { height: 160px; margin-top: 10px; }
  .ind-points li { font-size: 12.5px; }

  /* 手机：单列，大卡恢复纵向、插图作整幅背景 */
  .eco-grid { grid-template-columns: 1fr; gap: 12px; }
  .eco-card { padding: 22px 20px 20px; border-radius: 26px; }
  .eco-card h3 { font-size: 19px; }
  .eco-card.tall {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 320px;
    padding: 24px 22px 20px;
  }
  .eco-card.tall h3 { font-size: 21px; }
  /* 插图压到卡片底部并顶部渐隐，保证文案可读 */
  .eco-card.tall .eco-img {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 68%;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
  .eco-arrow { right: 18px; bottom: 18px; width: 40px; height: 40px; }

  .eco-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 26px 24px;
  }
  .eco-bar h3 { font-size: 19px; }
  .eco-bar .bar-arrow { margin-left: 0; }

  .features { gap: 16px; }
  .features-row { grid-template-columns: 1fr; gap: 16px; }
  .feature { padding: 28px 24px; border-radius: 26px; }
  .feature.w2 { grid-column: 1 / -1; padding: 28px 24px; }
  .feature h3 { font-size: 19px; }
  .f-ic { width: 44px; height: 44px; margin-bottom: 16px; }
  .f-ic img { width: 36px; height: 36px; }

  .strength { grid-template-columns: 1fr; gap: 18px; }
  .strcard { min-height: 0; padding: 32px 28px; }
  .strcard h3 { font-size: 19px; }
  .strcard__fig { padding-top: 22px; }
  .strcard__fig img { width: 140px; height: 140px; }

  .stats { gap: 14px; }
  .stats__item { padding: 26px 12px; border-radius: 20px; }
  .stats__item p { font-size: 12.5px; }

  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-body { padding: 18px 16px 20px; }
  .news-body h3 { font-size: 15.5px; }

  .certs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .cta { padding-bottom: 40px; }
  .cta__inner { padding: 28px 20px; border-radius: var(--radius-lg); gap: 20px; }
  .cta__copy h2 { font-size: 1.35rem; }
  .cta__copy p { font-size: 13.5px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; min-width: 130px; font-size: 14.5px; }

  .footer { font-size: 13px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__links { gap: 6px 12px; font-size: 12px; }

  .to-top { right: 14px; bottom: 16px; width: 40px; height: 40px; }

}

/* 超小屏 */
@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .header__actions .btn--primary { padding: 0 12px; }
  .ai-grid { grid-template-columns: 1fr; }
  .certs-grid { gap: 12px; }
  .cert-card { padding: 24px 10px 20px; }
  .cert-badge img { width: 42px; height: 42px; }
  .cert-text { font-size: 13px; }
}

/* 横屏矮屏 */
@media (max-height: 500px) and (orientation: landscape) {
  .drawer__panel { width: 78vw; }
  .drawer__nav a { min-height: 44px; font-size: 15px; }
}

/* ---------- 22. 可访问性与偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media (hover: none) {
  .product:hover, .eco-card:hover, .eco-bar:hover,
  .feature:hover, .feature-hero:hover,
  .client-logo:hover,
  .strcard:hover, .stats__item:hover,
  .cert-card:hover { transform: none; }
}

@media print {
  .header, .topbar, .drawer, .overlay, .to-top, .cta__actions { display: none !important; }
  body { color: #000; }
  .section { padding: 20px 0; }
}
