/* 全能智播官网 · 设计系统
   间距、字号、圆角均取自固定量表，不允许中间值。 */

:root {
  /* 间距 */
  --s-25: 2px;  --s-50: 4px;  --s-75: 8px;  --s-100: 12px;
  --s-200: 16px; --s-300: 24px; --s-400: 32px; --s-500: 40px;
  --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* 字号 / 行高 */
  --t-xs: 12px;   --lh-xs: 16px;
  --t-sm: 14px;   --lh-sm: 20px;
  --t-base: 16px; --lh-base: 24px;
  --t-lg: 18px;   --lh-lg: 28px;
  --t-xl: 20px;   --lh-xl: 28px;
  --t-2xl: 24px;  --lh-2xl: 32px;
  --t-3xl: 30px;  --lh-3xl: 36px;
  --t-4xl: 36px;  --lh-4xl: 40px;
  --t-5xl: 48px;  --lh-5xl: 1;
  --t-6xl: 60px;  --lh-6xl: 1;

  /* 圆角 */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 999px;

  /* 色彩 */
  --ink: #0A0B0D;
  --ink-2: #41464F;
  --ink-3: #596070;
  --ink-4: #666C78;
  --line: #E4E7EC;
  --line-2: #C7CCD6;
  --line-soft: #EFF1F4;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --surface-3: #F1F3F6;
  --accent: #1F6AE0;
  --accent-ink: #1652C0;
  --accent-wash: #EEF4FE;
  --accent-line: #D6E4FC;
  --accent-tint: #E3ECFD;
  --hero-bg: #F5F8FE;
  --dark: #181818;
  --dark-2: #1F1F1F;
  --dark-line: #313131;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-raise: 1; --z-pop: 10; --z-panel: 45; --z-nav: 50; --z-skip: 100;
  --shell: 1200px;

  --font: ui-sans-serif, system-ui, "PingFang SC", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
em, i { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

.shell { width: min(var(--shell), calc(100% - var(--s-500))); margin-inline: auto; }

.skip-link {
  position: absolute; left: var(--s-200); top: var(--s-200);
  z-index: var(--z-skip); padding: var(--s-100) var(--s-200);
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg); font-size: var(--t-sm);
  transform: translateY(-200%);
  transition: transform 300ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-300);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-size: var(--t-base); font-weight: 600; line-height: var(--lh-base);
  cursor: pointer;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease),
    color 300ms var(--ease), transform 300ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: var(--s-75) var(--s-200); font-size: var(--t-sm); line-height: var(--lh-sm); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-4); }

.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { color: var(--ink); background: var(--surface-3); }

.btn-onDark { background: #fff; color: var(--ink); }
.btn-onDark:hover { background: #E8E8E8; }
.btn-onDark-ghost { background: transparent; color: #fff; border-color: var(--dark-line); }
.btn-onDark-ghost:hover { background: var(--dark-2); border-color: #4A4A4A; }

.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.btn .ic { width: 18px; height: 18px; flex: none; }

/* ---------- 导航 ---------- */
.nav-wrap {
  position: sticky; top: var(--s-200); z-index: var(--z-nav);
  padding-inline: var(--s-200); margin-bottom: calc(var(--s-500) * -1);
}
.nav {
  width: min(var(--shell), 100%); margin-inline: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: var(--s-50); margin-left: var(--s-200); }
.nav-links a {
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg);
  font-size: var(--t-sm); color: var(--ink-2);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-3); }
.nav-links a[aria-current="true"] { color: var(--accent); font-weight: 600; }
.nav-end { display: flex; align-items: center; gap: var(--s-75); margin-left: auto; }

.nav-toggle {
  display: none; width: 40px; height: 40px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-lg); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; flex: none; height: 1.5px; background: var(--ink);
  border-radius: 2px;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 移动端面板 ---------- */
.nav-panel {
  position: fixed; inset: 0; z-index: var(--z-panel);
  display: none; flex-direction: column;
  padding: var(--s-900) var(--s-300) var(--s-400);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.nav-panel.is-open { display: flex; }
.nav-panel a.panel-link {
  padding: var(--s-200) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-xl); line-height: var(--lh-xl); font-weight: 600;
  opacity: 0; transform: translateY(24px);
}
.nav-panel.is-open a.panel-link { animation: panelIn 500ms var(--ease) forwards; }
.nav-panel .panel-cta { margin-top: var(--s-400); display: grid; gap: var(--s-100); }
@keyframes panelIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- 区块骨架 ---------- */
.section { padding-block: var(--s-900); }
.section-tight { padding-block: var(--s-800); }
.band { background: var(--surface-2); border-block: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: var(--t-xs); line-height: var(--lh-xs);
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: var(--r-full);
  background: var(--accent);
}

.head { max-width: 680px; }
/* 能力区导语较长，放宽容器让它单行呈现 */
#capability .head { max-width: 980px; }
@media (min-width: 1080px) { #capability .head p { text-wrap: nowrap; } }
.head h2 {
  margin-top: var(--s-200);
  font-size: var(--t-4xl); line-height: var(--lh-4xl); letter-spacing: -.01em;
}
.head p { margin-top: var(--s-200); color: var(--ink-3); font-size: var(--t-lg); line-height: var(--lh-lg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding-top: var(--s-800); padding-bottom: var(--s-800);
  background: var(--hero-bg);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31,106,224,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,106,224,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 78% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 70% at 78% 30%, #000 0%, transparent 72%);
}
.hero > .shell { position: relative; z-index: var(--z-raise); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-500); align-items: center; }

.hero h1 {
  max-width: 680px;
  font-size: var(--t-6xl); line-height: var(--lh-6xl);
  font-weight: 600; letter-spacing: -.03em;
  background: linear-gradient(90deg, #000 0%, #666 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  max-width: 520px; margin-top: var(--s-300);
  font-size: var(--t-xl); line-height: var(--lh-xl); color: var(--ink-2);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); margin-top: var(--s-500); }

.hero-link {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: var(--t-base); line-height: var(--lh-base); font-weight: 500; color: var(--ink-2);
  transition: color 300ms var(--ease);
}
.hero-link .ic { width: 18px; height: 18px; color: var(--ink-4); transition: color 300ms var(--ease); }
.hero-link:hover { color: var(--accent); }
.hero-link:hover .ic { color: var(--accent); }

/* ---- 三层方案图（位图，四边渐隐融入首屏底色） ---- */
.stack { display: grid; place-items: center; margin-right: calc(var(--s-700) * -1); }
.stack picture { display: block; width: 100%; }
.stack-img {
  display: block; width: 100%; height: auto;
  --fade: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
          linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ---------- 四步流程 ---------- */
.flow { margin-top: var(--s-600); }

.flow-phases {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-300);
  margin-bottom: var(--s-300);
}
/* 三个阶段由浅到深，表示流程向前推进，不突出某一段 */
.ph {
  --tone: 45%;
  padding-bottom: var(--s-200);
  border-bottom: 2px solid color-mix(in srgb, var(--accent) var(--tone), transparent);
  font-size: var(--t-xs); line-height: var(--lh-xs); font-weight: 600;
  letter-spacing: .08em; color: var(--accent-ink);
}
.ph-core { grid-column: span 2; --tone: 72%; }
.ph:last-child { --tone: 100%; }

.flow-steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-300); align-items: stretch;
}

.step {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-300);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  transition: transform 500ms var(--ease);
}
.step:hover { transform: translateY(-4px); }

/* 卡片之间的方向箭头，落在示意图的垂直中线上 */
.step:not(:last-child)::after {
  content: "";
  position: absolute; z-index: var(--z-raise);
  top: calc(var(--s-300) + 88px - 12px);
  right: calc(-12px - var(--s-300) / 2);
  width: 24px; height: 24px;
  border: 1px solid var(--accent-line); border-radius: var(--r-full);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231F6AE0'%3E%3Cpath d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.step-top { display: flex; align-items: baseline; gap: var(--s-100); margin-top: var(--s-300); }
.step-top .num {
  font-size: var(--t-2xl); line-height: 1; font-weight: 600;
  letter-spacing: -.02em; color: var(--accent);
}
.step-top .when { font-size: var(--t-xs); line-height: var(--lh-xs); font-weight: 600; color: var(--ink-4); letter-spacing: .04em; }

.step h3 { margin-top: var(--s-100); font-size: var(--t-lg); line-height: var(--lh-lg); }
.step p { margin-top: var(--s-75); font-size: var(--t-sm); line-height: var(--lh-lg); color: var(--ink-3); text-wrap: pretty; }

/* ---------- 流程示意小场景 ---------- */
.scene {
  height: 176px;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-100);
  padding: var(--s-200);
  border-radius: var(--r-xl);
  background: var(--hero-bg);
  overflow: hidden;
}
.scene svg { flex: none; }
.flow:not(.in) .scene * { animation-play-state: paused; }

.sc-card {
  display: flex; align-items: center; gap: var(--s-100);
  padding: var(--s-100);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(31, 106, 224, .06), 0 4px 12px rgba(31, 106, 224, .08);
}
.sc-thumb {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: var(--accent-tint); color: var(--accent);
}
.sc-thumb svg { width: 18px; height: 18px; }
.sc-no { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-meta { display: flex; flex-direction: column; min-width: 0; }
.sc-meta b { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; color: var(--ink); white-space: nowrap; }
.sc-meta small { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink-4); font-variant-numeric: tabular-nums; white-space: nowrap; }

.sc-chip {
  display: inline-flex; align-items: center; gap: var(--s-50);
  align-self: flex-start;
  padding: var(--s-50) var(--s-75);
  border-radius: var(--r-md);
  font-size: var(--t-xs); line-height: var(--lh-xs); font-weight: 600;
  white-space: nowrap;
}
.sc-chip svg { width: 14px; height: 14px; }

/* 01 开播前：话术逐行生成 */
.sc-lines { display: grid; gap: var(--s-75); padding-inline: var(--s-50); }
.sc-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-75); }
.sc-lines span {
  padding: 0 var(--s-75); border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--t-xs); line-height: var(--lh-xs); font-weight: 600; color: var(--accent-ink);
}
.sc-lines i {
  height: 8px; border-radius: var(--r-full);
  background: color-mix(in srgb, var(--accent) 32%, transparent);
  transform-origin: left center;
  animation: sc-type 4.8s var(--ease) infinite;
}
.sc-lines li:nth-child(2) i { width: 82%; animation-delay: .35s; }
.sc-lines li:nth-child(3) i { width: 64%; animation-delay: .7s; }
@keyframes sc-type {
  0%, 6% { transform: scaleX(0); opacity: 1; }
  30%, 86% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* 02 直播中：声纹 + 识别结果 */
.sc-wave { display: flex; align-items: center; justify-content: center; gap: var(--s-50); height: 40px; }
.sc-wave i {
  --k: .5;
  width: 4px; height: 100%;
  border-radius: var(--r-full);
  background: var(--accent);
  transform: scaleY(var(--k));
  animation: sc-wave 1.1s var(--ease) infinite alternate;
}
.sc-wave i:nth-child(odd) { animation-delay: -.55s; }
.sc-wave i:nth-child(3n) { --k: .8; animation-delay: -.3s; }
.sc-wave i:nth-child(4n) { --k: .35; }
.sc-wave i:nth-child(5n) { --k: 1; animation-delay: -.8s; }
.sc-wave i:nth-child(1), .sc-wave i:nth-child(11) { --k: .25; }
@keyframes sc-wave {
  from { transform: scaleY(calc(var(--k) * .35)); }
  to { transform: scaleY(var(--k)); }
}
.sc-say {
  align-self: center;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(31, 106, 224, .08);
  font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-2);
  white-space: nowrap;
  animation: sc-pop 4s var(--ease) infinite;
}
.sc-hit { align-self: center; background: var(--accent); color: #fff; animation: sc-pop 4s var(--ease) .6s infinite; }
@keyframes sc-pop {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  22%, 86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* 03 控品时：口令 → 开关打开 */
.sc-cmd { background: var(--surface); color: var(--ink-2); animation: sc-pop 4s var(--ease) infinite; }
.sc-cmd svg { color: var(--accent); }
.sc-row .sc-meta { flex: 1; }
.sc-state { display: grid; }
.sc-state span { grid-area: 1 / 1; }
.sc-state .off { opacity: 0; animation: sc-off 4s var(--ease) infinite; }
.sc-state .on { color: var(--accent-ink); font-weight: 600; animation: sc-on 4s var(--ease) infinite; }
.sc-switch {
  position: relative; flex: none;
  width: 32px; height: 18px;
  border-radius: var(--r-full);
  background: var(--line-2);
  overflow: hidden;
}
.sc-switch::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: sc-on 4s var(--ease) infinite;
}
.sc-switch i {
  position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: var(--r-full);
  background: var(--surface);
  transform: translateX(14px);
  animation: sc-knob 4s var(--ease) infinite;
}
@keyframes sc-knob { 0%, 40% { transform: none; } 52%, 100% { transform: translateX(14px); } }
@keyframes sc-on { 0%, 40% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes sc-off { 0%, 40% { opacity: 1; } 52%, 100% { opacity: 0; } }

/* 04 收播后：柱状图 + 建议 */
.sc-bars { display: flex; align-items: flex-end; gap: var(--s-75); height: 72px; padding-inline: var(--s-75); }
.sc-bars i {
  --k: .5;
  flex: 1; height: 100%;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  transform-origin: center bottom;
  transform: scaleY(var(--k));
  animation: sc-grow 4.8s var(--ease) infinite;
}
.sc-bars i:nth-child(1) { --k: .42; }
.sc-bars i:nth-child(2) { --k: .58; animation-delay: .08s; }
.sc-bars i:nth-child(3) { --k: .5; animation-delay: .16s; }
.sc-bars i:nth-child(4) { --k: 1; animation-delay: .24s; background: var(--accent); }
.sc-bars i:nth-child(5) { --k: .66; animation-delay: .32s; }
.sc-bars i:nth-child(6) { --k: .74; animation-delay: .4s; }
@keyframes sc-grow {
  0% { transform: scaleY(.06); opacity: 1; }
  28%, 88% { transform: scaleY(var(--k)); opacity: 1; }
  100% { transform: scaleY(var(--k)); opacity: 0; }
}
.sc-tip { align-self: stretch; justify-content: center; background: var(--surface); color: var(--ink); animation: sc-pop 4.8s var(--ease) .8s infinite; }
.sc-tip svg { color: var(--accent); }

/* ---------- 能力模块 ---------- */
.mod { margin-top: var(--s-600); }
.mod-tabs {
  display: flex; gap: var(--s-50); padding: var(--s-50);
  background: var(--surface-3); border-radius: var(--r-xl);
  overflow-x: auto; scrollbar-width: none;
}
.mod-tabs::-webkit-scrollbar { display: none; }
.mod-tab {
  flex: 1 0 auto; min-width: 0;
  padding: var(--s-100) var(--s-300);
  background: transparent; border: 0; border-radius: var(--r-lg);
  font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600;
  color: var(--ink-3); cursor: pointer; white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.mod-tab:hover { color: var(--ink); }
.mod-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(10,11,13,.06); }
.mod-tab .num { margin-right: var(--s-75); color: var(--ink-4); font-size: var(--t-xs); }
.mod-tab[aria-selected="true"] .num { color: var(--accent); }

.mod-panel { display: none; margin-top: var(--s-500); }
.mod-panel.is-active {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
  overflow: hidden; box-shadow: 0 24px 48px -32px rgba(22, 82, 192, .18);
}
.mod-panel.is-active { animation: fadeUp 600ms var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 左侧文案 */
.mod-copy { align-self: center; padding: var(--s-600) var(--s-500) var(--s-600) var(--s-600); }

/* 右侧演示视频：浮在浅蓝底上，右侧和底部被卡片裁掉，各面板高度一致 */
.mod-media {
  position: relative; height: 480px; overflow: hidden;
  background: var(--surface-2);
  border-inline-start: 1px solid var(--line);
}
.mod-screen { position: absolute; inset: 0; }
/* 视频铺满右侧区域，比例不一致时从左上角裁切 */
.mod-video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
}
.mod-play {
  position: absolute; right: var(--s-200); bottom: var(--s-200); z-index: var(--z-raise);
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-soft); border-radius: var(--r-full);
  background: rgba(255, 255, 255, .86); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 16px -8px rgba(22, 82, 192, .32);
  cursor: pointer; transition: background-color 300ms var(--ease), transform 500ms var(--ease);
}
.mod-play:hover { background: var(--surface); transform: scale(1.04); }
.mod-play:active { transform: scale(.98); }
.mod-play .ic { width: 16px; height: 16px; }

.mod-copy h3 { font-size: var(--t-2xl); line-height: var(--lh-2xl); letter-spacing: -.01em; }
.mod-copy > p { margin-top: var(--s-200); color: var(--ink-3); }
.mod-list { margin-top: var(--s-400); display: grid; gap: var(--s-300); }
.mod-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-100); }
.mod-list .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.mod-list b { display: block; font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; }
.mod-list span { display: block; margin-top: var(--s-25); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-3); }

/* 能力清单 */

/* ---------- 适用对象 ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); margin-top: var(--s-600); }
.who {
  --pad: var(--s-400);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: var(--pad);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
  transition: border-color 300ms var(--ease), transform 500ms var(--ease);
}
.who:hover { border-color: var(--ink-4); transform: translateY(-2px); }
.who-head {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-200);
  margin-top: calc(var(--s-300) * -1);
}
.who-head i {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  background: var(--surface); color: var(--hc); border-radius: var(--r-full);
  box-shadow: 0 0 0 1px var(--line-soft), 0 8px 16px -8px color-mix(in srgb, var(--hc) 55%, transparent);
}
.who-head i .ic { width: 22px; height: 22px; }
.who-head b { display: block; font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: 600; }
.who-head span { display: block; font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink-4); }
.who-pain { margin-top: var(--s-300); color: var(--ink-3); font-size: var(--t-sm); line-height: var(--lh-sm); }
.who-pain { margin-bottom: var(--s-300); }
.who-shift {
  margin: 0; padding-top: var(--s-300); border-top: 1px solid var(--line-soft);
  display: grid; gap: var(--s-100);
}
.who-shift div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-100); align-items: baseline; }
.who-shift dt { font-size: var(--t-xs); line-height: var(--lh-sm); font-weight: 600; color: var(--ink-4); }
.who-shift dd { margin: 0; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-3); }
.who-shift dd.out { color: var(--ink); font-weight: 500; }

/* 卡片头图：用迷你界面画出这类团队"现在"的用法。--hc 为卡片色相 */
.who--rooms { --hc: #5A5BD6; --h1: #E6E2FC; --h2: #DCE6FD; }
.who--deal  { --hc: #1F6AE0; --h1: #D8E6FD; --h2: #E4EEFE; }
.who--say   { --hc: #12809C; --h1: #D5EEF4; --h2: #E0EBFB; }
.who-art {
  position: relative; flex: none; height: 152px;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0;
  /* 柔和渐变，向下融进白卡 */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, var(--surface) 100%),
    linear-gradient(115deg, var(--h1), var(--h2));
}
.art-win {
  position: absolute; top: var(--s-300); right: var(--s-300);
  width: min(224px, calc(100% - 104px));
  padding: var(--s-75) var(--s-100) var(--s-100);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--r-xl);
  box-shadow: 0 16px 32px -20px color-mix(in srgb, var(--hc) 60%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink-3);
  transition: transform 500ms var(--ease);
}
.who:hover .art-win { transform: translateY(-4px); }
.art-win s { display: block; text-decoration: none; }
.art-bar { display: flex; gap: var(--s-50); margin-bottom: var(--s-75); }
.art-bar span { width: 6px; height: 6px; border-radius: var(--r-full); background: color-mix(in srgb, var(--hc) 22%, #fff); }
.art-win .num { font-family: var(--font-num); }

/* 多间汇总 */
.art-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-50); }
.art-rooms span {
  display: flex; align-items: center; justify-content: center; gap: var(--s-50);
  padding: var(--s-75) 0; background: var(--surface); border-radius: var(--r-lg);
  white-space: nowrap; color: var(--ink-2);
}
.art-rooms s { width: 6px; height: 6px; border-radius: var(--r-full); background: #E5484D; }
.art-sum {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-75);
  margin-top: var(--s-50); padding: var(--s-75) var(--s-100);
  background: var(--surface); border-radius: var(--r-lg);
}
.art-sum b { color: var(--hc); font-weight: 600; }

/* 讲解即弹品 */
.art-say {
  display: flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); background: var(--surface); border-radius: var(--r-lg); color: var(--ink-2);
}
.art-quote { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-wave { display: flex; align-items: center; gap: 2px; flex: none; height: 12px; }
.art-wave s { width: 2px; border-radius: var(--r-full); background: var(--hc); height: 6px; }
.art-wave s:nth-child(2) { height: 12px; }
.art-pop {
  display: flex; align-items: center; gap: var(--s-75);
  margin-top: var(--s-50); margin-right: calc(var(--s-300) * -1); padding: var(--s-75);
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--hc) 28%, #fff);
  box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--hc) 70%, transparent);
}
.art-thumb { width: 28px; height: 28px; flex: none; border-radius: var(--r-md); background: #F1E2D6; }
.art-pop b { display: block; color: var(--ink); font-weight: 600; }
.art-pop small { display: block; font-size: var(--t-xs); color: var(--ink-4); }

/* 开价：主播一句话，问号换成后台设好的价格。6s 循环 */
.art-deal {
  position: relative; display: flex; align-items: center; gap: var(--s-75);
  margin-top: var(--s-50); padding: var(--s-75);
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--hc) 20%, #fff);
}
.art-deal::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--hc); box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--hc) 80%, transparent);
  opacity: 0; animation: deal-open 6s var(--ease) infinite;
}
.art-name { min-width: 0; flex: 1; }
.art-name b { display: block; color: var(--ink); font-weight: 600; }
.art-name small, .art-price { display: grid; }
.art-name small { font-size: var(--t-xs); color: var(--ink-4); }
.art-win em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; }
.art-price { flex: none; justify-items: end; font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; }
.art-price .deal-wait {
  padding-inline: var(--s-75); border-radius: var(--r-md);
  background: var(--surface-3); color: var(--ink-4);
}
.art-price .deal-open { color: var(--hc); }
.art-name .deal-open { color: var(--hc); }
.art-win .deal-wait { animation: deal-wait 6s var(--ease) infinite; }
.art-win .deal-open { opacity: 0; animation: deal-open 6s var(--ease) infinite; }
.art-price .deal-open { animation-name: deal-price; }
.who--deal .art-wave s { animation: deal-talk 6s var(--ease) infinite; transform-origin: center; }
.who--deal .art-wave s:nth-child(2) { animation-delay: -.2s; }
.who--deal .art-wave s:nth-child(3) { animation-delay: -.4s; }
@keyframes deal-wait { 0%, 40% { opacity: 1; transform: none; } 48%, 92% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: none; } }
@keyframes deal-open { 0%, 44% { opacity: 0; } 54%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes deal-price { 0%, 44% { opacity: 0; transform: translateY(6px) scale(.9); } 54%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes deal-talk { 0%, 40% { transform: scaleY(1); } 10%, 30% { transform: scaleY(.4); } 20% { transform: scaleY(1.3); } 50%, 100% { transform: scaleY(.6); } }

/* ---------- 技术底座 ---------- */
#engine .head { margin-inline: auto; text-align: center; }
#engine .head .eyebrow { justify-content: center; }
.engine-grid {
  margin-top: var(--s-700);
  display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
  gap: var(--s-400); align-items: stretch;
}
/* 两列等高、卡片等高，左右两行对齐 */
.engine-col { display: grid; grid-auto-rows: 1fr; gap: var(--s-300); }
/* 卡片向中心收拢，呈环绕感（仅桌面三栏布局） */
@media (min-width: 1081px) {
  .engine-col:first-child .engine:first-child,
  .engine-col:last-child .engine:last-child { margin-inline-start: var(--s-400); }
  .engine-col:first-child .engine:last-child,
  .engine-col:last-child .engine:first-child { margin-inline-end: var(--s-400); }
}
.engine {
  display: flex; gap: var(--s-200); align-items: flex-start;
  padding: var(--s-300);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
  box-shadow: 0 1px 2px rgba(22, 82, 192, .04), 0 8px 24px -12px rgba(22, 82, 192, .12);
  transition: transform 500ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.engine:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: 0 1px 2px rgba(22, 82, 192, .06), 0 16px 32px -16px rgba(22, 82, 192, .22); }
.engine > i {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: var(--accent-wash); color: var(--accent-ink); border-radius: var(--r-lg);
}
.engine > i .ic { width: 20px; height: 20px; }
.engine h3 { font-size: var(--t-base); line-height: var(--lh-base); font-weight: 600; color: var(--accent-ink); }
.engine p { margin-top: var(--s-75); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-3); text-wrap: pretty; }
.engine-core {
  justify-self: center; align-self: center; display: grid; place-items: center;
  width: 176px; height: 176px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--accent-line);
  box-shadow: 0 0 0 16px rgba(31, 106, 224, .05), 0 0 0 40px rgba(31, 106, 224, .03), 0 16px 40px -12px rgba(22, 82, 192, .28);
}
.engine-core span { text-align: center; font-size: var(--t-xl); line-height: var(--lh-xl); font-weight: 600; color: var(--accent-ink); }

/* ---------- 合作伙伴 ---------- */
.partner-inline { margin-top: var(--s-700); padding-top: var(--s-700); border-top: 1px solid var(--line-soft); }
.partner-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-300); }
.partner-head p { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-4); }
.partner-strip { margin-top: var(--s-400); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-track { display: flex; gap: var(--s-500); width: max-content; animation: slide 46s linear infinite; }
.partner-strip:hover .partner-track { animation-play-state: paused; }
.partner-track img {
  height: 28px; width: auto; flex: none;
  transition: transform 300ms var(--ease);
}
.partner-track img:hover { transform: scale(1.06); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 常见问题 ---------- */
.faq-cta {
  display: inline-flex; align-items: center; gap: var(--s-75);
  margin-top: var(--s-300);
  font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; color: var(--accent);
  transition: gap 300ms var(--ease);
}
.faq-cta:hover { gap: var(--s-100); }
.faq-cta .ic { width: 16px; height: 16px; }

.faq { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s-700); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-300);
  width: 100%; padding: var(--s-300) 0;
  background: transparent; border: 0; text-align: left; cursor: pointer;
  font-size: var(--t-base); line-height: var(--lh-base); font-weight: 600;
  transition: color 300ms var(--ease);
}
.faq-q:hover { color: var(--accent); }
/* 加减符：两根横竖条，展开时竖条收起 */
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--ink-4);
  transition: background 300ms var(--ease), transform 420ms var(--ease), opacity 420ms var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.faq-icon::after  { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
.faq-q:hover .faq-icon::before, .faq-q:hover .faq-icon::after { background: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--accent); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  color: var(--ink-3); font-size: var(--t-sm); line-height: var(--lh-lg);
  /* 收起时整块不可见，避免读屏读到隐藏答案 */
  visibility: hidden;
  transition: grid-template-rows 420ms var(--ease), visibility 0s linear 420ms;
}
.faq-a-in { overflow: hidden; }
.faq-a.is-open {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows 420ms var(--ease), visibility 0s;
}
.faq-a.is-open .faq-a-in { padding-bottom: var(--s-300); }

/* FAQ 左栏：企微二维码（悬停展开，与表单区一致） */
.faq-qr {
  position: relative;
  margin-top: var(--s-400);
  display: flex; align-items: center; gap: var(--s-200);
}
.faq-qr .qr-copy strong { color: var(--ink); }
.faq-qr .qr-copy span { color: var(--ink-3); }
.faq-qr .qr-trigger {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: var(--accent-wash); color: var(--accent);
  border: 0; border-radius: var(--r-full);
  cursor: pointer;
  transition: background 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
}
.faq-qr .qr-trigger:hover { background: var(--accent); color: #fff; transform: scale(1.04); }
.faq-qr .qr-trigger:active { transform: scale(.97); }
.faq-qr .qr-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 弹层通用行为：两个二维码区块共用 */
.qr-box .qr-pop {
  position: absolute; left: 0; bottom: calc(100% + var(--s-200)); z-index: var(--z-pop);
  width: 220px; padding: var(--s-200);
  background: #fff; border-radius: var(--r-2xl);
  box-shadow: 0 20px 40px -12px rgba(16,18,24,.22), 0 2px 6px rgba(16,18,24,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(var(--s-75)) scale(.98);
  transform-origin: bottom left;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
}
.qr-box .qr-pop img { width: 100%; height: auto; border-radius: var(--r-lg); }
.qr-box .qr-pop p { margin-top: var(--s-100); font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink-3); text-align: center; }
.qr-box:hover .qr-pop,
.qr-box:focus-within .qr-pop,
.qr-box.is-open .qr-pop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s;
}
/* 表单区图标在右侧，弹层向左展开 */
.cta-qr .qr-pop { left: auto; right: calc(100% + var(--s-200)); transform-origin: bottom right; }

/* ---------- 转化区 ---------- */
.cta-band {
  --cta-bg: var(--hero-bg); --cta-ink: var(--ink); --cta-muted: var(--ink-4); --cta-body: var(--ink-2);
  --cta-line: var(--line); --cta-line-2: var(--line-2);
  --cta-shadow: 23, 56, 120;
  position: relative; overflow: hidden;
  background: var(--cta-bg); border-block: 0;
}
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s-500); align-items: start; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band h2 {
  margin-top: var(--s-200); max-width: 600px;
  font-size: var(--t-5xl); line-height: var(--lh-5xl); letter-spacing: -.02em;
  color: var(--cta-ink); text-wrap: balance;
}
.cta-band .lede { margin-top: var(--s-300); max-width: 480px; color: var(--cta-body); font-size: var(--t-lg); line-height: var(--lh-lg); }

.cta-points { margin-top: var(--s-500); display: grid; gap: var(--s-200); }
.cta-points li { display: flex; gap: var(--s-100); font-size: var(--t-base); line-height: var(--lh-base); color: var(--cta-body); text-wrap: pretty; }
.cta-points .chk {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: var(--r-full);
}
.cta-points .chk svg { width: 13px; height: 13px; }
.cta-points strong { font-weight: 600; color: var(--cta-ink); }

.cta-alt { margin-top: var(--s-600); }
.cta-alt p { font-size: var(--t-base); line-height: var(--lh-base); color: var(--cta-body); }
.cta-alt .btn { margin-top: var(--s-200); }
.cta-band .btn-ghost { background: #fff; border-color: var(--cta-line); color: var(--cta-ink); }
.cta-band .btn-ghost:hover { background: var(--accent-wash); border-color: var(--accent-line); color: var(--accent-ink); }

/* 表单卡片底部：企微快捷咨询（次级入口，无外框） */
.cta-qr {
  position: relative;
  margin-top: var(--s-400);
  padding-top: var(--s-300);
  border-top: 1px solid var(--cta-line);
  display: flex; align-items: center; gap: var(--s-200);
  text-align: left;
}

.qr-copy { display: grid; gap: var(--s-25); }
.qr-copy strong { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 600; color: var(--cta-ink); }
.qr-copy span { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink-4); text-wrap: pretty; }

.cta-qr .qr-trigger {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: var(--accent-wash); color: var(--accent);
  border: 0; border-radius: var(--r-full);
  cursor: pointer;
  transition: background 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
}
.cta-qr .qr-trigger:hover { background: var(--accent); color: #fff; transform: scale(1.04); }
.cta-qr .qr-trigger:active { transform: scale(.97); }
.cta-qr .qr-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.qr-ic svg { width: 18px; height: 18px; }

.qr-pop {
  position: absolute; right: calc(100% + var(--s-200)); bottom: 0; z-index: var(--z-pop);
  width: 220px; padding: var(--s-200);
  background: #fff; border-radius: var(--r-2xl);
  box-shadow: 0 20px 40px -12px rgba(var(--cta-shadow),.22), 0 2px 6px rgba(var(--cta-shadow),.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(var(--s-75)) scale(.98);
  transform-origin: bottom right;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
}
.qr-pop img { width: 100%; height: auto; border-radius: var(--r-lg); }
.qr-pop p { margin-top: var(--s-100); font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--cta-muted); text-align: center; }

.cta-qr:hover .qr-pop,
.cta-qr:focus-within .qr-pop,
.cta-qr.is-open .qr-pop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s;
}

/* 表单卡片：浮起白卡 */
.cta-form-wrap { position: relative; }
.cta-band .form-card {
  position: relative; z-index: var(--z-raise);
  background: #fff; border: 0; border-radius: var(--r-3xl);
  box-shadow: 0 24px 48px -12px rgba(var(--cta-shadow),.14), 0 2px 6px rgba(var(--cta-shadow),.05);
}
.cta-band .form-card h3 { font-size: var(--t-2xl); line-height: var(--lh-2xl); color: var(--cta-ink); }
.cta-band .form-card > p { color: var(--ink-3); }
.cta-band .field label { color: var(--cta-ink); }
.cta-band .field input, .cta-band .field select { border-color: var(--cta-line); }
.cta-band .field input:hover, .cta-band .field select:hover { border-color: var(--cta-line-2); }
.cta-band .field input:focus, .cta-band .field select:focus { outline-color: var(--accent); }
.cta-band .form-note { color: var(--ink-4); }

/* 背后几何装饰 */
.cta-deco { position: absolute; inset: -36px -20px -28px -56px; pointer-events: none; }
.cta-deco span { position: absolute; display: block; }
.cta-deco .d-sq { width: 64px; height: 64px; top: 0; right: 24px; background: var(--accent-tint); border-radius: var(--r-md); }
.cta-deco .d-c1 { width: 18px; height: 18px; top: 104px; right: 0; background: #8DB4F5; border-radius: var(--r-full); }
.cta-deco .d-c2 { width: 15px; height: 15px; top: 60%; left: 6px; background: #A9C6F8; border-radius: var(--r-full); }
.cta-deco .d-c3 { width: 20px; height: 20px; bottom: 4px; left: 80px; background: var(--accent-tint); border-radius: var(--r-full); }
.cta-deco .d-t1 { width: 24px; height: 22px; top: 76px; left: 0; background: #C4D8FA; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(-18deg); }
.cta-deco .d-t2 { width: 26px; height: 24px; bottom: 56px; left: 2px; background: #C4D8FA; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(14deg); }

/* 表单 */
.form-card {
  padding: var(--s-400);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
}
.form-card h3 { font-size: var(--t-xl); line-height: var(--lh-xl); }
.form-card > p { margin-top: var(--s-75); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-3); }
.field { margin-top: var(--s-300); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-200); align-items: start; }
.field-row .field { margin-top: var(--s-200); }
.field label { display: block; margin-bottom: var(--s-75); font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: 500; }
.field .req { color: #D92D20; }
.field input, .field select {
  width: 100%; padding: var(--s-100) var(--s-200);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  font-size: var(--t-base); line-height: var(--lh-base);
  transition: border-color 300ms var(--ease);
}
.field input::placeholder { color: #98A0AE; }
.field input:hover, .field select:hover { border-color: var(--ink-4); }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field .err { display: none; margin-top: var(--s-50); font-size: var(--t-xs); line-height: var(--lh-xs); color: #D92D20; }
.field.has-error input, .field.has-error select { border-color: #D92D20; }
.field.has-error .err { display: block; }
.form-card .btn { width: 100%; margin-top: var(--s-400); }
.form-note { margin-top: var(--s-200); font-size: var(--t-xs); line-height: var(--lh-sm); color: var(--ink-4); }
.form-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.form-status { display: none; margin-top: var(--s-300); padding: var(--s-200); border-radius: var(--r-xl); font-size: var(--t-sm); line-height: var(--lh-sm); }
.form-status.is-shown { display: block; }
.form-status.bad { background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; }

/* ---------- 提交成功弹窗 ---------- */
.submit-dialog {
  width: min(420px, calc(100% - var(--s-400)));
  padding: 0; border: 0; border-radius: var(--r-3xl);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 32px 64px -24px rgba(10, 11, 13, .32);
  text-align: center;
}
.submit-dialog[open] { animation: dialogIn 400ms var(--ease) both; }
.submit-dialog::backdrop { background: rgba(10, 11, 13, .45); backdrop-filter: blur(2px); animation: backdropIn 300ms var(--ease) both; }
.submit-dialog-inner { padding: var(--s-600) var(--s-500) var(--s-500); }
.submit-dialog-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto;
  background: var(--accent); color: #fff; border-radius: var(--r-full);
  box-shadow: 0 0 0 8px var(--accent-wash);
}
.submit-dialog-icon .ic { width: 28px; height: 28px; }
.submit-dialog h2 { margin-top: var(--s-400); font-size: var(--t-2xl); line-height: var(--lh-2xl); }
.submit-dialog p { margin-top: var(--s-100); color: var(--ink-3); font-size: var(--t-base); line-height: var(--lh-base); }
.submit-dialog .btn { width: 100%; margin-top: var(--s-500); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* ---------- 页脚 ---------- */
.site-footer { padding-block: var(--s-500); background: #050505; color: #898792; text-align: center; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100) var(--s-300); }
.foot-nav a { font-size: var(--t-sm); line-height: var(--lh-sm); color: #B4B2BC; transition: color 300ms var(--ease); }
.foot-nav a:hover { color: #fff; }
.foot-legal { margin-top: var(--s-400); padding-top: var(--s-400); border-top: 1px solid #1E1E22; display: flex; flex-direction: column; align-items: center; gap: var(--s-100); font-size: var(--t-sm); line-height: var(--lh-lg); }
.foot-legal a { color: inherit; }
.foot-legal a:hover { color: #B4B2BC; }
.foot-legal p { margin: 0; }
.filing { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75); }
.filing img { width: 18px; height: 20px; object-fit: contain; flex: none; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(32px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .engine-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-300); }
  .engine-core { order: -1; width: 144px; height: 144px; margin-block: var(--s-300); }
  /* 单列时展开两列，按 实时→有据→调度→安全 的原顺序排列 */
  .engine-col { display: contents; }
  .engine-col:first-child .engine:first-child { order: 1; }
  .engine-col:last-child .engine:first-child { order: 2; }
  .engine-col:first-child .engine:last-child { order: 3; }
  .engine-col:last-child .engine:last-child { order: 4; }
  .hero-grid { gap: var(--s-500); }
}

/* 窄桌面：四列太挤，改为两列；阶段条无法对齐，隐藏，箭头同理 */
@media (max-width: 1080px) {
  .flow-phases { display: none; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 960px) {
  .nav-links, .nav-end { display: none; }
  .hero-grid { gap: var(--s-600); }
  .stack { margin-right: 0; }
  .nav-toggle { display: flex; }
  .hero-grid, .mod-panel.is-active, .faq, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .mod-copy { padding: var(--s-500) var(--s-400) var(--s-400); }
  .mod-media { height: auto; aspect-ratio: 16 / 10; border-inline-start: 0; border-top: 1px solid var(--line); }
  .pain-grid, .who-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: var(--s-800); }
  .section { padding-block: var(--s-800); }
  .cta-grid { gap: var(--s-500); }
  .cta-band h2 { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  .cta-band h2 br { display: none; }
  .cta-deco { display: none; }
  /* 窄屏：两列字段退回单列，避免「公司或机构名称」折行 */
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-row .field { margin-top: var(--s-300); }
  /* 窄屏无悬浮空间，改为行内展开，完全不遮挡按钮 */
  .cta-qr, .faq-qr { flex-wrap: wrap; }
  .qr-box .qr-pop {
    position: static; left: auto; right: auto; bottom: auto;
    width: 100%; margin-top: var(--s-200); padding: var(--s-200);
    border-top: 1px solid var(--line);
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .qr-box .qr-pop img { width: 180px; margin-inline: auto; }
  .qr-box:hover .qr-pop, .qr-box:focus-within .qr-pop { display: none; }
  .qr-box.is-open .qr-pop { display: block; }
  .faq { gap: var(--s-500); }
}

@media (max-width: 640px) {
  :root { --shell: 100%; }
  .shell { width: calc(100% - var(--s-400)); }
  .hero h1 { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  .hero { padding-top: var(--s-800); }
  .head h2, .cta-band h2 { font-size: var(--t-3xl); line-height: var(--lh-3xl); }
  .hero-sub, .head p, .cta-band .lede { font-size: var(--t-base); line-height: var(--lh-base); }
  .section { padding-block: var(--s-700); }
  .hero-cta .btn { width: 100%; }
  .pain, .who, .form-card { padding: var(--s-300); }
  .who { --pad: var(--s-300); }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .mod-tab { padding: var(--s-100) var(--s-200); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .partner-track { animation: none; }
  .scene *, .scene *::before { animation: none !important; }
  .qr-pop, .cta-qr:hover .qr-pop, .cta-qr:focus-within .qr-pop, .cta-qr.is-open .qr-pop { transform: none; }
  /* 不播动画时直接展示开价后的状态 */
  .submit-dialog[open], .submit-dialog::backdrop { animation: none; }
  .art-win .deal-wait { animation: none !important; opacity: 0; }
  .art-win .deal-open, .art-deal::after { animation: none !important; opacity: 1; transform: none; }
  .who--deal .art-wave s { animation: none !important; }
  .who:hover .art-win { transform: none; }
}

/* ---------- 文档页 / 404 ---------- */
.doc { padding-block: var(--s-900) var(--s-800); }
.doc-body { max-width: 680px; }
.doc-body h1 { font-size: var(--t-4xl); line-height: var(--lh-4xl); letter-spacing: -.01em; }
.doc-meta { margin-top: var(--s-200); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--ink-4); }
.doc-body h2 { margin-top: var(--s-600); font-size: var(--t-xl); line-height: var(--lh-xl); }
.doc-body p { margin-top: var(--s-200); color: var(--ink-2); line-height: var(--lh-lg); }
.doc-body ul { margin-top: var(--s-200); display: grid; gap: var(--s-100); }
.doc-body li { display: flex; gap: var(--s-100); color: var(--ink-2); line-height: var(--lh-lg); }
.doc-body li::before { content: ""; width: 5px; height: 5px; margin-top: 11px; flex: none; border-radius: var(--r-full); background: var(--accent); }
.doc-back { display: inline-flex; align-items: center; gap: var(--s-75); margin-top: var(--s-600); font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.doc-back .ic { width: 16px; height: 16px; transform: rotate(180deg); }

.nf { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: var(--s-900); }
.nf-code { font-family: var(--font-num); font-size: var(--t-6xl); line-height: var(--lh-6xl); font-weight: 600; color: var(--line); }
.nf h1 { margin-top: var(--s-300); font-size: var(--t-3xl); line-height: var(--lh-3xl); }
.nf p { margin: var(--s-200) auto 0; max-width: 420px; color: var(--ink-3); }
.nf .btn { margin-top: var(--s-400); }

/* 同行卡片等高，底部标签对齐 */
.who-grid, .pain-grid { align-items: stretch; }
.pain { display: flex; flex-direction: column; }
.pain .fix { margin-top: auto; }

/* 锚点跳转避开吸顶导航 */
:target, section[id] { scroll-margin-top: var(--s-800); }

/* 文档页列表：标签不换行，正文正常回流 */
.doc-body li { display: list-item; list-style: none; position: relative; padding-left: var(--s-200); }
.doc-body li::before { position: absolute; left: 0; top: 11px; margin-top: 0; }
.doc-body li strong { font-weight: 600; color: var(--ink); }

/* 404: full-height layout keeps the legal footer in view */
.page-404 { min-height: 100dvh; display: flex; flex-direction: column; }
.page-404 .nf { flex: 1 1 auto; min-height: 0; padding-block: var(--s-700); }

/* 404 矮屏：页脚为三行堆叠，压缩内容区内边距以保证备案信息不出视口 */
@media (max-height: 760px) {
  .page-404 .nf { padding-block: var(--s-400); }
  .page-404 .site-footer { padding-block: var(--s-400); }
  .page-404 .foot-legal { margin-top: var(--s-300); padding-top: var(--s-300); }
}

/* 短语不拆行，只在短语之间换行 */
.nb { display: inline-block; }
