/* ============================================
   SOSEEKS PITCH DECK — matches main site theme
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #c084fc;
  --accent-pink: #ec4899;
  --cyan: #06b6d4;
  --bg-dark: #030014;
  --bg-surface: #0a0a1a;
  --bg-card: rgba(15, 15, 35, 0.72);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(99, 102, 241, 0.2);
  --glow: rgba(99, 102, 241, 0.35);
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #c084fc);
  --gradient-h: linear-gradient(90deg, #6366f1, #8b5cf6, #c084fc);
  --gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #c084fc 100%);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 32px rgba(99, 102, 241, 0.12);
  --radius: 16px;
  --slide-w: 1280px;
  --sidebar-w: 260px;
  --toolbar-h: 56px;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  /* Card accent aliases (slide markup) */
  --blue: #6366f1;
  --purple: #8b5cf6;
  --magenta: #c084fc;
}

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

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary);
  color: white;
}

/* ── Layout ── */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--toolbar-h) 1fr;
  height: 100vh;
}

.toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  background: rgba(3, 0, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.toolbar-brand img {
  height: 28px;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.35));
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #4a6cf7 0%, #7b5ea7 50%, #c471ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  letter-spacing: 0.02em;
}

.toolbar-brand .brand-logo {
  font-size: 1.35rem;
}

.brand-logo--slide {
  font-size: 2.75rem;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.35));
}

.toolbar-deck-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.06);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.toolbar-btn:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
}

.toolbar-btn.primary {
  background: var(--gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.toolbar-btn.primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: white;
}

.toolbar-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.toolbar-link { white-space: nowrap; }

.slide-counter {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 80px;
  text-align: center;
}

.toolbar-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 4px;
}

/* Download dropdown */
.download-dropdown { position: relative; }

.download-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 220px;
  z-index: 200;
}

.download-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.download-item:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
}

.download-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

/* Sidebar */
.sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 14px 12px;
}

.sidebar h3 {
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  margin-bottom: 12px;
  padding: 0 6px;
}

.thumb-list { display: flex; flex-direction: column; gap: 6px; }

.thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(99, 102, 241, 0.04);
}

.thumb:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--border);
}

.thumb.active {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.12);
}

.thumb-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: white;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thumb-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-muted);
}

.thumb.active .thumb-title { color: var(--text); }

/* Viewer */
.viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(192, 132, 252, 0.08) 0%, transparent 50%),
    var(--bg-dark);
}

.viewer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.viewer-inner {
  position: relative;
  width: min(100%, var(--slide-w));
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--toolbar-h) - 56px);
  z-index: 1;
}

/* ── Slide base ── */
.slide {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.97) translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: var(--bg-surface);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.slide-inner {
  width: 100%;
  height: 100%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.slide-inner.compact { padding: 40px 36px 28px; }

/* ── Cover slide ── */
.slide-cover {
  background: var(--bg-dark);
  padding: 0 !important;
}

.slide-cover::before {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(99, 102, 241, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(192, 132, 252, 0.15) 0%, transparent 50%);
  opacity: 1;
}

.slide-cover .cover-card {
  margin: 24px;
  flex: 1;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 48px;
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.slide-cover .cover-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-h);
}

.slide-cover .brand-logo--slide {
  margin-bottom: 22px;
}

.slide-cover h1 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--text);
}

.slide-cover .subtitle {
  font-size: 19px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 10px;
  max-width: 680px;
}

.slide-cover .tagline {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.pill {
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.slide-cover .divider {
  width: 200px;
  height: 2px;
  background: var(--gradient-h);
  border-radius: 2px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.slide-cover .footer-meta {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ── Slide headers ── */
.slide-header {
  margin-bottom: 18px;
  padding-top: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.slide-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-h);
  opacity: 0.85;
  border-radius: 2px;
}

.slide-header .label {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.slide-header h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-body { flex: 1; overflow: hidden; min-height: 0; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-2-1 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; height: 100%; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, var(--blue));
  box-shadow: 0 0 12px var(--accent, var(--blue));
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-sm);
}

.card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.card.purple { --accent: var(--purple); }
.card.magenta { --accent: var(--magenta); }
.card.blue { --accent: var(--blue); }

.text-block {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.text-block:last-child { margin-bottom: 0; }

.quote-box {
  margin-top: auto;
  padding: 14px 20px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-light);
  font-style: italic;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
}

.founder-card .role {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.founder-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.founder-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.founder-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bullet-list li {
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  color: var(--text-muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 8px var(--glow);
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th {
  background: rgba(99, 102, 241, 0.25);
  color: var(--text);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.data-table tr:nth-child(even) td { background: rgba(99, 102, 241, 0.04); }
.data-table td strong { color: var(--text); }

.product-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.product-badge.primary {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.product-badge.extension {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.grid-2-1--dashboard { grid-template-columns: 0.95fr 1.05fr; align-items: center; }

.chat2bill-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.chat2bill-figure figcaption {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.chat2bill-img {
  width: 100%;
  max-height: min(100%, 340px);
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.18);
  background: #fff;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  color: var(--text);
}

.pricing-tag span { color: var(--primary-light); font-size: 12px; font-weight: 500; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 100%; }

.roadmap-phase {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
}

.roadmap-phase .phase-head {
  padding: 14px;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: center;
}

.roadmap-phase .phase-head.blue { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.roadmap-phase .phase-head.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.roadmap-phase .phase-head.magenta { background: linear-gradient(135deg, #c084fc, #a855f7); }

.roadmap-phase ul {
  list-style: none;
  padding: 14px 16px;
  flex: 1;
}

.roadmap-phase li {
  font-size: 14px;
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.roadmap-phase li:last-child { border-bottom: none; }

.roadmap-phase li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 11px;
}

/* Funding bars */
.funding-bars { display: flex; flex-direction: column; gap: 12px; }

.funding-row {
  display: grid;
  grid-template-columns: 180px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.funding-row .label { font-size: 15px; font-weight: 500; color: var(--text-muted); }

.funding-row .bar-track {
  height: 22px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.funding-row .bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}

.funding-row .pct {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  text-align: right;
}

.highlight-box {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 14px;
}

.highlight-box h4 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}

/* Milestones */
.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.milestone-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.milestone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}

.base-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.base-card .head {
  background: var(--gradient);
  color: white;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.base-card .body { padding: 16px; }
.base-card .body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}
.base-card .body p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Closing slide */
.slide-closing {
  background: var(--bg-dark);
  padding: 0 !important;
}

.slide-closing::before {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  opacity: 1;
}

.slide-closing .closing-card {
  margin: 24px;
  flex: 1;
  background: rgba(10, 10, 26, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 48px;
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.12);
}

.slide-closing .brand-logo--slide {
  margin-bottom: 16px;
}

.slide-closing h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  max-width: 700px;
  line-height: 1.3;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-closing .desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.contact-card {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 32px;
  margin-bottom: 16px;
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-card .role {
  font-size: 11px;
  color: var(--primary-light);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.contact-card .details {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.slide-footer-tag {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-num-badge {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 2;
}

/* Nav arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  z-index: 10;
  transition: all 0.25s;
  opacity: 0;
}

.viewer-inner:hover .nav-arrow { opacity: 1; }

.nav-arrow:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--primary-light);
}

.nav-arrow.prev { left: -22px; }
.nav-arrow.next { right: -22px; }

/* Progress */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-h);
  transition: width 0.35s ease;
  border-radius: 0 2px 2px 0;
  z-index: 3;
  box-shadow: 0 0 12px var(--glow);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 0, 20, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.modal p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.modal-progress {
  height: 6px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.modal-progress-fill {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.3s;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 2000;
  transition: transform 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* Present mode */
body.present-mode .sidebar { display: none; }
body.present-mode .app { grid-template-columns: 1fr; }
body.present-mode .toolbar {
  background: rgba(3, 0, 20, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
}
body.present-mode .viewer {
  padding: var(--toolbar-h) 0 0;
  box-sizing: border-box;
  background: var(--bg-dark);
  grid-row: 1 / -1;
  min-height: 100vh;
}
body.present-mode .viewer-inner {
  max-height: calc(100vh - var(--toolbar-h));
  width: min(100vw, calc((100vh - var(--toolbar-h)) * 16 / 9));
  max-width: none;
}
body.present-mode .slide { border-radius: 0; box-shadow: none; }
body.present-mode .nav-arrow { opacity: 1; }

/* Disable entrance animations during PDF/PNG export */
body.export-mode .slide,
body.export-mode .slide.active {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.export-mode .slide.active .card,
body.export-mode .slide .card,
body.export-mode .highlight-box,
body.export-mode .founder-card,
body.export-mode .milestone-item,
body.export-mode .roadmap-phase,
body.export-mode .funding-row,
body.export-mode .base-card,
body.export-mode .contact-card,
body.export-mode .cover-card,
body.export-mode .closing-card,
body.export-mode .text-block,
body.export-mode .bullet-list li,
body.export-mode .pill,
body.export-mode .data-table,
body.export-mode .quote-box {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.export-mode .chat2bill-figure,
body.export-mode .chat2bill-img {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Slide card entrance */
.slide.active .card {
  animation: fadeUp 0.45s ease backwards;
}
.slide.active .card:nth-child(1) { animation-delay: 0.05s; }
.slide.active .card:nth-child(2) { animation-delay: 0.1s; }
.slide.active .card:nth-child(3) { animation-delay: 0.15s; }
.slide.active .card:nth-child(4) { animation-delay: 0.2s; }
.slide.active .card:nth-child(5) { animation-delay: 0.25s; }
.slide.active .card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Print / export-friendly */
@media print {
  .toolbar, .sidebar, .nav-arrow, .modal-overlay, .toast { display: none !important; }
  .app { display: block; height: auto; }
  .viewer { padding: 0; background: var(--bg-dark); overflow: visible; }
  .viewer-inner { position: static; width: 100%; max-width: none; aspect-ratio: auto; }
  .slide {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    page-break-after: always;
    box-shadow: none;
    margin-bottom: 0;
    aspect-ratio: 16/9;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .toolbar-hint { display: none; }
  .toolbar-link { display: none; }
}

@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; grid-template-rows: var(--toolbar-h) auto 1fr; }
  .sidebar {
    grid-row: 2;
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: 120px;
    padding: 8px 12px;
  }
  .thumb-list { flex-direction: row; overflow-x: auto; }
  .thumb { min-width: 160px; }
  .nav-arrow { opacity: 1; }
}
