/* ==========================================================================
   通达 AI 平台 · 企业级 Agent 平台底座 官网样式
   配色沿用通达系蓝色，深色 hero + 浅色正文，参考 coze 官网气质
   ========================================================================== */

:root {
  /* 品牌色（沿用旧版 styles.css 提取的色板） */
  --blue: #155be2;
  --blue-dark: #114dc0;
  --blue-2: #4178e3;
  --blue-3: #6398ed;
  --blue-4: #72c5ed;
  --ink: #142940;
  --muted: #56677b;
  --wash: #f3f7fc;
  --line: #dde5ee;
  --paper: #ffffff;

  /* 深色区 */
  --deep: #0a1830;
  --deep-2: #0e2142;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 2px 6px rgba(20, 41, 64, .05), 0 12px 32px rgba(20, 41, 64, .07);
  --shadow-hover: 0 6px 14px rgba(20, 41, 64, .07), 0 24px 48px rgba(21, 91, 226, .13);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: #cde7ff; color: #12375b; }

h1, h2, h3, h4, p, dl, dd, ol, ul, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
img { max-width: 100%; }
code { font-family: var(--mono); }

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #1479e8;
  outline-offset: 3px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow { max-width: 860px; }

.section { padding: 64px 0; }
.section.wash { background: var(--wash); }

section[id], main[id] { scroll-margin-top: 88px; }

/* ---------- 按钮 ---------- */
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  font-family: inherit;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.lg { min-height: 52px; padding: 13px 30px; font-size: 16px; }
.button .arrow { font-family: var(--font); }

/* 主按钮光泽扫过（hover 时一次） */
.button.primary::after {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.button.primary:hover::after { animation: shine .7s var(--ease); }
@keyframes shine {
  from { left: -90%; }
  to   { left: 140%; }
}

.button.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 91, 226, .35);
}
.button.primary:hover { box-shadow: 0 12px 32px rgba(21, 91, 226, .45); }

.button.ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.button.ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: rgba(221, 229, 238, .8);
  box-shadow: 0 4px 24px rgba(20, 41, 64, .06);
}

/* 导航行左侧标识组：上级集团 → 公司 → 产品，同一行 */
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.corp-logo {
  display: block;
  height: 22px;
  width: auto;
  transition: filter .45s var(--ease), opacity .3s linear;
}
.corp-sep { width: 1px; height: 22px; background: var(--line); transition: background .45s var(--ease); }
/* 深色 hero 上机构标识统一单色白，滚动落白底后还原彩色 */
.site-header.over-hero:not(.scrolled) .corp-logo { filter: brightness(0) invert(1); opacity: .92; }
.site-header.over-hero:not(.scrolled) .corp-sep { background: rgba(234, 242, 255, .3); }

.nav-wrap {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 34px; height: 38px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: .2px; }
.brand-text strong em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); margin-left: 2px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--blue); background: rgba(21, 91, 226, .07); }
.site-nav a.active { color: var(--blue); background: rgba(21, 91, 226, .1); font-weight: 600; }

/* 页面顶部（hero 深色区）导航文字反白 */
.site-header.over-hero:not(.scrolled) .brand-text strong,
.site-header.over-hero:not(.scrolled) .site-nav a { color: #eaf2ff; }
.site-header.over-hero:not(.scrolled) .brand-text strong em { color: var(--blue-4); }
.site-header.over-hero:not(.scrolled) .site-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-header.over-hero:not(.scrolled) .menu-icon i { background: #eaf2ff; }

.nav-cta { margin-left: 8px; flex-shrink: 0; padding: 9px 20px; min-height: 42px; font-size: 14px; }

.menu-button {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  place-items: center;
}
.menu-icon { display: grid; gap: 5px; }
.menu-icon i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-button[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
/* 横滑显现变体（kicker 胶囊用），置于 .reveal 之后以覆盖初始 transform */
.reveal-x { transform: translateX(-14px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #eaf2ff;
  background: var(--deep);
  overflow: hidden;
  padding: 148px 0 0;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a {
  width: 720px; height: 720px;
  top: -260px; right: -160px;
  background: radial-gradient(circle, rgba(21, 91, 226, .5), rgba(21, 91, 226, 0) 65%);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.glow-b {
  width: 560px; height: 560px;
  bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(114, 197, 237, .28), rgba(114, 197, 237, 0) 65%);
  animation: glowDrift 20s ease-in-out 2s infinite alternate-reverse;
}
/* 光晕缓慢漂移呼吸，仅 transform/opacity，避免重绘 */
@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  to   { transform: translate3d(-50px, 36px, 0) scale(1.12); opacity: 1; }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122, 162, 220, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 162, 220, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--blue-4);
  border: 1px solid rgba(114, 197, 237, .35);
  background: rgba(114, 197, 237, .08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #6fb2ff 0%, #72c5ed 55%, #a8e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 标题逐行遮罩上浮：JS 在加载后给 body 加 .hero-ready 触发 */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
}
.hero h1 .line:nth-child(2) i { transition-delay: .12s; }
body.hero-ready .hero h1 .line i { transform: none; }

.hero-lede {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(234, 242, 255, .78);
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-notes { margin-top: 26px; font-size: 13px; color: rgba(234, 242, 255, .55); letter-spacing: .5px; }

/* 漂浮玻璃卡片（JS 视差作用于容器，浮动动画作用于卡片本身） */
.hero-cards { position: relative; min-height: 380px; will-change: transform; }
.glass-card {
  position: absolute;
  width: 250px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(140, 180, 235, .25);
  background: linear-gradient(150deg, rgba(38, 74, 133, .55), rgba(14, 33, 66, .65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(2, 10, 26, .45);
  color: #eaf2ff;
}
.glass-card strong { display: block; font-size: 18px; margin-top: 8px; color: #fff; }
.glass-card p { font-size: 12.5px; line-height: 1.7; color: rgba(234, 242, 255, .68); margin-top: 6px; }
.gc-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--blue-4);
  border: 1px solid rgba(114, 197, 237, .4);
  padding: 3px 10px;
  border-radius: 999px;
}
.card-a { top: 8px; left: 4%; }
.card-b { top: 132px; right: 0; }
.card-c { top: 258px; left: 12%; }

.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8.5s ease-in-out .8s infinite; }
.float-c { animation: floaty 7.6s ease-in-out 1.6s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* 平台事实小字（弱化数量炫耀） */
.hero-meta {
  position: relative;
  text-align: center;
  font-size: 13px;
  letter-spacing: .5px;
  color: rgba(234, 242, 255, .55);
  border-top: 1px solid rgba(140, 180, 235, .16);
  padding: 20px 0 30px;
}

/* ---------- 区块标题：章节号徽块 + 标题列 ---------- */
.section-heading { max-width: 860px; margin-bottom: 36px; }
.sec-title { display: flex; align-items: flex-start; gap: 20px; }
.sec-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 10px 24px rgba(21, 91, 226, .32);
  margin-top: 2px;
}
.sec-num-txt { font-size: 15px; letter-spacing: 1px; }
.sec-head { min-width: 0; padding-top: 2px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--blue);
  margin-bottom: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
}
.section-heading h2 {
  font-size: clamp(26px, 2.9vw, 38px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.8px;
  text-wrap: balance;
}
.section-heading .lead { margin: 16px 0 0 78px; font-size: 16.5px; color: var(--muted); }

.sub-heading { margin: 36px 0 20px; }
.sub-heading h3 {
  position: relative;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.4px;
  padding-left: 14px;
  line-height: 1.35;
}
/* 左侧蓝竖线改为 ::before，进入视口后自上而下生长 */
.sub-heading h3::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease) .15s;
}
.sub-heading.in h3::before { transform: scaleY(1); }
.sub-heading p { margin-top: 12px; color: var(--muted); max-width: 760px; }

/* ---------- 01 平台简介：核心数据亮点 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-tile {
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.stat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(21, 91, 226, .3); }
.stat-tile strong {
  display: block;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.5px;
  line-height: 1.15;
}
.stat-tile strong.tok { font-size: 18px; letter-spacing: .5px; padding-top: 8px; }
.stat-tile .tile-mark { display: block; height: 30px; width: auto; margin: 2px 0; }
.stat-tile h3 { margin-top: 10px; font-size: 15.5px; font-weight: 650; }
.stat-tile p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.7; }

@keyframes nodeIn {
  from { opacity: .15; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 折叠组件（低频明细默认收起，视觉语言与 FAQ 同族） ---------- */
.fold {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: border-color .3s;
}
.fold.open { border-color: rgba(21, 91, 226, .35); }
.fold-mt { margin-top: 16px; }
.fold-trigger {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  width: 100%;
  text-align: left;
  padding: 13px 54px 13px 22px;
  transition: color .2s;
}
.fold-trigger:hover { color: var(--blue); }
.fold-title { font-size: 16px; font-weight: 600; }
.fold-desc { font-size: 13px; color: var(--muted); }
.fold-chev {
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.fold.open .fold-chev { transform: translateY(-30%) rotate(225deg); }
.fold-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.fold.open .fold-body { grid-template-rows: 1fr; }
.fold-inner { overflow: hidden; min-width: 0; }
.fold-pad { padding: 4px 24px 24px; }
/* 展开后内容依次浮现（复用 nodeIn；折叠体内不使用 .reveal） */
.fold.open .fold-pad > * { animation: nodeIn .5s var(--ease) backwards; }
.fold.open .fold-pad > *:nth-child(2) { animation-delay: .08s; }
.fold.open .fold-pad > *:nth-child(3) { animation-delay: .16s; }
.fold-intro { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.fold-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.fold-cap { margin: 18px 0 12px; font-size: 14px; font-weight: 650; color: var(--ink); }

/* 能力全景折叠区（01 章） */
#panorama { margin-top: 40px; }

/* ---------- 能力明细：左列纵排选项卡 + 右列明细（主从式，与领域 tab 同族） ---------- */
.split-tabs {
  display: grid;
  grid-template-columns: 292px 1fr;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.split-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--wash);
  border-right: 1px solid var(--line);
}
.split-tab {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.split-tab:hover { background: rgba(255, 255, 255, .72); }
.split-tab[aria-selected="true"] {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(10, 24, 48, .08);
}
.split-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(21, 91, 226, .1);
  color: var(--blue);
  font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s;
}
.split-tab[aria-selected="true"] .split-ico { background: var(--blue); color: #fff; }
.split-txt { display: grid; gap: 3px; min-width: 0; }
.split-txt strong { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.split-txt small { font-size: 12.5px; color: var(--muted); }
.split-panels { padding: 20px 24px; min-width: 0; display: grid; }
/* 五个面板叠放同一网格单元：容器高度恒等于最高面板，切换页签不顶动下方运行链路；
   隐藏态用 visibility 而非 display:none，保留 hidden 属性的语义且退出Tab序 */
.split-panel { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; }
.split-panel[hidden] { display: flex; visibility: hidden; pointer-events: none; }
/* 主内容块吃掉等高留下的余量：卡片网格行高均分、暗色目录树居中撑满，避免底部空荡 */
.split-panel > .tools-grid,
.split-panel > .two-col,
.split-panel > .three-col,
.split-panel > .a2ui-block { flex: 1 1 auto; }
@media (min-width: 861px) {
  .split-panel > .skill-tree { flex: 1 1 auto; }
  /* 左栏页签均分容器余量，避免右栏拉高后左栏底部留白 */
  .split-list .split-tab { flex: 1 1 auto; align-items: center; }
}
/* 被拉伸的卡片内部排版：附加信息沉底、记忆卡内容居中，留白变为卡片节奏 */
.tool-card, .ext-card, .mem-card, .a2ui-copy { display: flex; flex-direction: column; }
.tool-card .tool-codes, .ext-card .chips { margin-top: auto; padding-top: 12px; }
.mem-card { justify-content: center; }
.mem-card .mem-scope { align-self: flex-start; }
.a2ui-copy .a2ui-points { margin-top: auto; padding-top: 16px; }
.a2ui-components { align-content: center; }
.split-panel .tool-card { padding: 15px 18px 14px; }
.split-tabs + .split-foot-note { margin-top: 14px; }
.split-head { margin-bottom: 14px; }
.split-head h4 { font-size: 17px; font-weight: 700; }
.split-head p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* 能力全景：五板块单排矩阵卡（图标 + 标题同行，模块逐条列示填满卡面） */
.bento { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bento-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
  align-items: center;
  align-content: start;  /* 卡内两行置顶：五卡表头与模块列横向对齐成矩阵 */
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.bento-card.span4, .bento-card.span8 { grid-column: auto; }
.bento-card h4 { font-size: 15px; font-weight: 650; grid-row: 1; grid-column: 2; }
.bento-mods {
  grid-row: 2;
  grid-column: 1 / -1;
  align-self: start;
  margin-top: 10px;
  list-style: none;
  display: grid;
  gap: 3px;
}
.bento-mods li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.bento-mods li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(21, 91, 226, .45);
}
.bento-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  grid-row: 1;
  grid-column: 1;
  color: var(--blue);
  background: rgba(21, 91, 226, .09);
}
.bento-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bento-card.accent {
  background: linear-gradient(140deg, #10295a, var(--blue-dark));
  border-color: transparent;
}
.bento-card.accent h4 { color: #fff; }
.bento-card.accent .bento-mods li { color: rgba(234, 242, 255, .78); }
.bento-card.accent .bento-mods li::before { background: rgba(114, 197, 237, .65); }
.bento-card.accent .bento-icon { background: rgba(114, 197, 237, .16); color: var(--blue-4); }

/* ---------- 模型底座 ---------- */
/* 供应商：一行小字 chips */
.vendor-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.vendor-line li {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  transition: border-color .25s, color .25s;
}
.vendor-line li:hover { border-color: var(--blue); color: var(--blue); }
.vendor-line .chip-custom { border-style: dashed; color: var(--blue); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease);
}
.chips li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.chips.small li { font-size: 12.5px; padding: 5px 12px; font-weight: 500; }
.chips .chip-custom { border-style: dashed; color: var(--blue); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-card h3 { font-size: 17px; font-weight: 650; }
.feature-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }

.takeaway {
  margin-top: 20px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--blue);
  background: rgba(21, 91, 226, .06);
  font-size: 15.5px;
  color: var(--ink);
}
.takeaway code { font-size: 13.5px; background: rgba(21, 91, 226, .1); padding: 1px 7px; border-radius: 6px; }

/* 参数管理（位于折叠体内） */
.param-block {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.param-copy p { margin-top: 16px; font-size: 15px; color: var(--muted); }
.param-copy p:first-child { margin-top: 0; }
.param-copy strong { color: var(--ink); }

.param-panel {
  border-radius: var(--radius);
  background: var(--deep);
  padding: 26px 28px;
  box-shadow: 0 18px 40px rgba(10, 24, 48, .3);
}
.param-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: #dbe7f8;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(140, 180, 235, .14);
}
.param-row i {
  width: 34px; height: 19px;
  border-radius: 999px;
  position: relative;
  background: rgba(140, 180, 235, .25);
}
.param-row i::after {
  content: "";
  position: absolute;
  top: 2.5px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.param-row i.on { background: var(--blue); }
.param-row i.on::after { transform: translateX(14px); }
.param-code { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
.param-code code {
  font-size: 12.5px;
  color: var(--blue-4);
  background: rgba(114, 197, 237, .1);
  border: 1px solid rgba(114, 197, 237, .25);
  border-radius: 8px;
  padding: 5px 12px;
}

/* ---------- 智能体构建 ---------- */
.nine-steps {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  counter-reset: step;
}
.nine-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.nine-steps li:hover { transform: translateY(-4px); border-color: rgba(21, 91, 226, .4); box-shadow: var(--shadow-hover); }
.nine-steps li span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

/* 内置工具矩阵（位于折叠体内） */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tool-card > h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-card > h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.tool-card > p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.tool-codes { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-codes code {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-dark);
  background: rgba(21, 91, 226, .07);
  border-radius: 7px;
  padding: 3px 10px;
}

.boundary-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: rgba(21, 91, 226, .05);
  border: 1px dashed rgba(21, 91, 226, .3);
}
.boundary-note code { font-size: 12.5px; background: rgba(21, 91, 226, .1); padding: 1px 7px; border-radius: 6px; }

/* 技能包 */
.param-block > *, .api-layout > *, .a2ui-block > *, .two-col > *, .three-col > * { min-width: 0; }
.skill-tree {
  border-radius: var(--radius);
  background: var(--deep);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 18px 40px rgba(10, 24, 48, .28);
}
.skill-tree pre { width: 100%; overflow-x: auto; }
.skill-tree code {
  font-size: 13px;
  line-height: 2.1;
  color: #dbe7f8;
  white-space: pre;
}
.skill-tree code span { color: rgba(114, 197, 237, .75); }

/* 外部能力接入 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ext-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ext-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.ext-card h4 { font-size: 18px; font-weight: 650; }
.ext-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* 记忆体系 */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mem-card {
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.mem-scope {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--blue-2));
  border-radius: 8px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.mem-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* A2UI（位于折叠体内） */
.a2ui-block {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(140deg, #10295a 0%, var(--deep-2) 60%, #0a1830 100%);
  color: #eaf2ff;
  box-shadow: 0 24px 56px rgba(10, 24, 48, .35);
}
.a2ui-copy h3 { font-size: 24px; font-weight: 700; color: #fff; }
.a2ui-strong { margin-top: 12px; font-size: 16.5px; font-weight: 600; color: var(--blue-4); }
.a2ui-copy > p:not(.a2ui-strong) { margin-top: 8px; font-size: 14.5px; color: rgba(234, 242, 255, .72); }
.a2ui-points { margin-top: 20px; display: grid; gap: 10px; }
.a2ui-points li {
  font-size: 14px;
  color: rgba(234, 242, 255, .82);
  padding-left: 22px;
  position: relative;
}
.a2ui-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(120deg, var(--blue-3), var(--blue-4));
}
.a2ui-points strong { color: #fff; font-weight: 600; }

.a2ui-components { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.a2ui-components li {
  font-size: 14px;
  font-weight: 600;
  color: #eaf2ff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(140, 180, 235, .3);
  background: rgba(140, 180, 235, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s;
}
.a2ui-components li:hover { transform: translateY(-4px); background: rgba(140, 180, 235, .2); }

/* 运行链路 */
/* 运行链路：SVG 数据流 + 依次点亮 */
.runtime-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
/* 贯通轨道悬于卡片上方：浅色底线常显，虚线持续左→右流动，终点箭头指明方向 */
.runtime-flow {
  position: absolute;
  left: 0; right: 0;
  top: -22px;
  width: 100%;
  height: 20px;
  z-index: 0;
  pointer-events: none;
}
.rf-dash { stroke-dasharray: 12 16; }
/* 滚动进入视口后启动流动（离开时不消耗性能） */
.runtime-steps.in .rf-dash {
  animation: dashFlow 1.6s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}
/* 五步序号随流动节奏循环点亮，方向感持续可读 */
.runtime-steps.in .rs-num { animation: numPulse 5s var(--ease) infinite; }
.runtime-steps.in li:nth-child(3) .rs-num { animation-delay: 1s; }
.runtime-steps.in li:nth-child(4) .rs-num { animation-delay: 2s; }
.runtime-steps.in li:nth-child(5) .rs-num { animation-delay: 3s; }
.runtime-steps.in li:nth-child(6) .rs-num { animation-delay: 4s; }
@keyframes numPulse {
  0%, 16%  { transform: scale(1.14); box-shadow: 0 8px 22px rgba(21, 91, 226, .55); }
  24%, 100% { transform: scale(1); box-shadow: 0 6px 14px rgba(21, 91, 226, .35); }
}
.runtime-steps li {
  position: relative;
  z-index: 1;
  padding: 18px 16px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.runtime-steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(21, 91, 226, .35); }
/* 进入视口后五步依次扫过点亮（svg 为第 1 个子元素，li 为第 2~6） */
.runtime-steps.in li { animation: stepLit .8s var(--ease) backwards; }
.runtime-steps.in li:nth-child(3) { animation-delay: .16s; }
.runtime-steps.in li:nth-child(4) { animation-delay: .32s; }
.runtime-steps.in li:nth-child(5) { animation-delay: .48s; }
.runtime-steps.in li:nth-child(6) { animation-delay: .64s; }
@keyframes stepLit {
  0%   { border-color: rgba(21, 91, 226, .65); box-shadow: 0 0 0 5px rgba(21, 91, 226, .12), var(--shadow-card); }
  100% { border-color: var(--line); box-shadow: var(--shadow-card); }
}
.rs-num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 6px 14px rgba(21, 91, 226, .35);
  margin-bottom: 10px;
}
.runtime-steps h4 { font-size: 17px; font-weight: 650; }
.runtime-steps p { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }

.runtime-constraints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.runtime-constraints li {
  font-size: 13.5px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.runtime-constraints li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- 安全与交付 ---------- */
.version-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.version-card {
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.version-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.version-card h4 { font-size: 18px; font-weight: 650; margin-bottom: 16px; }
.check-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 14.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg) translateY(-2px);
  border-radius: 1px;
}

.tenant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tenant-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tenant-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tenant-card > span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.tenant-card h4 { font-size: 17px; font-weight: 650; margin-top: 10px; }
.tenant-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.perm-chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.perm-node {
  position: relative;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(21, 91, 226, .07), rgba(114, 197, 237, .09));
  border: 1px solid rgba(21, 91, 226, .18);
}
.perm-node + .perm-node::before {
  content: "";
  position: absolute;
  left: -13px; top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid var(--blue-3);
  border-right: 2px solid var(--blue-3);
  transform: translateY(-50%) rotate(45deg);
}
.perm-node strong { display: block; font-size: 15.5px; color: var(--blue-dark); }
.perm-node span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* 开放接口 */
.api-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.api-list {
  border-radius: var(--radius);
  background: var(--deep);
  padding: 14px 20px;
  box-shadow: 0 18px 40px rgba(10, 24, 48, .28);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.api-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(140, 180, 235, .12);
}
.api-row:last-child { border-bottom: 0; }
.api-row code { font-size: 13.5px; color: #dbe7f8; word-break: break-all; }
.api-row small {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--blue-4);
  border: 1px solid rgba(114, 197, 237, .35);
  border-radius: 999px;
  padding: 1px 10px;
}
.api-method {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 0;
}
.api-method.post { color: #7ee0b8; background: rgba(46, 196, 135, .14); }
.api-method.get { color: var(--blue-4); background: rgba(114, 197, 237, .14); }

.api-scope {
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.api-scope h4 { font-size: 16.5px; font-weight: 650; margin-bottom: 18px; }
.api-scope p { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- 场景生态 ---------- */
.domain-tabs {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  padding: 18px;
}
.tablist-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tablist-wrap [role="tab"] {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--wash);
  transition: color .25s, background .25s, border-color .25s, box-shadow .25s;
}
.tablist-wrap [role="tab"]:hover { color: var(--blue); border-color: rgba(21, 91, 226, .4); }
.tablist-wrap [role="tab"][aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(21, 91, 226, .3);
}
.domain-tabs [role="tabpanel"] ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
/* 切换时淡入 + 轻微上移 */
[role="tabpanel"].show { animation: panelIn .45s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.domain-tabs [role="tabpanel"] li {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 14px 14px 34px;
  line-height: 1.6;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.domain-tabs [role="tabpanel"] li:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 91, 226, .35);
  box-shadow: var(--shadow-card);
}
.domain-tabs [role="tabpanel"] li::before {
  content: "";
  position: absolute;
  left: 14px; top: 20px;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue-3), var(--blue-4));
}

/* 生态四步 */
.eco-block { margin-top: 36px; }
.eco-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco-steps li {
  position: relative;
  padding: 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.eco-steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.eco-steps li + li::before {
  content: "";
  position: absolute;
  left: -12px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--blue-3);
  border-right: 2px solid var(--blue-3);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.eco-steps span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.eco-steps h4 { font-size: 17px; font-weight: 650; margin-top: 10px; }
.eco-steps p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.eco-traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trait {
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  background: var(--wash);
  border: 1px solid var(--line);
}
.trait h4 { font-size: 15.5px; font-weight: 650; color: var(--blue-dark); }
.trait p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-list details[open] { border-color: rgba(21, 91, 226, .35); }
.faq-list summary {
  list-style: none;
  position: relative;
  padding: 20px 58px 20px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p {
  padding: 0 26px 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- 页脚 CTA ---------- */
.cta-section {
  position: relative;
  background: var(--deep);
  color: #eaf2ff;
  overflow: hidden;
  padding: 72px 0;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.glow-c {
  width: 640px; height: 640px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(21, 91, 226, .45), rgba(21, 91, 226, 0) 65%);
  animation: glowPulse 11s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .8; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}
.cta-inner > p { margin-top: 18px; font-size: 15.5px; color: rgba(234, 242, 255, .65); letter-spacing: 1px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #071224;
  color: rgba(234, 242, 255, .65);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: #fff; font-size: 15.5px; }
.footer-brand p { font-size: 12px; margin-top: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
.footer-nav a { font-size: 13.5px; transition: color .2s; }
.footer-nav a:hover { color: var(--blue-4); }
.footer-copy { width: 100%; font-size: 12.5px; color: rgba(234, 242, 255, .4); border-top: 1px solid rgba(140, 180, 235, .12); padding-top: 22px; }

/* ---------- 06 为什么选择通达 AI：能力对比表 ---------- */
.cmp-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.cmp-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--wash); font-weight: 650; padding: 14px 16px; }
.cmp-table thead th span { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.cmp-table thead th.cmp-us { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%); color: #fff; }
.cmp-table thead th.cmp-us span { color: rgba(255, 255, 255, .78); }
.cmp-table tbody th[scope="row"] { text-align: left; font-weight: 600; font-size: 13.5px; color: var(--ink); min-width: 190px; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table td.cmp-us { background: rgba(21, 91, 226, .05); }
.cmp-table .cmp-pos td { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cmp-table .cmp-pos td.cmp-us { color: var(--blue); font-weight: 600; }
.mk { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mk::before { font-size: 11px; line-height: 1; }
.m-native { color: var(--blue); }
.m-native::before { content: "●"; }
.m-ext { color: #5a86d8; }
.m-ext::before { content: "○"; }
.m-limit { color: #a08034; }
.m-limit::before { content: "△"; }
.m-no { color: var(--muted); font-weight: 500; }
.m-no::before { content: "×"; }
.cmp-legend { margin-top: 14px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; color: var(--muted); }

/* ---------- 07 业务价值与规模化落地 ---------- */
.value-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.value-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.value-list li:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(21, 91, 226, .3); }
.value-list span { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--blue); background: rgba(21, 91, 226, .09); border-radius: 8px; padding: 3px 9px; }
.value-list h4 { margin-top: 12px; font-size: 16px; font-weight: 650; }
.value-list p { margin-top: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.poc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.poc-grid li { border: 1px solid var(--line); border-radius: 14px; background: var(--wash); padding: 18px 18px 16px; }
.poc-grid span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue); }
.poc-grid h4 { margin-top: 6px; font-size: 15px; font-weight: 650; }
.poc-grid p { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 免费试用弹框 ---------- */
.trial-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 16, 34, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px 32px;
  overflow-y: auto;
  animation: maskIn .3s var(--ease);
}
.trial-mask[hidden] { display: none; }
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.trial-dialog {
  position: relative;
  width: min(780px, 100%);
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(6, 16, 34, .4);
  padding: 30px 34px 28px;
  animation: dialogIn .45s var(--ease);
}
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.trial-dialog h3 { font-size: 23px; font-weight: 700; }
.trial-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 21px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s, border-color .25s, transform .35s var(--ease);
}
.trial-close:hover { color: var(--blue); border-color: rgba(21, 91, 226, .4); transform: rotate(90deg); }
.trial-lede { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.trial-form { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 20px; }
.trial-form[hidden] { display: none; }
.tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 14px; }
.tf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tf-label { font-size: 13.5px; font-weight: 600; }
.tf-label i { color: #e5484d; font-style: normal; }
.tf-field input, .tf-field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.tf-field input:focus, .tf-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 91, 226, .15); }
.tf-field input.bad, .tf-field select.bad { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .12); }
.tf-hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.tf-hint.warn { color: #d9534f; }
.tf-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  transition: border-color .25s, box-shadow .25s;
}
.tf-phone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 91, 226, .15); }
.tf-phone em {
  font-style: normal;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  color: var(--muted);
  background: var(--wash);
  border-right: 1px solid var(--line);
}
.tf-phone input { border: none !important; box-shadow: none !important; min-height: 42px; }
.tf-code { display: flex; gap: 10px; }
.tf-code input { flex: 1; min-width: 0; }
.button.sm { min-height: 44px; padding: 8px 16px; font-size: 13.5px; flex-shrink: 0; }
.button.ghost.sm { color: var(--blue); border-color: rgba(21, 91, 226, .4); background: rgba(21, 91, 226, .05); backdrop-filter: none; -webkit-backdrop-filter: none; }
.button.ghost.sm:hover { background: rgba(21, 91, 226, .1); border-color: rgba(21, 91, 226, .55); }
.button.ghost.sm:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.trial-foot { display: flex; align-items: flex-end; gap: 18px; margin-top: 4px; }
.trial-foot p { flex: 1; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.trial-foot p a { color: var(--blue); font-weight: 600; }
.trial-foot .button { min-width: 120px; }
.trial-done {
  margin-top: 20px;
  border: 1px solid rgba(21, 91, 226, .3);
  background: rgba(21, 91, 226, .05);
  border-radius: 14px;
  padding: 22px 24px;
  animation: dialogIn .45s var(--ease);
}
.trial-done[hidden] { display: none; }
.trial-done strong { font-size: 17px; color: var(--blue); }
.trial-done p { margin-top: 8px; font-size: 13.5px; color: var(--ink); line-height: 1.9; }
.trial-done a { color: var(--blue); font-weight: 600; }
body.trial-open { overflow: hidden; }

/* ---------- 响应式 ---------- */
/* 标识组 + 七导航 + CTA 单行排布：1280 以下逐级让位 */
@media (max-width: 1279px) {
  .corp-logo { height: 20px; }
  .nav-cta { display: none; }
  .site-nav a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 1080px) {
  .brand-text { display: none; }  /* 产品仅留图形标，宽度让给机构标识 */
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-cards { min-height: 340px; max-width: 560px; }
  .nine-steps { grid-template-columns: repeat(5, 1fr); }
  .value-list { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .runtime-steps { grid-template-columns: repeat(3, 1fr); }
  .runtime-flow { display: none; }
  .domain-tabs [role="tabpanel"] ul { grid-template-columns: repeat(3, 1fr); }
  .tenant-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-steps { grid-template-columns: repeat(2, 1fr); }
  .eco-steps li + li::before { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .nav-cta { display: none; }
  .corp-logo { height: 20px; }
  .menu-button { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;  /* 跟随机构条收合后的头部实际高度 */
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 41, 64, .12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
  .site-header.over-hero:not(.scrolled) .site-nav a { color: var(--ink); }

  .param-block, .api-layout, .a2ui-block, .version-grid { grid-template-columns: 1fr; }
  .a2ui-components { justify-content: flex-start; }
  .three-col, .eco-traits { grid-template-columns: 1fr; }
  .tools-grid, .two-col { grid-template-columns: 1fr; }
  .perm-chain { grid-template-columns: 1fr; }
  .perm-node + .perm-node::before { display: none; }
  .runtime-steps { grid-template-columns: 1fr; }
  .domain-tabs [role="tabpanel"] ul { grid-template-columns: repeat(2, 1fr); }
  .split-tabs { grid-template-columns: 1fr; }
  .split-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }
  .split-tab { width: auto; flex: 0 0 auto; max-width: 250px; }
  .split-panels { padding: 20px 18px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { display: none; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-list { grid-template-columns: repeat(2, 1fr); }
  .poc-grid { grid-template-columns: repeat(2, 1fr); }
  .trial-dialog { padding: 26px 22px 24px; }
  .tf-row { grid-template-columns: 1fr; }
  .trial-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .sec-num { width: 48px; height: 48px; font-size: 17px; border-radius: 14px; }
  .sec-num-txt { font-size: 13px; }
  .section-heading .lead { margin-left: 0; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .nav-wrap { padding: 0 20px; }
  .brand-group { gap: 10px; }
  .corp-logo { height: 18px; }
  .corp-sep { height: 16px; }
  .hero { padding-top: 130px; }
  .hero-lede { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .nine-steps { grid-template-columns: repeat(3, 1fr); }
  .value-list, .poc-grid { grid-template-columns: 1fr; }
  .trial-mask { padding: 2vh 10px 24px; }
  .tf-code { flex-direction: column; }
  .tf-code .button.sm { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .domain-tabs [role="tabpanel"] ul { grid-template-columns: 1fr; }
  .split-txt small { display: none; }
  .split-panels { padding: 18px 16px; }
  .eco-steps { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 40px; }
  .domain-tabs { padding: 20px 16px; }
  .tablist-wrap [role="tab"] { font-size: 13px; padding: 8px 14px; }
  .fold-trigger { padding: 14px 48px 14px 18px; }
  .fold-desc { display: none; }
  .fold-pad { padding: 4px 16px 18px; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line i { transform: none; }
  .sub-heading h3::before { transform: scaleY(1); }
}
