/* ===== PLANES DE HOSTING CSS ===== */

/* Sección de planes estilo WHMCS */
.pricing-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 50%, #ede9fe 100%);
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  /* Aislar el contexto de apilado para evitar que elementos hijos (hover/transform) salgan de su box */
  isolation: isolate;
  z-index: 0;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(188, 230, 254, 0.15), rgba(241, 245, 249, 0.1)), 
                   radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
                   radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Asegurar que el contenido se muestre por encima de los fondos absolutos */
.pricing-section > .container {
  position: relative;
  z-index: 2;
}

/* Tarjetas de precios estilo WHMCS */
.pricing-card {
  background: white;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Headers de las tarjetas con colores específicos */
.pricing-header {
  padding: 30px;
  text-align: center;
  color: white;
  position: relative;
}

.pricing-basic .pricing-header {
  background: linear-gradient(135deg, var(--primary-blue), #42A5F5);
}

.pricing-premium .pricing-header {
  background: linear-gradient(135deg, var(--secondary-orange), #FFB74D);
}

/* .pricing-enterprise eliminado - ahora usan .pricing-premium */

/* Estilos para los encabezados de las tarjetas */
.price-card-header {
  background: linear-gradient(135deg, #0f3b8f 0%, #0d6efd 100%);
  padding: 30px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pricing-premium .price-card-header {
  background: linear-gradient(135deg, #e07a00 0%, #ff9500 100%);
}

/* .pricing-enterprise eliminado - ahora usan .pricing-premium */

.price-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.price-amount {
  margin-bottom: 15px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

/* Aseguramos que los textos de moneda y periodo tengan contraste adecuado */
.price-card-header .currency,
.price-card-header .period {
  font-weight: 600;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}

.currency {
  font-size: 18px;
  vertical-align: top;
  margin-right: 2px;
  opacity: 0.9;
  color: #ffffff;
}

.amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: #ffffff;
}

.period {
  font-size: 16px;
  opacity: 0.9;
  color: #ffffff;
}

.price-subtitle {
  font-size: 14px;
  opacity: 0.8;
  color: #ffffff;
}

/* Cuerpo de las tarjetas */
.price-card-body {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(24, 74, 154, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 18px;
  color: #184a9a;
  transition: all 0.3s ease;
}

.premium-icon {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

/* .enterprise-icon eliminado - ahora usan .premium-icon */

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-text {
  flex: 1;
}

.feature-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #212529;
}

.dark-mode .feature-text strong {
  color: #f8f9fa;
}

.feature-desc {
  display: block;
  font-size: 13px;
  color: #6c757d;
  margin-top: 3px;
}

.dark-mode .feature-desc {
  color: #adb5bd;
}

/* Botones de precios */
.btn-price {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.premium-btn {
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-md);
}

/* .enterprise-btn eliminado - ahora usan .premium-btn */

.btn-price:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.premium-btn:hover {
  box-shadow: var(--shadow-lg);
}

/* .enterprise-btn:hover eliminado - ahora usan .premium-btn */

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-content span {
  margin-right: 10px;
}

.btn-content i {
  transition: transform 0.3s ease;
}

.btn-price:hover .btn-content i {
  transform: translateX(5px);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* CTA button size for pricing table */
.pricing-cta-btn {
  font-size: 1.1rem;
}


/* Efecto de brillo */
.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 80px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
  filter: blur(5px);
  opacity: 0;
  pointer-events: none;
}

/* Efecto de pulso para la tarjeta destacada */
.pulse-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.15);
  opacity: 0.6;
  pointer-events: none;
}

/* Estilos modernos para la sección de precios */
.pricing-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.pricing-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

.shape1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, #184a9a, #0dcaf0);
  top: -200px;
  right: -100px;
  animation: float-slow 15s infinite alternate ease-in-out;
}

.shape2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #6610f2, #0dcaf0);
  bottom: -150px;
  left: -50px;
  animation: float-slow 20s infinite alternate-reverse ease-in-out;
}

.shape3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #184a9a, #6610f2);
  top: 40%;
  right: 20%;
  animation: float-slow 12s infinite alternate ease-in-out;
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-30px, -30px) rotate(5deg);
  }
  100% {
    transform: translate(30px, 30px) rotate(-5deg);
  }
}

.pricing-grid {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  transform: rotate(15deg);
  z-index: 1;
  opacity: 0.05;
}

.grid-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(24, 74, 154, 0.5) 50%, transparent 100%);
  top: calc(25% * var(--i));
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100px);
  }
}

/* Ultra-badge animada */
.ultra-badge {
  display: inline-block;
  background: linear-gradient(45deg, #184a9a, #0dcaf0);
  color: white;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15);
  position: relative;
  overflow: hidden;
}

.ultra-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}


/* Nuevos estilos para las tarjetas de precios */
.price-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: visible; /* Permite que los badges se vean fuera de la card */
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 30px; /* Aumentado para más espacio */
  display: flex; /* Usar flexbox para mejor control de altura */
  flex-direction: column; /* Apilar elementos verticalmente */
  transform-style: preserve-3d;
  perspective: 1000px;
  z-index: 1;
}

.dark-mode .price-card {
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.recommended-plan {
  transform: scale(1);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.recommended-plan > * {
  pointer-events: auto;
}

.recommended-plan:hover {
  transform: translateY(-8px) scale(1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

/* Elementos flotantes desactivados para evitar inconsistencias */
.floating-elements,
.float-element {
  display: none !important;
}


/* Floating animation for badges */

/* Badges de las tarjetas - Diseño original restaurado */
.card-badge {
  position: absolute;
  top: -15px;
  right: 15px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #dc3545;
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
  border: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-badge.recommended {
  background: #dc3545;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.card-badge.premium {
  background: #dc3545;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* Hover effect para badges */
.card-badge:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
  transition: all 0.3s ease;
}

/* Texto de los badges - blanco en negrita */
.card-badge span {
  color: white;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Ribbon styles */
.ribbon {
  position: absolute;
  top: 15px;
  right: -5px;
  z-index: 10;
  overflow: hidden;
  width: 150px;
  height: 30px;
  text-align: center;
}

.ribbon span {
  position: relative;
  display: block;
  width: 100%;
  padding: 6px 0;
  background: #dc3545;
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.ribbon span::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  z-index: -1;
  border-right: 10px solid #dc3545;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.ribbon span::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  z-index: -1;
  border-left: 5px solid #940c1a;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.ribbon.premium span {
  background: linear-gradient(90deg, #ff9500, #ffc107);
}

.ribbon.premium span::before {
  border-right-color: #ff9500;
}

.ribbon.premium span::after {
  border-left-color: #b36a00;
}

.ribbon.enterprise span {
  background: linear-gradient(90deg, #198754, #20c997);
}

.ribbon.enterprise span::before {
  border-right-color: #198754;
}

.ribbon.enterprise span::after {
  border-left-color: #0c5232;
}

/* Headers de las tarjetas */
.price-card-header {
  padding: 30px 24px 35px; /* Aumentado el padding vertical */
  text-align: center;
  position: relative;
  z-index: 5;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Selectores con mayor especificidad para texto blanco */
.price-card-header .price-title,
.pricing-section .price-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.price-card-header .price-amount,
.pricing-section .price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 10px;
}

.price-card-header .currency,
.pricing-section .currency {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-right: 5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.price-card-header .amount,
.pricing-section .amount {
  font-size: 2.8rem; /* Aumentado el tamaño del precio */
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.price-card-header .period,
.pricing-section .period {
  font-size: 0.9rem;
  color: #ffffff !important;
  margin-left: 5px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.price-card-header .price-subtitle,
.pricing-section .price-subtitle {
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Cuerpo de las tarjetas */
.price-card-body {
  padding: 20px 30px 30px; /* Aumentado el padding */
  position: relative;
  z-index: 5;
  flex-grow: 1; /* Permitir que el cuerpo crezca */
  display: flex; /* Usar flexbox */
  flex-direction: column; /* Apilar elementos */
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1; /* Hacer que la lista de características ocupe el espacio disponible */
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px; /* Aumentado el margen inferior */
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-blue), #42A5F5);
  color: white;
}

.premium-icon {
  background: linear-gradient(135deg, #ff9800, #ffc107);
}

/* .enterprise-icon eliminado - ahora usan .premium-icon */

.feature-text {
  flex: 1;
}

.feature-text strong {
  display: block;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Botones de las tarjetas */
.btn-price {
  display: block;
  width: 100%;
  padding: 18px 20px; /* Aumentado el padding vertical del botón */
  background: linear-gradient(135deg, var(--primary-blue), #42A5F5);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(24, 74, 154, 0.3);
  color: white;
}

.premium-btn {
  background: linear-gradient(135deg, #ff9800, #ffc107);
}

.premium-btn:hover {
  box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

/* .enterprise-btn eliminado - ahora usan .premium-btn */

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Efectos especiales - Desactivados para evitar conflictos */
.shine-effect {
  display: none !important;
}

/* Estilos legacy .pricing-enterprise eliminados - ahora usan .pricing-premium */

/* Desactivar patrones de círculos de fondo para la sección empresarial */
#empresariales.modern-hosting-section::before,
#empresariales.modern-hosting-section::after,
.modern-hosting-section #empresariales::before,
.modern-hosting-section #empresariales::after {
  display: none !important;
}

/* Desactivar gradientes radiales problemáticos para planes empresariales */
#empresariales::before {
  background-image: linear-gradient(120deg, rgba(188, 230, 254, 0.15), rgba(241, 245, 249, 0.1)) !important;
}

/* Estilos específicos para headers empresariales con colores verdes */
#empresariales .price-card-header {
  background: linear-gradient(135deg, #0f7a3a 0%, #16a34a 100%) !important;
  position: relative;
  overflow: hidden;
}

#empresariales .recommended-plan .price-card-header {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

#empresariales .plan-advanced .price-card-header {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
}

/* Iconos empresariales con colores verdes - TODOS los iconos */
#empresariales .feature-icon {
  background: linear-gradient(135deg, #4caf50, #8bc34a) !important;
  color: white !important;
  border: none !important;
}

/* Botones empresariales con colores verdes - TODOS los botones */
#empresariales .premium-btn,
#empresariales .btn-price {
  background: linear-gradient(135deg, #4caf50, #8bc34a) !important;
  border: none !important;
}

#empresariales .premium-btn:hover,
#empresariales .btn-price:hover {
  background: linear-gradient(135deg, #388e3c, #689f38) !important;
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* Estilos específicos para headers reseller con colores púrpuras */
#reseller .price-card-header {
  background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%) !important;
}

#reseller .recommended-plan .price-card-header {
  background: linear-gradient(135deg, #9d50e4 0%, #5e22e4 100%) !important;
}

/* Iconos reseller con colores púrpuras */
#reseller .feature-icon {
  background: linear-gradient(135deg, #8e2de2, #4a00e0) !important;
  color: white !important;
  border: none !important;
}

/* Botones reseller con colores púrpuras */
#reseller .btn-price {
  background: linear-gradient(135deg, #8e2de2, #4a00e0) !important;
  border: none !important;
}

#reseller .btn-price:hover {
  background: linear-gradient(135deg, #7b1ccb, #3c00b1) !important;
  box-shadow: 0 10px 25px rgba(142, 45, 226, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* Los planes empresariales usan efectos JavaScript normales como Premium/Básicos */

#empresariales .shine-effect {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Simplificar transiciones para evitar parpadeo */
#empresariales .price-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

#empresariales .price-card * {
  transition: none !important;
}

/* Prevenir parpadeo en hover */
#empresariales .price-card:hover {
  z-index: 100;
}

/* Arreglar badges borrosos - problema de filtros */
#empresariales .card-badge {
  z-index: 999 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: absolute !important;
  top: -15px !important;
  right: 15px !important;
  background: #dc3545 !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

#empresariales .price-card {
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Arreglar overflow de la sección empresarial para badges */
#empresariales {
  overflow: visible !important;
}

#empresariales .modern-plans-grid {
  overflow: visible !important;
}

.pulse-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


/* Elementos geométricos decorativos */
.geometric-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.geo {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.geo1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #184a9a, #0dcaf0);
  top: 10%;
  left: 5%;
  animation: rotate 20s linear infinite;
}

.geo2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #6610f2, #0dcaf0);
  bottom: 15%;
  right: 10%;
  animation: rotate 25s linear infinite reverse;
}

.geo3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #184a9a, #6610f2);
  top: 60%;
  left: 80%;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .pricing-section {
    padding: 60px 0;
  }
  
  .price-card {
    margin-bottom: 20px;
  }
  
  .recommended-plan {
    transform: none;
  }
  
  .price-amount .amount {
    font-size: 2.5rem;
  }
  
  .feature-item {
    padding: 12px;
  }
  
  .price-card-header {
    padding: 30px 20px 20px;
  }
  
  .price-card-body {
    padding: 0 20px 30px;
  }
}

/* ===== ESTILOS DE LA SECCIÓN DE PRECIOS ===== */
/* Toggle de precios */
.toggle-slider {
  position: absolute;
  left: 4px;
  top: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
  border-radius: 50px;
  transition: all 0.3s ease;
  z-index: 0;
}

.toggle-btn.monthly.active ~ .toggle-slider {
  transform: translateX(0);
}

.toggle-btn.annual.active ~ .toggle-slider {
  transform: translateX(100%);
}

/* Toggle container and buttons */
.toggle-container {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.toggle-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.3s ease;
  cursor: pointer;
  border-radius: 50px;
}

.toggle-btn.active {
  color: #fff;
}

.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  padding: 5px 15px;
  background-color: #ff9800;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px 10px 10px 0;
}


/* Contenedor de planes */
.plans-container {
  perspective: 1000px;
}

/* Tarjetas de precios */
.pricing-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(226, 232, 240, 1);
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.3s;
}

.pricing-card:nth-child(3) {
  animation-delay: 0.5s;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid #3b82f6;
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.03);
}

.pricing-card-header {
  padding: 25px 20px;
  text-align: center;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
  color: white;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 0 0 0 15px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.pricing-badge.recommended {
  background: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pricing-badge.best-seller {
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 10px 0 0;
}

.pricing-card-body {
  padding: 30px 20px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.pricing-price::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 10px;
}

.currency {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  margin-right: 5px;
  color: #64748b;
}

.amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
}

.period {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-feature:last-child {
  border-bottom: none;
}

.feature-text {
  font-size: 0.95rem;
  color: #334155;
}

.feature-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* Media Queries para diseño responsivo */
@media (max-width: 991.98px) {
  .pricing-section {
    padding: 40px 0;
  }
  
  .pricing-card {
    margin-bottom: 30px;
  }
  
  .recommended-plan {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .pricing-section {
    padding: 60px 0;
  }
  
  .price-card {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .recommended-plan {
    transform: scale(1);
  }
  
  .recommended-plan:hover {
    transform: translateY(-15px);
  }
}

@media (max-width: 575.98px) {
  .pricing-section {
    padding: 40px 0;
  }
  
  .pricing-header h2 {
    font-size: 1.8rem;
  }
  
  .pricing-card {
    padding: 20px 15px;
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .price-period {
    font-size: 0.9rem;
  }
}

/* Botón con efecto de brillo */
.pricing-btn {
  display: inline-block;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
  color: white;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
  width: 85%;
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
  color: white;
}



/* Estilos específicos para hosting.html - Mayor especificidad */
.price-card .card-header {
  color: white !important;
  background: linear-gradient(135deg, #184a9a 0%, #0dcaf0 100%) !important;
}

.price-card .card-header h3,
.price-card .card-header .h5,
.price-card .card-header.text-center.text-white h3,
.price-card .card-header.text-center.text-white .h5 {
  color: white !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.price-card .card-header .badge {
  color: white !important;
  font-weight: 700;
}

/* Estilos específicos para cada tipo de plan */
.price-card.recommended-plan .card-header {
  background: linear-gradient(135deg, #ff9500 0%, #ffc107 100%) !important;
}

.price-card:nth-child(3) .card-header {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%) !important;
}

/* Forzar texto blanco en todos los elementos del header */
.card-header.text-center.text-white,
.card-header.text-center.text-white *,
.card-header.text-white,
.card-header.text-white * {
  color: white !important;
}

/* Asegurar que badges mantengan el texto blanco */
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-success {
  color: white !important;
}

/* Sobrescribir cualquier estilo de Bootstrap */
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white .h1,
.text-white .h2,
.text-white .h3,
.text-white .h4,
.text-white .h5,
.text-white .h6 {
  color: white !important;
}

/* ===== FIN PLANES DE HOSTING CSS ===== */

/* ===== Payment Methods (migrated from inline) ===== */
.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mercadopago-logo {
  width: 50px;
  height: 32px;
  background: linear-gradient(135deg, #009ee3 0%, #0087d1 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 158, 227, 0.3);
  transition: transform 0.3s ease;
}

.mercadopago-logo:hover { transform: scale(1.1); }

.mp-text {
  color: white;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}
