@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #080c14;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-dim: #8a90a0;
  --blue: #0a8fd4;
  --gold: #d2a844;
  --green: #a4ca67;
  --red: #ff6b6b;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

/* ── Slide Container ─────────────────────────── */
.deck {
  width: 100vw; height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 52px 64px 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* ── Glow Orb ────────────────────────────────── */
.glow-orb {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 20%, rgba(10,143,212,0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.glow-orb.gold {
  background: radial-gradient(ellipse at 85% 15%, rgba(210,168,68,0.12) 0%, transparent 55%);
}
.glow-orb.green {
  background: radial-gradient(ellipse at 70% 80%, rgba(164,202,103,0.10) 0%, transparent 55%);
}

/* ── Header ──────────────────────────────────── */
.slide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.slide-header .logo {
  width: 32px; height: 32px;
  opacity: 0.7;
}

.slide-meta {
  font-size: 0.72em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* ── Title Area ───────────────────────────────── */
.slide-title {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}

.slide-title h1 {
  font-size: 2.6em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.slide-title h2 {
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.slide-title .subtitle {
  font-size: 1.05em;
  color: var(--text-dim);
  margin-top: 8px;
  font-weight: 400;
  max-width: 680px;
  line-height: 1.55;
}

.rule {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 4px;
  margin: 12px 0 18px;
}
.rule.gold { background: linear-gradient(90deg, var(--gold), transparent); }
.rule.green { background: linear-gradient(90deg, var(--green), transparent); }

/* ── Body Layout ──────────────────────────────── */
.slide-body {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  overflow: hidden;
}

.slide-body.centered {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Two-col ─────────────────────────────────── */
.two-col {
  display: flex;
  gap: 28px;
  flex: 1;
  align-items: stretch;
}

.col-left, .col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Image Pane ───────────────────────────────── */
.img-pane {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  position: relative;
}

.img-pane img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.img-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,12,20,0.4) 0%, transparent 40%);
}

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card h3 {
  font-size: 1.0em;
  font-weight: 700;
  color: #fff;
}

.card p {
  font-size: 0.88em;
  color: var(--text-dim);
  line-height: 1.5;
}

.card.accent-blue { border-top: 3px solid var(--blue); }
.card.accent-gold { border-top: 3px solid var(--gold); }
.card.accent-green { border-top: 3px solid var(--green); }
.card.accent-red { border-left: 3px solid var(--red); background: rgba(255,107,107,0.04); }

.tag {
  display: inline-block;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(10,143,212,0.1);
  align-self: flex-start;
}
.tag.gold { color: var(--gold); border-color: var(--gold); background: rgba(210,168,68,0.1); }
.tag.green { color: var(--green); border-color: var(--green); background: rgba(164,202,103,0.1); }

/* ── Bullet List ──────────────────────────────── */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92em;
  color: var(--text);
  line-height: 1.45;
}

.bullet-list li::before {
  content: '›';
  color: var(--blue);
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: -1px;
}

.bullet-list li strong {
  color: #fff;
  font-weight: 600;
}

/* ── Cover Slide ──────────────────────────────── */
.cover-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cover-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cover-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,20,0.85) 40%, rgba(8,12,20,0.2) 100%);
}

.cover-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 700px;
}

.cover-content .eyebrow {
  font-size: 0.75em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.cover-content h1 {
  font-size: 3.6em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.cover-content h1 span {
  display: block;
  background: linear-gradient(135deg, var(--gold), #f0c060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover-content .desc {
  font-size: 1.1em;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 520px;
}

/* ── Phase Blocks ─────────────────────────────── */
.phase-grid {
  display: flex;
  gap: 20px;
  flex: 1;
}

.phase-block {
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.phase-block::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 6em;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.phase-block h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: #fff;
}

.phase-block p {
  font-size: 0.88em;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Navigation ───────────────────────────────── */
.nav {
  position: fixed;
  bottom: 28px;
  right: 32px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(10,143,212,0.2);
  border-color: var(--blue);
  transform: scale(1.08);
}

/* ── Slide Counter ────────────────────────────── */
.slide-counter {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.dot.active {
  background: var(--blue);
  transform: scale(1.4);
}

/* ── Footer Rule ──────────────────────────────── */
.footer-bar {
  position: absolute;
  bottom: 0; left: 64px; right: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.4;
}

/* ── Stat Highlight ───────────────────────────── */
.stat-highlight {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.stat-item {
  flex: 1;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.stat-item .num {
  font-size: 2em;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.78em;
  color: var(--text-dim);
  margin-top: 4px;
}
