/* Presentation Styles - SleepMode PM */

:root {
  --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --brand-color: #667eea;
  --brand-dark: #764ba2;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --bg-light: #f7f8fa;
  --border-color: #e4e6eb;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presentation {
  width: 90vw;
  max-width: 1200px;
  height: 85vh;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.9) translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.slide-content {
  padding: 35px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: 56px;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Title Slide */
.title-slide {
  text-align: center;
  align-items: center;
}

.brand-logo {
  font-size: 100px;
  margin-bottom: 14px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.subtitle {
  font-size: 28px;
  color: var(--text-primary);
  margin: 14px 0;
  font-weight: 600;
}

.tagline {
  font-size: 20px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 14px 0;
}

.event {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 24px;
}

.title-sponsors {
  margin-top: 20px;
}

.sponsors-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Navigation */
.nav-controls {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 100;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--brand-color);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slide-counter {
  background: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 100;
}

.progress-fill {
  height: 100%;
  background: white;
  transition: width 0.3s ease;
}

/* Problem Slide - Improved UI */
.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

.stat-block {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  min-width: 220px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.stat-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.stat-block.solved {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22c55e;
}

.stat-block.unsolved {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 3px solid #f59e0b;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #1c1e21;
}

.stat-label {
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.3;
}

.stat-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-badge.success {
  background: #22c55e;
  color: white;
}

.stat-badge.challenge {
  background: #f59e0b;
  color: white;
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vs-divider span {
  font-size: 18px;
  font-weight: 700;
  color: #667eea;
  background: white;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.insight {
  text-align: center;
  font-size: 18px;
  color: #1c1e21;
  margin-top: 20px;
  line-height: 1.4;
}

.insight.secondary {
  font-size: 15px;
  margin-top: 12px;
  font-style: italic;
  color: #667eea;
}

/* Solution Slide */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.solution-item {
  padding: 20px;
  background: var(--bg-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.solution-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.solution-item .icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.solution-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.solution-item p {
  font-size: 14px;
}

/* Comparison Slide */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}

.comparison-col {
  padding: 24px;
  border-radius: 16px;
}

.comparison-col.competitors {
  background: linear-gradient(135deg, #fee 0%, #fdd 100%);
}

.comparison-col.sleepmode {
  background: linear-gradient(135deg, #efe 0%, #dfd 100%);
}

.comparison-col h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.comparison-col ul {
  list-style: none;
  padding: 0;
}

.comparison-col li {
  font-size: 15px;
  padding: 8px 0;
  color: var(--text-primary);
}

.category-def {
  text-align: center;
  font-size: 18px;
  margin-top: 20px;
}

/* Tabs Showcase */
.tabs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.tab-column {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 16px;
}

.tab-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.tab-header.level-up {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.tab-header.whats-next {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.tab-icon {
  font-size: 24px;
}

.tab-question {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.tab-features {
  list-style: none;
  padding: 0;
}

.tab-features li {
  font-size: 14px;
  padding: 8px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.tab-example-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}

.example-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.example-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.example-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  background: #e5e7eb;
  color: #374151;
  font-weight: 600;
}

.meta-tag.high {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  color: #991b1b;
}

.meta-tag.rising {
  background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
  color: #1e40af;
}

.tab-source {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.tab-source strong {
  color: var(--text-primary);
}

/* Flow Diagram */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 10px;
  box-shadow: var(--shadow);
}

.flow-icon.night {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
}

.flow-icon.morning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.flow-icon.action {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.flow-icon.build {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.flow-icon.preview {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.flow-step h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 13px;
}

.flow-arrow {
  font-size: 24px;
  color: var(--brand-color);
  font-weight: 700;
}

.flow-time {
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
  color: var(--text-primary);
}

.flow-agents {
  font-size: 11px;
  color: var(--brand-color);
  font-weight: 700;
  margin: 6px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flow-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 6px 0 8px;
}

.flow-badge {
  display: inline-block;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 6px;
}

.flow-badge.auto {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.flow-badge.human {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.flow-summary {
  margin-top: 24px;
  padding: 16px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--brand-color);
}

.flow-highlight {
  font-size: 14px;
  margin: 6px 0;
  color: var(--text-primary);
}

/* Agent Grid */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.agent-card {
  text-align: center;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: white;
}

.agent-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}

.agent-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.agent-card p {
  font-size: 12px;
}

.innovation-note {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  color: var(--text-primary);
}

.architecture-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 20px;
}

.agent-phase {
  margin-bottom: 12px;
}

.phase-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brand-color);
}

.agent-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.agent-card-v2 {
  text-align: center;
  padding: 10px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.agent-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: white;
}

.agent-card-v2 .agent-emoji {
  font-size: 28px;
  display: block;
  margin-bottom: 4px;
}

.agent-card-v2 h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.agent-card-v2 p {
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-secondary);
}

/* Sponsor Showcase */
.sponsor-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.sponsor-card {
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.sponsor-card.daytona {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border: 2px solid #ff6b6b;
}

.sponsor-card.kimi {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 2px solid #8b5cf6;
}

.sponsor-card.oxylabs {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #f87171;
}

.sponsor-card.nosana {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
}

.sponsor-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.sponsor-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-color);
  margin: 6px 0;
}

.sponsor-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.metric-card {
  text-align: center;
  padding: 20px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.metric-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  margin-top: 10px;
  opacity: 0.95;
}

.metric-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.metric-detail {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.85;
  font-style: italic;
}

.use-cases {
  margin-top: 20px;
}

.use-cases-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-align: center;
}

.use-case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.use-case {
  padding: 14px;
  background: var(--bg-light);
  border-radius: 12px;
  text-align: center;
}

.use-case-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}

.use-case h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--brand-color);
}

.use-case p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Closing Slide */
.closing-slide {
  text-align: center;
  align-items: center;
}

.closing-slide .brand-logo {
  font-size: 80px;
  margin-bottom: 10px;
}

.closing-slide h1 {
  font-size: 42px;
  margin: 10px 0;
}

.closing-tagline {
  font-size: 24px;
  color: var(--text-primary);
  margin: 12px 0;
  line-height: 1.3;
}

.closing-value {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 16px 0;
}

.value-point {
  display: flex;
  align-items: center;
  gap: 6px;
}

.value-icon {
  font-size: 20px;
}

.value-point p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.closing-cta {
  margin: 20px 0 12px;
}

.cta-text {
  font-size: 14px;
  margin-bottom: 10px;
}

.sponsor-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
}

.badge {
  padding: 6px 12px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.final-line {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .slide-content {
    padding: 40px 50px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .solution-grid,
  .tabs-showcase,
  .sponsor-showcase {
    grid-template-columns: 1fr;
  }

  .agent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}


