/**
 * Mtaix 动态展厅（首页专用叠加层）
 * 依赖：site.css。仅 index.html 引用；子页不加载本文件。
 * 原则：所有文字仍在 HTML 中，本文件只负责深色展厅视觉与动效状态。
 * 无 JS / prefers-reduced-motion / 窄屏下自动退回为可读的静态排版。
 */

html.expo-page {
  scroll-padding-top: 128px;
}

html.expo-page.expo-motion {
  scroll-behavior: auto;
  background: var(--cosmic-0);
}

body.expo {
  --hall-glass: linear-gradient(180deg, rgba(22, 40, 68, 0.62), rgba(9, 18, 33, 0.62));
  --hall-line: rgba(148, 197, 255, 0.14);
  --hall-line-strong: rgba(148, 197, 255, 0.32);
  --hall-text: #cbd5e1;
  --hall-muted: #94a3b8;
  --hall-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --heat-a: #fbbf24;
  --heat-b: #f97316;
  background: var(--cosmic-0);
  color: var(--text-light-primary);
  overflow-x: hidden;
}

/* ---------- 顶部：展厅导航 + 滚动进度 ---------- */

.expo .site-header {
  background: rgba(3, 8, 16, 0.82);
}

.expo-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.expo-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  counter-reset: hall;
}

.expo-nav__inner::-webkit-scrollbar { display: none; }

.expo-nav a {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: rgba(226, 232, 240, 0.58);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.expo-nav a::before {
  counter-increment: hall;
  content: counter(hall, decimal-leading-zero);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(148, 197, 255, 0.45);
  transition: color 0.25s ease;
}

.expo-nav a:hover { color: #ffffff; }

.expo-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(16, 185, 129, 0.18));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35), 0 0 18px rgba(59, 130, 246, 0.25);
}

.expo-nav a.is-active::before { color: var(--aurora-mint-light); }

.expo-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.expo-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--electric-blue), var(--aurora-mint-light), var(--heat-a));
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  transform: scaleX(0);
  transform-origin: left center;
}

.no-js .expo-progress { display: none; }

/* 右侧展区刻度（JS 生成，aria-hidden） */
.expo-rail {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}

.expo-rail a {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(148, 197, 255, 0.45);
  background: rgba(2, 6, 13, 0.6);
  transition: transform 0.3s var(--hall-ease), background 0.3s ease, border-color 0.3s ease;
}

.expo-rail a span {
  position: absolute;
  top: 50%;
  right: 22px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 14, 26, 0.92);
  border: 1px solid var(--hall-line);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.expo-rail a:hover span { opacity: 1; transform: translate(0, -50%); }
.expo-rail a.is-active span { color: var(--aurora-mint-light); }

.expo-rail a.is-active {
  background: var(--aurora-mint-light);
  border-color: var(--aurora-mint-light);
  box-shadow: 0 0 12px var(--aurora-mint);
  transform: scale(1.25);
}

.expo-rail a.is-passed { background: rgba(96, 165, 250, 0.6); border-color: rgba(96, 165, 250, 0.6); }

@media (min-width: 1280px) {
  .expo-rail { display: flex; }
}

/* ---------- 展区通用：深色展厅 ---------- */

.expo-hall { position: relative; }

.expo [data-hall]::after {
  position: absolute;
  top: 30px;
  left: max(24px, calc((100% - var(--container)) / 2));
  z-index: 3;
  content: "HALL " attr(data-hall-no) "  ·  " attr(data-hall);
  color: rgba(148, 197, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  pointer-events: none;
}

.expo .hero[data-hall]::after { display: none; }

.expo .section,
.expo .section--white,
.expo .section--soft,
.expo .comparison-section,
.expo .cta-section {
  background: transparent;
  color: var(--text-light-primary);
}

/* 各展区的环境光带 */
.expo #products { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.14), transparent 70%), var(--cosmic-0); }
.expo #heating { background: radial-gradient(ellipse 60% 55% at 85% 45%, rgba(249, 115, 22, 0.10), transparent 70%), radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.16), transparent 50%), linear-gradient(180deg, #040b16 0%, #02060d 100%); }
.expo #architecture { background: radial-gradient(ellipse 55% 60% at 75% 50%, rgba(139, 92, 246, 0.12), transparent 70%), var(--cosmic-0); }
.expo #comparison { background: linear-gradient(180deg, var(--cosmic-0), #050c18 50%, var(--cosmic-0)); }
.expo #delivery { background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(16, 185, 129, 0.08), transparent 70%), var(--cosmic-0); }
.expo #company { background: linear-gradient(180deg, var(--cosmic-0), #050d1a); }
.expo #reasons { background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37, 99, 235, 0.10), transparent 70%), #050d1a; }
.expo #faq { background: linear-gradient(180deg, #050d1a, var(--cosmic-0)); }
.expo #contact { background: var(--cosmic-0); }

/* 展区之间的细光线分隔 */
.expo .expo-hall::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(880px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), rgba(52, 211, 153, 0.4), transparent);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}


.expo .eyebrow { color: var(--electric-blue-light); }
.expo .eyebrow--light { color: var(--aurora-mint-light); }
.expo .section-head h2,
.expo .architecture-intro h2 { color: #ffffff; }
.expo .section-head p,
.expo .architecture-intro p { color: var(--hall-muted); }
.expo .link-arrow { color: var(--electric-blue-light); }
.expo .link-arrow:hover { color: #93c5fd; }

/* 玻璃展台通用质感 */
.expo .product-card,
.expo .layer,
.expo .step,
.expo .reason-card,
.expo .faq-list details,
.expo .comparison-table-wrapper,
.expo .answer-card {
  border: 1px solid var(--hall-line);
  background: var(--hall-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.expo .product-card h3,
.expo .layer h3,
.expo .step h3,
.expo .reason-card h3,
.expo .faq-list summary { color: #ffffff; }

.expo .product-card p,
.expo .layer p,
.expo .step p,
.expo .reason-card p,
.expo .faq-answer { color: var(--hall-muted); }

.expo .product-card:hover,
.expo .reason-card:hover {
  border-color: var(--hall-line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 56px -24px rgba(0, 0, 0, 0.8), 0 0 32px rgba(59, 130, 246, 0.16);
}

.expo .reason-card__icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(16, 185, 129, 0.16));
  color: #bfdbfe;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3);
}

/* ---------- 01 序厅 ---------- */

.expo .hero {
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
  padding: 72px 0 110px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.10), transparent 45%),
    linear-gradient(180deg, #01040a 0%, var(--cosmic-1) 100%);
}

.expo .hero > .container { width: min(calc(100% - 48px), var(--container)); }

.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-beams i {
  position: absolute;
  top: -40%;
  width: 22vw;
  height: 180%;
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.10) 40%, rgba(52, 211, 153, 0.06) 60%, transparent);
  filter: blur(18px);
  transform: rotate(24deg);
  animation: expo-beam 16s ease-in-out infinite alternate;
}

.hero-beams i:nth-child(1) { left: 8%; }
.hero-beams i:nth-child(2) { left: 46%; width: 10vw; animation-duration: 21s; animation-delay: -6s; opacity: 0.8; }
.hero-beams i:nth-child(3) { left: 78%; width: 16vw; animation-duration: 18s; animation-delay: -11s; opacity: 0.7; }

@keyframes expo-beam {
  0% { transform: translateX(-6vw) rotate(24deg); opacity: 0.35; }
  100% { transform: translateX(6vw) rotate(18deg); opacity: 0.9; }
}

/* 地面反光 */
.expo .hero-inner::after {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: 120%;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.18), transparent 65%);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

/* 首屏入场：纯 CSS，不依赖脚本是否加载成功 */
.js .expo .hero-copy > *,
.js .expo .system-console {
  animation: expo-rise 0.9s var(--hall-ease) both;
}
.js .expo .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .expo .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js .expo .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js .expo .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.js .expo .system-console { animation-name: expo-fade-scale; animation-duration: 1.2s; animation-delay: 0.1s; }

@keyframes expo-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes expo-fade-scale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

.expo .system-console {
  background: radial-gradient(circle at 50% 55%, rgba(29, 78, 216, 0.16), rgba(6, 14, 26, 0.35) 70%);
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(37, 99, 235, 0.18);
}

.expo .console-canvas {
  height: 440px;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.10), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.core-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.expo .core-node {
  width: 132px;
  height: 132px;
  background: radial-gradient(circle at 40% 35%, rgba(59, 130, 246, 0.95) 0%, rgba(29, 78, 216, 0.85) 35%, rgba(8, 20, 40, 0.92) 78%);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.55), 0 0 120px rgba(16, 185, 129, 0.12), inset 0 0 24px rgba(147, 197, 253, 0.45);
}

.expo .core-node::before,
.expo .core-node::after {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.35);
  content: "";
  animation: expo-spin 26s linear infinite;
}

.expo .core-node::after {
  inset: -30px;
  border: 1px solid rgba(52, 211, 153, 0.14);
  border-top-color: rgba(52, 211, 153, 0.6);
  animation-duration: 9s;
}

@keyframes expo-spin { to { transform: rotate(360deg); } }

/* Canvas 驱动时，卫星标签跟随 3D 投影 */
.expo-live .satellite {
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform, opacity;
}

.expo-live .satellite:hover { transform: none; }

.expo .answer-card {
  background: linear-gradient(135deg, rgba(14, 30, 54, 0.92), rgba(8, 17, 32, 0.92));
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 40px rgba(37, 99, 235, 0.12);
}

.expo .answer-card__label { color: var(--aurora-mint-light); }
.expo .answer-card__label strong { color: #ffffff; }
.expo .answer-card p { color: var(--hall-text); }

/* ---------- 02 产品馆 ---------- */

.product-stage { position: relative; }

.stage-hud { display: none; }

.stage-floor { display: none; }

.product-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -4px 0 18px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.22);
  color: #93c5fd;
}

.product-glyph::after {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.45), transparent 70%);
  content: "";
}

.product-glyph svg { width: 46px; height: 46px; overflow: visible; }
.product-glyph svg * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-glyph .g-lines path { stroke-width: 1.2; opacity: 0.55; }
.product-glyph .g-dots circle { fill: #0b1728; }
.product-glyph .g-pulse { stroke: var(--aurora-mint-light); animation: g-pulse 2.4s ease-in-out infinite; }
.product-glyph .g-d2 { animation-delay: 0.4s; }
.product-glyph .g-d3 { animation-delay: 0.8s; }
.product-glyph .g-check { stroke: var(--aurora-mint-light); stroke-dasharray: 30; animation: g-draw 3s ease-in-out infinite; }
.product-glyph .g-scan { stroke: rgba(96, 165, 250, 0.6); stroke-width: 1.2; animation: g-scan 3s ease-in-out infinite; }
.product-glyph .g-doc { fill: #0b1728; }
.product-glyph .g-text { stroke-width: 1.4; opacity: 0.7; }
.product-glyph .g-lens { stroke: var(--aurora-mint-light); fill: rgba(11, 23, 40, 0.8); animation: g-float 3.2s ease-in-out infinite; }
.product-glyph .g-handle { stroke: var(--aurora-mint-light); animation: g-float 3.2s ease-in-out infinite; }
.product-glyph .g-pipe { stroke: rgba(148, 197, 255, 0.35); stroke-width: 5; }
.product-glyph .g-flow { stroke: var(--heat-a); stroke-width: 2.4; stroke-dasharray: 6 10; animation: g-flow 1.2s linear infinite; }
.product-glyph .g-flame { stroke: var(--heat-b); fill: rgba(249, 115, 22, 0.12); transform-origin: 32px 34px; animation: g-flame 1.8s ease-in-out infinite; }
.product-glyph .g-wave rect { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; animation: g-wave 1.3s ease-in-out infinite; }
.product-glyph .g-wave rect:nth-child(2n) { animation-delay: -0.3s; fill: var(--aurora-mint-light); }
.product-glyph .g-wave rect:nth-child(3n) { animation-delay: -0.6s; }

@keyframes g-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes g-draw { 0% { stroke-dashoffset: 30; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -30; } }
@keyframes g-scan { 0%, 100% { transform: translateY(-10px); opacity: 0; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes g-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, -3px); } }
@keyframes g-flow { to { stroke-dashoffset: -16; } }
@keyframes g-flame { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06, 0.95); } }
@keyframes g-wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }

.expo .product-code {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.2);
}

.expo .product-index { color: #64748b; opacity: 1; font-variant-numeric: tabular-nums; }
.expo .tag-list li { color: var(--hall-text); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.expo .product-card[data-href] { cursor: pointer; }

/* 产品馆 pin 模式（桌面，由 JS 加 .expo-pin） */
.expo-pin #products {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px 0 40px;
  overflow: hidden;
}

.expo-pin #products .section-head { margin-bottom: 34px; }

.expo-pin .product-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  perspective: 1600px;
  perspective-origin: 50% 40%;
}

.expo-pin .product-grid {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 34px calc(50vw - 190px) 56px;
  transform-style: preserve-3d;
  will-change: transform;
}

.expo-pin .product-card {
  flex: 0 0 380px;
  min-height: 380px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  transform-origin: 50% 60%;
  will-change: transform, opacity;
}

.expo-pin .product-card:hover { transform: none; }

.expo-pin .product-card.is-focus {
  border-color: rgba(96, 165, 250, 0.55);
  background: linear-gradient(180deg, rgba(30, 58, 104, 0.72), rgba(10, 22, 42, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(59, 130, 246, 0.32);
}

.expo-pin .product-card.is-focus::before { opacity: 1; }
.expo-pin .product-card.is-focus .product-glyph { color: #bfdbfe; box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.5), 0 0 30px rgba(59, 130, 246, 0.35); }

.expo-pin .stage-floor {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 760px;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.32), rgba(16, 185, 129, 0.08) 45%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.expo-pin .stage-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--hall-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stage-hud__count { color: #ffffff; font-variant-numeric: tabular-nums; }
.stage-hud__bars { display: flex; gap: 6px; }
.stage-hud__bars i { display: block; width: 26px; height: 3px; border-radius: 2px; background: rgba(148, 197, 255, 0.2); transition: background 0.3s ease, width 0.3s var(--hall-ease); }
.stage-hud__bars i.is-on { width: 44px; background: linear-gradient(90deg, var(--electric-blue), var(--aurora-mint-light)); }

/* ---------- 03 供热闭环馆 ---------- */

.expo .solution-map {
  background: linear-gradient(180deg, rgba(14, 28, 50, 0.7), rgba(6, 13, 25, 0.7));
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 50px rgba(249, 115, 22, 0.06);
}

.expo .map-stage {
  position: relative;
  padding-left: 46px;
}

.loop-pipe {
  position: absolute;
  left: 15px;
  top: var(--pipe-top, 40px);
  height: var(--pipe-h, calc(100% - 80px));
  width: 8px;
  border-radius: 8px;
  background: rgba(148, 197, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(148, 197, 255, 0.16), inset 0 0 6px rgba(0, 0, 0, 0.6);
}

.loop-pipe__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(180deg, var(--heat-a) 0 14px, var(--heat-b) 14px 22px, #fb923c 22px 30px);
  background-size: 100% 60px;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
  transform: scaleY(var(--flow, 1));
  transform-origin: top center;
  animation: loop-water 1.1s linear infinite;
}

@keyframes loop-water { to { background-position: 0 60px; } }

.loop-pipe__head {
  position: absolute;
  left: 50%;
  top: calc(var(--flow, 1) * 100%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7ed 0%, var(--heat-a) 35%, rgba(249, 115, 22, 0) 70%);
  transform: translate(-50%, -50%);
  opacity: var(--head, 0);
}

.expo .map-card {
  position: relative;
  padding: 16px 20px;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(13, 26, 46, 0.55);
  transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, transform 0.45s var(--hall-ease), opacity 0.45s ease;
}

/* 节点与支管 */
.expo .map-card::before {
  position: absolute;
  top: 50%;
  left: -38px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(148, 197, 255, 0.35);
  background: #050c18;
  content: "";
  transform: translateY(-50%);
  transition: all 0.45s ease;
  z-index: 2;
}

.expo .map-card::after {
  position: absolute;
  top: 50%;
  left: -22px;
  width: 22px;
  height: 2px;
  background: rgba(148, 197, 255, 0.2);
  content: "";
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.expo-flow .map-card { opacity: 0.5; }

.expo-flow .map-card.is-hot,
.expo .map-card.is-hot { opacity: 1; border-color: rgba(251, 191, 36, 0.35); background: linear-gradient(90deg, rgba(120, 53, 15, 0.22), rgba(13, 26, 46, 0.6) 55%); }
.expo .map-card.is-hot::before { border-color: var(--heat-a); background: var(--heat-b); box-shadow: 0 0 14px var(--heat-b), 0 0 0 5px rgba(249, 115, 22, 0.15); }
.expo .map-card.is-hot::after { background: linear-gradient(90deg, var(--heat-b), var(--heat-a)); box-shadow: 0 0 8px rgba(249, 115, 22, 0.6); }
.expo .map-card.is-current { transform: translateX(6px); box-shadow: 0 0 34px rgba(249, 115, 22, 0.16); }
.expo .map-card.is-hot .map-card__num { color: var(--heat-a); }
.expo .map-card li { color: #7c8ba1; }

.expo .solution-fact { background: rgba(13, 26, 46, 0.55); border-color: var(--hall-line); transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.expo .solution-fact.is-hot { border-color: rgba(52, 211, 153, 0.35); box-shadow: 0 0 22px rgba(16, 185, 129, 0.12); }

.expo-pin #heating {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 36px;
}

.expo-pin #heating .solution-copy h2 { margin-bottom: 14px; }
.expo-pin #heating .solution-copy > p { margin-bottom: 22px; }
.expo-pin #heating .solution-facts { gap: 12px; }
.expo-pin #heating .solution-fact { padding: 12px 14px; }
.expo-pin #heating .solution-map { padding: 22px 24px; }
.expo-pin #heating .map-header { padding-bottom: 12px; margin-bottom: 14px; }
.expo-pin #heating .map-stage { gap: 12px; }
.expo-pin #heating .map-card { padding: 12px 18px; }
.expo-pin #heating .map-card p { margin-bottom: 6px; }

/* ---------- 04 架构馆 ---------- */

@media (min-width: 1081px) {
  .expo .architecture { grid-template-columns: 0.78fr 1.22fr; }
}

.expo .layer-stack {
  position: relative;
  padding-right: 58px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.expo .layer {
  position: relative;
  transform-origin: 50% 50%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.expo .layer:hover { transform: none; }

.expo .layer-index {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.25);
}

.expo .layer-tags span { background: rgba(255, 255, 255, 0.06); color: var(--hall-text); }

.expo .layer--channel { --layer-c: 96, 165, 250; }
.expo .layer--ai { --layer-c: 167, 139, 250; }
.expo .layer--mcp { --layer-c: 52, 211, 153; }
.expo .layer--core { --layer-c: 251, 191, 36; }

.expo .layer { border-left: 3px solid rgba(var(--layer-c), 0.55); }
.expo .layer .layer-index { color: rgb(var(--layer-c)); background: rgba(var(--layer-c), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--layer-c), 0.3); }

.expo .layer--mcp {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.35), rgba(9, 18, 33, 0.7) 60%);
  border-color: rgba(52, 211, 153, 0.3);
}

/* hover：高亮该层职责，弱化其他层 */
@media (hover: hover) {
  .expo .layer-stack:hover .layer { filter: brightness(0.55) saturate(0.7); }
  .expo .layer-stack .layer:hover {
    filter: none;
    border-color: rgba(var(--layer-c), 0.7);
    box-shadow: 0 0 0 1px rgba(var(--layer-c), 0.25), 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(var(--layer-c), 0.22);
  }
  .expo .layer-stack .layer:hover p { color: #e2e8f0; }
  .expo .layer-stack .layer:hover h3 { color: rgb(var(--layer-c)); }
}

.expo .layer.is-lit {
  border-color: rgba(var(--layer-c), 0.7);
  box-shadow: 0 0 40px rgba(var(--layer-c), 0.2);
}

/* 右侧“模型不直连数据库”阻断标识 */
.arch-guard {
  display: none;
}

.expo .arch-guard {
  display: block;
  position: absolute;
  right: 18px;
  top: var(--guard-top, 18%);
  height: var(--guard-h, 64%);
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(248, 113, 113, 0.85) 0 6px, transparent 6px 12px);
  z-index: 2;
}

.expo .arch-guard::before,
.expo .arch-guard::after {
  position: absolute;
  left: -14px;
  width: 14px;
  height: 2px;
  background: rgba(248, 113, 113, 0.85);
  content: "";
}

.expo .arch-guard::before { top: 0; }
.expo .arch-guard::after { bottom: 0; }

.arch-guard__x {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f0a0a;
  border: 1px solid rgba(248, 113, 113, 0.8);
  color: #fca5a5;
  font-size: 13px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.45);
}

.arch-guard__x::after {
  position: absolute;
  top: 36px;
  left: 50%;
  content: "";
  writing-mode: vertical-rl;
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.expo .arch-guard[data-label] .arch-guard__x::after { content: "模型不直连数据库"; }

@media (hover: hover) {
  .expo .layer-stack:has(.layer--ai:hover) .arch-guard,
  .expo .layer-stack:has(.layer--core:hover) .arch-guard { filter: drop-shadow(0 0 6px rgba(248, 113, 113, 0.9)); }
}

.expo-pin #architecture {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 40px;
}

/* ---------- 05 方案对比 ---------- */

.expo .comparison-table-wrapper { background: rgba(8, 17, 32, 0.7); }
.expo .comparison-table th,
.expo .comparison-table td { border-bottom-color: rgba(148, 197, 255, 0.08); }
.expo .comparison-table th { background: rgba(255, 255, 255, 0.03); color: #e2e8f0; }
.expo .comparison-table td { color: var(--hall-muted); }
.expo .comparison-table th.highlight,
.expo .comparison-table td.highlight {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.14), rgba(16, 185, 129, 0.06));
  color: #bfdbfe;
}
.expo .comparison-table thead th.highlight { color: var(--aurora-mint-light); box-shadow: inset 0 -2px 0 var(--aurora-mint); }
.expo .comparison-table tbody tr { transition: background 0.25s ease; }
.expo .comparison-table tbody tr:hover { background: rgba(59, 130, 246, 0.06); }

/* ---------- 06 交付路线 ---------- */

.expo .steps { position: relative; }

.steps-track { display: none; }

@media (min-width: 1081px) {
  .expo .steps { padding-top: 34px; }
  .expo .steps-track {
    display: block;
    position: absolute;
    top: 6px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: rgba(148, 197, 255, 0.14);
  }
  .expo .steps-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--aurora-mint-light));
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
    transform: scaleX(var(--track, 1));
    transform-origin: left center;
  }
  .expo .step::after {
    position: absolute;
    top: -34px;
    left: 22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(148, 197, 255, 0.4);
    background: var(--cosmic-0);
    content: "";
    transform: translateY(-1px);
    transition: all 0.4s ease;
  }
  .expo .step.is-on::after { border-color: var(--aurora-mint-light); background: var(--aurora-mint); box-shadow: 0 0 14px var(--aurora-mint); }
}

.expo .step::before { background: linear-gradient(90deg, var(--electric-blue), var(--aurora-mint-light)); transition: width 0.4s var(--hall-ease); }
.expo .step.is-on { border-color: rgba(52, 211, 153, 0.28); }
.expo .step.is-on::before { width: 56px; }

/* ---------- 09 FAQ / 10 联系 ---------- */

.expo .faq-list details[open] { border-color: rgba(96, 165, 250, 0.35); box-shadow: 0 0 30px rgba(59, 130, 246, 0.12); }
.expo .faq-list summary::after { background: rgba(59, 130, 246, 0.14); color: #93c5fd; }

.expo .cta-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 60px rgba(37, 99, 235, 0.18);
}

.expo .cta-panel::before {
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 30%, rgba(147, 197, 253, 0.14) 45%, transparent 60%);
  background-size: 250% 100%;
  content: "";
  animation: expo-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.expo .cta-panel > * { position: relative; }

@keyframes expo-sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }

/* ---------- 窄屏：简化 ---------- */

@media (max-width: 900px) {
  html.expo-page { scroll-padding-top: 126px; }
  .expo .primary-nav { top: 118px; }
  .expo .hero { min-height: 0; padding: 56px 0 96px; }
  .expo .console-canvas { height: 360px; }
}

@media (max-width: 640px) {
  .expo-nav__inner { width: 100%; padding-inline: 12px; }
  .expo .console-canvas { height: 320px; }
  .expo .core-node { width: 108px; height: 108px; }
  .expo .core-node strong { font-size: 13px; }
  .expo [data-hall]::after { top: 22px; left: 16px; }
  .expo .layer-stack { padding-right: 44px; }
  .expo .arch-guard { right: 12px; }
  .expo .map-stage { padding-left: 40px; }
  .expo .loop-pipe { left: 12px; }
  .expo .map-card::before { left: -34px; }
  .expo .map-card::after { left: -20px; width: 20px; }
}

/* ---------- 减少动态效果 ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-beams { display: none; }
  .expo .core-node::before,
  .expo .core-node::after,
  .expo .cta-panel::before { animation: none; }
  .js .expo .hero-copy > *,
  .js .expo .system-console { animation: none; }
}

/* 标题区微调 */
.expo .section-head--single p { margin: 16px auto 0; }

/* 动效状态由 GSAP 接管时，避免 CSS transition 与补间争夺 opacity / transform */
.expo-motion .reason-card,
.expo-motion .step,
.expo-motion .faq-list details,
.expo-motion .answer-card,
.expo-motion .comparison-table tbody tr,
.expo-motion .cta-panel {
  transition-property: border-color, box-shadow, background-color;
}
.expo-motion .layer { transition-property: border-color, box-shadow, background-color, filter; }
.expo-motion .product-card { transition-property: border-color, box-shadow, background-color; }
