/* ============================================================
   雀竹AI 官网样式
   设计语言：与 ADP（betteragent.cn/adp/home）保持一致
   深石板灰 Slate × 靛蓝 Indigo · 深色 SaaS 企业级
   ============================================================ */

:root {
  /* 品牌色（indigo） */
  --indigo-300: #A5B4FC;
  --indigo-400: #818CF8;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --violet-500: #8B5CF6;
  /* 语义绿（成功 / 运行状态，与 ADP 对勾清单一致） */
  --green-300: #6EE7B7;
  --green-400: #34D399;

  /* 深色底（slate） */
  --dark-950: #0B1120;
  --dark-900: #0F172A;
  --dark-800: #1E293B;
  --dark-700: #334155;

  /* 文字 */
  --fg: #E2E8F0;
  --fg-strong: #F8FAFC;
  --muted: #94A3B8;

  /* 字体与通用 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --shadow-lg: 0 24px 60px -18px rgba(2, 6, 23, 0.8);
  --shadow-card: 0 10px 30px -12px rgba(2, 6, 23, 0.5);
  --border: #334155;
  --border-soft: rgba(51, 65, 85, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--dark-900);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(99, 102, 241, 0.35); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ---------------- 通用组件 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-arrow { width: 17px; height: 17px; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(79, 70, 229, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--indigo-700);
  box-shadow: 0 16px 32px -10px rgba(79, 70, 229, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.9);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: #64748B; background: rgba(30, 41, 59, 0.6); }

.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

:is(a, button, input, select):focus-visible {
  outline: 2px solid var(--indigo-400);
  outline-offset: 2px;
}

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(79, 70, 229, 0.7); }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-name em {
  font-style: normal;
  background: linear-gradient(120deg, var(--indigo-300), var(--indigo-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 6px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.94rem;
  color: rgba(226, 232, 240, 0.72);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(72px + clamp(48px, 9vh, 96px)) 0 clamp(48px, 7vh, 72px);
  color: #fff;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(79, 70, 229, 0.22), transparent 60%),
    linear-gradient(180deg, var(--dark-900), var(--dark-950));
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-a {
  width: 620px; height: 620px; left: -200px; top: -180px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.38), transparent 65%);
}
.orb-b {
  width: 540px; height: 540px; right: -160px; top: 22%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 65%);
  animation-delay: -11s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(720px 480px at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 480px at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vh, 64px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--indigo-300);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 999px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--indigo-400);
  box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.2rem, 3.7vw, 3.25rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
}
.grad-text {
  background: linear-gradient(100deg, var(--indigo-300) 0%, var(--indigo-400) 45%, var(--indigo-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 34em;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
}
.hero-sub b { color: var(--fg); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 0.86rem; color: rgba(148, 163, 184, 0.7); letter-spacing: 0.02em; }

/* 控制台模拟窗口 */

.hero-visual { position: relative; }

.console {
  position: relative;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.97), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 18px 20px 20px;
}

.console-head { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #FF5F57; } .dot.y { background: #FEBC2E; } .dot.g { background: #28C840; }
.console-title { margin-left: 10px; font-size: 0.82rem; color: var(--muted); }
.console-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--green-300);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-400); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.pipeline { display: flex; align-items: stretch; gap: 8px; padding: 10px 2px 6px; }

.node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  min-width: 0;
}
.node-ai {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 24px -6px rgba(79, 70, 229, 0.55);
}
.node-icon { width: 34px; height: 34px; color: var(--indigo-300); }
.node-icon svg { width: 100%; height: 100%; }
.node-ai .node-icon { color: var(--indigo-400); filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.6)); }
.node-name { font-size: 0.86rem; font-weight: 600; color: var(--fg-strong); white-space: nowrap; }
.node-sub { font-size: 0.72rem; color: rgba(148, 163, 184, 0.75); white-space: nowrap; }

.flow-line { position: relative; align-self: center; width: clamp(14px, 3.5vw, 34px); height: 2px; flex-shrink: 0; }
.flow-line::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0.45), rgba(129, 140, 248, 0.12));
  border-radius: 2px;
}
.flow-line i {
  position: absolute;
  top: 50%; left: 0;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--indigo-400);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.9);
  animation: flow 2.2s cubic-bezier(0.45, 0, 0.4, 1) infinite;
}
.flow-line:nth-of-type(2) i { animation-delay: 0.35s; }
.flow-line:nth-of-type(4) i { animation-delay: 0.7s; }
@keyframes flow {
  0% { left: -4px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

.console-log {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: grid;
  gap: 8px;
}
.log-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.78);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-ic {
  flex-shrink: 0;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #052e1c;
  background: var(--green-400);
  border-radius: 50%;
}
.log-line.doing .log-ic {
  background: transparent;
  border: 2px solid rgba(129, 140, 248, 0.3);
  border-top-color: var(--indigo-400);
  animation: rot 0.9s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* 悬浮数据卡 */

.float-card {
  position: absolute;
  z-index: 2;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.97), rgba(15, 23, 42, 0.97));
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -14px rgba(2, 6, 23, 0.8);
  animation: floaty 6s ease-in-out infinite;
}
.float-card-a { top: -34px; right: -18px; width: 218px; }
.float-card-b { bottom: -30px; left: -22px; width: 236px; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.fc-title { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--indigo-300); }
.fc-main { margin-top: 4px; font-size: 0.94rem; color: var(--fg-strong); }
.fc-main b { color: var(--indigo-300); }
.fc-sub { margin-top: 2px; font-size: 0.74rem; color: rgba(148, 163, 184, 0.8); }
.fc-bar { margin: 8px 0 6px; height: 5px; border-radius: 3px; background: rgba(148, 163, 184, 0.16); overflow: hidden; }
.fc-bar i {
  display: block; height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--indigo-400), var(--indigo-600));
  animation: grow 3s ease-out both;
}
@keyframes grow { from { width: 0 !important; } }

/* 数据条 */

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 44px);
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.stats li { text-align: center; position: relative; }
.stats li + li::before {
  content: "";
  position: absolute;
  left: calc(-8px - 1px);
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--border-soft);
}
.stats b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--indigo-300), var(--indigo-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: 0.86rem; color: var(--muted); }

/* ---------------- 区块通用 ---------------- */

.section { padding: clamp(72px, 10vw, 118px) 0; }
.section-light { background: var(--dark-900); }
.section-tint {
  background: var(--dark-950);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}
.section-dark {
  color: var(--fg);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(79, 70, 229, 0.14), transparent 60%),
    linear-gradient(180deg, var(--dark-900), var(--dark-950));
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--indigo-400);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--indigo-300); }

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
}
.section-desc { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.section-dark .section-desc { color: var(--muted); }

/* ---------------- 产品全景 · 人体部位对应图 ---------------- */

.bodymap { max-width: 1020px; margin: 0 auto; }
.bodymap-svg { display: block; width: 100%; height: auto; }
.bodymap-svg text { font-family: var(--font); }

.bm-t { font-size: 14.5px; font-weight: 700; fill: var(--fg-strong); }
.bm-arrow { fill: #64748B; font-weight: 400; }
.bm-s { font-size: 12px; fill: var(--muted); }

.bodymap-caption {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}
.bodymap-caption b { color: var(--indigo-300); font-weight: 700; }

.pp-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: ppRotate 16s linear infinite;
}
.pp-spin-rev {
  transform-box: fill-box;
  transform-origin: center;
  animation: ppRotate 22s linear infinite reverse;
}
@keyframes ppRotate { to { transform: rotate(360deg); } }

/* 轨道环旋转 / 背景光晕呼吸 / 心跳 / 取景框轮闪 / 引线蚂蚁线 */
.pp-orbit {
  transform-origin: 460px 164px;
  animation: ppRotate 80s linear infinite;
}
.pp-orbit-rev {
  transform-origin: 460px 164px;
  animation: ppRotate 55s linear infinite reverse;
}
.pp-breathe { animation: ppBreathe 7s ease-in-out infinite; }
@keyframes ppBreathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.pp-heartbeat {
  transform-box: fill-box;
  transform-origin: center;
  animation: ppHeartbeat 1.8s ease-in-out infinite;
}
@keyframes ppHeartbeat {
  0%, 50%, 100% { transform: scale(1); }
  12% { transform: scale(1.16); }
  24% { transform: scale(1); }
  36% { transform: scale(1.08); }
}
.pp-brackets path { animation: ppBlink 3.6s ease-in-out infinite; }
.pp-brackets path:nth-of-type(2) { animation-delay: 0.9s; }
.pp-brackets path:nth-of-type(3) { animation-delay: 1.8s; }
.pp-brackets path:nth-of-type(4) { animation-delay: 2.7s; }
@keyframes ppBlink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}
.pp-link path { animation: ppMarch 1.4s linear infinite; }
@keyframes ppMarch { to { stroke-dashoffset: -18; } }

/* 悬停标注卡：对应部位点亮，其余收敛 */
.pp-part, .pp-link, .bm-card { transition: opacity 0.35s ease, filter 0.35s ease; }

#pp-brain.pp-hot { --pp-glow: rgba(139, 92, 246, 0.85); }
#pp-eyes.pp-hot { --pp-glow: rgba(165, 180, 252, 0.85); }
#pp-kb.pp-hot { --pp-glow: rgba(125, 211, 252, 0.85); }
#pp-cm.pp-hot { --pp-glow: rgba(196, 181, 253, 0.85); }
#pp-core.pp-hot { --pp-glow: rgba(99, 102, 241, 0.9); }
#pp-token.pp-hot { --pp-glow: rgba(110, 231, 183, 0.85); }
#pp-hands.pp-hot { --pp-glow: rgba(52, 211, 153, 0.85); }

.bodymap-svg.has-hl .pp-part { opacity: 0.35; }
.bodymap-svg.has-hl .pp-link { opacity: 0.3; }
.bodymap-svg.has-hl .bm-card { opacity: 0.42; }
.bodymap-svg.has-hl .bm-card.bm-active,
.bodymap-svg.has-hl .pp-part.pp-hot,
.bodymap-svg.has-hl .pp-link.pp-hot { opacity: 1; }
.bodymap-svg .pp-part.pp-hot { filter: drop-shadow(0 0 9px var(--pp-glow, rgba(129, 140, 248, 0.75))); }
.bodymap-svg .pp-link.pp-hot path {
  stroke: #A5B4FC;
  stroke-dasharray: none;
  opacity: 1;
}
.bm-card.bm-active > rect:first-of-type { stroke: rgba(129, 140, 248, 0.85); }

@media (prefers-reduced-motion: reduce) {
  .pp-anim { display: none; }
  .pp-spin, .pp-spin-rev, .pp-orbit, .pp-orbit-rev,
  .pp-breathe, .pp-heartbeat, .pp-brackets path, .pp-link path { animation: none; }
}

/* 移动端：人体图降级为映射列表 */
.bodymap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 620px) {
  .bodymap-grid { grid-template-columns: repeat(2, 1fr); }
}
.bm-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(30, 41, 59, 0.42);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-sm);
}
.bm-dot {
  display: block; /* 包进 <a> 后不再是 flex 子项，需显式块状化才能撑开尺寸 */
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bm-c, var(--indigo-400));
  box-shadow: 0 0 10px var(--bm-c, var(--indigo-400));
  margin-bottom: 4px;
}
.bm-item-title { font-size: 0.95rem; font-weight: 700; color: var(--fg-strong); }
.bm-item-title i { font-style: normal; font-weight: 400; color: var(--bm-c, var(--indigo-400)); }
.bm-item-sub { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 859px) {
  .bodymap { display: none; }
}
@media (min-width: 860px) {
  .bodymap-grid { display: none; }
}

/* ---------------- 产品矩阵 ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  --pc-hue: var(--indigo-500);
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500), transparent 85%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 26px 50px -18px rgba(2, 6, 23, 0.7);
}
.product-card:hover::after { opacity: 1; }

.pc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pc-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--indigo-400);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
}
.pc-icon svg { width: 27px; height: 27px; }
.pc-icon-doc { --pc-hue: var(--indigo-500); }
.pc-icon-browser { --pc-hue: var(--indigo-500); }
.pc-icon-decision { --pc-hue: var(--indigo-500); }
.pc-icon-agent { --pc-hue: var(--indigo-500); }
.pc-icon-token { --pc-hue: var(--indigo-500); }

.pc-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--indigo-300);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.32);
  padding: 4px 12px;
  border-radius: 999px;
}

.product-card h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: 0.01em; color: var(--fg-strong); }
.pc-desc { margin-top: 8px; color: var(--muted); }

/* 产品色提升到卡片层，供标签 / 链接 / 悬停边框共用 */
.product-card:has(.pc-icon-doc) { --pc-hue: var(--indigo-500); }
.product-card:has(.pc-icon-browser) { --pc-hue: var(--indigo-500); }
.product-card:has(.pc-icon-decision) { --pc-hue: var(--indigo-500); }
.product-card:has(.pc-icon-agent) { --pc-hue: var(--indigo-500); }
.product-card:has(.pc-icon-token) { --pc-hue: var(--indigo-500); }

/* 通栏卡片：Token 中转站 */
.product-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
.product-card--wide .pc-list { margin-top: 6px; }
.product-card--wide::after {
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500), #38BDF8, transparent 95%);
  opacity: 0.75;
}

.pc-list { margin-top: 18px; display: grid; gap: 10px; }
.pc-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: rgba(203, 213, 225, 0.88);
}
.pc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: rgba(99, 102, 241, 0.14);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="m3.8 7.2 2.1 2.1 4.3-4.6" fill="none" stroke="%23818CF8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--indigo-300);
}
.pc-link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.pc-link:hover svg { transform: translateX(4px); }

/* ---------------- 平台能力 ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(129, 140, 248, 0.45);
}
.feat-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--indigo-400);
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.32);
  margin-bottom: 18px;
}
.feat-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--fg-strong); }
.feature-card p { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

/* ---------------- 实施路径 ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(130deg, var(--indigo-400), var(--indigo-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 700; color: var(--fg-strong); }
.step p { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-500), var(--border));
}
.step:last-child::after { display: none; }

/* ---------------- 转型方法论 ---------------- */

.method-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500));
  opacity: calc(0.25 + 0.25 * var(--stage-idx, 0));
}
.stage:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 22px 44px -18px rgba(2, 6, 23, 0.7);
}
.stage-tag {
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--indigo-300);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.32);
  padding: 4px 13px;
  border-radius: 999px;
}
.stage h3 { margin-top: 15px; font-size: 1.12rem; font-weight: 800; letter-spacing: 0.01em; color: var(--fg-strong); }
.stage-desc { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.stage ul { margin-top: 14px; display: grid; gap: 8px; }
.stage li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: rgba(203, 213, 225, 0.88);
  line-height: 1.6;
}
.stage li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: rgba(99, 102, 241, 0.14);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="m3.8 7.2 2.1 2.1 4.3-4.6" fill="none" stroke="%23818CF8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}
.stage-meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--indigo-300);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo-400);
}

.principles { margin-top: clamp(44px, 5vw, 60px); }
.principles-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--fg-strong);
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.principle {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.principle:hover {
  transform: translateY(-4px);
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(129, 140, 248, 0.45);
}
.principle-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--indigo-400);
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.32);
}
.principle-icon svg { width: 21px; height: 21px; }
.principle h4 { margin-top: 13px; font-size: 1rem; font-weight: 700; color: var(--fg-strong); }
.principle p { margin-top: 6px; font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ---------------- 行业方案 Tab ---------------- */

.tabs { max-width: 980px; margin-inline: auto; }

.tab-btns {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}
.tab-btn {
  padding: 9px 26px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab-btn:hover { color: var(--indigo-300); }
.tab-btn.active {
  color: #fff;
  background: var(--indigo-600);
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.8);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 44px);
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.tp-copy h3 { font-size: 1.45rem; font-weight: 800; color: var(--fg-strong); }
.tp-copy > p { margin-top: 12px; color: var(--muted); }
.tp-copy ul { margin-top: 18px; display: grid; gap: 10px; }
.tp-copy li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: rgba(203, 213, 225, 0.9);
}
.tp-copy li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: rgba(52, 211, 153, 0.12);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.4 8.3 2.4 2.4 4.8-5.2" fill="none" stroke="%2334D399" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.tp-metrics { display: grid; gap: 14px; }
.tp-metric {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px 22px;
}
.tp-metric b {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(130deg, var(--indigo-300), var(--indigo-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.tp-metric span { font-size: 0.84rem; color: var(--muted); }

/* ---------------- 客户案例 ---------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.08);
}
.case-industry {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--indigo-300);
}
.case-card h3 { margin-top: 12px; font-size: 1.2rem; font-weight: 700; color: var(--fg-strong); }
.case-desc { margin-top: 10px; font-size: 0.92rem; color: var(--muted); flex: 1; }
.case-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.85);
}
.case-result b { color: var(--indigo-300); font-size: 1.02rem; }

/* ---------------- CTA ---------------- */

.section-cta {
  position: relative;
  overflow: hidden;
  color: var(--fg);
  background:
    radial-gradient(760px 380px at 80% 110%, rgba(139, 92, 246, 0.2), transparent 65%),
    radial-gradient(900px 480px at 10% -20%, rgba(79, 70, 229, 0.28), transparent 60%),
    linear-gradient(180deg, var(--dark-950), var(--dark-900));
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cta-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--fg-strong);
}
.cta-copy > p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.cta-points { margin-top: 24px; display: grid; gap: 12px; }
.cta-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(203, 213, 225, 0.92);
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background-color: rgba(52, 211, 153, 0.14);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17"><path d="m4.6 8.8 2.6 2.6 5.2-5.6" fill="none" stroke="%2334D399" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4);
}

.cta-form {
  background: var(--dark-800);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
}
.cta-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; color: var(--fg-strong); }
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.9);
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.7);
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select option { background: var(--dark-800); color: var(--fg); }
.field input::placeholder { color: #64748B; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.field input.invalid { border-color: #E5484D; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14); }
.cta-form .btn { margin-top: 6px; }
.form-tip { margin-top: 12px; font-size: 0.76rem; color: #64748B; text-align: center; }

.form-success {
  text-align: center;
  padding: 30px 10px;
  animation: fadeUp 0.4s ease both;
}
.form-success .fs-icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.14);
  color: var(--indigo-400);
}
.form-success .fs-icon svg { width: 30px; height: 30px; }
.form-success h4 { font-size: 1.2rem; font-weight: 800; color: var(--fg-strong); }
.form-success p { margin-top: 8px; color: var(--muted); font-size: 0.94rem; }

/* ---------------- 页脚 ---------------- */

.site-footer {
  background: var(--dark-950);
  color: var(--muted);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 64px) 36px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 24em; }
.footer-contact { color: rgba(148, 163, 184, 0.6) !important; }
.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding-block: 5px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--indigo-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.55);
}
.footer-bottom a.icp {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom a.icp:hover { color: var(--indigo-300); }

/* ---------------- 常见问题（FAQ） ---------------- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.faq {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.faq:hover {
  border-color: rgba(59, 225, 157, 0.35);
  transform: translateY(-3px);
}
.faq h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.faq p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ---------------- 滚动显现动画 ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .delay-1 { transition-delay: 0.1s; }
.js .delay-2 { transition-delay: 0.2s; }
.js .delay-3 { transition-delay: 0.3s; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1150px) {
  .nav-links a { padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .float-card-a { top: -26px; right: -6px; }
  .float-card-b { bottom: -24px; left: -6px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .method-stages { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px clamp(20px, 4vw, 32px) 20px;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }

  .product-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-template-columns: 1fr; gap: 6px; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-btns { display: flex; width: 100%; overflow-x: auto; }
  .tab-btn { padding: 9px 20px; }

  .cta-inner { grid-template-columns: 1fr; }
  .cta-copy { text-align: center; }
  .cta-copy > p { margin-inline: auto; }
  .cta-points { max-width: 380px; margin-inline: auto; text-align: left; }
  .cta-form { max-width: 520px; margin-inline: auto; width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .stats li + li::before { display: none; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(51, 65, 85, 0.6); padding-top: 16px; }

  .pipeline { flex-wrap: wrap; row-gap: 10px; }
  .flow-line { display: none; }
  .node { flex: 1 1 44%; }
  .log-line { font-size: 0.7rem; }

  .float-card { position: static; width: auto; animation: none; margin-top: 14px; }
  .hero-visual { display: flex; flex-direction: column; }
  .float-card-b { margin-left: 0; }

  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .method-stages { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .tab-btns { display: flex; width: 100%; overflow-x: auto; }
  .tab-btn { flex: 1; padding: 9px 10px; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .hero-badge { font-size: 0.78rem; }
}

/* ---------------- 动效偏好 ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   子页面（产品详情 / 行业方案 / 隐私政策）与新增组件
   ============================================================ */

/* ---------- 预约表单：蜜罐字段与错误提示 ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #FCA5A5;
  background: rgba(229, 72, 77, 0.12);
  border: 1px solid rgba(229, 72, 77, 0.35);
  text-align: center;
}
.form-tip a { color: var(--indigo-300); }
.form-tip a:hover { color: var(--indigo-400); }

/* ---------- 首页：产品卡标题链接 / 行业 Tab 详情链接 ---------- */
.pc-title-link { color: inherit; transition: color 0.2s; }
.pc-title-link:hover { color: var(--indigo-300); }
.tp-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--indigo-300);
}
.tp-more:hover { color: var(--indigo-400); }

/* ---------- 子页面：面包屑 ---------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumbs a:hover { color: var(--indigo-300); }
.breadcrumbs i { color: #475569; font-style: normal; }
.breadcrumbs [aria-current="page"] { color: var(--fg); }

/* ---------- 子页面：页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 16vw, 170px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(79, 70, 229, 0.16), transparent 60%),
    var(--dark-900);
}
.page-hero--slim { padding: clamp(120px, 15vw, 160px) 0 clamp(40px, 5vw, 56px); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--indigo-300); }
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--fg-strong);
  margin-bottom: 18px;
}
.page-hero-sub {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  margin-bottom: 30px;
}
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.container--narrow { max-width: 820px; }
.overview-text { color: var(--muted); font-size: 1.02rem; line-height: 1.9; }

/* ---------- 子页面：指标条 ---------- */
.stats-sub { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- 子页面：能力 / 场景 / 痛点卡片 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.cap-card {
  padding: 26px 24px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform 0.25s, border-color 0.25s;
}
.cap-card:hover { transform: translateY(-4px); border-color: rgba(129, 140, 248, 0.5); }
.cap-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--fg-strong); margin-bottom: 10px; }
.cap-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }
.cap-card--dark {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(51, 65, 85, 0.8);
}
.cap-card--pain { border-color: rgba(229, 72, 77, 0.22); }
.cap-card--pain:hover { border-color: rgba(229, 72, 77, 0.5); }

/* ---------- 子页面：行业解决方案面板 ---------- */
.solution-panel {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.solution-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(120deg, var(--indigo-400), var(--indigo-700));
}
.solution-panel p { color: var(--fg); line-height: 1.9; }
.scenario-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.scenario-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-soft);
  color: var(--fg);
  font-size: 0.94rem;
}
.scenario-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; color: var(--green-400); }
.case-quote {
  margin-top: 30px;
  padding: 24px 28px;
  border-left: 3px solid var(--indigo-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(15, 23, 42, 0.5);
}
.case-quote .case-industry { font-size: 0.8rem; font-weight: 700; color: var(--indigo-300); margin-bottom: 8px; }
.case-quote .case-desc { color: var(--muted); line-height: 1.8; }

/* ---------- 子页面：相关推荐 ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform 0.25s, border-color 0.25s;
}
.rel-card:hover { transform: translateY(-4px); border-color: rgba(129, 140, 248, 0.5); }
.rel-tag {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--indigo-300);
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.rel-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--fg-strong); }
.rel-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.rel-more { font-size: 0.86rem; font-weight: 600; color: var(--indigo-300); }

/* ---------- 隐私政策 ---------- */
.policy-block { margin-bottom: 34px; }
.policy-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: 12px;
}
.policy-block p { color: var(--muted); line-height: 1.9; margin-bottom: 8px; }

@media (max-width: 640px) {
  .solution-panel { flex-direction: column; }
  .page-hero .hero-cta .btn { width: 100%; }
}

/* ============================================================
   产品全景图：标注卡可点击（悬停上浮 / 键盘聚焦 / 移动端链接）
   ============================================================ */
.bm-link { cursor: pointer; outline: none; }
.bm-card {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.25s ease;
}
.bm-link:hover .bm-card,
.bm-link:focus-visible .bm-card { transform: translateY(-2px); }
.bm-link:hover .bm-card > rect:first-of-type,
.bm-link:focus-visible .bm-card > rect:first-of-type { stroke: rgba(129, 140, 248, 0.9); }
.bm-link:focus-visible .bm-card > rect:first-of-type { stroke-width: 2; }

.bodymap-caption .bm-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #64748B;
}

.bm-item { transition: border-color 0.2s ease; }
.bm-item:hover { border-color: rgba(129, 140, 248, 0.5); }
.bm-item-a { display: block; color: inherit; }
.bm-item-go { font-size: 0.72rem; color: #64748B; margin-left: 6px; }
.bm-item-a:hover .bm-item-title { color: var(--indigo-300); }
.bm-item-a:hover .bm-item-go { color: var(--indigo-400); }

/* ---------- 人体图 HUD 科技感元素 ---------- */
.pp-ticks {
  transform-origin: 470px 330px;
  animation: ppRotate 150s linear infinite;
}
.pp-arc {
  transform-origin: 470px 330px;
  animation: ppRotate 80s linear infinite reverse;
}
.pp-arc--b { animation-duration: 55s; }
.pp-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.78;
}
.pp-circuit path {
  stroke-dasharray: 7 60;
  animation: ppFlow 3.4s linear infinite;
}
.pp-circuit path:nth-of-type(2) { animation-delay: -1.7s; }
.pp-circuit path:nth-of-type(3) { animation-delay: -0.9s; }
@keyframes ppFlow { to { stroke-dashoffset: -67; } }

/* ============================================================
   Agent 商店
   ============================================================ */
.ag-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -20px 0 34px;
}
.ag-chip {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(30, 41, 59, 0.5);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ag-chip:hover { color: var(--fg); border-color: rgba(129, 140, 248, 0.55); }
.ag-chip.active {
  color: #fff;
  background: linear-gradient(120deg, var(--indigo-500), var(--indigo-700));
  border-color: transparent;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.agent-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform 0.25s, border-color 0.25s;
}
.agent-card:hover { transform: translateY(-4px); border-color: rgba(129, 140, 248, 0.5); }
.agent-card.hide { display: none; }

.ag-head { display: flex; align-items: flex-start; gap: 10px; }
.ag-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(120deg, var(--indigo-400), var(--indigo-700));
}
.ag-avatar svg { width: 22px; height: 22px; }
.ag-title { flex: 1; min-width: 0; }
.ag-title h3 { font-size: 0.98rem; font-weight: 700; color: var(--fg-strong); line-height: 1.35; }
.ag-ind {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--indigo-300);
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.ag-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-300);
}
.ag-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 8px var(--green-400);
}

.ag-duty { margin-top: 12px; font-size: 0.86rem; color: var(--muted); line-height: 1.65; flex: 1; }
.ag-metric {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--fg);
}
.ag-metric b { color: var(--green-300); font-weight: 700; }

.ag-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}
.ag-engine { font-size: 0.72rem; color: #64748B; }
.ag-cta { font-size: 0.8rem; font-weight: 700; color: var(--indigo-300); white-space: nowrap; }
.ag-cta:hover { color: var(--indigo-400); }

.ag-more {
  margin-top: 26px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.ag-more b { color: var(--fg); }
.ag-more a { color: var(--indigo-300); font-weight: 600; }
.ag-more a:hover { color: var(--indigo-400); }

@media (max-width: 1080px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .agent-grid { grid-template-columns: 1fr; } .ag-filter { gap: 8px; } .ag-chip { padding: 7px 15px; font-size: 0.82rem; } }
