/*
 * Ty Wilder Pitch Deck Styles
 * External CSS to keep HTML file small (< 20KB)
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f5f5f7;
  overflow-x: hidden;
}

/* ===== DECK CONTAINER ===== */
.pitch-deck {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== SLIDE BASE ===== */
.slide {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 80px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  page-break-after: always;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.slide::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(227, 182, 127, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

/* ===== SLIDE VARIANTS ===== */
.slide--cover {
  text-align: center;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

.slide--problem {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b1b 50%, #1a1a2e 100%);
}

.slide--opportunity {
  background: linear-gradient(135deg, #0a1628 0%, #0f3460 50%, #1a4a6e 100%);
}

.slide--solution {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a2f1a 50%, #0f1a0f 100%);
}

.slide--competitive {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 50%, #1a1a2e 100%);
}

.slide--investment {
  background: linear-gradient(135deg, #0a0a14 0%, #1a2e1a 50%, #0f1a0f 100%);
}

.slide--timeline {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a3a5a 50%, #0f1a2e 100%);
}

.slide--cta {
  background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #0f0f1a 100%);
}

/* ===== TYPOGRAPHY ===== */
.slide-title {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.slide-subtitle {
  font-size: 1.75rem;
  color: #e3b67f;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.slide-tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-top: 20px;
  font-style: italic;
}

.slide-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #e3b67f;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ===== COVER SLIDE ===== */
.cover-title {
  font-size: 7rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #e3b67f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover-tagline {
  font-size: 2.5rem;
  color: #e3b67f;
  font-weight: 700;
  margin-bottom: 16px;
}

.cover-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.cover-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e3b67f 0%, #c49b6b 100%);
  color: #1a1a2e;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: #e3b67f;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
  background: rgba(227, 182, 127, 0.1);
  border-left: 4px solid #e3b67f;
  padding: 32px 40px;
  margin: 40px 0;
  border-radius: 0 12px 12px 0;
}

.quote-text {
  font-size: 1.75rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.5;
}

/* ===== OPPORTUNITY CARDS ===== */
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.opportunity-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 182, 127, 0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.opportunity-value {
  font-size: 3rem;
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 8px;
}

.opportunity-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== SOLUTION FEATURES ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e3b67f 0%, #c49b6b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.solution-content h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 600;
}

.solution-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  margin: 40px 0;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 24px 32px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(227, 182, 127, 0.15);
  color: #e3b67f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.comparison-table td {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.comparison-table .highlight {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-weight: 700;
}

.comparison-table .speed-highlight {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.1) 100%);
  color: #4ade80;
  font-weight: 800;
  font-size: 1.5rem;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.05);
}

.comparison-table tr:hover .highlight,
.comparison-table tr:hover .speed-highlight {
  background: rgba(74, 222, 128, 0.25);
}

/* ===== TIMELINE ===== */
.timeline-container {
  margin: 40px 0;
}

.timeline-headline {
  font-size: 3rem;
  font-weight: 800;
  color: #4ade80;
  text-align: center;
  margin-bottom: 32px;
}

.timeline-callout {
  background: linear-gradient(135deg, rgba(227, 182, 127, 0.2) 0%, rgba(227, 182, 127, 0.1) 100%);
  border: 2px solid rgba(227, 182, 127, 0.5);
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 40px;
  text-align: center;
}

.timeline-callout h3 {
  font-size: 1.5rem;
  color: #e3b67f;
  margin-bottom: 16px;
  font-weight: 600;
}

.timeline-callout p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.timeline-subcallout {
  font-size: 1.25rem;
  color: #4ade80;
  font-weight: 600;
  font-style: italic;
  margin-top: 16px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-phase {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
}

.timeline-phase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #e3b67f 0%, #c49b6b 100%);
  border-radius: 0 0 4px 4px;
}

.timeline-days {
  font-size: 2rem;
  font-weight: 800;
  color: #e3b67f;
  margin-bottom: 16px;
}

.timeline-title {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== ROI SECTION ===== */
.roi-container {
  margin: 40px 0;
}

.roi-header {
  text-align: center;
  margin-bottom: 40px;
}

.roi-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.roi-amount {
  font-size: 4rem;
  font-weight: 800;
  color: #e3b67f;
}

.roi-period {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
}

.roi-table th,
.roi-table td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-table th {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.roi-table td {
  color: rgba(255, 255, 255, 0.9);
}

.roi-table .roi-positive {
  color: #4ade80;
  font-weight: 700;
}

/* ===== CTA SLIDE ===== */
.cta-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #e3b67f 0%, #c49b6b 100%);
  color: #1a1a2e;
  padding: 24px 64px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  margin: 32px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 40px rgba(227, 182, 127, 0.3);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(227, 182, 127, 0.4);
}

.cta-pricing {
  font-size: 2rem;
  color: #e3b67f;
  font-weight: 700;
  margin: 24px 0;
}

.cta-urgency {
  font-size: 1.25rem;
  color: #f87171;
  font-weight: 600;
  margin-top: 32px;
  padding: 16px 32px;
  background: rgba(248, 113, 113, 0.1);
  border: 2px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  display: inline-block;
}

.cta-note {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 40px;
  font-style: italic;
}

/* ===== CALLOUT BOX ===== */
.callout-box {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
  border: 2px solid rgba(74, 222, 128, 0.3);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
}

.callout-box h4 {
  color: #4ade80;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.callout-box p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: rgba(227, 182, 127, 0.2);
  color: #e3b67f;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--success {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.badge--urgent {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

/* ===== PRINT STYLES ===== */
@media print {
  .slide {
    page-break-after: always;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  
  .pitch-deck {
    padding: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .slide {
    padding: 40px 48px;
    min-height: auto;
  }
  
  .slide-title {
    font-size: 3rem;
  }
  
  .cover-title {
    font-size: 5rem;
  }
  
  .stats-grid,
  .opportunity-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .slide {
    padding: 32px 24px;
    margin-bottom: 20px;
    border-radius: 16px;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-subtitle {
    font-size: 1.25rem;
  }
  
  .cover-title {
    font-size: 3rem;
  }
  
  .cover-tagline {
    font-size: 1.5rem;
  }
  
  .stats-grid,
  .opportunity-grid,
  .timeline-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 16px;
    font-size: 0.875rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 16px 40px;
    font-size: 1.125rem;
  }
  
  .timeline-headline {
    font-size: 2rem;
  }
}
