/* ==========================================================================
   CoTask AI (Project_ID_260920_1154) · 高阶机构级 PPT 商业计划书演示系统
   标准对标: https://1117.sinogenomics.com/
   设计语言: Tier-1 顶级科技与风投资产级美学 (Linear / Stripe / Databricks / Palantir 风格)
   ========================================================================== */

:root {
  /* 基础深空色谱 */
  --bg-space: #050811;
  --bg-canvas: #090e1a;
  --bg-surface: #0f1629;
  --bg-card: rgba(18, 27, 47, 0.75);
  --bg-card-hover: rgba(28, 41, 71, 0.85);
  --bg-glass-heavy: rgba(14, 22, 38, 0.85);
  
  /* 边界与高光 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #38bdf8;
  --border-emerald: rgba(16, 185, 129, 0.35);
  --border-gold: rgba(245, 158, 11, 0.35);

  /* 品牌与信号色 */
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;

  /* 文字层级 */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;

  /* 阴影与微光 */
  --shadow-stage: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.06);
  --shadow-card: 0 12px 30px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);

  /* 字体族系 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-space);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(ellipse 70% 40% at 50% -15%, rgba(56, 189, 248, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 30% at 85% 110%, rgba(99, 102, 241, 0.08), transparent 60%);
  background-attachment: fixed;
}

/* ================= 顶层企业机构信誉微栏 ================= */
.institutional-trust-ticker {
  background: rgba(10, 15, 28, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem 1.5rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.trust-ticker-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
  animation: pulse-emerald 2s infinite ease-in-out;
}

@keyframes pulse-emerald {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.ticker-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

/* ================= 主导航栏 ================= */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.75rem;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-badge {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-subtle);
  padding-left: 0.85rem;
  margin-left: 0.25rem;
}

.header-nav {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  gap: 0.2rem;
}

.nav-tab-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab-btn.active {
  background: linear-gradient(180deg, rgba(30, 48, 80, 0.9) 0%, rgba(20, 32, 56, 0.9) 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms ease-out, border-color 140ms ease-out, box-shadow 140ms ease-out;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: scale(0.97);
}

/* ================= 主应用布局 ================= */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 3.5rem 1.75rem;
}

/* ================= 视图 1: 幻灯片剧院演播模式 ================= */
.deck-view-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* 顶部操作控制条 */
.deck-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 22, 41, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
}

.control-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.slide-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.progress-track {
  width: 160px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.control-bar-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.select-slide {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.select-slide:focus {
  border-color: var(--accent-cyan);
}

.control-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1rem;
}

.nav-circle-btn:hover:not(:disabled) {
  background: var(--border-subtle);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.nav-circle-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-tool {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-tool:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-tool.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

/* ================= 16:9 核心演示画布舞台 ================= */
.slide-stage-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.slide-canvas {
  width: 100%;
  max-width: 1260px;
  aspect-ratio: 16 / 9;
  background-color: #070c18;
  background-image: 
    radial-gradient(ellipse 85% 45% at 50% -15%, rgba(56, 189, 248, 0.14), transparent 70%),
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 2.25rem 3rem 1.8rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-canvas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8 0%, #3b82f6 35%, #10b981 70%, #f59e0b 100%);
}

/* 顶部环境光 */
.slide-canvas::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 20%;
  width: 60%;
  height: 250px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08), transparent 70%);
  pointer-events: none;
}

/* HUD 机构级精密角标 */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(56, 189, 248, 0.35);
  pointer-events: none;
  z-index: 10;
}
.hud-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 4px; }
.hud-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; border-top-right-radius: 4px; }
.hud-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; border-bottom-left-radius: 4px; }
.hud-br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 4px; }

/* 幻灯片头部 */
.slide-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.slide-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.slide-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.slide-page-badge {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.slide-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

.slide-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* 幻灯片主体卡片区 */
.slide-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 0;
}

/* 卡片风格 */
.deck-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.deck-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.deck-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.deck-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 徽章 Pills */
.pill-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pill-badge.primary { background: rgba(56, 189, 248, 0.12); color: var(--accent-cyan); border: 1px solid rgba(56, 189, 248, 0.28); }
.pill-badge.success { background: rgba(16, 185, 129, 0.12); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.28); }
.pill-badge.warning { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.28); }
.pill-badge.danger  { background: rgba(244, 63, 94, 0.12); color: var(--accent-rose); border: 1px solid rgba(244, 63, 94, 0.28); }
.pill-badge.indigo  { background: rgba(99, 102, 241, 0.12); color: var(--accent-indigo); border: 1px solid rgba(99, 102, 241, 0.28); }

/* 封面超级决定句卡片 */
.card-single-hero {
  background: linear-gradient(135deg, rgba(21, 32, 56, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.hero-sentence-box {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1.35rem 1.6rem;
  position: relative;
}

.hero-sentence-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-sentence-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-meta-item {
  background: rgba(10, 15, 28, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-meta-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hero-meta-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.hero-meta-note {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* 布局类: 2列、3列、4网格 */
.cards-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  height: 100%;
}

.cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  height: 100%;
}

.cards-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

/* 算式推导高亮框 */
.formula-box {
  background: rgba(10, 16, 30, 0.85);
  border: 1px dashed var(--accent-cyan);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 0.85rem;
}

.formula-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* 资金配平横向进度条 */
.fund-balance-bar {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fund-segment {
  height: 100%;
  transition: opacity 0.2s ease;
}

.fund-segment:hover {
  opacity: 0.85;
}

/* ──────────────── 高阶机构级专用组件样式 ──────────────── */

/* 1. 技术拓扑流向条 (Slide 4) */
.tech-pipeline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tech-pipeline-item {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tech-pipeline-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.06);
  color: #fff;
}

.tech-pipeline-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

/* 2. 真实发生凭证印章 (Slide 2) */
.grounding-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

.grounding-stamp.verified {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.grounding-stamp.testing {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* 3. 护城河排除与硬沉淀对比项 (Slide 6) */
.moat-item-negative {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.2);
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  color: #fecdd3;
  line-height: 1.45;
}

.moat-item-positive {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  color: #a7f3d0;
  line-height: 1.45;
}

/* 4. 三阶段里程碑横向步进器 (Slide 11) */
.milestone-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  height: 100%;
}

.milestone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.milestone-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.milestone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
}

.milestone-card.stage-1::before { background: var(--accent-cyan); }
.milestone-card.stage-2::before { background: var(--accent-emerald); }
.milestone-card.stage-3::before { background: var(--accent-indigo); }

/* 5. 停手标准与止损红线卡片 (Slide 12) */
.kill-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.kill-switch-card {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 10px;
  padding: 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

.kill-switch-card:hover {
  border-color: rgba(244, 63, 94, 0.45);
}

/* 6. 投资人决策与行动清单 (Slide 13) */
.decision-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  height: 100%;
}

.decision-action-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.decision-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

/* 幻灯片页脚出处与合规标记 */
.slide-footer {
  position: relative;
  z-index: 2;
  margin-top: 1.1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-footer-src {
  color: var(--text-secondary);
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compliance-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ================= 投资人演播速记抽屉 (Pitch Notes Drawer) ================= */
.pitch-notes-drawer {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: none;
  animation: slide-down 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pitch-notes-drawer.open {
  display: block;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pitch-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.pitch-notes-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pitch-notes-content {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
}

/* 键盘快捷条 */
.keyboard-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.5rem 0 0 0;
}

.kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* 底栏胶卷缩略图 */
.filmstrip-drawer {
  background: rgba(15, 22, 41, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.filmstrip-thumb {
  min-width: 150px;
  width: 150px;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.55rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.filmstrip-thumb:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  background: var(--bg-card);
}

.filmstrip-thumb.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.thumb-num {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 700;
}

.thumb-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

/* ================= 视图 2: 逐页通读模式 ================= */
.doc-view-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.doc-slide-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 2.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.doc-slide-section:hover {
  border-color: var(--border-medium);
}

/* ================= 视图 3: 1117 标准核验专区 ================= */
.audit-view-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.audit-hero-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(24, 33, 54, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.audit-score-group {
  display: flex;
  gap: 2.5rem;
}

.audit-score-item {
  text-align: center;
}

.audit-score-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

.audit-score-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.matrix-table th, .matrix-table td {
  padding: 0.95rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-badge-pass {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.82rem;
}

.terminal-block {
  background: #040810;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #94a3b8;
  overflow-x: auto;
  line-height: 1.65;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.terminal-block .green { color: var(--accent-emerald); font-weight: 700; }
.terminal-block .cyan { color: var(--accent-cyan); }
.terminal-block .yellow { color: var(--accent-amber); }

/* ================= 幻灯片九宫格总览 Modal (Grid Mode) ================= */
.slide-grid-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 2.5rem;
  overflow-y: auto;
  animation: fade-in 0.2s ease;
}

.slide-grid-modal.open {
  display: flex;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.grid-modal-header {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 1.75rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.grid-cards-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.grid-card-item {
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-card-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.grid-card-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* ================= 浮动通知 Toast ================= */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-cyan);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 300;
  animation: slide-up 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  display: flex;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= 全屏演示模式重载 ================= */
:fullscreen .slide-canvas {
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
  padding: 3rem 5rem;
}

:-webkit-full-screen .slide-canvas {
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
  padding: 3rem 5rem;
}

/* ================= 响应式适配 ================= */
@media (max-width: 1200px) {
  .hero-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-container { flex-direction: column; align-items: flex-start; }
  .cards-2col, .cards-4grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .slide-canvas { aspect-ratio: auto; min-height: 550px; padding: 1.5rem; }
  .slide-title { font-size: 1.45rem; }
  .brand-sub { display: none; }
  .filmstrip-drawer { display: none; }
  .trust-ticker-container { flex-direction: column; gap: 0.3rem; }
}
