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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.presentation-container {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.slide {
  display: none;
  padding: 60px;
  min-height: 600px;
  animation: slideIn 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h1 {
  font-size: 3em;
  color: #667eea;
  margin-bottom: 30px;
  text-align: center;
}

h2 {
  font-size: 2.5em;
  color: #764ba2;
  margin-bottom: 25px;
  border-bottom: 4px solid #667eea;
  padding-bottom: 15px;
}

h3 {
  font-size: 1.8em;
  color: #667eea;
  margin: 20px 0 15px 0;
}

p,
li {
  font-size: 1.2em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

ul {
  margin-left: 40px;
}

li {
  margin-bottom: 12px;
}

.highlight {
  background: linear-gradient(120deg, #ffd700 0%, #ffed4e 100%);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.tech-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.3em;
  margin: 10px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.module-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.module-card h3 {
  color: white;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.module-card .hours {
  font-size: 2em;
  font-weight: bold;
  display: block;
  margin: 10px 0;
}

.objectives-list {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin: 20px 0;
}

.objectives-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.objectives-list li:last-child {
  border-bottom: none;
}

.project-showcase {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin: 30px 0;
}

.project-showcase h3 {
  color: #f5576c;
  font-size: 2em;
  margin-bottom: 20px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.tool-card {
  background: white;
  border: 3px solid #667eea;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.tool-card .icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.methodology-chart {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  flex-wrap: wrap;
}

.methodology-item {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 150px;
}

.methodology-item .percentage {
  font-size: 3em;
  font-weight: bold;
  color: #667eea;
  display: block;
}

.methodology-item .label {
  font-size: 1.1em;
  color: #666;
  margin-top: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.feature-box .icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #f8f9fa;
  border-top: 2px solid #ddd;
}

button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slide-number {
  font-size: 1.2em;
  color: #667eea;
  font-weight: bold;
}

.checkmark {
  color: #10b981;
  font-size: 1.5em;
  font-weight: bold;
}

/* ESTILOS PARA IMPRESIÓN / PDF */
@media print {
  @page {
    size: A4;
    margin: 0;
  }
  
  body {
    background: white !important;
    padding: 0;
    margin: 0;
  }

  .presentation-container {
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: white;
  }

  .slide {
    display: none;
  }
  
  .slide.printing {
    display: block !important;
    page-break-after: always;
    page-break-inside: avoid;
    padding: 20mm 15mm;
    min-height: 257mm;
    max-height: 257mm;
    overflow: hidden;
    animation: none;
    background: white;
    box-sizing: border-box;
  }

  .slide.printing:last-of-type {
    page-break-after: auto;
  }

  .navigation {
    display: none !important;
  }

  .slide.printing h1 {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }

  .slide.printing h2 {
    font-size: 1.5em !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }

  .slide.printing h3 {
    font-size: 1.2em !important;
    margin: 12px 0 8px 0 !important;
  }

  .slide.printing p,
  .slide.printing li {
    font-size: 0.85em !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
  }

  .slide.printing .module-grid,
  .slide.printing .features-grid,
  .slide.printing .tools-grid {
    gap: 10px !important;
    margin: 15px 0 !important;
  }

  .slide.printing .feature-box,
  .slide.printing .module-card,
  .slide.printing .tool-card {
    padding: 12px !important;
    page-break-inside: avoid;
  }

  .slide.printing .objectives-list,
  .slide.printing .project-showcase {
    padding: 15px !important;
    margin: 12px 0 !important;
    page-break-inside: avoid;
  }

  .slide.printing .icon {
    font-size: 1.8em !important;
    margin-bottom: 8px !important;
  }

  .slide.printing .tech-badge {
    padding: 5px 12px !important;
    font-size: 0.9em !important;
    margin: 5px !important;
  }

  .slide.printing .module-card .hours {
    font-size: 1.4em !important;
    margin: 8px 0 !important;
  }

  .slide.printing .methodology-item .percentage {
    font-size: 2em !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 1.5rem;
    padding: 1rem;
  }
  
  .features-grid,
  .tools-grid,
  .module-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .slide {
    padding: 40px 20px;
  }
}