/* ============================================================
   2026V2 官网首页改版样式
   色彩：淡蓝 / 科技蓝
   参考：ai-product-v1.vue Hero 区设计语言
   ============================================================ */

/* ============================================================
   0. 全局变量
   ============================================================ */
.home-2026v2-page {
  --home-2026v2-ad-offset: 0px;
  --v2-primary: #2563eb;
  --v2-primary-dark: #1d4ed8;
  --v2-primary-light: #3b82f6;
  --v2-primary-bg: #dbeafe;
  --v2-highlight: #7ef0ff;
  --v2-text: #1e293b;
  --v2-text-secondary: #64748b;
  --v2-text-muted: #94a3b8;
  --v2-white: #ffffff;
  --v2-bg-light: #f0f7ff;
  --v2-border: #e2e8f0;
  --v2-border-light: rgba(219, 234, 254, 0.78);
}

.home-2026v2-page .header_box {
  height: calc(70px + var(--home-2026v2-ad-offset)) !important;
  transition: height 0.25s ease;
}

.home-2026v2-page .menu_pc_show,
.home-2026v2-page .menu_pc_show.menu_pc_show_for_banner {
  top: calc(70px + var(--home-2026v2-ad-offset)) !important;
  transition: top 0.25s ease;
}

/* ============================================================
   1. 顶部广告条 header_ad_bg 覆写
   ============================================================ */

/* 默认隐藏广告条，等 JS 更新内容后再显示（防止旧广告闪烁） */
.home-2026v2-page .header_ad_bg {
  display: none !important;
}

.home-2026v2-page .header_ad_bg.home-ai-ad {
  display: block !important;
  position: relative;
  height: 60px !important;
  min-height: 60px !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(129, 200, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(102deg, #1d4ed8 0%, #2563eb 46%, #60a5fa 100%);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.18);
  overflow: hidden;
}

.home-2026v2-page .header_ad_bg.home-ai-ad.is-hidden {
  display: none !important;
}

.home-2026v2-page .home-ai-ad .header_ad {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  height: 60px !important;
  min-height: 60px !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.home-2026v2-page .home-ai-ad .header_ad p {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 24px !important;
  color: #fff !important;
  letter-spacing: 0.02em !important;
  cursor: pointer;
}

.home-2026v2-page .home-ai-ad .v2-ad-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.home-2026v2-page .home-ai-ad .header_ad a {
  width: auto;
  min-width: 110px;
  padding: 0 16px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff 0%, #dbeafe 100%);
  box-shadow: 0 6px 18px rgba(10, 15, 48, 0.16);
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-2026v2-page .home-ai-ad .header_ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 15, 48, 0.22);
}

.home-2026v2-page .home-ai-ad .header_ad_close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
}

/* ============================================================
   2. Hero 区域
   ============================================================ */
.v2-hero {
  position: relative;
  padding: 70px 0 56px;
  background:
    radial-gradient(circle at 20% 76%, rgba(255,255,255,0.82) 0%, transparent 26%),
    radial-gradient(circle at 88% 68%, rgba(59,130,246,0.18) 0%, transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(96,165,250,0.24) 0%, transparent 30%),
    linear-gradient(180deg, #dfeeff 0%, #edf5ff 52%, #f7fbff 100%);
  overflow: hidden;
}

.v2-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.10), transparent 60%);
  pointer-events: none;
}

.v2-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.08), transparent 60%);
  pointer-events: none;
}

.v2-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* ============================================================
   2.1 左侧主叙事区
   ============================================================ */
.v2-hero__content {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v2-hero__topic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--v2-border-light);
  background: rgba(219, 234, 254, 0.48);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--v2-primary);
  font-weight: 600;
  width: fit-content;
}

.v2-hero__topic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v2-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  flex-shrink: 0;
}

.v2-hero__title {
  margin: 24px 0 0;
  font-size: 42px;
  line-height: 1.22;
  color: var(--v2-text);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.v2-hero__subtitle {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.4;
  color: var(--v2-text-secondary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.v2-hero__desc {
  max-width: 500px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--v2-text-secondary);
}

.v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.v2-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.v2-hero__btn:hover {
  transform: translateY(-2px);
}

.v2-hero__btn--primary {
  background: linear-gradient(135deg, var(--v2-primary) 0%, var(--v2-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.v2-hero__btn--primary:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.36);
}

.v2-hero__btn--secondary {
  background: var(--v2-white);
  border: 1.5px solid var(--v2-primary);
  color: var(--v2-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.v2-hero__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--v2-text-muted);
}

/* ============================================================
   2.2 右侧功能切换区
   ============================================================ */
.v2-hero__switcher {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

/* 标签导航 */
.v2-hero__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--v2-border-light);
  margin-bottom: 16px;
}

.v2-hero__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  color: var(--v2-text-secondary);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.v2-hero__tab-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.v2-hero__tab-icon svg {
  width: 100%;
  height: 100%;
}

.v2-hero__tab:hover {
  color: var(--v2-primary);
  background: rgba(37, 99, 235, 0.06);
}

.v2-hero__tab.is-active {
  color: var(--v2-white);
  background: var(--v2-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

/* AI 标签激活时蓝紫渐变 */
.v2-hero__tab[data-index="3"].is-active {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.28);
}

/* 标签底部指示器（隐藏在 is-active 直接设背景的方案里不用） */
.v2-hero__tab-indicator {
  display: none;
}

/* ============================================================
   2.3 预览舞台
   ============================================================ */
.v2-hero__stage {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 场景 */
.v2-hero__scene {
  position: absolute;
  inset: 0;
  padding: 10px 8px 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.v2-hero__scene.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 出场动画 */
.v2-hero__scene.is-exiting .v2-hero__layer--front {
  animation: v2-layer-exit 350ms cubic-bezier(0.4, 0, 1, 1) 0ms forwards;
}
.v2-hero__scene.is-exiting .v2-hero__layer--mid {
  animation: v2-layer-exit 350ms cubic-bezier(0.4, 0, 1, 1) 50ms forwards;
}
.v2-hero__scene.is-exiting .v2-hero__layer--back {
  animation: v2-layer-exit 350ms cubic-bezier(0.4, 0, 1, 1) 100ms forwards;
}
.v2-hero__scene.is-exiting .v2-hero__accent {
  animation: v2-accent-exit 300ms cubic-bezier(0.4, 0, 1, 1) 30ms forwards;
}
.v2-hero__scene.is-exiting .v2-hero__scene-desc {
  animation: v2-layer-exit 300ms cubic-bezier(0.4, 0, 1, 1) 0ms forwards;
}

/* 入场动画 */
.v2-hero__scene.is-entering .v2-hero__layer--back {
  animation: v2-layer-enter-back 500ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}
.v2-hero__scene.is-entering .v2-hero__layer--mid {
  animation: v2-layer-enter-mid 500ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
.v2-hero__scene.is-entering .v2-hero__layer--front {
  animation: v2-layer-enter-front 500ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}
.v2-hero__scene.is-entering .v2-hero__accent {
  animation: v2-accent-enter 500ms cubic-bezier(0.22, 1, 0.36, 1) 280ms both;
}
.v2-hero__scene.is-entering .v2-hero__scene-desc {
  animation: v2-desc-enter 450ms cubic-bezier(0.22, 1, 0.36, 1) 350ms both;
}

/* 层级基础样式 */
.v2-hero__layer {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.v2-hero__layer--back {
  z-index: 1;
  opacity: 0.2;
  filter: blur(10px);
  -webkit-filter: blur(10px);
}

.v2-hero__layer--mid {
  z-index: 2;
  opacity: 0.55;
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

.v2-hero__layer--front {
  z-index: 3;
  opacity: 1;
  filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

/* 点缀元素 */
.v2-hero__accent {
  position: absolute;
  z-index: 4;
}

.v2-hero__accent--tl {
  top: 16px;
  left: 16px;
}

.v2-hero__accent--br {
  bottom: 48px;
  right: 16px;
}

/* 场景描述文字 */
.v2-hero__scene-desc {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  z-index: 5;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-primary);
  letter-spacing: 0.04em;
}

/* ============================================================
   2.4 动画关键帧
   ============================================================ */
@keyframes v2-layer-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }
}

@keyframes v2-layer-enter-back {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.94);
  }
  to {
    opacity: 0.2;
    transform: translateY(0) scale(1);
  }
}

@keyframes v2-layer-enter-mid {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 0.55;
    transform: translateY(0) scale(1);
  }
}

@keyframes v2-layer-enter-front {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes v2-scene2-mid-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes v2-scene2-mid-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes v2-scene3-front-enter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes v2-scene3-front-exit {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
  }
}

@keyframes v2-accent-exit {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.88);
  }
}

@keyframes v2-accent-enter {
  from {
    opacity: 0;
    transform: translate(var(--enter-x, -20px), var(--enter-y, -10px)) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes v2-desc-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   2.5 公共 UI 元素
   ============================================================ */
/* 迷你窗口标题栏 */
.v2-mini-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(248, 250, 252, 0.8);
  border-radius: 12px 12px 0 0;
}

.v2-mini-bar__title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--v2-text-muted);
  font-weight: 500;
}

.v2-scene0__bar-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--v2-text-muted);
  white-space: nowrap;
}

.v2-scene0__bar-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--v2-primary);
  font-size: 10px;
  font-weight: 700;
}

.v2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.v2-dot--red { background: #ef4444; }
.v2-dot--amber { background: #f59e0b; }
.v2-dot--green { background: #22c55e; }

/* 头像 */
.v2-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.v2-avatar--blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.v2-avatar--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.v2-avatar--purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.v2-avatar--lg { width: 44px; height: 44px; font-size: 16px; }

/* 聊天气泡 */
.v2-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
  max-width: 85%;
  word-break: break-word;
  margin: 0 !important;
}

.v2-bubble--customer {
  background: linear-gradient(135deg, #4f8cff 0%, #2563eb 100%);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.v2-bubble--agent {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(219, 234, 254, 0.9);
  color: var(--v2-text);
  border-bottom-right-radius: 4px;
}

.v2-bubble--ai {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(196, 181, 253, 0.5);
  color: var(--v2-text);
  border-bottom-right-radius: 4px;
}

/* 打字动画 */
.v2-typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(196, 181, 253, 0.5);
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  width: fit-content;
  margin: 0 !important;
  align-self: flex-end;
}

.v2-typing--ai {
  padding: 10px 14px;
}

.v2-typing__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-primary);
  animation: v2-typing 1.4s ease-in-out infinite;
}

.v2-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.v2-typing__dot:nth-child(3) { animation-delay: 0.4s; }

.v2-typing--ai .v2-typing__dot {
  background: #7c3aed;
}

@keyframes v2-typing {
  0%, 100% { opacity: 0.4; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1); }
}

/* 指标卡片 */
.v2-accent-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--v2-border-light);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.v2-accent-badge__value {
  font-size: 18px;
  font-weight: 800;
  color: var(--v2-primary);
  line-height: 1.2;
}

.v2-accent-badge__label {
  font-size: 11px;
  color: var(--v2-text-muted);
  margin-top: 2px;
  line-height: 1;
}

.v2-accent-badge--wide {
  flex-direction: row;
  gap: 8px;
}

/* 标签 */
.v2-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.v2-tag--blue { background: #dbeafe; color: #1d4ed8; }
.v2-tag--green { background: #dcfce7; color: #16a34a; }
.v2-tag--purple { background: #ede9fe; color: #7c3aed; }
.v2-tag--amber { background: #fef3c7; color: #b45309; }

/* 状态点 */
.v2-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v2-status-dot--online {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ============================================================
   2.6 Scene 0: 聚合客服
   ============================================================ */
.v2-scene0__back-window,
.v2-scene0__mid-window {
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.5);
  overflow: hidden;
}

.v2-scene0__back-window {
  position: absolute;
  top: 40px;
  right: -12px;
  width: 200px;
  height: 140px;
}

.v2-mini-lines {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-mini-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(203, 213, 225, 0.5);
}

.v2-mini-lines span:nth-child(1) { width: 80%; }
.v2-mini-lines span:nth-child(2) { width: 60%; }
.v2-mini-lines span:nth-child(3) { width: 70%; }

.v2-scene0__ghost-layout {
  display: grid;
  grid-template-columns: 18px 42px 52px 1fr;
  gap: 6px;
  padding: 10px;
  height: calc(100% - 24px);
  box-sizing: border-box;
}

.v2-scene0__ghost-layout--mid {
  grid-template-columns: 20px 50px 64px 1fr;
  gap: 8px;
  padding: 12px;
  min-height: 130px;
}

.v2-scene0__ghost-rail,
.v2-scene0__ghost-menu,
.v2-scene0__ghost-list,
.v2-scene0__ghost-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2-scene0__ghost-rail span,
.v2-scene0__ghost-menu span,
.v2-scene0__ghost-list span,
.v2-scene0__ghost-chat span {
  display: block;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.5);
}

.v2-scene0__ghost-rail span {
  width: 100%;
  aspect-ratio: 1;
}

.v2-scene0__ghost-menu span {
  height: 12px;
}

.v2-scene0__ghost-list span {
  height: 18px;
  border-radius: 8px;
}

.v2-scene0__ghost-chat {
  justify-content: center;
}

.v2-scene0__ghost-chat span {
  height: 14px;
  border-radius: 7px;
}

.v2-scene0__ghost-chat span:nth-child(1) { width: 72%; }
.v2-scene0__ghost-chat span:nth-child(2) { width: 92%; }
.v2-scene0__ghost-chat span:nth-child(3) { width: 60%; }
.v2-scene0__ghost-layout--mid .v2-scene0__ghost-chat span:nth-child(4) { width: 78%; }

.v2-scene0__mid-window {
  position: absolute;
  top: 60px;
  right: 12px;
  width: 220px;
}

.v2-mini-chat {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-scene0__main-window {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 620px;
  height: 100%;
  max-height: 384px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--v2-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.v2-hero__scene[data-scene="0"] .v2-hero__layer--front {
  padding: 4px;
}

.v2-hero__scene[data-scene="0"] .v2-hero__accent--br {
  left: 0px;
  right: auto;
  bottom: 12px;
}

.v2-hero__scene[data-scene="0"] .v2-hero__accent--br .v2-accent-badge {
  padding: 8px 12px;
}

.v2-hero__scene[data-scene="0"] .v2-hero__accent--br .v2-accent-badge__value {
  font-size: 13px;
  line-height: 1.2;
}

.v2-hero__scene[data-scene="0"] .v2-hero__accent--tl {
  top: 6px;
  left: auto;
  right: 0px;
}

.v2-scene0__body {
  flex: 1;
  display: grid;
  grid-template-columns: 42px 110px 150px minmax(0, 1fr);
  overflow: hidden;
}

.v2-scene0__account-rail,
.v2-scene0__sub-menu,
.v2-scene0__session-list {
  border-right: 1px solid var(--v2-border);
  min-width: 0;
}

.v2-scene0__account-rail {
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(248, 250, 252, 0.35);
}

.v2-scene0__account-all,
.v2-scene0__account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--v2-text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.v2-scene0__account-all.is-active,
.v2-scene0__account-avatar.is-active {
  color: #fff;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.v2-scene0__account-avatar {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.v2-scene0__account-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.v2-scene0__account-avatar.is-active img {
  transform: scale(1.02);
}

.v2-scene0__sub-menu {
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(248, 250, 252, 0.25);
}

.v2-scene0__sub-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2-scene0__sub-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--v2-text-muted);
}

.v2-scene0__sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--v2-text-secondary);
  background: rgba(255, 255, 255, 0.4);
}

.v2-scene0__sub-item span,
.v2-scene0__sub-item em {
  font-size: 10px;
  font-style: normal;
}

.v2-scene0__sub-item.is-active {
  color: var(--v2-primary);
  background: rgba(37, 99, 235, 0.1);
}

.v2-scene0__session-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.v2-scene0__session-tabs {
  display: flex;
  gap: 6px;
}

.v2-scene0__session-tabs span {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: var(--v2-text-muted);
  background: rgba(241, 245, 249, 0.88);
}

.v2-scene0__session-tabs .is-active {
  color: var(--v2-primary);
  background: rgba(37, 99, 235, 0.12);
}

.v2-scene0__session-search {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 10px;
  color: rgba(100, 116, 139, 0.9);
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.v2-scene0__session {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 8px;
  border-radius: 10px;
  cursor: default;
  position: relative;
  background: rgba(255, 255, 255, 0.42);
}

.v2-scene0__session.is-selected {
  background: rgba(37, 99, 235, 0.08);
}

.v2-scene0__session-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v2-scene0__session-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text);
}

.v2-scene0__session-preview {
  font-size: 10px;
  color: var(--v2-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-scene0__session-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.v2-scene0__chat {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.v2-scene0__chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.v2-scene0__chat-header strong {
  display: block;
  font-size: 12px;
  color: var(--v2-text);
}

.v2-scene0__chat-header span,
.v2-scene0__chat-header em {
  font-size: 10px;
  color: var(--v2-text-muted);
  font-style: normal;
}

.v2-scene0__composer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.v2-scene0__composer-tool,
.v2-scene0__composer-send {
  font-size: 10px;
  font-weight: 600;
  color: var(--v2-primary);
  white-space: nowrap;
}

.v2-scene0__composer-input {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  color: var(--v2-text-muted);
}

/* ============================================================
   2.7 Scene 1: 私域 SCRM
   ============================================================ */

/* --- Back 层：骨架看板 --- */
.v2-scene1__back-dashboard {
  position: absolute;
  top: 10px;
  left: -15px;
  width: 92%;
  height: 88%;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.v2-scene1__ghost-body {
  flex: 1;
  display: flex;
  gap: 8px;
  padding: 10px;
}

.v2-scene1__ghost-sidebar {
  width: 70px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0;
}

.v2-scene1__ghost-sidebar span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(203, 213, 225, 0.4);
  width: 80%;
}

.v2-scene1__ghost-sidebar span:nth-child(1) { width: 90%; background: rgba(37, 99, 235, 0.12); }

.v2-scene1__ghost-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-scene1__ghost-stats {
  display: flex;
  gap: 6px;
}

.v2-scene1__ghost-stats span {
  flex: 1;
  height: 28px;
  border-radius: 8px;
  background: rgba(203, 213, 225, 0.35);
}

.v2-scene1__ghost-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.v2-scene1__ghost-rows span {
  display: block;
  height: 18px;
  border-radius: 6px;
  background: rgba(203, 213, 225, 0.3);
}

.v2-scene1__ghost-rows span:nth-child(1) { width: 100%; }
.v2-scene1__ghost-rows span:nth-child(2) { width: 95%; }
.v2-scene1__ghost-rows span:nth-child(3) { width: 90%; }
.v2-scene1__ghost-rows span:nth-child(4) { width: 85%; }

/* --- Mid 层：SOP 自动化流程卡 --- */
.v2-scene1__mid-sop {
  position: absolute;
  top: 30px;
  right: 10px;
  width: 210px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--v2-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.v2-scene1__sop-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-scene1__sop-icon {
  font-size: 14px;
}

.v2-scene1__sop-head strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-text);
  flex: 1;
}

.v2-scene1__sop-status {
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.v2-scene1__sop-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.v2-scene1__sop-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 3px 0;
}

.v2-scene1__sop-step div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v2-scene1__sop-step strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-text-secondary);
}

.v2-scene1__sop-step em {
  font-style: normal;
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene1__sop-step--done strong {
  color: var(--v2-text);
}

.v2-scene1__sop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
  margin-top: 3px;
}

.v2-scene1__sop-step--done .v2-scene1__sop-dot {
  background: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.v2-scene1__sop-line {
  width: 1px;
  height: 10px;
  background: #cbd5e1;
  margin-left: 3.5px;
}

.v2-scene1__sop-line--done {
  background: #10b981;
}

.v2-scene1__sop-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene1__sop-footer strong {
  font-weight: 700;
  color: #10b981;
}

.v2-scene1__sop-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(203, 213, 225, 0.3);
  overflow: hidden;
}

.v2-scene1__sop-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* --- Front 层：SCRM 运营工作台 --- */
.v2-scene1__dashboard {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 580px;
  height: 100%;
  max-height: 380px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--v2-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.v2-scene1__bar-status {
  font-size: 11px;
  color: var(--v2-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.v2-scene1__bar-status-tag {
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.v2-scene1__body {
  flex: 1;
  display: grid;
  grid-template-columns: 105px 1fr;
  overflow: hidden;
}

/* 侧边导航 */
.v2-scene1__sidebar {
  background: rgba(248, 250, 252, 0.9);
  border-right: 1px solid var(--v2-border-light);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  gap: 2px;
}

.v2-scene1__nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--v2-text-secondary);
  cursor: default;
  position: relative;
  transition: background 0.15s;
}

.v2-scene1__nav-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
}

.v2-scene1__nav-item.is-active {
  color: var(--v2-primary);
  background: rgba(37, 99, 235, 0.06);
  font-weight: 600;
}

.v2-scene1__nav-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--v2-primary);
}

.v2-scene1__sidebar-footer {
  margin-top: auto;
  padding: 6px 10px;
  font-size: 10px;
  color: var(--v2-text-muted);
  border-top: 1px solid var(--v2-border-light);
}

/* 主内容区 */
.v2-scene1__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
}

/* 统计卡行 */
.v2-scene1__stat-row {
  display: flex;
  gap: 6px;
}

.v2-scene1__stat-card {
  flex: 1;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v2-scene1__stat-card strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--v2-primary);
  line-height: 1.2;
}

.v2-scene1__stat-card span {
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene1__stat-card em {
  font-style: normal;
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene1__stat-up {
  color: #10b981 !important;
  font-weight: 600;
}

.v2-scene1__stat-down {
  color: #ef4444 !important;
  font-weight: 600;
}

/* 客户生命周期条 */
.v2-scene1__lifecycle {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v2-scene1__lc-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-text-secondary);
}

.v2-scene1__lc-bar {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  gap: 1px;
}

.v2-scene1__lc-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  transition: opacity 0.2s;
}

.v2-scene1__lc-seg span {
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.v2-scene1__lc-seg em {
  font-style: normal;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1;
}

.v2-scene1__lc-seg--new { background: #3b82f6; }
.v2-scene1__lc-seg--intent { background: #10b981; }
.v2-scene1__lc-seg--deal { background: #8b5cf6; }
.v2-scene1__lc-seg--rebuy { background: #f59e0b; }
.v2-scene1__lc-seg--lost { background: #94a3b8; }

/* 客户列表 */
.v2-scene1__table {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--v2-border-light);
}

.v2-scene1__table-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr 1.2fr;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-scene1__table-head span {
  font-size: 10px;
  font-weight: 600;
  color: var(--v2-text-muted);
}

.v2-scene1__table-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr 1.2fr;
  gap: 4px;
  align-items: center;
  padding: 5px 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: background 0.15s;
}

.v2-scene1__table-row:last-child {
  border-bottom: none;
}

.v2-scene1__table-row.is-selected {
  background: rgba(37, 99, 235, 0.04);
}

.v2-scene1__cell-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text);
}

.v2-avatar--sm {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.v2-scene1__cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.v2-tag--xs {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
}

.v2-scene1__cell-stage {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--v2-text-secondary);
}

.v2-scene1__stage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v2-scene1__stage-dot--new { background: #3b82f6; }
.v2-scene1__stage-dot--intent { background: #10b981; }
.v2-scene1__stage-dot--deal { background: #8b5cf6; }
.v2-scene1__stage-dot--rebuy { background: #f59e0b; }
.v2-scene1__stage-dot--lost { background: #94a3b8; }

.v2-scene1__cell-time {
  font-size: 10px;
  color: var(--v2-text-muted);
}

/* Scene 1 Accent 定位覆写 */
.v2-hero__scene[data-scene="1"] .v2-hero__accent--tl {
  top: 6px;
  left: auto;
  right: 0px;
}

.v2-hero__scene[data-scene="1"] .v2-hero__accent--br {
  left: 0px;
  right: auto;
  bottom: 12px;
}

.v2-hero__scene[data-scene="1"] .v2-hero__accent--br .v2-accent-badge {
  padding: 5px 10px;
  font-size: 11px;
}

/* ============================================================
   2.8 Scene 2: 自动化运营
   ============================================================ */

/* --- Back 层：骨架看板 --- */
.v2-hero__scene[data-scene="2"] .v2-hero__layer--back {
  opacity: 0.28;
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.v2-hero__scene[data-scene="2"] .v2-hero__layer--mid {
  z-index: 5;
  opacity: 1;
  filter: none;
  -webkit-filter: none;
}

.v2-hero__scene[data-scene="2"].is-entering .v2-hero__layer--mid {
  animation: v2-scene2-mid-enter 260ms ease-out 120ms both;
}

.v2-hero__scene[data-scene="2"].is-exiting .v2-hero__layer--mid {
  animation: v2-scene2-mid-exit 180ms ease-in 0ms forwards;
}

.v2-scene2__back-dashboard {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-41%);
  width: 100%;
  max-width: 564px;
  height: calc(100% - 32px);
  max-height: 368px;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.58);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.v2-scene2__ghost-body {
  flex: 1;
  display: flex;
  gap: 8px;
  padding: 10px;
}

.v2-scene2__ghost-sidebar {
  width: 70px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0;
}

.v2-scene2__ghost-sidebar span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(203, 213, 225, 0.4);
  width: 80%;
}

.v2-scene2__ghost-sidebar span:nth-child(1) { width: 90%; background: rgba(37, 99, 235, 0.12); }

.v2-scene2__ghost-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-scene2__ghost-stats {
  display: flex;
  gap: 6px;
}

.v2-scene2__ghost-stats span {
  flex: 1;
  height: 28px;
  border-radius: 8px;
  background: rgba(203, 213, 225, 0.35);
}

.v2-scene2__ghost-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.v2-scene2__ghost-rows span {
  display: block;
  height: 18px;
  border-radius: 6px;
  background: rgba(203, 213, 225, 0.3);
}

.v2-scene2__ghost-rows span:nth-child(1) { width: 100%; }
.v2-scene2__ghost-rows span:nth-child(2) { width: 95%; }
.v2-scene2__ghost-rows span:nth-child(3) { width: 90%; }
.v2-scene2__ghost-rows span:nth-child(4) { width: 85%; }

/* --- Mid 层：实时执行队列 --- */
.v2-scene2__mid-queue {
  position: absolute;
  top: auto;
  right: 8px;
  bottom: 10px;
  width: 248px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.v2-hero__scene[data-scene="2"] .v2-hero__layer--front {
  justify-content: center;
  padding: 8px;
}

.v2-scene2__queue-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-scene2__queue-icon {
  font-size: 14px;
}

.v2-scene2__queue-head strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-text);
  flex: 1;
}

.v2-scene2__queue-count {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.v2-scene2__queue-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-scene2__queue-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.72);
}

.v2-scene2__queue-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-scene2__queue-row strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text);
}

.v2-scene2__q-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v2-scene2__q-dot--active { background: #10b981; }
.v2-scene2__q-dot--pending { background: #f59e0b; }

.v2-scene2__queue-meta {
  font-size: 11px;
  color: var(--v2-text-muted);
  padding-left: 15px;
}

.v2-scene2__q-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(203, 213, 225, 0.3);
  overflow: hidden;
  margin-left: 15px;
}

.v2-scene2__q-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #10b981, #34d399);
}

.v2-scene2__q-bar-fill--mid {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.v2-scene2__q-bar-fill--wait {
  background: transparent;
}

/* --- Front 层：营销自动化中心 --- */
.v2-scene2__dashboard {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 580px;
  height: 100%;
  max-height: 380px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--v2-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.v2-scene2__bar-status {
  font-size: 11px;
  color: var(--v2-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.v2-scene2__bar-status-tag {
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.v2-scene2__body {
  flex: 1;
  display: grid;
  grid-template-columns: 105px 1fr;
  overflow: hidden;
}

/* 侧边导航 */
.v2-scene2__sidebar {
  background: rgba(248, 250, 252, 0.9);
  border-right: 1px solid var(--v2-border-light);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  gap: 2px;
}

.v2-scene2__nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--v2-text-secondary);
  cursor: default;
  position: relative;
  transition: background 0.15s;
}

.v2-scene2__nav-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
}

.v2-scene2__nav-item.is-active {
  color: var(--v2-primary);
  background: rgba(37, 99, 235, 0.06);
  font-weight: 600;
}

.v2-scene2__nav-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--v2-primary);
}

.v2-scene2__sidebar-footer {
  margin-top: auto;
  padding: 6px 10px;
  font-size: 10px;
  color: var(--v2-text-muted);
  border-top: 1px solid var(--v2-border-light);
}

/* 主内容区 */
.v2-scene2__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
}

/* 统计卡行 */
.v2-scene2__stat-row {
  display: flex;
  gap: 6px;
}

.v2-scene2__stat-card {
  flex: 1;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v2-scene2__stat-card strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--v2-primary);
  line-height: 1.2;
}

.v2-scene2__stat-card span {
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene2__stat-card em {
  font-style: normal;
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene2__stat-up {
  color: #10b981 !important;
  font-weight: 600;
}

/* 任务列表 */
.v2-scene2__task-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--v2-border-light);
}

.v2-scene2__task-head {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.7fr 0.8fr;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-scene2__task-head span {
  font-size: 10px;
  font-weight: 600;
  color: var(--v2-text-muted);
}

.v2-scene2__task-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.7fr 0.8fr;
  gap: 4px;
  align-items: center;
  padding: 5px 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: background 0.15s;
}

.v2-scene2__task-row:last-child {
  border-bottom: none;
}

.v2-scene2__task-row.is-selected {
  background: rgba(37, 99, 235, 0.04);
}

.v2-scene2__cell-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text);
}

.v2-scene2__cell-type {
  display: flex;
  align-items: center;
}

.v2-scene2__cell-trigger {
  font-size: 10px;
  color: var(--v2-text-secondary);
}

.v2-scene2__cell-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--v2-text-secondary);
}

.v2-scene2__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v2-scene2__status-dot--running { background: #10b981; }
.v2-scene2__status-dot--paused { background: #94a3b8; }

.v2-scene2__cell-count {
  font-size: 10px;
  color: var(--v2-text-muted);
}

/* 执行日志 */
.v2-scene2__log {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.4);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.v2-scene2__log-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-text-secondary);
  margin-bottom: 2px;
}

.v2-scene2__log-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--v2-text-secondary);
  line-height: 1.4;
}

.v2-scene2__log-time {
  font-size: 10px;
  font-weight: 600;
  color: var(--v2-text-muted);
  flex-shrink: 0;
  width: 30px;
}

.v2-scene2__log-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
}

.v2-scene2__log-icon--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.v2-scene2__log-icon--wait {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

/* Scene 2 Accent 定位覆写 */
.v2-hero__scene[data-scene="2"] .v2-hero__accent--tl {
  top: 6px;
  left: auto;
  right: 0px;
}

.v2-hero__scene[data-scene="2"] .v2-hero__accent--br {
  left: 0px;
  right: auto;
  bottom: 12px;
}

.v2-hero__scene[data-scene="2"] .v2-hero__accent--br .v2-accent-badge {
  padding: 5px 10px;
  font-size: 11px;
}

/* ============================================================
   2.9 Scene 3: AI 运营搭档
   ============================================================ */

/* Back 层：知识库骨架 */
.v2-scene3__back-kb {
  position: absolute;
  top: 30px;
  right: 16px;
  width: 180px;
  border-radius: 12px;
  background: rgba(237, 233, 254, 0.15);
  border: 1px solid rgba(196, 181, 253, 0.2);
  overflow: hidden;
}

.v2-scene3__ghost-kb {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-scene3__ghost-kb-card {
  padding: 8px;
  border-radius: 8px;
  background: rgba(237, 233, 254, 0.4);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.v2-scene3__ghost-kb-card span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(196, 181, 253, 0.4);
}

.v2-scene3__ghost-kb-card span:nth-child(1) { width: 70%; }
.v2-scene3__ghost-kb-card span:nth-child(2) { width: 90%; }
.v2-scene3__ghost-kb-card span:nth-child(3) { width: 55%; }

/* Mid 层：Agent 流程流水线 */
.v2-scene3__mid-flow {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 240px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(196, 181, 253, 0.35);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.12);
  padding: 12px;
}

.v2-scene3__mf-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.v2-scene3__mf-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.v2-scene3__mf-icon svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

.v2-scene3__mf-head strong {
  font-size: 12px;
  color: var(--v2-text);
}

.v2-scene3__mf-status {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 10px;
  font-weight: 700;
}

.v2-scene3__mf-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.v2-scene3__mf-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
}

.v2-scene3__mf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--v2-border);
  flex-shrink: 0;
  margin-top: 3px;
}

.v2-scene3__mf-step--done .v2-scene3__mf-dot {
  background: #22c55e;
}

.v2-scene3__mf-step--active .v2-scene3__mf-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  animation: v2-scene3-pulse 1.5s ease-in-out infinite;
}

@keyframes v2-scene3-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.1); }
}

.v2-scene3__mf-step strong {
  display: block;
  font-size: 11px;
  color: var(--v2-text);
  line-height: 1.3;
}

.v2-scene3__mf-step em {
  display: block;
  font-size: 10px;
  color: var(--v2-text-muted);
  font-style: normal;
  line-height: 1.3;
}

.v2-scene3__mf-step--done strong {
  color: var(--v2-text-secondary);
}

.v2-scene3__mf-step--done em {
  text-decoration: line-through;
  opacity: 0.7;
}

.v2-scene3__mf-line {
  width: 1px;
  height: 10px;
  margin-left: 4.5px;
  background: var(--v2-border);
}

.v2-scene3__mf-line--done {
  background: #22c55e;
}

.v2-scene3__mf-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--v2-text-muted);
}

.v2-scene3__mf-footer strong {
  color: #7c3aed;
}

.v2-scene3__mf-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(124, 58, 237, 0.1);
  overflow: hidden;
}

.v2-scene3__mf-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

/* Front 层：AI 对话工作台 */
.v2-scene3__chat-window {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 620px;
  height: 100%;
  max-height: 384px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(196, 181, 253, 0.3);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.v2-hero__scene[data-scene="3"] .v2-hero__layer--front {
  padding: 4px;
}

.v2-hero__scene[data-scene="3"].is-entering .v2-hero__layer--front {
  animation: v2-scene3-front-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center center;
}

.v2-hero__scene[data-scene="3"].is-exiting .v2-hero__layer--front {
  animation: v2-scene3-front-exit 240ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.v2-hero__stage.is-switching-to-ai .v2-hero__scene[data-scene="2"].is-exiting .v2-hero__layer--back,
.v2-hero__stage.is-switching-to-ai .v2-hero__scene[data-scene="2"].is-exiting .v2-hero__layer--mid,
.v2-hero__stage.is-switching-to-ai .v2-hero__scene[data-scene="2"].is-exiting .v2-hero__layer--front,
.v2-hero__stage.is-switching-to-ai .v2-hero__scene[data-scene="2"].is-exiting .v2-hero__accent {
  animation: none;
  opacity: 0;
  transform: none;
}

.v2-scene3__bar-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--v2-text-muted);
  white-space: nowrap;
}

.v2-scene3__bar-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: #7c3aed;
  font-size: 10px;
  font-weight: 700;
}

.v2-scene3__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  overflow: hidden;
}

/* 知识库侧边栏 */
.v2-scene3__kb-sidebar {
  border-left: 1px solid var(--v2-border);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(248, 250, 252, 0.35);
  overflow: hidden;
}

.v2-scene3__kb-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--v2-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 6px 6px;
}

.v2-scene3__kb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.v2-scene3__kb-item:hover {
  background: rgba(37, 99, 235, 0.04);
}

.v2-scene3__kb-item.is-active {
  background: rgba(37, 99, 235, 0.08);
}

.v2-scene3__kb-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.v2-scene3__kb-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.v2-scene3__kb-info strong {
  font-size: 10px;
  color: var(--v2-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-scene3__kb-info em {
  font-size: 9px;
  color: var(--v2-text-muted);
  font-style: normal;
  line-height: 1.2;
}

.v2-scene3__kb-item.is-active .v2-scene3__kb-info strong {
  color: var(--v2-primary);
}

.v2-scene3__kb-footer {
  margin-top: auto;
  padding: 6px;
  font-size: 9px;
  color: var(--v2-text-muted);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

/* 对话主区域 */
.v2-scene3__chat-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.v2-scene3__chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  background: rgba(248, 250, 252, 0.5);
}

.v2-scene3__chat-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-avatar--sm {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

.v2-scene3__chat-user strong {
  display: block;
  font-size: 12px;
  color: var(--v2-text);
  line-height: 1.3;
}

.v2-scene3__chat-user span {
  font-size: 10px;
  color: var(--v2-text-muted);
  line-height: 1.2;
}

.v2-scene3__chat-tags {
  display: flex;
  gap: 4px;
}

.v2-tag--xs {
  padding: 2px 6px;
  font-size: 10px;
}

.v2-scene3__chat-body {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  position: relative;
}

.v2-bubble-wrapper {
  display: flex;
  flex-direction: column;
}

.v2-bubble-wrapper--customer {
  align-items: flex-start;
}

.v2-bubble-wrapper--ai {
  align-items: flex-end;
}

.v2-bubble--ai-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--v2-text);
}

.v2-ai-bubble-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  font-size: 10px;
  color: var(--v2-text-secondary);
  background: rgba(248, 250, 252, 0.9);
  padding: 2px 8px 2px 2px;
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: 12px;
  margin-right: 2px;
}

.v2-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  transform: scale(0.95);
}

.v2-ai-recommend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2-ai-recommend__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid var(--v2-border);
}

.v2-ai-recommend__icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.v2-ai-recommend__item strong {
  display: block;
  font-size: 11px;
  color: var(--v2-text);
  line-height: 1.4;
}

.v2-ai-recommend__item span {
  font-size: 10px;
  color: var(--v2-text-muted);
  line-height: 1.4;
}

/* Agent 流程叠加层 */
.v2-scene3__agent-flow {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(237, 233, 254, 0.88), rgba(219, 234, 254, 0.88));
  border-top: 1px solid rgba(196, 181, 253, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.v2-scene3__af-step {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.v2-scene3__af-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-border);
  flex-shrink: 0;
}

.v2-scene3__af-step span {
  font-size: 9px;
  font-weight: 600;
  color: var(--v2-text-muted);
  white-space: nowrap;
}

.v2-scene3__af-step--done .v2-scene3__af-dot {
  background: #22c55e;
}

.v2-scene3__af-step--done span {
  color: #16a34a;
}

.v2-scene3__af-step--active {
  background: rgba(124, 58, 237, 0.12);
}

.v2-scene3__af-step--active .v2-scene3__af-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
  animation: v2-scene3-af-pulse 1.5s ease-in-out infinite;
}

@keyframes v2-scene3-af-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2); }
  50% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08); }
}

.v2-scene3__af-step--active span {
  color: #7c3aed;
}

.v2-scene3__af-line {
  width: 12px;
  height: 1px;
  background: rgba(148, 163, 184, 0.4);
  flex-shrink: 0;
}

/* 输入栏 */
.v2-scene3__composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  background: rgba(248, 250, 252, 0.6);
}

.v2-scene3__composer-tool {
  font-size: 10px;
  color: #7c3aed;
  font-weight: 600;
  white-space: nowrap;
}

.v2-scene3__composer-input {
  flex: 1;
  font-size: 11px;
  color: var(--v2-text-muted);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 181, 253, 0.3);
}

.v2-scene3__composer-send {
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  padding: 5px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* Accent 位置调整 */
.v2-hero__scene[data-scene="3"] .v2-hero__accent--br {
  left: 0px;
  right: auto;
  bottom: 12px;
}

.v2-hero__scene[data-scene="3"] .v2-hero__accent--br .v2-accent-badge {
  padding: 5px 10px;
  font-size: 11px;
}

.v2-hero__scene[data-scene="3"] .v2-hero__accent--br .v2-accent-badge__value {
  font-size: 18px;
}

.v2-hero__scene[data-scene="3"] .v2-hero__accent--tl {
  top: 6px;
  left: auto;
  right: 0px;
}

.v2-hero__scene[data-scene="3"] .v2-hero__accent--tl .v2-accent-badge__value {
  font-size: 18px;
}

/* ============================================================
   3. AI 全景模块
   ============================================================ */
.v2-panorama {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 30% 0%, rgba(59,130,246,0.06), transparent 40%),
    linear-gradient(180deg, #f0f7ff 0%, #f7fbff 100%);
}

.v2-panorama__head {
  text-align: center;
  margin-bottom: 48px;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-panorama__head.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-panorama__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--v2-primary-bg);
  color: var(--v2-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.v2-panorama__title {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.3;
  color: var(--v2-text);
  font-weight: 800;
}

.v2-panorama__subtitle {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--v2-text-secondary);
}

/* 能力卡片 */
.v2-panorama__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.v2-panorama__card {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--v2-white);
  border: 1px solid var(--v2-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.v2-panorama__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-panorama__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.10);
  border-color: var(--v2-primary-bg);
}

.v2-panorama__card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  color: var(--v2-text);
  font-weight: 700;
}

.v2-panorama__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--v2-text-secondary);
}

.v2-panorama__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-panorama__card-icon svg {
  width: 22px;
  height: 22px;
}

.v2-panorama__card-icon--blue { background: linear-gradient(135deg, rgba(219,234,254,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--blue svg { stroke: #1d4ed8; }
.v2-panorama__card-icon--green { background: linear-gradient(135deg, rgba(220,252,231,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--green svg { stroke: #16a34a; }
.v2-panorama__card-icon--purple { background: linear-gradient(135deg, rgba(237,233,254,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--purple svg { stroke: #7c3aed; }
.v2-panorama__card-icon--amber { background: linear-gradient(135deg, rgba(254,243,199,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--amber svg { stroke: #b45309; }
.v2-panorama__card-icon--cyan { background: linear-gradient(135deg, rgba(207,250,254,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--cyan svg { stroke: #0891b2; }
.v2-panorama__card-icon--rose { background: linear-gradient(135deg, rgba(255,228,230,0.96), rgba(255,255,255,0.9)); }
.v2-panorama__card-icon--rose svg { stroke: #e11d48; }

/* 闭环流程 */
.v2-panorama__flow {
  padding: 28px 0;
  margin-bottom: 36px;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-panorama__flow.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-panorama__flow-label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--v2-primary);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.v2-panorama__flow-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-flow-node.is-visible {
  opacity: 1;
  transform: scale(1);
}

.v2-flow-node__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--v2-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  transition: box-shadow 0.3s ease;
}

.v2-flow-node:hover .v2-flow-node__dot {
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.25);
}

.v2-flow-node__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text-secondary);
  white-space: nowrap;
}

.v2-flow-line {
  width: 48px;
  height: 2px;
  background: var(--v2-border);
  position: relative;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.v2-flow-line.is-visible {
  opacity: 1;
}

.v2-flow-line__runner {
  position: absolute;
  top: -1px;
  left: 0;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--v2-primary), var(--v2-primary-light));
  animation: v2-flow-run 2.5s linear infinite;
}

@keyframes v2-flow-run {
  0% { left: -16px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* CTA */
.v2-panorama__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.v2-panorama__cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-panorama__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.v2-panorama__btn:hover {
  transform: translateY(-2px);
}

.v2-panorama__btn--primary {
  background: linear-gradient(135deg, var(--v2-primary) 0%, var(--v2-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.24);
}

.v2-panorama__btn--primary:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.32);
}

.v2-panorama__btn--secondary {
  background: var(--v2-white);
  border: 1.5px solid var(--v2-primary);
  color: var(--v2-primary);
}

/* 信任信息 */
.v2-panorama__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--v2-text-muted);
  /* scroll reveal */
  opacity: 0;
  transition: opacity 0.4s ease;
}

.v2-panorama__trust.is-visible {
  opacity: 1;
}

.v2-panorama__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v2-border);
  display: inline-block;
}

/* ============================================================
   4. 响应式 — 平板 (768px ~ 1279px)
   ============================================================ */
@media (max-width: 1279px) {
  .v2-hero__container {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 24px;
  }

  .v2-hero__title {
    font-size: 34px;
  }

  .v2-hero__tab {
    font-size: 12px;
    padding: 8px 6px;
  }

  .v2-hero__tab-icon {
    display: none;
  }

  .v2-panorama__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .v2-panorama__title {
    font-size: 30px;
  }
}

/* ============================================================
   4.1 响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
/* 广告相关移动端适配 */
  .home-2026v2-page .home-ai-ad .header_ad {
    padding: 8px 32px 8px 12px !important;
    display: block !important;
    text-align: center !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .home-2026v2-page .header_ad_bg.home-ai-ad {
    height: auto !important;
    min-height: auto !important;
  }
  
  .home-2026v2-page .home-ai-ad .v2-ad-tag {
    display: none !important;
  }
  
  .home-2026v2-page .home-ai-ad .header_ad p {
    display: inline-block !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
  }
  
  .home-2026v2-page .home-ai-ad .header_ad a {
    display: inline !important;
    background: none !important;
    box-shadow: none !important;
    color: #7ef0ff !important;
    font-size: 13px !important;
    padding: 0 0 0 4px !important;
    margin-left: 2px !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
  }
  
  .home-2026v2-page .home-ai-ad .header_ad a::after {
    content: " >";
  }

  .home-2026v2-page .home-ai-ad .header_ad a:hover {
    transform: none;
    box-shadow: none;
  }
  
  .home-2026v2-page .home-ai-ad .header_ad_close {
    top: 50%;
  }
  
  .v2-hero {
    padding: 28px 0 36px;
  }

  .v2-hero__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .v2-hero__content {
    padding: 0;
  }

  .v2-hero__title {
    font-size: 28px;
    line-height: 1.3;
  }

  .v2-hero__subtitle {
    font-size: 18px;
    margin-top: 10px;
  }

  .v2-hero__desc {
    font-size: 15px;
  }

  .v2-hero__btn {
    flex: 1;
    min-width: 0;
    height: 44px;
    font-size: 15px;
  }

  .v2-hero__switcher {
    min-height: 380px;
  }

  .v2-hero__tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 3px;
    margin-bottom: 40px;
  }

  .v2-hero__tab {
    font-size: 12px;
    padding: 8px 10px;
    flex-shrink: 0;
  }

  .v2-hero__tab-icon {
    display: none;
  }

  .v2-hero__stage {
    min-height: auto;
    /* height will be set by JS updateSceneScale() */
    overflow: visible;
    margin: 0 -0.5rem; /* 抵消外层 padding，允许缩放舞台占满全宽 */
    width: 100vw;
  }

  /* 移动端等比缩放整个场景，占满屏幕两边各留15px */
  /* 调整基础宽高为 680x440，适当放大比例，避免内容过小 */
  .v2-hero__scene {
    width: 680px;
    height: 440px;
    left: 50%;
    margin-left: -340px;
    transform: scale(var(--scene-scale, 1));
    transform-origin: center top;
  }
  
  .v2-hero__layer--front {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .v2-scene0__main-window,
  .v2-scene1__profile-card,
  .v2-scene2__dashboard,
  .v2-scene3__chat-window {
    transform-origin: center top;
    margin: 0 auto;
  }

  /* 移动端简化景深：保持等比缩放 */
  .v2-hero__layer--back {
    filter: none;
    -webkit-filter: none;
  }

  .v2-hero__layer--mid {
    filter: none;
    -webkit-filter: none;
  }

  .v2-scene0__body {
    /* grid-template-columns: 108px minmax(0, 1fr); */
  }

  .v2-scene0__account-rail,
  .v2-scene0__sub-menu {
    /* display: none; */
  }

  .v2-scene0__session-list {
    /* padding: 8px; */
  }

  .v2-scene0__chat {
    /* padding: 10px; */
  }

  /* Scene 3 移动端 */
  .v2-scene3__body {
    /* grid-template-columns: 1fr; */
  }

  .v2-scene3__kb-sidebar {
    /* display: none; */
  }

  .v2-scene3__agent-flow {
    /* flex-wrap: wrap; */
    /* gap: 3px; */
  }

  .v2-scene3__af-line {
    /* display: none; */
  }

  /* 全景模块移动端 */
  .v2-panorama {
    padding: 48px 0 40px;
  }

  .v2-panorama__title {
    font-size: 24px;
  }

  .v2-panorama__subtitle {
    font-size: 14px;
  }

  .v2-panorama__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .v2-panorama__card {
    padding: 20px 18px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .v2-panorama__card-icon {
    order: 2;
    margin: 0;
  }

  .v2-panorama__card h3 {
    order: 1;
    margin: 0;
    width: auto;
  }

  .v2-panorama__card p {
    order: 3;
    width: 100%;
    margin-top: 12px;
  }

  .v2-panorama__flow-track {
    flex-wrap: wrap;
    gap: 8px;
  }

  .v2-flow-line {
    display: none;
  }

  .v2-flow-node {
    flex-direction: row;
    gap: 6px;
  }

  .v2-panorama__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
  }

  .v2-panorama__btn {
    width: 100%;
    box-sizing: border-box;
  }

  .v2-panorama__trust {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .v2-panorama__trust-dot {
    display: none;
  }
}

/* ============================================================
   5. 减弱动效模式
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .v2-hero__scene.is-exiting .v2-hero__layer--front,
  .v2-hero__scene.is-exiting .v2-hero__layer--mid,
  .v2-hero__scene.is-exiting .v2-hero__layer--back,
  .v2-hero__scene.is-exiting .v2-hero__accent,
  .v2-hero__scene.is-exiting .v2-hero__scene-desc,
  .v2-hero__scene.is-entering .v2-hero__layer--back,
  .v2-hero__scene.is-entering .v2-hero__layer--mid,
  .v2-hero__scene.is-entering .v2-hero__layer--front,
  .v2-hero__scene.is-entering .v2-hero__accent,
  .v2-hero__scene.is-entering .v2-hero__scene-desc {
    animation-duration: 0.01ms !important;
  }

  .v2-hero__stage.is-ai-active {
    animation: none;
  }

  .v2-flow-step__pulse {
    animation: none;
  }

  .v2-flow-line__runner {
    animation: none;
  }

  .v2-typing__dot {
    animation: none;
    opacity: 0.6;
  }

  .v2-loop-arrow--return {
    animation: none;
  }
}
