/* MAUS Stixx Pro V1 - Estilos optimizados para CONVERSIÓN MEJORADA */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* NUEVO: Brand Header */
.brand-header {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-bottom: 1px solid #e9ecef;
  padding: 20px 30px;
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.brand-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-tagline {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  text-align: center;
}

/* Hero Section MEJORADO para conversión */
.hero {
  background: linear-gradient(135deg, #436092 0%, #2a5298 100%);
  color: white;
  padding: 60px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.95;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* CTA Hero Container - MEJORADO */
.hero-cta-container {
  margin: 25px 0;
}

/*
.cta-secondary {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white !important;
  font-size: 1.1rem;
  padding: 12px 25px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}
*/

.cta-secondary {
  background: linear-gradient(135deg, #ff6b35, #f39200) !important;
  border: 2px solid #ff6b35;
  color: white !important;
  font-size: 1.2rem;
  padding: 14px 28px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* URGENCY CONTAINER REDISEÑADO PARA MEJOR BALANCE VISUAL */
.urgency-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px; /* Más ancho para mejor distribución */
  margin-left: auto;
  margin-right: auto;
}

/* Banner de confianza MÁS COMPACTO */
.trust-banner {
  background: rgba(255, 255, 255, 0.95);
  color: #436092;
  padding: 8px 20px; /* Reducido de 10px a 8px */
  border-radius: 25px; /* Más redondeado para look más elegante */
  font-size: 0.8rem; /* Más pequeño */
  font-weight: 600;
  border: 1px solid rgba(67, 96, 146, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Espaciado entre elementos */
  order: 1; /* Aparece primero */
}

.trust-banner span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Stock Alert - mantener prominente */
.stock-alert {
  background: rgba(255, 255, 255, 0.95);
  color: #d63031;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid #d63031;
  animation: pulse-alert 2s infinite;
  text-align: center;
  box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
  order: 2; /* Aparece segundo */
}

@keyframes pulse-alert {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.stock-alert.no-stock {
  background: rgba(255, 255, 255, 0.95);
  color: #f44336;
  border-color: #f44336;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

/* NUEVO: Fecha de reposición estilo Amazon */
/* Fecha de reposición - compacta */
.restock-info.amazon-style {
  background: rgba(255, 255, 255, 0.9);
  color: #146eb4;
  padding: 8px 16px; /* Más compacto */
  border-radius: 8px;
  font-size: 0.75rem;
  border: 1px solid #146eb4;
  text-align: center;
  font-weight: 600;
  order: 3;
  position: relative;
}

/* Tarjetas de social proof MÁS ANCHAS Y EN UNA FILA */
.social-proof-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  order: 4; /* Aparecen al final */
}

.viewers-info,
.sales-info {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 16px; /* Más padding horizontal */
  border-radius: 12px;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px; /* Altura mínima para consistencia */
}

.viewers-info {
  color: #2a5298;
  border: 1px solid #2a5298;
  white-space: nowrap;
}

.sales-info {
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

/* Content Sections */
.content {
  padding: 0 30px;
}

/* Research Download Section MEJORADA */
.research-download {
  background: linear-gradient(135deg, #f39200 0%, #ff6b35 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.research-download::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.download-container {
  position: relative;
  z-index: 2;
}

.download-container h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.download-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ROI Section SUPER MEJORADA */
.roi-section {
  background: #f8f9fa;
  padding: 50px 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.roi-header {
  margin-bottom: 40px;
}

.roi-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #2d3748;
}

.roi-header p {
  font-size: 1.1rem;
  color: #666;
}

.roi-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.roi-card {
  flex: 1;
  min-width: 280px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.roi-card:hover {
  transform: translateY(-5px);
}

.roi-investment {
  background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
  color: white;
}

/* ARREGLAMOS LOS BADGES CORTADOS - POSICIONAMIENTO MEJORADO */
.roi-investment::before {
  content: "✅ PROTECCIÓN";
  position: absolute;
  top: 20px;
  right: -45px;
  background: rgba(255,255,255,0.2);
  padding: 6px 60px;
  font-size: 0.65rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 1;
}

.roi-loss {
  background: linear-gradient(135deg, #f44336 0%, #e57373 100%);
  color: white;
}

.roi-loss::before {
  content: "⚠️ RIESGO";
  position: absolute;
  top: 20px;
  right: -40px;
  background: rgba(255,255,255,0.2);
  padding: 6px 55px;
  font-size: 0.65rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 1;
}

.roi-icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.roi-icon {
  width: 40px;
  height: 40px;
  color: white;
}

.roi-amount {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.roi-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.roi-details {
  font-size: 1rem;
  opacity: 0.9;
}

.roi-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #666;
  font-weight: 600;
  font-size: 1.5rem;
}

.roi-arrow {
  width: 40px;
  height: 40px;
  color: #f39200;
}

.roi-arrow.reverse {
  transform: rotate(180deg);
}

.roi-vs-text {
  background: linear-gradient(135deg, #ff6b35, #f39200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.8rem;
}

/* MEJORADO: GRID DE ESTADÍSTICAS BALANCEADO */
.roi-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.roi-stat-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #436092;
  text-align: left;
  transition: transform 0.3s ease;
}

.roi-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mover el último elemento a la fila superior */
.roi-stat-item:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.roi-stat-item:nth-child(4) {
  grid-column: 2;
  grid-row: 1;
}

.roi-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f39200;
  margin-bottom: 8px;
}

.roi-stat-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #4a5568;
}

.roi-conclusion {
  background: linear-gradient(135deg, #e6f7ff, #b3e0ff);
  color: #436092;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  margin-top: 30px;
  border: 1px solid #b3e0ff;
  font-weight: 600;
}

/* NUEVO: Post-comparativa CTA */
.post-comparativa-cta {
  background: linear-gradient(135deg, #436092, #2a5298);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin-top: 40px;
  text-align: center;
}

.post-comparativa-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.post-comparativa-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Story Section MEJORADA */
.story {
  background: #fff8f0;
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
  border-left: 5px solid #ff6b35;
  position: relative;
}

.story::before {
  content: '"';
  font-size: 4rem;
  color: #ff6b35;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
  font-family: serif;
}

.story-content {
  margin-left: 30px;
}

.story h3 {
  color: #d63031;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.story p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Video Section */
.video-section {
  text-align: center;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Product Section MEJORADA */
.product-intro {
  text-align: center;
  margin: 50px 0;
}

.product-intro h2 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.product-intro .subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.price-section {
  background: linear-gradient(135deg, #436092 0%, #2a5298 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.price-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 4s infinite;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.price-note {
  opacity: 0.9;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.return-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.guarantee-icon {
  width: 20px;
  height: 20px;
  color: #ffd700;
}

.shipping-clarification {
  background: #f0f7ff;
  color: #436092;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  border: 1px solid #b3e0ff;
}

.shipping-clarification p {
  margin-bottom: 8px;
}

.shipping-clarification p:last-child {
  margin-bottom: 0;
  font-weight: 500;
}

/* Benefits Grid MEJORADA PARA DESKTOP */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.benefits h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.benefits .subtitle {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

/* MEJORADO PARA DESKTOP: 3 COLUMNAS EN LUGAR DE 1 */
@media (min-width: 900px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits h2 {
    grid-column: 1 / -1;
  }
  
  .benefits .subtitle {
    grid-column: 1 / -1;
  }
}

.benefit {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #436092;
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 96, 146, 0.1), transparent);
  transition: left 0.5s ease;
}

.benefit:hover::before {
  left: 100%;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: block;
  position: relative;
  z-index: 2;
}

.benefit h3 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.benefit p {
  color: #666;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* CTA Buttons MEJORADOS - TODOS CON COLOR STRIPE CONSISTENTE */
.cta-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  background: rgb(0, 116, 212); /* Color oficial de Stripe */
  color: white;
  padding: 18px 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 116, 212, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 116, 212, 0.6);
  background: rgba(0, 116, 212, 0.9);
}

.cta-button.cta-disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}

.cta-button.cta-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* CTA Orange mantiene su color para diferenciación */
.cta-button.cta-orange {
  background: linear-gradient(135deg, #f39200 0%, #ff6b35 100%);
  box-shadow: 0 4px 15px rgba(243, 146, 0, 0.4);
}

.cta-button.cta-orange:hover {
  box-shadow: 0 6px 20px rgba(243, 146, 0, 0.6);
}

.cta-button.cta-final {
  background: rgb(0, 116, 212); /* Mismo color que checkout */
  box-shadow: 0 4px 15px rgba(0, 116, 212, 0.4);
  font-size: 1.3rem;
  padding: 20px 35px;
  animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.cta-button.cta-final:hover {
  box-shadow: 0 6px 20px rgba(0, 116, 212, 0.6);
  animation: none;
}

.small-cta {
  max-width: 300px;
  font-size: 1rem;
  padding: 12px 20px;
}

.sticky-cta {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1000 !important;
  margin-bottom: 0 !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
  box-shadow: 0 8px 32px rgba(0, 116, 212, 0.4) !important;
}

.sticky-cta.hidden {
  transform: translateX(-50%) translateY(100px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* CTA No Stock Wrapper */
.cta-no-stock-wrapper {
  text-align: center;
  margin: 30px auto;
  max-width: 400px;
}

.cta-no-stock-message {
  font-size: 0.95rem;
  color: #d63031;
  margin-top: 10px;
  font-weight: 600;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.7; }
}

/* Cable Option MEJORADA */
.cable-option {
  background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
  padding: 30px;
  border-radius: 15px;
  margin: 40px 0;
  border: 2px solid #b3e0ff;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width: 100%; /* Hacer que ocupe todo el ancho */
}

.checkbox-container:hover {
  background: rgba(67, 96, 146, 0.1);
  border-color: #436092;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #436092;
  pointer-events: none; /* Evitar el doble clic */
}

.checkbox-container label {
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  color: #2d3748;
  flex: 1; /* Hacer que el label ocupe el resto del espacio */
  pointer-events: none; /* Evitar el doble clic */
}

/* NUEVO: Estilos para anchor links */
.anchor-link {
  color: #436092;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.anchor-link:hover {
  color: #2a5298;
  text-decoration: none;
}

/* Risk Calculator Section MEJORADA */
.risk-calculator-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 50px 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 3px solid #f39200;
}

.risk-calculator-section h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.calculator-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.calculator-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #4a5568;
  font-size: 1.05rem;
}

.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

.form-group input[type="number"]:focus,
.form-group select:focus {
  border-color: #436092;
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 96, 146, 0.1);
}

/* ARREGLAMOS EL SCROLL AL RESULTADO */
.risk-result {
  margin-top: 30px;
  padding: 25px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid #436092;
  background: #e6f7ff;
  color: #436092;
  display: none;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px; /* AÑADIDO: Espacio para scroll */
}

.risk-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: slide-in 0.8s ease-out;
}

@keyframes slide-in {
  0% { left: -100%; }
  100% { left: 100%; }
}

.risk-result.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.risk-result.low {
  border-color: #4caf50;
  background: #e8f5e9;
  color: #2e7d32;
}

.risk-result.medium {
  border-color: #f39200;
  background: #fff3e0;
  color: #e65100;
}

.risk-result.high {
  border-color: #f44336;
  background: #ffebee;
  color: #c62828;
  animation: pulse-high-risk 1s infinite;
}

@keyframes pulse-high-risk {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); }
}

/* Process Infographic MEJORADA PARA 3 COLUMNAS EN DESKTOP */
.process-infographic {
  background: #f8f9fa;
  padding: 50px 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.process-infographic h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.process-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

/* MEJORADO: 3 COLUMNAS EN DESKTOP */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #f39200;
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
}

.process-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* REMOVEMOS LAS FLECHAS EN MOBILE, MANTENEMOS EN DESKTOP */
.process-step-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 30px;
  height: 2px;
  background: #f39200;
  transform: translateY(-50%);
  z-index: 1;
  display: none;
}

@media (min-width: 900px) {
  .process-step-item::after {
    display: block;
  }
  
  .process-step-item:last-child::after {
    display: none;
  }
}

.process-icon-wrapper {
  background: #fff8f0;
  border-radius: 50%;
  padding: 20px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px rgba(243, 146, 0, 0.2);
}

.process-icon {
  width: 48px;
  height: 48px;
  color: #f39200;
}

.process-step-item h3 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.process-step-item p {
  color: #666;
  line-height: 1.6;
}

/* Protection Zones MEJORADA */
.protection-zones {
  padding: 50px 0;
  text-align: center;
}

.protection-zones h2 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.zones-intro {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.zone-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #f39200;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.zone-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.zone-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(243, 146, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.zone-item:hover::before {
  left: 100%;
}

.zone-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.zone-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zone-image:hover {
  transform: scale(1.05);
}

.zone-item h3 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.zone-risk {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.zone-solution {
  background: #f0fdf4;
  color: #16a34a;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.zone-tip {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #4a5568;
  font-style: italic;
}

/* Trust Section MEJORADA */
.trust-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
}

.trust-section h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.trust-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.trust-badge {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: #436092;
}

.trust-badge a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.trust-logo-small {
  max-height: 30px;
  width: auto;
  cursor: pointer;
}

/* Testimonials MEJORADA */
.testimonials-grid {
  padding: 50px 0;
  text-align: center;
}

.testimonials-grid h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 40px;
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.testimonial-item {
  background: linear-gradient(135deg, #436092 0%, #2a5298 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.testimonial-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 4s infinite;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .testimonial-wrapper {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .testimonial-item {
    width: auto;
  }
}

.testimonial-stars {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffd700;
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-weight: 600;
  opacity: 0.9;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

/* Comparison Table MEJORADA */
.comparison-table-section {
  background: #f8f9fa;
  padding: 50px 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  position: relative;
}

.comparison-table-section h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.comparison-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.table-container {
  overflow-x: auto;
  position: relative;
}

.comparison-table-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  min-width: 600px;
  position: relative;
}

.comparison-table-section th,
.comparison-table-section td {
  padding: 15px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.comparison-table-section th {
  background: #436092;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table-section th.highlight-column {
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  position: relative;
  padding: 20px 15px 15px 15px;
  overflow: visible;
}

/* Badge directamente sobre la columna verde - CORREGIDO */
.comparison-table-section th.highlight-column::after {
  content: "⭐ RECOMENDADO";
  position: absolute;
  top: 5px;
  left: 70%;
  transform: translateX(-50%) rotate(3deg);
  background: #ffd700;
  color: #333;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  border: 2px solid #f0c040;
}

.comparison-table-section td.highlight-column {
  background: #f0fdf4;
  font-weight: 600;
  color: #16a34a;
}

.comparison-table-section tbody tr:nth-child(odd) {
  background-color: #f7fafc;
}

.comparison-table-section tbody tr:hover {
  background-color: #edf2f7;
}

.comparison-table-section tbody tr:hover td.highlight-column {
  background-color: #dcfce7;
}

/* FAQ Section MEJORADA */
.faq-section {
  margin: 50px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.faq {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #436092;
}

.faq-question {
  background: #f7fafc;
  padding: 20px;
  font-weight: 600;
  color: #2d3748;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #edf2f7;
}

.faq-question.active {
  background: linear-gradient(135deg, #e6f7ff, #b3e0ff);
  color: #436092;
  border-bottom: none;
}

.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #436092;
}

.faq-question.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  color: #4a5568;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.show {
  max-height: 300px;
  padding: 20px;
}

/* NUEVA: Emotional Close Section */
.emotional-close {
  background: linear-gradient(135deg, #ff6b35, #f39200);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emotional-close::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.emotional-content {
  position: relative;
  z-index: 2;
}

.emotional-close h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.emotional-close p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.final-urgency {
  font-weight: 600;
  font-size: 1.3rem;
  margin-top: 20px;
}

/* WhatsApp Button MEJORADO - MÁS DISCRETO */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 15px auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.whatsapp-button:hover::before {
  width: 200px;
  height: 200px;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Footer MEJORADO */
.footer {
  background: linear-gradient(135deg, #2d3748, #1a202c);
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.footer p {
  opacity: 0.8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.footer-logo-stripe {
  height: 20px;
  width: auto;
}

/* Loading States MEJORADOS */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lightbox Modal MEJORADO */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 90%;
  object-fit: contain;
  animation: zoom-in 0.3s ease;
}

@keyframes zoom-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #ff6b35;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile Responsive MEJORADO */
@media (max-width: 768px) {
  /* Brand Header Mobile */
  .brand-header {
    padding: 15px 20px;
  }

  .brand-logo {
    max-height: 50px;
  }

  .brand-tagline {
    font-size: 0.8rem;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Mobile: urgency container en columna */
  .urgency-container {
    max-width: 100%;
    gap: 10px;
  }
  
  .trust-banner {
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.75rem;
  }
  
  .trust-banner span {
    font-size: 0.75rem;
  }
  
  .social-proof-cards {
    grid-template-columns: 1fr; /* Stack en móvil si es necesario */
    gap: 8px;
  }

  .viewers-info,
  .sales-info {
    font-size: 0.8rem;
    padding: 8px 12px;
    min-height: 40px;
    white-space: nowrap;
  }

  .stock-alert,
  .restock-info {
    font-size: 0.8rem;
    padding: 8px 15px;
  }

  .content {
    padding: 0 20px;
  }

  .roi-section {
    padding: 30px 20px;
  }

  .roi-section h2 {
    font-size: 1.8rem;
  }

  .roi-grid {
    flex-direction: column;
    gap: 20px;
  }

  .roi-separator {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .roi-arrow.reverse {
    transform: rotate(0deg);
  }

  .roi-stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .zones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story,
  .video-section,
  .price-section,
  .cable-option,
  .trust-section,
  .testimonial,
  .risk-calculator-section,
  .process-infographic,
  .comparison-table-section,
  .emotional-close {
    padding: 25px;
    margin: 25px 0;
  }

  .price {
    font-size: 2.2rem;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit {
    padding: 20px;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 15px 25px;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table-section table {
    min-width: unset;
  }

  .lightbox-content {
    width: 95%;
  }

  .testimonial-wrapper {
    grid-template-columns: 1fr;
  }

  .emotional-close h3 {
    font-size: 1.5rem;
  }

  .emotional-close p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    max-height: 40px;
  }

  .brand-tagline {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .roi-section h2 {
    font-size: 1.5rem;
  }

  .roi-amount {
    font-size: 2.5rem;
  }

  .price {
    font-size: 1.8rem;
  }

  .product-intro h2 {
    font-size: 1.6rem;
  }

  .protection-zones h2 {
    font-size: 1.8rem;
  }

  .faq-section h2 {
    font-size: 1.6rem;
  }

  .emotional-close h3 {
    font-size: 1.3rem;
  }

  .emotional-close p {
    font-size: 1rem;
  }

  .stock-alert,
  .restock-info,
  .viewers-info,
  .sales-info {
    font-size: 0.75rem;
    padding: 6px 12px;
    white-space: nowrap;
  }
  
  .trust-banner {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  
  .social-proof-cards {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .cta-button {
    border: 2px solid white;
  }
  
  .roi-card {
    border: 2px solid #000;
  }
  
  .benefit {
    border: 1px solid #000;
  }
}