/* ================================================
   逍遥DAO — Business Plan Presentation v3.0
   Full-screen slide deck, dark-gold theme
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* === TOKENS (Dark — default) === */
:root, [data-theme="dark"] {
  --bg-1: #06080F;
  --bg-2: #0A0E17;
  --bg-3: #0F1829;
  --bg-card: rgba(15, 24, 41, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --gold: #C9A84C;
  --gold-l: #E8C76A;
  --gold-d: #A88730;
  --gold-bg: rgba(201, 168, 76, 0.10);
  --gold-border: rgba(201, 168, 76, 0.25);
  --gold-glow: rgba(201, 168, 76, 0.35);
  --gold-btn-text: #0A0E17;

  --white: #FFFFFF;
  --t1: #FFFFFF;
  --t2: #B8C4D4;
  --t3: #6B7A8D;
  --border: rgba(255, 255, 255, 0.08);

  --green: #10B981;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --red: #EF4444;
  --amber: #F59E0B;

  --font-sans: 'Noto Sans SC', 'PingFang SC', system-ui, -apple-system, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --print-bg: #06080F;
  --print-card: rgba(15, 24, 41, 0.9);
  --print-border: rgba(255, 255, 255, 0.12);
}

/* === TOKENS (Light) === */
[data-theme="light"] {
  --bg-1: #F5F3EF;
  --bg-2: #FFFFFF;
  --bg-3: #EDE9E1;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(0, 0, 0, 0.02);

  --gold: #9E7C20;
  --gold-l: #C9A84C;
  --gold-d: #7A5F14;
  --gold-bg: rgba(158, 124, 32, 0.08);
  --gold-border: rgba(158, 124, 32, 0.22);
  --gold-glow: rgba(158, 124, 32, 0.20);
  --gold-btn-text: #FFFFFF;

  --white: #1A1A1A;
  --t1: #1A1A1A;
  --t2: #4A4A4A;
  --t3: #8A8A8A;
  --border: rgba(0, 0, 0, 0.08);

  --green: #059669;
  --blue: #2563EB;
  --purple: #7C3AED;
  --red: #DC2626;
  --amber: #D97706;

  --print-bg: #F5F3EF;
  --print-card: rgba(237, 233, 225, 0.9);
  --print-border: rgba(0, 0, 0, 0.1);
}

/* Light theme overrides for specific elements */
[data-theme="light"] .slide::before {
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(158,124,32,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 80%, rgba(158,124,32,0.03) 0%, transparent 70%);
}
[data-theme="light"] .slide-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .fs-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .progress-bar {
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l));
}
[data-theme="light"] .track-card.track-ours {
  background: rgba(158, 124, 32, 0.06);
}
[data-theme="light"] .product-item.core {
  background: rgba(158, 124, 32, 0.06);
}
[data-theme="light"] .timeline::before {
  background: linear-gradient(180deg, var(--border), var(--gold), var(--gold-l));
}
[data-theme="light"] .cover-logo {
  filter: drop-shadow(0 0 20px rgba(158,124,32,0.2));
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-1);
  color: var(--t1);
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* === SLIDE CONTAINER === */
.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  z-index: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}
.slide.prev {
  opacity: 0;
  transform: translateX(-60px);
}

.slide-inner {
  max-width: 1100px;
  width: 100%;
  position: relative;
}

/* === BACKGROUND EFFECTS === */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 80%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* === PROGRESS BAR === */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l));
  transition: width 0.4s var(--ease);
  z-index: 100;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* === NAV CONTROLS === */
.slide-nav {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
}
.slide-nav button {
  background: none;
  border: none;
  color: var(--t3);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s;
  font-size: 1.1rem;
}
.slide-nav button:hover { color: var(--gold); background: var(--gold-bg); }
.slide-nav button:disabled { opacity: 0.3; cursor: default; }
.slide-nav button:disabled:hover { color: var(--t3); background: none; }

.slide-counter {
  font-size: 0.8rem;
  color: var(--t3);
  min-width: 50px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Dot indicators */
.slide-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t3);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.slide-dot:hover { opacity: 0.6; }
.slide-dot.active {
  opacity: 1;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  width: 24px;
  border-radius: 4px;
}

/* === TYPOGRAPHY === */
.slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--t1);
}
.slide-title .gold { color: var(--gold); }

.slide-subtitle {
  font-size: 1.15rem;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 700px;
}

.slide-desc {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.slide-quote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-l);
  line-height: 1.8;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  font-style: italic;
}

/* === COVER SLIDE === */
.cover {
  text-align: center;
  flex-direction: column;
}
.cover .slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cover-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.3));
}
.cover-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 40px;
}
.cover-brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--t3);
  letter-spacing: 2px;
  margin-top: 4px;
  font-family: var(--font-sans);
}
.cover .slide-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
}
.cover-tagline {
  font-size: 1.1rem;
  color: var(--t2);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cover-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
}
.cover-contact {
  font-size: 0.8rem;
  color: var(--t3);
  line-height: 1.8;
}
.cover-contact span { margin: 0 12px; }

/* === STAT GRID === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat-card {
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(201,168,76,0.08);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--t3);
  margin-top: 6px;
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.team-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}
.team-card:hover {
  border-color: var(--gold-border);
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.team-desc {
  font-size: 0.78rem;
  color: var(--t3);
  line-height: 1.6;
}

/* === PARTNER TAGS === */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.partner-tag {
  font-size: 0.82rem;
  color: var(--t2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s;
}
.partner-tag:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

/* === PAIN GRID === */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.pain-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pain-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.pain-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 6px;
}
.pain-desc {
  font-size: 0.82rem;
  color: var(--t3);
  line-height: 1.6;
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.product-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}
.product-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}
.product-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 6px;
}
.product-desc {
  font-size: 0.75rem;
  color: var(--t3);
  line-height: 1.6;
}

/* === ARCH & STAGES === */
.arch-layers {
  margin: 24px 0;
}
.arch-layer {
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.arch-layer:nth-child(1) { border-color: var(--gold-border); }
.arch-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 32px;
}
.arch-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t1);
}
.arch-desc {
  font-size: 0.82rem;
  color: var(--t3);
  margin-top: 2px;
}

/* Stage pills */
.stage-row {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  align-items: stretch;
}
.stage-card {
  flex: 1;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
}
.stage-card:nth-child(1)::before { background: var(--green); }
.stage-card:nth-child(2)::before { background: var(--blue); }
.stage-card:nth-child(3)::before { background: var(--purple); }

.stage-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.stage-card:nth-child(1) .stage-label { color: var(--green); }
.stage-card:nth-child(2) .stage-label { color: var(--blue); }
.stage-card:nth-child(3) .stage-label { color: var(--purple); }

.stage-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 6px;
}
.stage-desc {
  font-size: 0.78rem;
  color: var(--t3);
  line-height: 1.6;
}

/* === MARKET TABLE === */
.market-layers {
  margin: 24px 0;
}
.market-layer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
}
.market-scale {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 120px;
}
.market-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 4px;
}
.market-desc {
  font-size: 0.8rem;
  color: var(--t3);
  line-height: 1.5;
}

/* Rocket growth */
.rocket-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 28px 0;
}
.rocket-step {
  text-align: center;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 180px;
}
.rocket-year {
  font-size: 0.72rem;
  color: var(--t3);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.rocket-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 4px;
}
.rocket-desc {
  font-size: 0.75rem;
  color: var(--gold);
}
.rocket-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 8px;
}

/* === BUSINESS TABLE === */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.biz-card {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.biz-icon {
  font-size: 1.4rem;
  min-width: 28px;
}
.biz-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 4px;
}
.biz-desc {
  font-size: 0.75rem;
  color: var(--t3);
  line-height: 1.5;
}

/* === COMPETE TABLE === */
.compete-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.82rem;
}
.compete-table th {
  background: var(--bg-3);
  color: var(--t2);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compete-table th:first-child { border-radius: 10px 0 0 0; }
.compete-table th:last-child { border-radius: 0 10px 0 0; }
.compete-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--t3);
  vertical-align: top;
}
.compete-table tr:last-child td { border-bottom: none; }
.compete-table td:last-child {
  color: var(--gold);
  font-weight: 500;
}
.compete-table tbody tr {
  background: var(--bg-card);
}
.compete-table .wall-label {
  background: var(--gold-bg);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* === ROADMAP === */
.roadmap-row {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  align-items: stretch;
}
.roadmap-card {
  flex: 1;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.roadmap-card:nth-child(1)::before { background: linear-gradient(90deg, var(--green), var(--blue)); }
.roadmap-card:nth-child(2)::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.roadmap-card:nth-child(3)::before { background: linear-gradient(90deg, var(--purple), var(--gold)); }

.roadmap-phase {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.roadmap-card:nth-child(1) .roadmap-phase { color: var(--green); }
.roadmap-card:nth-child(2) .roadmap-phase { color: var(--blue); }
.roadmap-card:nth-child(3) .roadmap-phase { color: var(--purple); }

.roadmap-time {
  font-size: 0.78rem;
  color: var(--t3);
  margin-bottom: 12px;
}
.roadmap-list {
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.8;
}
.roadmap-list li::before {
  content: '→ ';
  color: var(--gold);
}

/* Fund bars */
.fund-bars {
  margin: 24px 0;
}
.fund-item {
  margin-bottom: 14px;
}
.fund-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.fund-label { color: var(--t2); }
.fund-pct { color: var(--gold); font-weight: 600; }
.fund-track {
  height: 8px;
  background: var(--bg-3);
  border-radius: 4px;
  overflow: hidden;
}
.fund-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold));
  transition: width 1s var(--ease);
}

/* === END SLIDE === */
.end-slide {
  text-align: center;
}
.end-slide .slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.end-vision {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-l);
  line-height: 1.8;
  margin: 32px 0;
  max-width: 600px;
}
.end-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
}
.end-contact {
  font-size: 0.88rem;
  color: var(--t3);
  line-height: 2;
}
.end-contact strong {
  color: var(--t2);
}

/* === SECTION DIVIDER LINE === */
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0;
  border-radius: 1px;
}

/* === TWO COL LAYOUT === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--border), var(--gold), var(--gold-l));
}
.timeline-item {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t3);
  border: 2px solid var(--bg-1);
}
.timeline-item.highlight::before {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  width: 10px;
  height: 10px;
  left: -19px;
}
.timeline-year {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 38px;
}
.timeline-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t1);
}
.timeline-desc {
  font-size: 0.72rem;
  color: var(--t3);
  line-height: 1.5;
}
.timeline-item.highlight .timeline-title {
  color: var(--gold);
}

/* === TRACK GRID (AI赛道) === */
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.track-card {
  text-align: center;
  padding: 20px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}
.track-card.track-ours {
  border-color: var(--gold-border);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 0 20px rgba(201,168,76,0.08);
}
.track-icon { font-size: 1.6rem; margin-bottom: 8px; }
.track-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 4px;
}
.track-rep {
  font-size: 0.72rem;
  color: var(--t3);
  margin-bottom: 8px;
}
.track-note {
  font-size: 0.72rem;
  color: var(--t3);
  line-height: 1.5;
}

/* === WALL GRID (核心壁垒) === */
.wall-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.wall-card {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.wall-icon { font-size: 1.2rem; min-width: 28px; }
.wall-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t1);
}
.wall-desc {
  font-size: 0.72rem;
  color: var(--t3);
  margin-top: 2px;
}

/* === PRODUCT LIST (vertical) === */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s;
}
.product-item.core {
  border-color: var(--gold-border);
  background: rgba(201, 168, 76, 0.06);
}
.product-item-icon { font-size: 1.2rem; min-width: 24px; }
.product-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t1);
}
.product-item-desc {
  font-size: 0.72rem;
  color: var(--t3);
}
.product-item.core .product-item-name { color: var(--gold); }

/* === VISION GRID === */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.vision-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.vision-icon { font-size: 2rem; margin-bottom: 10px; }
.vision-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.vision-desc {
  font-size: 0.82rem;
  color: var(--t3);
  line-height: 1.7;
}

/* === KEYBOARD HINT === */
.key-hint {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--t3);
  opacity: 0.5;
  z-index: 99;
  pointer-events: none;
  transition: opacity 0.5s;
}
.key-hint.hidden { opacity: 0; }

/* === FULLSCREEN BTN === */
.fs-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--t3);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 1rem;
}
.fs-btn:hover { color: var(--gold); border-color: var(--gold-border); }
#pdf-btn { font-size: 1.15rem; }

/* Theme toggle */
.theme-btn-wrap {
  position: fixed;
  top: 20px;
  right: 116px;
  z-index: 100;
  display: flex;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
[data-theme="light"] .theme-btn-wrap {
  background: rgba(255, 255, 255, 0.9);
}
.theme-btn-wrap button {
  background: none;
  border: none;
  color: var(--t3);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s;
}
.theme-btn-wrap button:hover { color: var(--gold); }
.theme-btn-wrap button.active {
  color: var(--gold);
  background: var(--gold-bg);
}
.theme-btn-wrap button + button {
  border-left: 1px solid var(--border);
}

/* === MOBILE BOTTOM BAR (hidden on desktop) === */
.mobile-bar {
  display: none;
}

/* === SWIPE HINT (hidden on desktop) === */
.swipe-hint {
  display: none;
}

/* === ANIMATIONS === */
.slide.active .fade-in {
  animation: fadeIn 0.6s var(--ease) forwards;
}
.slide.active .fade-in-up {
  animation: fadeInUp 0.6s var(--ease) forwards;
}
.slide.active .fade-in-d1 { animation-delay: 0.1s; opacity: 0; }
.slide.active .fade-in-d2 { animation-delay: 0.2s; opacity: 0; }
.slide.active .fade-in-d3 { animation-delay: 0.3s; opacity: 0; }
.slide.active .fade-in-d4 { animation-delay: 0.4s; opacity: 0; }
.slide.active .fade-in-d5 { animation-delay: 0.5s; opacity: 0; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .slide { padding: 40px 40px; }
  .slide-title { font-size: 2.2rem; }
  .cover .slide-title { font-size: 2.6rem; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .roadmap-row { flex-direction: column; }
  .rocket-flow { flex-wrap: wrap; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* === FIX: use dvh for mobile viewport, allow slide scroll === */
  body {
    height: 100vh;
    height: 100dvh;
  }
  .deck {
    height: 100vh;
    height: 100dvh;
  }

  /* === CORE LAYOUT ===
     Mobile bottom bar = 52px + safe-area.
     Slides must scroll vertically when content overflows.
     Top: no buttons shown so no extra top padding needed.
     Bottom: leave space for mobile bar. */
  .slide {
    padding: 20px 18px 64px 18px;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .slide-inner {
    padding-top: 0;
    /* Ensure inner content doesn't cut off */
    min-height: 0;
  }
  .cover.slide {
    align-items: center;
    justify-content: center;
  }

  /* === HIDE desktop-only UI === */
  .slide-nav,
  .key-hint,
  .fs-btn,
  #pdf-btn,
  .theme-btn-wrap,
  .progress-bar {
    display: none !important;
  }

  /* === MOBILE BOTTOM BAR ===
     Fixed toolbar at very bottom with safe-area support.
     Height = 52px content + safe-area-inset-bottom. */
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 52px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
  [data-theme="light"] .mobile-bar {
    background: #FFFFFF;
    border-top-color: rgba(0,0,0,0.08);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  }
  .mb-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: none;
    background: none;
    color: var(--t2);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .mb-btn:active { background: var(--gold-bg); color: var(--gold); }
  .mb-btn:disabled { opacity: 0.25; }
  .mb-progress {
    flex: 1;
    height: 4px;
    background: var(--bg-3);
    border-radius: 2px;
    overflow: hidden;
  }
  .mb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-d), var(--gold));
    border-radius: 2px;
    transition: width 0.4s var(--ease);
    width: 10%;
  }
  .mb-counter {
    font-size: 0.72rem;
    color: var(--t3);
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  /* === SWIPE HINT === */
  .swipe-hint {
    display: flex;
    position: fixed;
    bottom: 66px;
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 150;
    pointer-events: none;
    animation: hintPulse 2s ease-in-out infinite;
    transition: opacity 0.5s;
  }
  .swipe-hint.hide {
    opacity: 0;
    animation: none;
  }
  .swipe-hint-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--gold-border);
  }
  [data-theme="light"] .swipe-hint-inner {
    background: rgba(255,255,255,0.92);
  }
  .swipe-hand {
    font-size: 1.1rem;
    animation: swipeMove 1.8s ease-in-out infinite;
  }
  .swipe-text {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  @keyframes swipeMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
  }
  @keyframes hintPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }

  /* === TYPOGRAPHY: readable on mobile === */
  .slide-title { font-size: 1.5rem; margin-bottom: 12px; }
  .cover .slide-title { font-size: 1.75rem; }
  .slide-subtitle { font-size: 0.9rem; margin-bottom: 14px; max-width: 100%; }
  .slide-quote { font-size: 0.88rem; padding-left: 12px; margin: 12px 0; line-height: 1.7; }
  .slide-tag { font-size: 0.65rem; padding: 3px 10px; margin-bottom: 12px; }

  /* === COVER === */
  .cover-logo { width: 52px; height: 52px; }
  .cover-brand { font-size: 1rem; margin-bottom: 20px; letter-spacing: 3px; }
  .cover-tagline { font-size: 0.85rem; margin-bottom: 16px; }
  .cover-tagline br { display: none; }
  .cover-contact { font-size: 0.7rem; }
  .cover-contact span { margin: 0 5px; }
  .cover-divider { margin: 0 auto 16px; }

  /* === TWO-COL stacks vertically === */
  .two-col { grid-template-columns: 1fr; gap: 18px; }

  /* === GRIDS: mobile-friendly columns === */
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-num { font-size: 1.3rem; }
  .stat-card { padding: 14px 8px; }
  .stat-label { font-size: 0.7rem; }
  .team-grid { grid-template-columns: 1fr !important; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; gap: 8px; }
  .biz-card { padding: 14px 16px; }
  .biz-desc { font-size: 0.72rem; }
  .stage-row { flex-direction: column; }
  .track-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vision-grid { grid-template-columns: 1fr; gap: 10px; }

  /* === MARKET === */
  .market-layer { flex-direction: column; gap: 6px; padding: 14px 16px; }
  .market-scale { min-width: auto; font-size: 1.2rem; }
  .market-label { font-size: 0.85rem; }
  .market-desc { font-size: 0.75rem; }

  /* === TABLE: horizontal scroll wrapper === */
  .compete-table {
    font-size: 0.7rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compete-table thead,
  .compete-table tbody,
  .compete-table tr {
    display: table;
    width: 100%;
    table-layout: auto;
  }
  .compete-table th,
  .compete-table td {
    padding: 8px 10px;
    white-space: nowrap;
  }

  /* === MISC components === */
  .rocket-flow { flex-direction: column; align-items: center; }
  .rocket-arrow { transform: rotate(90deg); }
  .end-vision { font-size: 1.05rem; margin: 16px 0; }
  .end-contact { font-size: 0.8rem; }
  .arch-desc { font-size: 0.75rem; }
  .arch-layer { padding: 12px 14px; gap: 12px; }
  .arch-num { font-size: 1.2rem; }
  .wall-card { padding: 10px 14px; }
  .wall-desc { font-size: 0.68rem; }
  .wall-title { font-size: 0.82rem; }
  .product-item { padding: 8px 12px; }
  .product-item-desc { font-size: 0.68rem; }
  .roadmap-card { padding: 16px; }
  .roadmap-list { font-size: 0.78rem; }
  .roadmap-phase { font-size: 0.7rem; }
  .team-card { padding: 14px; }
  .team-desc { font-size: 0.72rem; }
  .team-name { font-size: 0.95rem; }
  .team-role { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  /* Even tighter padding for small phones */
  .slide {
    padding: 14px 14px 60px 14px;
  }

  /* Typography */
  .slide-title { font-size: 1.2rem; margin-bottom: 10px; }
  .cover .slide-title { font-size: 1.35rem; }
  .slide-subtitle { font-size: 0.8rem; margin-bottom: 10px; line-height: 1.6; }
  .slide-tag { font-size: 0.58rem; padding: 2px 8px; margin-bottom: 8px; }
  .slide-quote { font-size: 0.78rem; margin: 8px 0; padding-left: 10px; line-height: 1.6; }

  /* Cover */
  .cover-brand { font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
  .cover-logo { width: 40px; height: 40px; }
  .cover-tagline { font-size: 0.75rem; margin-bottom: 12px; line-height: 1.6; }
  .cover-contact { font-size: 0.62rem; }
  .cover-contact span { margin: 0 3px; }
  .cover-divider { margin: 0 auto 10px; }

  /* Grids — single or 2-col max */
  .product-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .stat-card { padding: 10px 6px; }
  .stat-num { font-size: 1.1rem; }
  .stat-label { font-size: 0.62rem; }
  .track-grid { grid-template-columns: 1fr; gap: 6px; }
  .two-col { gap: 12px; }

  /* Architecture */
  .arch-layer { padding: 10px 12px; gap: 8px; }
  .arch-num { font-size: 1rem; min-width: 22px; }
  .arch-title { font-size: 0.78rem; }
  .arch-desc { font-size: 0.68rem; }

  /* Wall */
  .wall-card { padding: 8px 10px; gap: 8px; }
  .wall-icon { font-size: 0.95rem; min-width: 22px; }
  .wall-title { font-size: 0.75rem; }
  .wall-desc { font-size: 0.62rem; }

  /* Product list */
  .product-item { padding: 6px 10px; gap: 8px; }
  .product-item-icon { font-size: 1rem; min-width: 20px; }
  .product-item-name { font-size: 0.75rem; }
  .product-item-desc { font-size: 0.62rem; }

  /* Timeline */
  .timeline { padding-left: 14px; }
  .timeline-item { gap: 8px; padding: 4px 0; }
  .timeline-year { font-size: 0.68rem; min-width: 26px; }
  .timeline-title { font-size: 0.72rem; }
  .timeline-desc { font-size: 0.62rem; }
  .timeline-item::before { left: -16px; top: 12px; width: 6px; height: 6px; }
  .timeline-item.highlight::before { width: 8px; height: 8px; left: -17px; }

  /* Market */
  .market-layer { padding: 10px 12px; gap: 4px; margin-bottom: 6px; }
  .market-label { font-size: 0.75rem; }
  .market-desc { font-size: 0.68rem; }
  .market-scale { font-size: 1rem; }

  /* Roadmap & Team */
  .roadmap-card { padding: 12px; }
  .roadmap-list { font-size: 0.7rem; line-height: 1.7; }
  .roadmap-phase { font-size: 0.62rem; }
  .roadmap-time { font-size: 0.68rem; }
  .team-card { padding: 10px; }
  .team-name { font-size: 0.85rem; }
  .team-role { font-size: 0.68rem; }
  .team-desc { font-size: 0.65rem; line-height: 1.5; }

  /* Biz */
  .biz-card { padding: 10px 12px; gap: 10px; }
  .biz-icon { font-size: 1.1rem; min-width: 24px; }
  .biz-title { font-size: 0.78rem; }
  .biz-desc { font-size: 0.65rem; }

  /* Vision */
  .vision-card { padding: 12px 10px; }
  .vision-icon { font-size: 1.3rem; margin-bottom: 4px; }
  .vision-title { font-size: 0.85rem; }
  .vision-desc { font-size: 0.7rem; }

  /* End */
  .end-vision { font-size: 0.88rem; margin: 10px 0; }
  .end-contact { font-size: 0.7rem; }
  .end-divider { margin: 0 auto 14px; }

  /* Mobile bar — slightly shorter */
  .mobile-bar { height: 48px; padding: 0 10px; gap: 8px; }
  .mb-btn { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }
  .mb-counter { font-size: 0.65rem; min-width: 34px; }

  /* Swipe hint */
  .swipe-hint { bottom: 56px; }
  .swipe-hint-inner { padding: 6px 14px; }
  .swipe-text { font-size: 0.65rem; }

  /* Compete table */
  .compete-table { font-size: 0.65rem; }
  .compete-table th, .compete-table td { padding: 6px 8px; }

  /* Inline flex tags wrap */
  .slide-inner > div[style*="display:flex"] { flex-wrap: wrap; }
}

/* ================================================
   PRINT / PDF EXPORT STYLES
   Ctrl+P → "Save as PDF" → Landscape A4
   Each slide = one printed page
   ================================================ */
@media print {
  /* Reset body for print flow */
  html, body {
    overflow: visible !important;
    height: auto !important;
    width: auto !important;
    background: var(--bg-1) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* Page setup: landscape to match slides */
  @page {
    size: landscape;
    margin: 0;
  }

  /* Hide non-content UI */
  .progress-bar,
  .slide-nav,
  .key-hint,
  .fs-btn,
  .mobile-bar,
  .swipe-hint,
  .theme-btn-wrap {
    display: none !important;
  }

  /* Deck becomes normal flow */
  .deck {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Each slide = one page */
  .slide {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: auto !important;
    display: flex !important;
    page-break-after: always;
    break-after: page;
    width: 100vw;
    height: 100vh;
    padding: 48px 64px !important;
    overflow: hidden !important;
    background: var(--bg-1) !important;
  }
  .slide:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  /* Remove slide transition classes */
  .slide.prev {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Force all animated elements visible */
  .fade-in, .fade-in-up,
  .fade-in-d1, .fade-in-d2,
  .fade-in-d3, .fade-in-d4,
  .fade-in-d5 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Ensure backgrounds print */
  .slide::before {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .stat-card, .team-card, .product-card,
  .pain-card, .arch-layer, .stage-card,
  .market-layer, .rocket-step, .biz-card,
  .roadmap-card, .partner-tag,
  .track-card, .wall-card, .product-item,
  .vision-card, .timeline-item {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background: var(--print-card) !important;
    border-color: var(--print-border) !important;
  }
  .track-card.track-ours {
    background: var(--gold-bg) !important;
    border-color: var(--gold-border) !important;
  }
  .product-item.core {
    background: var(--gold-bg) !important;
    border-color: var(--gold-border) !important;
  }
  .timeline::before {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .compete-table th {
    background: var(--bg-3) !important;
    -webkit-print-color-adjust: exact !important;
  }
  .compete-table tbody tr {
    background: var(--print-card) !important;
    -webkit-print-color-adjust: exact !important;
  }

  /* Fund bars visible at target width */
  .fund-fill {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .fund-fill[data-width="40%"] { width: 40% !important; }
  .fund-fill[data-width="30%"] { width: 30% !important; }
  .fund-fill[data-width="20%"] { width: 20% !important; }
  .fund-fill[data-width="10%"] { width: 10% !important; }
  .fund-track {
    background: var(--bg-3) !important;
    -webkit-print-color-adjust: exact !important;
  }

  /* Gold text ensure printing */
  .gold, .stat-num, .team-role,
  .slide-tag, .stage-label,
  .market-scale, .rocket-desc,
  .fund-pct, .arch-num {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Slightly smaller fonts for print fit */
  .slide-title { font-size: 2.2rem !important; }
  .cover .slide-title { font-size: 2.6rem !important; }
  .slide-subtitle { font-size: 1rem !important; }

  /* Two-col stays side by side in print */
  .two-col {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  /* Ensure grids stay in shape */
  .stat-grid { grid-template-columns: repeat(5, 1fr) !important; }
  .team-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .pain-grid { grid-template-columns: 1fr !important; }
  .biz-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stage-row { flex-direction: row !important; }
  .roadmap-row { flex-direction: column !important; }
  .rocket-flow { flex-direction: row !important; flex-wrap: nowrap !important; }
  .track-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .vision-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Stage card top bars */
  .stage-card::before,
  .roadmap-card::before {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Progress bar gradient on gold elements */
  .cover-divider, .end-divider, .section-divider {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Slide quote border */
  .slide-quote {
    border-left-color: var(--gold) !important;
    -webkit-print-color-adjust: exact !important;
  }

  /* No link underlines */
  a { text-decoration: none !important; }
}
