/* Estilos críticos para renderizado inicial */
/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset y estilos base */
*, *::before, *::after { box-sizing: border-box; }
body { 
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background-color: #f7fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Estilos del encabezado movidos a components.css */

/* Estilos para el hero section */
.hero {
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Estilos para botones principales */
.btn-primary {
  display: inline-block;
  background-color: #ffc107;
  color: #1a202c;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Estilos para tarjetas de características */
.feature-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para el popup de descuento */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

/* Estilos para el contador de tiempo */
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.countdown-item {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  min-width: 70px;
  text-align: center;
}

.countdown-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0052cc;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  display: block;
}

/* Estilos para el botón de copiar código */
.copy-code-btn {
  background-color: #0052cc;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.copy-code-btn:hover {
  background-color: #003d99;
}

.copy-code-btn i {
  margin-right: 0.5rem;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
    text-align: center;
  }
  
  .countdown-timer {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    min-width: 60px;
    padding: 0.5rem;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
}
