/* ============================================
   NOSSA TERRA — Apresentação Digital
   Design System: Airway-inspired (Light, Modern, Premium)
   ============================================ */

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

/* Custom Properties */
:root {
  /* Nossa Terra Branding Colors */
  --teal-dark: #0f3d35;
  --teal-mid: #14796b;
  --teal-accent: #17a98b;
  --teal-light: #e8f5f3;
  --orange: #e8832a;
  --orange-light: #fef3e8;

  /* UI Logic Colors */
  --bg-main: #f8faf9;
  --bg-sidebar: var(--teal-dark);
  --bg-card: #ffffff;
  --bg-subtle: #f0f4f2;

  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-on-dark: #ffffff;
  --text-teal: var(--teal-mid);

  --color-primary: var(--teal-mid);
  --color-primary-light: var(--teal-accent);
  --color-primary-bg: rgba(20, 121, 107, 0.08);
  --color-accent: var(--orange);
  --color-accent-bg: var(--orange-light);

  --border-color: rgba(0, 0, 0, 0.05);
  --border-teal: rgba(23, 169, 139, 0.15);

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Metrics */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  --sidebar-width: 300px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-teal: 0 10px 30px rgba(15, 61, 53, 0.15);
}

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-main);
  color: var(--text-body);
  overflow: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

strong {
  color: var(--text-dark);
}

/* App Layout */
#app {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--teal-dark) 0%, #0b2b24 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--transition);
  color: var(--text-on-dark);
}

.sidebar-header {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-header .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(23, 169, 139, 0.3);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.logo-text span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.8rem;
}

.nav-item {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.45); /* Increased opacity for legibility */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-item i {
  font-size: 1.2rem;
  opacity: 0.8;
}

.nav-item:hover {
  color: var(--text-on-dark);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: var(--text-on-dark); /* White as requested */
  background-color: rgba(23, 169, 139, 0.4); /* Stronger indicator */
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-item.active i {
  color: var(--text-on-dark); /* White as requested */
  opacity: 1;
}

.sidebar-footer {
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border-color);
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sync-status.active {
  color: var(--teal-dark); /* Darkest green as requested */
  font-weight: 700;
}
.sync-status i {
  font-size: 1rem;
}

.powered-by {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  opacity: 0.6;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 200;
  box-shadow: var(--shadow-soft);
  display: none;
  align-items: center;
  justify-content: center;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  position: relative;
  background: var(--bg-main);
  overflow: hidden;
}

.slides-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   SLIDES
   ============================================ */
.slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3rem;
}

.slide-container.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  width: 100%;
  max-width: 1536px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.slide-content::-webkit-scrollbar {
  display: none;
}

/* ============================================
   COVER SLIDE
   ============================================ */
.cover-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.cover-slide .hero-image-wrapper {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.cover-slide .hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 61, 53, 0.4) 0%, rgba(15, 61, 53, 0.8) 100%);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1.2rem;
}

.cover-slide .hero-overlay h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.cover-slide .hero-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  font-weight: 400;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.pill-badge.green {
  background: var(--color-primary-bg);
  border-color: rgba(45, 106, 79, 0.15);
  color: var(--color-primary);
}

.cover-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  border: 3px solid white;
}

/* ============================================
   CONTENT LAYOUTS
   ============================================ */
.slide-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Whitecard Container (Airway-style) */
.white-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.white-card.full {
  padding: 3rem;
}

/* Two-Column Content */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Info Cards */
.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--teal-light);
}

.info-card.highlight {
  border-left: 5px solid var(--teal-accent);
}

.info-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal-mid);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(20, 121, 107, 0.1);
}

/* Quote Box */
.quote-box {
  margin-top: 2rem;
  padding: 2.2rem 2.8rem;
  background: var(--teal-dark); /* Reverted to dark background */
  color: rgba(255, 255, 255, 0.9); /* High contrast light text */
  border-radius: var(--radius-lg);
  position: relative;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
  box-shadow: var(--shadow-teal);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-box strong {
  color: #fff;
  font-weight: 700;
}

/* Teardrop-style Quotation Marks */
.quote-box::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 25px;
  width: 18px;
  height: 24px;
  background: linear-gradient(180deg, var(--teal-accent) 0%, transparent 100%);
  border-radius: 9px 9px 4px 4px;
  opacity: 0.6;
  box-shadow: -10px 0 0 var(--teal-accent); /* Second teardrop gap */
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border: 2px solid var(--teal-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal-mid);
  box-shadow: 0 4px 15px rgba(20, 121, 107, 0.15);
}

.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--teal-mid), transparent);
}

.timeline-body {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-soft);
}

.timeline-body .phase-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.timeline-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.timeline-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   FEATURE LIST (Accordion-like)
   ============================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateX(4px);
}

.feature-item i {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item .feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item .feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   ARGUMENT LIST (for website slide)
   ============================================ */
.argument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.argument-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.argument-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.argument-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.argument-card .arg-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal-mid);
  margin-bottom: 1.2rem;
}

.argument-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--teal-dark);
}
.argument-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   GLASS CARDS (for social media section)
   ============================================ */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--orange);
}

.glass-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin: 0 auto 1.2rem auto;
}

.glass-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.glass-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   ECOSYSTEM FLOW DIAGRAM
   ============================================ */
.ecosystem-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.eco-node {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.eco-node i {
  font-size: 2rem;
  color: var(--color-primary);
}
.eco-node span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.eco-node small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.eco-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.4;
}

.eco-node.highlight-node {
  background: var(--teal-light);
  border-color: var(--border-teal);
  box-shadow: 0 10px 30px rgba(20, 121, 107, 0.1);
}

.glow-box {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-white);
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.glow-box i {
  font-size: 1.8rem;
  color: #25d366;
}

/* ============================================
   CHECKLIST & CTA
   ============================================ */
.checklist-container {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  max-width: 550px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 0.95rem;
}

.check-item:last-child {
  border-bottom: none;
}

.check-item input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.check-text {
  color: var(--text-body);
}

.primary-btn {
  background: var(--teal-dark);
  color: white;
  border: none;
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(15, 61, 53, 0.2);
}

.primary-btn:hover {
  background: var(--teal-mid);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(20, 121, 107, 0.3);
}

.outline-btn {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font);
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: var(--bg-subtle);
}

.giant-icon {
  font-size: 4rem;
  display: inline-block;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ============================================
   WEBSITE MOCKUP
   ============================================ */
.website-mockup {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.browser-top {
  height: 36px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.r {
  background: #ff5f56;
}
.dot.y {
  background: #ffbd2e;
}
.dot.g {
  background: #27c93f;
}

.browser-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 16/10;
}
.mockup-hero {
  flex: 2;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}
.mockup-grid {
  display: flex;
  gap: 10px;
  flex: 3;
}
.mockup-grid span {
  flex: 1;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

/* Branding Mockup */
.branding-visual {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.color-palette {
  display: flex;
  gap: 12px;
}
.color-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  border: 2px solid white;
}

.c1 {
  background: #0f3d35; /* teal-dark */
}
.c2 {
  background: #14796b; /* teal-mid */
}
.c3 {
  background: #e8832a; /* orange */
}
.c4 {
  background: #ffffff;
}

.typography-sample {
  text-align: center;
}
.typography-sample .font-heading {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.typography-sample .font-body {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
}

.logo-wireframe {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.15;
  letter-spacing: 8px;
}

/* ============================================
   PRESENTATION CONTROLS (Bottom)
   ============================================ */
.presentation-controls {
  position: absolute;
  bottom: 24px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: var(--bg-subtle);
}

.slide-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 50px;
  text-align: center;
}

/* ============================================
   PRESENTER / SYNC CONTROLS
   ============================================ */
.hidden {
  display: none !important;
}

.presenter-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
}

.presenter-card {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 420px;
  text-align: center;
}

.presenter-card h3 {
  color: var(--color-primary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

.presenter-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.link-box {
  display: flex;
  gap: 8px;
}
.link-box input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.85rem;
}

.link-box button {
  background: var(--text-dark);
  border: none;
  color: white;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.link-box button:hover {
  background: var(--color-primary);
}

.room-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge {
  background: var(--bg-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.icon-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}

.viewer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 240, 0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pulse-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(45, 106, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.slide-container.active .animate-up {
  animation: fadeUp 0.7s forwards;
  opacity: 0;
}

.slide-container.active .animate-fade {
  animation: fadeIn 0.8s forwards;
  opacity: 0;
}

.slide-container.active .animate-scale {
  animation: scaleIn 0.6s forwards;
  opacity: 0;
  transform: scale(0.95);
}

.delay-1 {
  animation-delay: 0.15s !important;
}
.delay-2 {
  animation-delay: 0.3s !important;
}
.delay-3 {
  animation-delay: 0.45s !important;
}
.delay-4 {
  animation-delay: 0.6s !important;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility Spacing */
.mb-2 {
  margin-bottom: 0.8rem;
}
.mb-3 {
  margin-bottom: 1.2rem;
}
.mb-4 {
  margin-bottom: 1.8rem;
}
.mb-5 {
  margin-bottom: 2.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 2.5rem;
}
.full-width {
  width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .argument-grid {
    grid-template-columns: 1fr;
  }
  .argument-grid-full {
    grid-template-columns: 1fr 1fr;
  }
  .cards-row {
    grid-template-columns: 1fr;
  }
  .ecosystem-flow {
    flex-direction: column;
  }
  .eco-arrow {
    transform: rotate(90deg);
  }
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    transform: translateX(-100%);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.08);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .slide-container {
    padding: 1.5rem;
    padding-bottom: 6rem; /* Extra padding for floating bottom nav */
  }

  .presentation-controls {
    bottom: 12px;
    right: 50%;
    transform: translateX(50%);
  }

  .presenter-card {
    min-width: 90vw;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }

  .cover-slide .hero-image-wrapper {
    aspect-ratio: 4 / 5; /* Makes it much taller on mobile */
    min-height: 50vh;
  }

  .cover-slide .hero-overlay {
    padding: 1.5rem;
  }

  .cover-slide .hero-overlay h1 {
    font-size: 2.2rem;
  }
}
