/* ==========================================================================
   盈信家族辦公室 EVERGREEN FAMILY OFFICE · 官方对外介绍 PPT 视觉系统
   Strictly governed by https://ui.boihk.site / tokens.css
   Color Discipline: Four-Tier Blue + White + Cool Surface (#EAF2FA) ONLY.
   Zero gold, zero green, zero red, zero warm grey.
   ========================================================================== */

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

:root {
  --stage-w: 1600px;
  --stage-h: 900px;
  --stage-scale: 1;
  --topbar-h: 58px;
  --bottombar-h: 50px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, sans-serif);
  color: var(--boi-ink, #1C2A44);
  background: #071936;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

body.mode-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  background: #0B1F42;
  height: auto;
  min-height: 100%;
}

/* ==========================================================================
   TOP CONTROL BAR (顶部导航与演示控制栏)
   ========================================================================== */
.ppt-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: rgba(1, 35, 86, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(169, 221, 243, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
  color: var(--boi-white, #FFFFFF);
  gap: 12px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}

.topbar-logo-eg {
  height: 30px;
  width: auto;
  display: block;
}

.topbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(169, 221, 243, 0.3);
}

.topbar-logo-boi {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
}

.topbar-meta {
  display: flex;
  flex-direction: column;
  margin-left: 4px;
}

.topbar-meta-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.topbar-meta-sub {
  font-size: 11px;
  color: var(--boi-sky-tint, #A9DDF3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Chapter Pills in Topbar */
.topbar-chapters {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 64, 152, 0.55);
  border: 1px solid rgba(169, 221, 243, 0.2);
  padding: 4px;
  border-radius: 999px;
}

.chapter-pill {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms var(--ease-out-expo);
  white-space: nowrap;
}

.chapter-pill:hover {
  color: #FFFFFF;
  background: rgba(11, 147, 208, 0.28);
}

.chapter-pill.active {
  color: #FFFFFF;
  background: var(--boi-blue, #007BC7);
  box-shadow: 0 2px 10px rgba(0, 123, 199, 0.45);
}

/* Action Buttons in Topbar */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  appearance: none;
  border: 1px solid rgba(169, 221, 243, 0.32);
  background: rgba(0, 81, 164, 0.45);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 180ms var(--ease-out-expo);
  white-space: nowrap;
  text-decoration: none;
}

.pill-btn:hover {
  background: var(--boi-blue, #007BC7);
  border-color: var(--boi-sky-tint, #A9DDF3);
  transform: translateY(-1px);
}

.pill-btn.active {
  background: var(--boi-sky, #0B93D0);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.pill-btn-primary {
  background: var(--boi-blue, #007BC7);
  border-color: var(--boi-sky, #0B93D0);
}

.pill-btn-primary:hover {
  background: var(--boi-sky, #0B93D0);
}

.pill-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   STAGE VIEWPORT & 16:9 SLIDE CANVAS
   ========================================================================== */
.ppt-viewport {
  position: relative;
  width: 100vw;
  height: calc(100vh - var(--topbar-h) - var(--bottombar-h));
  margin-top: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 123, 199, 0.22), transparent 48%),
    radial-gradient(circle at 85% 80%, rgba(1, 64, 153, 0.35), transparent 52%),
    #06152D;
}

.ppt-stage {
  width: var(--stage-w);
  height: var(--stage-h);
  position: relative;
  transform: scale(var(--stage-scale));
  transform-origin: center center;
  box-shadow: 0 28px 80px rgba(2, 12, 32, 0.65), 0 0 0 1px rgba(169, 221, 243, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: var(--boi-white, #FFFFFF);
}

/* Scroll Mode Overrides */
body.mode-scroll .ppt-viewport {
  height: auto;
  overflow: visible;
  display: block;
  padding: 28px 16px 80px;
}

body.mode-scroll .ppt-stage {
  width: min(1440px, 96vw);
  height: auto;
  transform: none !important;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: visible;
}

/* Individual Slide Base */
.ppt-slide {
  position: absolute;
  inset: 0;
  width: var(--stage-w);
  height: var(--stage-h);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 420ms var(--ease-out-expo), transform 420ms var(--ease-out-expo), visibility 420ms;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ppt-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.ppt-slide.prev-slide {
  transform: translateX(-28px);
}

body.mode-scroll .ppt-slide {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 780px;
  aspect-ratio: 16 / 9;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(2, 12, 32, 0.5), 0 0 0 1px rgba(169, 221, 243, 0.22);
}

/* Three Official Slide Surface Themes from ui.boihk.site */
.slide-theme-light {
  background: var(--boi-white, #FFFFFF);
  color: var(--boi-ink, #1C2A44);
}

.slide-theme-surface {
  background: var(--boi-surface, #EAF2FA);
  color: var(--boi-ink, #1C2A44);
}

.slide-theme-dark {
  background: linear-gradient(135deg, #004592 0%, #014099 58%, #0051A4 100%);
  color: var(--boi-white, #FFFFFF);
}

/* ==========================================================================
   SLIDE HEADER & FOOTER CHROME (统一眉栏与页脚规范)
   ========================================================================== */
.slide-chrome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px 0;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.boi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--boi-blue, #007BC7);
  letter-spacing: 0.04em;
}

.boi-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 18px;
  background: var(--boi-sky, #0B93D0);
  border-radius: 1px;
}

.boi-eyebrow-en {
  font-size: 12px;
  font-weight: 600;
  color: var(--boi-grey-700, #5A6B85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 4px;
}

.slide-theme-dark .boi-eyebrow {
  color: var(--boi-sky-tint, #A9DDF3);
}

.slide-theme-dark .boi-eyebrow-en {
  color: rgba(255, 255, 255, 0.72);
}

.slide-corner-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slide-corner-brand img.corner-eg {
  height: 32px;
  width: auto;
}

.slide-corner-brand .corner-sep {
  width: 1px;
  height: 20px;
  background: var(--boi-grey-200, #D6DEE8);
}

.slide-theme-dark .slide-corner-brand .corner-sep {
  background: rgba(169, 221, 243, 0.3);
}

.slide-corner-brand img.corner-boi {
  height: 22px;
  width: auto;
}

.slide-body {
  flex: 1;
  padding: 18px 56px 20px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.slide-chrome-bottom {
  height: 44px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(214, 222, 232, 0.75);
  font-size: 12px;
  color: var(--boi-grey-700, #5A6B85);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.55);
}

.slide-theme-surface .slide-chrome-bottom {
  background: rgba(234, 242, 250, 0.75);
  border-top-color: var(--boi-grey-200, #D6DEE8);
}

.slide-theme-dark .slide-chrome-bottom {
  background: rgba(1, 35, 86, 0.55);
  border-top-color: rgba(169, 221, 243, 0.2);
  color: rgba(255, 255, 255, 0.76);
}

.slide-page-num {
  font-weight: 700;
  color: var(--boi-navy, #014099);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.slide-theme-dark .slide-page-num {
  color: var(--boi-sky-tint, #A9DDF3);
}

/* ==========================================================================
   TYPOGRAPHY & KEYWORD RECOLORING (标题关键词单字改色规范)
   ========================================================================== */
.slide-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.slide-h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--boi-navy, #014099);
  white-space: nowrap;
}

.slide-theme-dark .slide-h2 {
  color: var(--boi-white, #FFFFFF);
}

/* Keyword Highlighting strictly per ui.boihk.site */
.kw {
  color: var(--boi-blue, #007BC7);
}

.kw-dark {
  color: var(--boi-sky-tint, #A9DDF3);
}

.slide-lead {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--boi-grey-700, #5A6B85);
  max-width: 580px;
  text-align: right;
}

.slide-theme-dark .slide-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   SIGNATURE UI.BOIHK.SITE COMPONENTS (10°斜切、左下天蓝错位色块卡片、毛玻璃卡)
   ========================================================================== */

/* 1. Product / Pillar Card with Bottom-Left #0B93D0 Offset Plate */
.boi-offset-card {
  position: relative;
  background: var(--boi-white, #FFFFFF);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-radius: 10px;
  padding: 22px 24px;
  z-index: 1;
  transition: transform 240ms var(--ease-out-expo), box-shadow 240ms var(--ease-out-expo), border-color 240ms;
  box-shadow: -7px 7px 0 0 var(--boi-sky, #0B93D0), 0 12px 28px rgba(1, 64, 153, 0.08);
}

.boi-offset-card:hover {
  transform: translateY(-3px);
  border-color: var(--boi-sky, #0B93D0);
  box-shadow: -9px 9px 0 0 var(--boi-blue, #007BC7), 0 18px 38px rgba(1, 64, 153, 0.15);
}

/* Dark-surface variant of offset card */
.boi-offset-card-dark {
  position: relative;
  background: rgba(1, 32, 77, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(169, 221, 243, 0.34);
  border-radius: 10px;
  padding: 24px;
  color: #FFFFFF;
  z-index: 1;
  transition: transform 240ms var(--ease-out-expo), box-shadow 240ms var(--ease-out-expo), border-color 240ms;
  box-shadow: -7px 7px 0 0 var(--boi-sky, #0B93D0), 0 16px 36px rgba(1, 18, 48, 0.38);
}

/* 2. Frosted Dark-Blue Glass Card over Photography */
.boi-glass-dark {
  background: rgba(1, 32, 77, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(169, 221, 243, 0.32);
  border-radius: 10px;
  color: #FFFFFF;
  box-shadow: 0 20px 48px rgba(1, 24, 61, 0.42);
}

/* 3. 10° Asymmetrical Mountain Wedge Band (Bottom decorative band from ui.boihk.site) */
.boi-wedge-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  z-index: 1;
}

.boi-wedge-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--boi-sky, #0B93D0);
  clip-path: polygon(0 42%, 35.4% 8%, 100% 68%, 100% 100%, 0 100%);
  opacity: 0.88;
}

.boi-wedge-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--boi-navy, #014099);
  clip-path: polygon(0 64%, 35.4% 26%, 100% 82%, 100% 100%, 0 100%);
}

/* Pill Tag / Badge */
.boi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--boi-surface, #EAF2FA);
  color: var(--boi-navy, #014099);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
}

.boi-badge-solid {
  background: var(--boi-blue, #007BC7);
  color: #FFFFFF;
  border-color: var(--boi-sky, #0B93D0);
}

.boi-badge-sky {
  background: rgba(11, 147, 208, 0.16);
  color: var(--boi-sky-tint, #A9DDF3);
  border: 1px solid rgba(169, 221, 243, 0.35);
}

/* ==========================================================================
   SLIDE 01: COVER (封面 · 10°斜切分栏与深圳总部实景)
   ========================================================================== */
.s01-cover {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 56% 44%;
  background: #004592;
  overflow: hidden;
}

.s01-left {
  position: relative;
  z-index: 4;
  padding: 52px 48px 54px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #004592 0%, #014099 68%, #0051A4 100%);
  clip-path: polygon(0 0, 100% 0, 91% 50%, 100% 100%, 0 100%);
}

.s01-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90px;
  background: var(--boi-sky, #0B93D0);
  clip-path: polygon(82% 0, 100% 0, 18% 50%, 100% 100%, 82% 100%, 0 50%);
  opacity: 0.9;
  pointer-events: none;
}

.s01-brand-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.s01-brand-bar .eg-white-logo {
  height: 54px;
  width: auto;
}

.s01-brand-bar .brand-v-sep {
  width: 1px;
  height: 36px;
  background: rgba(169, 221, 243, 0.38);
}

.s01-brand-bar .boi-white-logo {
  height: 36px;
  width: auto;
}

.s01-hero-copy {
  margin: auto 0;
  padding-right: 44px;
}

.s01-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(11, 147, 208, 0.25);
  border: 1px solid rgba(169, 221, 243, 0.42);
  color: var(--boi-sky-tint, #A9DDF3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.s01-title {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.s01-subtitle-en {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--boi-sky-tint, #A9DDF3);
  margin-bottom: 24px;
}

.s01-slogan-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: rgba(1, 32, 77, 0.56);
  border-left: 6px solid var(--boi-sky, #0B93D0);
  border-radius: 0 10px 10px 0;
  margin-bottom: 28px;
}

.s01-slogan-zh {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
}

.s01-slogan-en {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.s01-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 30px;
}

.s01-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.s01-btn-main {
  appearance: none;
  border: none;
  background: var(--boi-blue, #007BC7);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(0, 123, 199, 0.45);
  transition: all 200ms var(--ease-out-expo);
}

.s01-btn-main:hover {
  background: var(--boi-sky, #0B93D0);
  transform: translateY(-2px);
}

.s01-btn-ghost {
  appearance: none;
  border: 1.5px solid rgba(169, 221, 243, 0.55);
  background: rgba(1, 32, 77, 0.45);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms var(--ease-out-expo);
}

.s01-btn-ghost:hover {
  background: rgba(11, 147, 208, 0.35);
  border-color: #FFFFFF;
}

.s01-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-right: 50px;
  border-top: 1px solid rgba(169, 221, 243, 0.24);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.s01-right {
  position: relative;
  height: 100%;
  margin-left: -80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px 52px 96px;
  background-image:
    linear-gradient(180deg, rgba(1, 40, 96, 0.25) 0%, rgba(1, 32, 77, 0.78) 100%),
    url("assets/office/office-01.jpg");
  background-size: cover;
  background-position: center;
}

.s01-photo-card {
  padding: 24px 26px;
}

.s01-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 221, 243, 0.25);
}

.s01-kpi-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--boi-sky-tint, #A9DDF3);
  line-height: 1.1;
}

.s01-kpi-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

/* ==========================================================================
   SLIDE 02: AGENDA (六大核心篇章全景导览)
   ========================================================================== */
.s02-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 26px;
  margin-top: 8px;
}

.s02-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 255px;
}

.s02-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.s02-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--boi-blue, #007BC7);
  line-height: 1;
  letter-spacing: -0.02em;
}

.s02-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--boi-navy, #014099);
  margin-bottom: 8px;
}

.s02-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--boi-grey-700, #5A6B85);
  margin-bottom: 16px;
}

.s02-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   SLIDE 03: ABOUT EVERGREEN & BOI (品牌渊源与核心使命)
   ========================================================================== */
.s03-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: stretch;
  height: 620px;
}

.s03-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.s03-dual-brand-panel {
  background: var(--boi-white, #FFFFFF);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-left: 7px solid var(--boi-navy, #014099);
  border-radius: 10px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(1, 64, 153, 0.06);
}

.s03-brand-col img {
  height: 44px;
  width: auto;
  margin-bottom: 10px;
}

.s03-brand-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--boi-navy, #014099);
  margin-bottom: 4px;
}

.s03-brand-col p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--boi-grey-700, #5A6B85);
}

.s03-v-line {
  width: 1px;
  height: 100%;
  background: var(--boi-grey-200, #D6DEE8);
}

.s03-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.s03-right {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  box-shadow: 0 18px 40px rgba(1, 64, 153, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image:
    linear-gradient(180deg, rgba(1, 40, 96, 0.08) 0%, rgba(1, 32, 77, 0.88) 100%),
    url("assets/office/office-06.jpg");
  background-size: cover;
  background-position: center;
  padding: 28px;
}

/* ==========================================================================
   SLIDE 04: WHY FAMILY OFFICE (家族痛点与系统化破局)
   ========================================================================== */
.s04-compare {
  display: grid;
  grid-template-columns: 1fr 100px 1.15fr;
  gap: 18px;
  align-items: stretch;
  height: 580px;
}

.s04-col-pain {
  background: var(--boi-surface, #EAF2FA);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.s04-vs-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.s04-vs-circle {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--boi-navy, #014099);
  border: 3px solid var(--boi-sky, #0B93D0);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(1, 64, 153, 0.25);
}

.s04-col-solution {
  background: linear-gradient(145deg, #004592 0%, #014099 100%);
  border-radius: 10px;
  padding: 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(1, 64, 153, 0.22);
}

.s04-item {
  background: var(--boi-white, #FFFFFF);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-radius: 8px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.s04-sol-item {
  background: rgba(1, 32, 77, 0.58);
  border: 1px solid rgba(169, 221, 243, 0.28);
  border-left: 5px solid var(--boi-sky, #0B93D0);
  border-radius: 8px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ==========================================================================
   SLIDE 05: FOUR-TIER PYRAMID ECOSYSTEM (交互式四层金字塔架构)
   ========================================================================== */
.s05-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  height: 600px;
}

.s05-pyramid-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.pyramid-tier-btn {
  appearance: none;
  border: 1.5px solid rgba(169, 221, 243, 0.36);
  background: rgba(1, 32, 77, 0.65);
  color: #FFFFFF;
  font-family: inherit;
  cursor: pointer;
  padding: 18px 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 220ms var(--ease-out-expo);
  text-align: left;
  position: relative;
}

.pyramid-tier-btn[data-tier="crown"] { width: 64%; background: linear-gradient(90deg, #007BC7, #0B93D0); }
.pyramid-tier-btn[data-tier="core"] { width: 76%; background: linear-gradient(90deg, #0051A4, #007BC7); }
.pyramid-tier-btn[data-tier="structure"] { width: 88%; background: linear-gradient(90deg, #014099, #0051A4); }
.pyramid-tier-btn[data-tier="foundation"] { width: 100%; background: linear-gradient(90deg, #002F70, #014099); }

.pyramid-tier-btn:hover,
.pyramid-tier-btn.active {
  transform: scale(1.025);
  border-color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(11, 147, 208, 0.42);
}

.pyramid-tier-btn.active::before {
  content: "当前选中";
  position: absolute;
  left: -12px;
  top: -10px;
  background: var(--boi-sky-tint, #A9DDF3);
  color: var(--boi-navy, #014099);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.s05-detail-panel {
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   SLIDE 06: 11 STRATEGIC MATRIX PANORAMA (十一大战略矩阵全景)
   ========================================================================== */
.s06-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.s06-filters {
  display: flex;
  gap: 8px;
}

.s06-chip {
  appearance: none;
  border: 1px solid var(--boi-grey-300, #C3CEDB);
  background: var(--boi-white, #FFFFFF);
  color: var(--boi-ink, #1C2A44);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms var(--ease-out-expo);
}

.s06-chip.active,
.s06-chip:hover {
  background: var(--boi-navy, #014099);
  border-color: var(--boi-navy, #014099);
  color: #FFFFFF;
}

.s06-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.s06-node {
  background: var(--boi-white, #FFFFFF);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-left: 5px solid var(--boi-blue, #007BC7);
  border-radius: 8px;
  padding: 15px 16px;
  transition: all 200ms var(--ease-out-expo);
  cursor: pointer;
}

.s06-node:hover,
.s06-node.highlighted {
  border-color: var(--boi-sky, #0B93D0);
  border-left-width: 7px;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(1, 64, 153, 0.11);
}

.s06-node.dimmed {
  opacity: 0.32;
}

.s06-engine-card {
  grid-column: span 1;
  background: linear-gradient(135deg, #014099 0%, #007BC7 100%);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   SLIDE 07: THREE SECTORS & NINE PILLARS OVERVIEW (三大板块 · 九大支柱总览)
   ========================================================================== */
.s07-sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  height: 585px;
}

.s07-sector-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.s07-sector-header {
  background: linear-gradient(135deg, #014099 0%, #0051A4 100%);
  color: #FFFFFF;
  padding: 20px 22px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-bottom: 4px solid var(--boi-sky, #0B93D0);
}

.s07-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.s07-pillar-item {
  background: var(--boi-surface, #EAF2FA);
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  border-radius: 8px;
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s07-pillar-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--boi-navy, #014099);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s07-pillar-item p {
  font-size: 13px;
  line-height: 1.48;
  color: var(--boi-grey-700, #5A6B85);
}

/* ==========================================================================
   SLIDES 08, 09, 10: SECTOR DEEP-DIVES (财富规划 / 家族事务 / 品质生活)
   ========================================================================== */
.deepdive-layout {
  display: grid;
  grid-template-columns: 0.92fr 2.08fr;
  gap: 30px;
  height: 585px;
}

.deepdive-hero {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: #FFFFFF;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(1, 64, 153, 0.16);
}

.deepdive-cards {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
}

.deepdive-card {
  display: grid;
  grid-template-columns: 76px 1fr 230px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
}

.deepdive-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #014099 0%, #007BC7 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 123, 199, 0.28);
}

.deepdive-deliverable {
  background: var(--boi-surface, #EAF2FA);
  border-left: 4px solid var(--boi-sky, #0B93D0);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  color: var(--boi-navy, #014099);
  line-height: 1.45;
}

/* ==========================================================================
   SLIDE 15: HQ OFFICE TOUR GALLERY (深圳南山总部12处实景交互画廊)
   ========================================================================== */
.s15-gallery-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  height: 590px;
}

.s15-stage-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--boi-grey-200, #D6DEE8);
  background: #012356;
  box-shadow: 0 18px 44px rgba(1, 64, 153, 0.16);
}

.s15-stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 480ms var(--ease-out-expo);
}

.s15-stage-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px 24px;
}

.s15-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.s15-thumb-btn {
  appearance: none;
  border: 2px solid var(--boi-grey-200, #D6DEE8);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #012356;
  padding: 0;
  transition: all 180ms var(--ease-out-expo);
}

.s15-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transition: opacity 180ms, transform 240ms;
}

.s15-thumb-btn:hover img,
.s15-thumb-btn.active img {
  opacity: 1;
  transform: scale(1.05);
}

.s15-thumb-btn.active {
  border-color: var(--boi-blue, #007BC7);
  box-shadow: 0 0 0 3px rgba(11, 147, 208, 0.35);
}

.s15-thumb-label {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(1, 32, 77, 0.92));
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 14px 6px 5px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SLIDE 16: GRAND OPENING & VIDEO THEATER (开业庆典与双视频点播)
   ========================================================================== */
.s16-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  height: 585px;
}

.s16-video-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.s16-video-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.s16-video-tab {
  appearance: none;
  border: 1px solid rgba(169, 221, 243, 0.35);
  background: rgba(0, 64, 152, 0.55);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms;
}

.s16-video-tab.active {
  background: var(--boi-blue, #007BC7);
  border-color: #FFFFFF;
}

.s16-video-frame {
  width: 100%;
  height: 360px;
  background: #021024;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(169, 221, 243, 0.3);
}

.s16-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.s16-ceremony-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.s16-ceremony-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(169, 221, 243, 0.3);
  position: relative;
  height: 128px;
  cursor: pointer;
}

.s16-ceremony-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s16-ceremony-item span {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(1, 32, 77, 0.92));
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 14px 8px 5px;
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR & PROGRESS BAR
   ========================================================================== */
.ppt-bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottombar-h);
  background: rgba(1, 35, 86, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(169, 221, 243, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 200;
  color: #FFFFFF;
}

.bottom-progress-track {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(169, 221, 243, 0.18);
}

.bottom-progress-fill {
  height: 100%;
  width: 6.25%;
  background: linear-gradient(90deg, var(--boi-blue, #007BC7), var(--boi-sky-tint, #A9DDF3));
  transition: width 280ms var(--ease-out-expo);
}

.bottom-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-circle-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(169, 221, 243, 0.35);
  background: rgba(0, 81, 164, 0.5);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms;
}

.nav-circle-btn:hover:not(:disabled) {
  background: var(--boi-blue, #007BC7);
  border-color: #FFFFFF;
}

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

.slide-counter-pill {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 64, 152, 0.65);
  border: 1px solid rgba(169, 221, 243, 0.28);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--boi-sky-tint, #A9DDF3);
}

.bottom-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-dot {
  appearance: none;
  border: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(169, 221, 243, 0.3);
  cursor: pointer;
  transition: all 200ms var(--ease-out-expo);
}

.slide-dot:hover {
  background: rgba(169, 221, 243, 0.7);
}

.slide-dot.active {
  width: 26px;
  background: var(--boi-sky, #0B93D0);
}

.bottom-status {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   MODALS & DRAWERS (幻灯片网格总览、演讲者解说词面板、高清灯箱)
   ========================================================================== */
.ppt-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 14, 36, 0.82);
  backdrop-filter: blur(12px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out-expo), visibility 240ms;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ppt-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overview-modal {
  width: min(1320px, 94vw);
  max-height: 86vh;
  background: #031B42;
  border: 1px solid rgba(169, 221, 243, 0.32);
  border-radius: 12px;
  padding: 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 18px;
}

.overview-card {
  appearance: none;
  border: 1.5px solid rgba(169, 221, 243, 0.25);
  background: rgba(1, 48, 115, 0.55);
  border-radius: 8px;
  padding: 16px;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 180ms var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
}

.overview-card:hover,
.overview-card.active {
  background: var(--boi-blue, #007BC7);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Speaker Notes Floating Bar */
.speaker-notes-bar {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottombar-h) + 14px);
  transform: translateX(-50%) translateY(20px);
  width: min(980px, 92vw);
  background: rgba(1, 32, 77, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--boi-sky, #0B93D0);
  border-left: 6px solid var(--boi-sky, #0B93D0);
  border-radius: 10px;
  padding: 16px 22px;
  color: #FFFFFF;
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 220ms var(--ease-out-expo);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.speaker-notes-bar.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Lightbox Modal */
.lightbox-card {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  background: #021636;
  border: 1px solid rgba(169, 221, 243, 0.35);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-card img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #010D21;
}

/* ==========================================================================
   RESPONSIVE MOBILE / TABLET FALLBACK & PRINT PDF RULES
   ========================================================================== */
@media (max-width: 1120px) {
  .topbar-chapters {
    display: none;
  }
}

@media (max-width: 860px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }
  .ppt-viewport {
    height: auto;
    overflow: visible;
    display: block;
    padding: 16px 10px 76px;
  }
  .ppt-stage {
    width: 100%;
    height: auto;
    transform: none !important;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .ppt-slide {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    border-radius: 10px;
  }
  .s01-cover,
  .s02-grid,
  .s03-layout,
  .s04-compare,
  .s05-layout,
  .s06-matrix-grid,
  .s07-sectors,
  .deepdive-layout,
  .s15-gallery-layout,
  .s16-layout {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .s01-left {
    clip-path: none !important;
    padding: 28px 22px !important;
  }
  .s01-right {
    margin-left: 0 !important;
    padding: 28px 22px !important;
  }
  .slide-chrome-top,
  .slide-body,
  .slide-chrome-bottom {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .slide-h2 {
    font-size: 26px !important;
  }
  .s01-title {
    font-size: 36px !important;
  }
  .deepdive-card {
    grid-template-columns: 1fr !important;
  }
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }
  html, body {
    width: 1600px;
    height: auto;
    overflow: visible !important;
    background: #FFFFFF !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .ppt-topbar,
  .ppt-bottombar,
  .ppt-drawer-backdrop,
  .speaker-notes-bar {
    display: none !important;
  }
  .ppt-viewport {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
  }
  .ppt-stage {
    width: 1600px !important;
    height: auto !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .ppt-slide {
    position: relative !important;
    width: 1600px !important;
    height: 900px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    page-break-after: always;
    break-after: page;
  }
}
