@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===========================================
   CSS VARIABLES - Premium Dark Theme
   =========================================== */
:root {
  --background-color: #0a0a0f;
  --slide-bg: #111118;
  --section-divider-bg: #0a0a0f;

  --heading-font: "Inter", Helvetica, sans-serif;
  --body-font: "Inter", Helvetica, sans-serif;
  --base-font-size: 32px;
  --text-size: 18pt;
  --h1-size: 56pt;
  --h2-size: 40pt;
  --h3-size: 28pt;

  --primary-color: #10B981;
  --primary-glow: rgba(16, 185, 129, 0.3);
  --secondary-color: #F43F5E;
  --accent-color: #06B6D4;
  --text-color: #ffffff;
  --text-secondary: #A1A1AA;
  --muted-color: #71717A;
  --line-color: #27272A;
  --card-bg: #18181B;

  --slide-padding: 60px;
  --slide-padding-top: 50px;
  --content-gap: 24px;

  --box-radius: 16px;
  --box-radius-sm: 8px;
}

/* ===========================================
   BASE STYLES
   =========================================== */
.reveal {
  font-family: var(--body-font);
  font-size: var(--base-font-size);
  color: var(--text-color);
}

.reveal strong, .reveal b { font-weight: 700; }

/* Background */
.reveal-viewport {
  background: var(--background-color);
}

/* Typography */
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  font-family: var(--heading-font);
  text-transform: none;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.reveal h1 { font-size: var(--h1-size); }
.reveal h2 { font-size: var(--h2-size); margin-bottom: 0; }
.reveal h3 { font-size: var(--h3-size); }

.reveal p, .reveal li, .reveal td, .reveal th {
  font-size: var(--text-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* ===========================================
   SLIDE LAYOUT
   =========================================== */
.reveal .slides section {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  padding: var(--slide-padding-top) var(--slide-padding) var(--slide-padding) var(--slide-padding) !important;
  box-sizing: border-box;
  text-align: left;
  background: var(--slide-bg);
}

/* Top gradient bar */
.reveal .slides section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), transparent);
}

/* ===========================================
   SECTION DIVIDERS - Dark, Centered
   =========================================== */
.reveal .slides section.section-divider {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  background: var(--section-divider-bg);
}

.reveal .slides section.section-divider h1 {
  font-size: 64pt;
  text-align: center;
  margin-bottom: 20px;
}

.reveal .slides section.section-divider h2 {
  font-size: 48pt;
  text-align: center;
}

.reveal .slides section.section-divider p {
  font-size: 22pt;
  color: var(--text-secondary);
}

.reveal-viewport.is-section-divider .slide-background.present {
  background-color: var(--section-divider-bg) !important;
}

/* ===========================================
   CONTENT AREA
   =========================================== */
.reveal .slides section > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--content-gap);
}

/* ===========================================
   LISTS - Modern styling
   =========================================== */
.reveal ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.reveal ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: var(--text-size);
}

.reveal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Problem items - red */
.reveal ul li.problem::before {
  background: var(--secondary-color);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.4);
}

/* Solution items - green */
.reveal ul li.solution::before {
  background: var(--primary-color);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ===========================================
   CARDS - For feature grids
   =========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line-color);
  border-radius: var(--box-radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 30px var(--primary-glow);
}

.card-icon {
  font-size: 32pt;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 20pt;
  margin-bottom: 12px;
  color: var(--text-color);
}

.card p {
  font-size: 15pt;
  color: var(--text-secondary);
  margin: 0;
}

/* ===========================================
   STATS - Big numbers
   =========================================== */
.stats-row {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  text-align: center;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 52pt;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16pt;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===========================================
   COMPETITION TABLE
   =========================================== */
.competition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.competition-table th,
.competition-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-color);
}

.competition-table th {
  font-size: 12pt;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.competition-table td {
  font-size: 15pt;
}

.competition-table tr:last-child td {
  border-bottom: none;
}

.competitor-name {
  font-weight: 700;
  color: var(--text-color);
}

.competitor-gap {
  color: var(--secondary-color);
}

.eatlio-row {
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--box-radius-sm);
}

.eatlio-row td {
  color: var(--primary-color);
  font-weight: 700;
}

/* ===========================================
   ROADMAP TIMELINE
   =========================================== */
.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  position: relative;
  gap: 16px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 70px;
  right: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.timeline-item {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.timeline-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18pt;
  font-weight: 800;
  margin: 0 auto 12px;
  box-shadow: 0 0 30px var(--primary-glow);
}

.timeline-title {
  font-size: 18pt;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.timeline-desc {
  font-size: 13pt;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===========================================
   FUND ALLOCATION BARS
   =========================================== */
.fund-bars {
  margin-top: 24px;
}

.fund-bar {
  margin-bottom: 16px;
}

.fund-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14pt;
}

.fund-bar-track {
  height: 18px;
  background: var(--card-bg);
  border-radius: 9px;
  overflow: hidden;
}

.fund-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  transition: width 1s ease;
}

/* ===========================================
   CTA / ASK SECTION
   =========================================== */
.ask-amount {
  font-size: 48pt;
  font-weight: 800;
  color: var(--primary-color);
  margin: 12px 0;
  text-shadow: 0 0 40px var(--primary-glow);
}

/* ===========================================
   FOOTER / CONTACT
   =========================================== */
.contact-info {
  margin-top: 60px;
  text-align: center;
}

.contact-info p {
  font-size: 18pt;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

/* ===========================================
   TEXT UTILITIES
   =========================================== */
.text-lg { font-size: 22pt !important; }
.text-xl { font-size: 26pt !important; }
.text-2xl { font-size: 32pt !important; }
.text-3xl { font-size: 40pt !important; }
.text-muted { color: var(--text-secondary) !important; }
.text-center { text-align: center !important; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================================
   ANIMATIONS - Fragment effects
   =========================================== */
.reveal .slides section > ul li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal .slides section > ul li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation */
.reveal .slides section > ul li:nth-child(1) { transition-delay: 0.1s; }
.reveal .slides section > ul li:nth-child(2) { transition-delay: 0.2s; }
.reveal .slides section > ul li:nth-child(3) { transition-delay: 0.3s; }
.reveal .slides section > ul li:nth-child(4) { transition-delay: 0.4s; }
.reveal .slides section > ul li:nth-child(5) { transition-delay: 0.5s; }

/* Card animations */
.reveal .slides section .card {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal .slides section .card.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal .slides section .card:nth-child(1) { transition-delay: 0.2s; }
.reveal .slides section .card:nth-child(2) { transition-delay: 0.3s; }
.reveal .slides section .card:nth-child(3) { transition-delay: 0.4s; }
.reveal .slides section .card:nth-child(4) { transition-delay: 0.5s; }

/* Stat number animation */
.reveal .slides section .stat-number {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal .slides section .stat-number.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   CONTROLS & PROGRESS
   =========================================== */
.reveal .controls {
  color: var(--primary-color);
}

.reveal .progress {
  color: var(--primary-color);
  height: 4px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    gap: 30px;
  }

  .timeline {
    flex-direction: column;
    gap: 40px;
  }

  .timeline::before {
    display: none;
  }
}