/* Variables CSS para consistencia */
:root {
  --color-primary: #c3d8ee;
  --transition-time: 0.8s;
  --transition-easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  line-height: 1.6;
  color: #1f2937;
  background: linear-gradient(180deg, #eaf6ff 0%, #f6fcff 60%, #b6f0ef 100%);
}

button {
  text-transform: uppercase;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: background var(--transition-time) var(--transition-easing),
    box-shadow var(--transition-time) var(--transition-easing),
    padding var(--transition-time) var(--transition-easing);
  will-change: background, box-shadow;
}

/* Estado con scroll - degradado sutil */
.header.scrolled {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(195, 216, 238, 0.98) 100%
  );
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: padding var(--transition-time) var(--transition-easing);
}

.logo-icon,
.mobile-logo-icon,
.mobile-nav-logo {
  transition: none !important;
  width: 120px;
  height: auto;
}

/* Menú móvil */
.header.scrolled .mobile-menu-btn i {
  color: #4a5568 !important;
}

.header.scrolled .nav-mobile {
  background: linear-gradient(180deg, #ffffff 20%, #c3d8ee 100%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-desktop {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
  width: 100%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: start;
}

.logo-icon {
  max-width: 75px;
  max-height: 75px;
  width: auto;
  height: auto;
}

.logo-icon-footer {
  height: 100px;
  width: auto;
  max-width: 100%;
  max-height: 100px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.boton-nav-paquete {
  padding: 10px 25px;
  border-radius: 30px;
  background: #03c2bb;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  border: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.boton-nav {
  padding: 10px 20px;
  border-radius: 30px;
  background: #03c2bb;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  border: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.boton-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

/* Mobile Header */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1f2937;
  padding: 0.5rem;
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
  position: relative;
}

.mobile-logo-area {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mobile-logo-area {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mobile-logo-icon {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  cursor: pointer;
}

.mobile-spacer {
  width: 2.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 999;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 0;
  left: -75%;
  width: 75%;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.nav-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
  align-items: center;
  height: 100%;
}

.mobile-nav-logo-area {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.mobile-nav-logo {
  max-width: 150px;
  max-height: 80px;
  width: auto;
  height: auto;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.mobile-nav-links .nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 200px;
}

.mobile-nav-links .nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 200px;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero-content {
  margin-bottom: 4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  color: #3773b8;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title-highlight {
  background: #03c2bb;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #3773b8;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 0 10px;
}

.btn-small {
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 5px;
  background-color: #6590bf;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  
}

.btn-small:hover,
.btn-small:focus {
  background-color: #476c93;
  outline: none;
}



/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  justify-items: center;
  align-items: start;
}

.feature-card {
  background: linear-gradient(to bottom, #ffffff 60%, #d2e7ff 100%);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon-blue {
  background: #03c2bb;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #3773b8;
  font-weight: bold;
}

.feature-description {
  color: #3773b8;
  line-height: 1.6;
  text-align: center;
  font-weight: bold;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: bold;
  color: #3773b8;
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3773b8;
  max-width: 45rem;
  margin: 0 auto;
}

/* Pricing Section */

.pricing-grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  padding: 0 1rem;
}

.pricing-card.oculto {
  display: none !important;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: fit-content;
  border: 2px solid transparent;
  background: white;
  border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 100%;
}

.more-items {
  max-height: 20.5em;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.more-items::-webkit-scrollbar {
  width: 6px;
}

.more-items::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}

.pricing-card-popular {
  border: 2px solid #e5e7eb;
}

.pricing-header {
  text-align: center;
  position: relative;
}

.plan-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.plan-badge-blue {
  background: #dbeafe;
  color: #2563eb;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgb(6, 0, 0), 1px 1px 1px rgb(0, 0, 0);
}

.header-top {
  padding-top: rem;
  text-align: center;
  color: white;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}
.plan-price-dominio {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}
.price-amount {
  font-size: 3.5rem;
  text-shadow: 1px 1px 1px rgb(6, 0, 0), 1px 1px 1px rgb(0, 0, 0);
  font-weight: bold;
  color: #ffffff;
}

.price-period {
  font-size: 1rem;
  color: #ffffff;
  margin-left: 0.25rem;
  text-shadow: 1px 1px 1px rgb(6, 0, 0), 1px 1px 1px rgb(0, 0, 0);
}

.plan-description-explorador {
  color: #36cfc9;
  font-size: 1rem;
  margin: 1rem;
  font-weight: bold;
}

.plan-description-impulso {
  color: #03c2bb;
  font-size: 1rem;
  margin: 1rem;
  font-weight: bold;
}

.plan-description-dominio {
  color: #3773b8;
  font-size: 1rem;
  margin: 1rem;
  font-weight: bold;
}

.plan-description-titan {
  color: #5f8fc5;
  font-size: 1rem;
  margin: 1rem;
  font-weight: bold;
}

.pricing-body {
  padding: 0 1rem 1rem;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  background-color: #f0f4ff;
  border-radius: 8px;
}

.feature-check-explorador {
  color: #36cfc9;
  font-size: 1rem;
}

.feature-check-impulso {
  color: #03c2bb;
  font-size: 1rem;
}

.feature-check-dominio {
  color: #5f8fc5;
  font-size: 1rem;
}

.feature-check-titan {
  color: #106dbe;
  font-size: 1rem;
}

.feature-unavailable {
  opacity: 0.5;
}

.pricing-footer {
  padding: 0 2rem 2rem;
}

.pricing-footer .btn {
  width: 100%;
  justify-content: center;
  transition: all 0.3s ease;
}

.subscription-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 500;
}

.switch-option {
  color: #3773b8;
  font-weight: 600;
}

/* Switch mejorado - Pastilla con texto */
.switch {
  position: relative;
  display: inline-block;
  width: 180px;
  height: 40px;
  margin: 0 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider - Pastilla con texto */
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #f0f0f0;
  border-radius: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
  border: 2px solid #5f8fc5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 600;
}

/* Pastilla deslizante */
.slider::before {
  position: absolute;
  content: "";
  height: 32px;
  width: 85px;
  left: 1px;
  top: 2px;
  background-color: #5f8fc5;
  border-radius: 20px;
  transition: 0.3s;
  z-index: 1;
}

/* Texto dentro del slider */
.slider::after {
  content: "Mensual";
  position: absolute;
  left: 15px;
  color: white;
  font-weight: 600;
  font-size: 13px;
  z-index: 2;
  transition: 0.3s;
}

/* Estado activado */
input:checked + .slider {
  background-color: #f0f0f0;
  border-color: #03c2bb;
}

input:checked + .slider::before {
  transform: translateX(89px);
  background-color: #03c2bb;
}

input:checked + .slider::after {
  content: "Anual";
  left: 115px;
}

/* Etiquetas de texto fijas en el slider */
.slider .text-mensual,
.slider .text-anual {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  z-index: 0;
  transition: 0.3s;
  color: #666;
}

.slider .text-mensual {
  left: 20px;
}

.slider .text-anual {
  right: 20px;
}

/* titles package*/

/* Explorador */
.pricing-card:nth-child(1) .header-top {
  background: #36cfc9;
  padding-top: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  color: white;
  padding-bottom: 1rem;
}

.pricing-card:nth-child(1) {
  border: 5px solid #36cfc9;
}

/* Impulso */
.pricing-card:nth-child(2) .header-top {
  background: #03c2bb;
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  color: white;
}

.pricing-card:nth-child(2) {
  border: 5px solid #03c2bb;
}
.pricing-card:nth-child(2) .plan-title {
  padding-top: 3rem;
}

.line-break {
  display: block;
}

/* Dominio */
.pricing-card:nth-child(3) .header-top {
  background: #5f8fc5;
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  color: white;
}

.pricing-card:nth-child(3) {
  border: 5px solid #5f8fc5;
}
.pricing-card:nth-child(3) .plan-title {
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

.pricing-card:nth-child(3) .header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card:nth-child(3) .price-before-group {
  background: #5f8fc5;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.9rem;
  color: #e0e0e0;
  text-decoration: line-through;
}

.pricing-card:nth-child(3) .plan-price {
  display: flex;

  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.header-top span {
  line-height: 1.2;
}

/* Titan */
.pricing-card:nth-child(4) .header-top {
  background: #3773b8;
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  color: white;
}

.pricing-card:nth-child(4) {
  border: 5px solid #3773b8;
}

.header-top.header-top .plan-title {
  color: white;
  margin-bottom: 0.05rem;
}

.price-before-group {
  color: #f0f0f0;
  text-decoration: line-through;
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* btns package*/
.pricing-card:nth-child(1) .btn-outline {
  background: #36cfc9;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.pricing-card:nth-child(2) .btn-primary {
  background: #03c2bb;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.pricing-card:nth-child(3) .btn-outline {
  background: #5f8fc5;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.pricing-card:nth-child(4) .btn-outline {
  background: #3773b8;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.feature-item[data-plan-annual="true"] {
    display: none;
}

.pricing-card[data-package-id="dominio"].is-annual .feature-item[data-plan-annual="true"] {
    display: flex; /* Se usa 'flex' para mantener la alineación original del ícono y el texto */
}

.color-regalo {
  color: #36cfc9;
}

/* Style modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal.fade-in {
  display: flex;
  opacity: 1;
}

.modal.fade-out {
  opacity: 0;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}

.modal.fade-out .modal-content {
  transform: scale(0.95);
}

.modal-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.modal-icon.color-regalo {
  color: #36cfc9;
}


.close {
  cursor: pointer;
  font-size: 2rem;
  color: rgb(0, 0, 0);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  user-select: none;
}

/* Style confirm purchace*/

#confirmModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(69, 92, 125, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
  box-sizing: border-box;
}

#confirmModal .modal-content {
  background: white;
  padding: 3rem 4rem;
  border-radius: 12px;
  max-width: 1000px; /* antes 700px */
  width: 100%; /* antes 90% */
  max-height: 100vh; /* antes 80vh */
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.close-button {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #03475d;
}

/* Estilos mejorados para el carrito modal */
.cart-modal {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cart-header {
  background: linear-gradient(135deg, #3773b8, #00add5);
  color: white;
  padding: 20px 30px;
  border-radius: 15px 15px 0 0;
  position: relative;
}

.cart-header h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header .close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.cart-header .close-button:hover {
  transform: scale(1.1);
}

.cart-body {
  padding: 0;
}

.cart-section {
  border-bottom: 1px solid #e0e0e0;
  padding: 25px 30px;
}

.cart-section:last-child {
  border-bottom: none;
}

.section-header {
  display: flex;
  display: block;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3,
.section-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3773b8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Paquete seleccionado */
.package-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #00add5;
}

.item-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #3773b8;
  margin: 0 0 5px 0;
}

.subscription-type {
  font-size: 0.9rem;
  color: #666;
  background: #e3f2fd;
  padding: 4px 12px;
  border-radius: 15px;
  display: inline-block;
}

.item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00add5;
}

/* Servicios incluidos */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.services-list li {
  background: #f0f8ff;
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 3px solid #00add5;
  font-size: 0.9rem;
  color: #333;
}

/* Toggle de extras */
.btn-toggle-extras {
  background: #00add5;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-toggle-extras:hover {
  background: #0099c7;
  transform: translateY(-1px);
}

.btn-toggle-extras i {
  transition: transform 0.3s;
}

.btn-toggle-extras.active i {
  transform: rotate(180deg);
}

/* Contenedor de extras */
.extras-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 15px;
}

.extras-container.expanded {
  max-height: 600px;
}

.extras-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 0.5rem;
}

.extra-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.extra-item:hover {
  border-color: #00add5;
  box-shadow: 0 4px 12px rgba(0, 173, 213, 0.1);
}

.extra-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.extra-item input[type="checkbox"]:checked + .extra-content {
  background: #f0f8ff;
  border-color: #00add5;
}

.extra-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.extra-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00add5 0%, #0088aa 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 173, 213, 0.3);
}

.extra-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.extra-name {
  font-weight: 600;
  color: #1a202c;
  font-size: 0.95rem;
  line-height: 1.3;
}

.extra-description {
  font-size: 0.8rem;
  color: #718096;
  line-height: 1.4;
}

.extra-price-tag {
  font-weight: 700;
  color: #00add5;
  font-size: 1.1rem;
  margin-top: auto;
  align-self: flex-end;
}

/* Lista de extras seleccionados */
.selected-extras-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.selected-extras-list li {
  background: #e8f5e8;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid #4caf50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sección de totales */
.total-breakdown {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 1rem;
}

.total-line.final-total {
  border-top: 2px solid #00add5;
  margin-top: 10px;
  padding-top: 15px;
  font-size: 1.3rem;
  color: #3773b8;
}

/* Pie del carrito */
.cart-footer {
  background: #f8f9fa;
  padding: 25px 30px;
  border-radius: 0 0 15px 15px;
}

.payment-method-info {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.payment-info-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  font-weight: 500;
}

/* Estilos removidos para payment-option ya que ahora solo mostramos info de Stripe */

.cart-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.cart-actions button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #00add5, #3773b8);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 173, 213, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .cart-modal {
    max-width: 95vw;
    margin: 20px;
  }

  .cart-header,
  .cart-section,
  .cart-footer {
    padding: 20px;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

  .package-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .payment-method-selector {
    flex-direction: column;
  }

  .cart-actions {
    flex-direction: column;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

.package-header span {
  font-size: 1.6rem;
  font-weight: 600;
  color: #3773b8;
  text-align: center;
}

/* Lista de servicios extra */
.extras-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1rem auto;
  color: #3773b8;
  font-size: 1rem;
  max-width: 90%;
  border-radius: 12px;
  background-color: #f3f8ff;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #dbeafe;
}

.extras-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #cbd5e1;
}

.extras-list li:last-child {
  border-bottom: none;
}

/* Total final */
.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #03475d;
  background-color: #e0f2fe;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  max-width: 90%;
  margin: 1rem auto 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #bae6fd;
}

.package-summary {
  text-align: left;
  margin-top: 1.5rem;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background-color: #f9fafb;
}

.package-summary h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #3773b8;
  border-bottom: 2px solid #a2a2a2;
  padding-bottom: 0.5rem;
}

.package-summary ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.package-summary ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #3773b8;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e0e7ff;
}

.package-summary ul li:last-child {
  border-bottom: none;
}

.package-summary ul li i {
  font-size: 1.5rem;
  min-width: 28px;
  text-align: center;
}

.modal-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-primary,
.btnConfirmSubscription,
.btn-secondary {
  font-size: 1.25rem;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  min-width: 160px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #3773b8, #5f8fc5);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

.body-no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

.custom-alert-button {
  background: linear-gradient(135deg, #3773b8, #5f8fc5);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.custom-alert-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #008ae6, #2eb8ff);
}

/* Style form extra services */

#extraServicesTitle {
  font-size: 2rem;
  margin: 0;
  font-weight: 600;
  text-align: center;
  color: #3773b8;
}

#extraServicesForm label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
  color: #3773b8;
  line-height: 1.4;
  flex-wrap: wrap;
}

#extraServicesForm label:hover {
  background-color: #e0f2fe;
  box-shadow: 0 0 8px rgba(0, 153, 255, 0.5);
}

#extraServicesForm label:hover i,
#extraServicesForm label:hover span {
  color: #007acc;
  transform: scale(1.1);
  transition: color 0.3s ease, transform 0.3s ease;
}

#extraServicesForm input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #000000;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

#extraServicesForm input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

#extraServicesForm input[type="checkbox"]:checked {
  background: radial-gradient(circle at center, #5f8fc5 100%);
  border-color: #000000;
  animation: checkbox-pop 0.25s ease forwards;
}

@keyframes checkbox-pop {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#extraServicesForm i {
  font-size: 1rem;
  color: #03475d;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

#toggleExtrasBtn {
  background: linear-gradient(135deg, #3773b8, #5f8fc5);
  color: white;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 1.2rem;
  border-radius: 30px;
  margin: 1rem auto 1rem auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(146, 209, 251, 0.3);
}

#toggleExtrasBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 153, 255, 0.4);
}

/* Style contact btn */
.contact {
  padding: 4rem 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-title {
  font-size: 2rem;

  color: #3773b8;
  margin-bottom: 0.5rem;
}

.contact-description {
  font-size: 1.3rem;
  color: #3773b8;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 38rem;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-feature {
  display: flex;
  color: #3773b8;
  align-items: center;
  gap: 0.75rem;
}

.contact-feature-icon {
  color: #3773b8;
  font-size: 1.25rem;
}

.contact-action {
  text-align: center;
}

.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
}

/* Botón de WhatsApp */
.whatsapp-btn {
  background: #25d366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  position: relative;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn i {
  font-size: 32px;
  transition: transform 0.2s ease;
}

/* Audífonos flotantes */
.headset-float {
  background: white;
  padding: 8px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.headset-float i {
  color: #25d366;
  font-size: 22px;
}

.headset-text {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #075e54;
  font-size: 14px;
}

.whatsapp-btn:active {
  transform: scale(0.95);
  background: #1fa855;
}

/* Ocultar audífonos en móvil */
@media (max-width: 768px) {
  .headset-float {
    display: none;
    /* Oculta completamente los audífonos en móvil */
  }

  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn {
    width: 60px;
    height: 60px;
  }

  .whatsapp-btn i {
    font-size: 30px;
  }

  .speech-bubble {
    font-size: 13px;
    padding: 5px 10px;
    top: -40px;
  }
}

/* Animación de flotación */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.contact-note {
  color: #6b7280;
  font-size: 0.875rem;
}

.contact-email {
  color: #2563eb;
  text-decoration: none;
}

/* Footer */
.footer {
  background: #3773b8;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-description {
  color: white;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  line-height: 1.6;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  flex-wrap: wrap;
  word-wrap: break-word;
  white-space: normal;
  display: flex;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;

  margin-bottom: 1rem;
  color: white;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

/* Créditos y logo */

.logo-teteocan {
  height: 40px;
  width: auto;
  position: relative;
  cursor: pointer;
}

.credits-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.credits-text {
  font-weight: 600;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.credits-date {
  font-size: 0.875rem;
  margin: 0;
  color: #ccc;
}

.logo-teteocan::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #03c2bb;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.8rem;
  z-index: 10;
}

.logo-teteocan::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #03c2bb transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-teteocan:hover::after,
.logo-teteocan:hover::before {
  opacity: 1;
}

/* Derechos de autor */
.footer-copyright {
  color: white;
  font-size: 0.875rem;
  text-align: right;
  max-width: 500px;
  margin-left: auto;
}

.footer-copyright .footer-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-copyright .footer-link {
  color: white;
  text-decoration: none;
}

/*paquete agotado */
.pricing-card.sold-out {
  position: relative;
  filter: grayscale(90%);
  opacity: 0.7;
  cursor: help;
}

/* Deshabilitamos los clics en el contenido interno, pero no en la tarjeta principal */
.pricing-card.sold-out .pricing-body,
.pricing-card.sold-out .pricing-footer {
  pointer-events: none;
}

.pricing-card.sold-out .btn-outline {
  background: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
}

/* Se debe asegurar que la capa del sello capture el evento hover */
.sold-out-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.sold-out-stamp {
  max-width: 80%;
  height: auto;
  transform: rotate(-15deg);
}

.pricing-card.sold-out .sold-out-overlay {
  opacity: 1;
  pointer-events: all;
}

/* --- estilo toltip --- */
.sold-out-tooltip {
  position: absolute;
  bottom: 20%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  border-radius: 8px;
  z-index: 10;
  opacity: 0;
  /* Oculto por defecto */
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  font-size: 0.9rem;
  pointer-events: none;
}

/* Muestra el tooltip al pasar el cursor sobre la capa del sello */
.sold-out-overlay:hover .sold-out-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive mobiles */
@media (max-width: 480px) {
  #confirmModal .modal-content {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }

  #confirmModal h2 {
    font-size: 1.75rem;
  }

  #confirmModal h3 {
    font-size: 1.25rem;
  }

  .package-summary {
    max-height: 200px;
    padding: 1rem;
  }

  .package-summary h4 {
    font-size: 1.25rem;
  }

  .package-summary ul li {
    font-size: 1rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }

  #extraServicesTitle {
    font-size: 1.25rem;
  }
}

/* Responsive Design */

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: #ffffff;
  }

  .mobile-nav-links .nav-link:hover {
    color: #2563eb;
    background: #eff6ff;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  }

  .btn-secondary:hover {
    background: #eff6ff;
  }

  .btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .feature-card:hover .feature-icon {
    transform: scale(1.1);
  }

  .pricing-card:nth-child(1):hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3),
      0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #36cfc9;
    z-index: 10;
  }

  .pricing-card:nth-child(2):hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3),
      0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #03c2bb;
    z-index: 10;
  }

  .pricing-card:nth-child(3):hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3),
      0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #5f8fc5;
    z-index: 10;
  }

  .pricing-card:nth-child(4):hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3),
      0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #3773b8;
    z-index: 10;
  }

  .pricing-card:hover .pricing-header {
    background: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.05),
      rgba(79, 70, 229, 0.05)
    );
  }

  .pricing-grid:hover .pricing-card:not(:hover):not(.sold-out) {
    opacity: 0.7;
    transform: scale(0.98);
    filter: blur(1px);
  }

  .pricing-card:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  }

  .pricing-card .btn-outline:hover,
  .pricing-card .btn-primary:hover {
    transform: translateY(-2px);
  }

  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  }

  .contact-email:hover {
    text-decoration: underline;
  }

  .footer-link:hover {
    color: white;
  }

  .feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease,
      background-color 0.3s ease;
    cursor: pointer;
  }

  .feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f4ff;
    border-radius: 8px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav-links a:hover,
  .mobile-nav-links .nav-link:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-outline:hover,
  .feature-card:hover,
  .whatsapp-btn:hover,
  .contact-email:hover,
  .footer-link:hover {
    transform: none;
    box-shadow: none;
    background: inherit;
    color: inherit;
    border-color: inherit;
    opacity: 1;
    filter: none;
    z-index: auto;
  }

  .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
  }

  .btn-secondary:active {
    background: #eff6ff;
    transform: translateY(1px);
  }

  .btn-outline:active {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(1px);
  }

  .feature-card:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .pricing-card:active {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
  }

  .whatsapp-btn:active {
    transform: scale(0.98);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
  }

  .nav-links a:active {
    color: #2563eb;
  }

  .mobile-nav-links .nav-link:active {
    color: #2563eb;
    background: #eff6ff;
  }

  .footer-link:active {
    color: #2563eb;
  }

  .btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }

  .pricing-card:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .nav-mobile {
    width: 50%;
    left: -50%;
  }

  .mobile-nav-logo {
    max-width: 120px;
    max-height: 60px;
  }

  .mobile-nav-links .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    max-width: 180px;
  }

  .nav-mobile-content {
    padding: 1.5rem 1rem;
    gap: 1.2rem;
  }

  .pricing-header {
    padding: 0;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .nav-mobile.active {
    left: 0;
  }

  .nav-mobile {
    width: 50%;
    left: -50%;
  }

  .mobile-nav-logo {
    max-width: 100px;
    max-height: 50px;
  }

  .mobile-nav-links .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    max-width: 150px;
  }

  .nav-mobile-content {
    padding: 1.2rem 0.8rem;
    gap: 0.8rem;
  }

  body.mobile-menu-open .mobile-menu-btn {
    transform: translateX(calc(50vw + 1rem));
  }

  body.mobile-menu-open .mobile-logo-icon {
    opacity: 0;
    visibility: hidden;
  }

  .mobile-logo-icon {
    max-width: 100px;
    max-height: 50px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

/* Tablets in portrait orientation - specific for iPad Air and similar */
@media (max-width: 820px) and (min-width: 768px) and (orientation: portrait) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Portrait-optimized mobile menu */
  .nav-mobile {
    width: 55%;
    left: -55%;
  }

  .mobile-nav-links .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    max-width: 170px;
  }

  .nav-mobile-content {
    padding: 1.4rem 1rem;
    gap: 1.1rem;
  }

  .pricing-header {
    padding: 0;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

/* Medium tablets and large mobile phones */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .nav-mobile.active {
    left: 0;
  }

  body.mobile-menu-open .mobile-menu-btn {
    transform: translateX(calc(75vw + 1rem));
  }

  /* Mobile menu for medium tablets */
  .nav-mobile {
    width: 60%;
    left: -60%;
  }

  .mobile-nav-links .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    max-width: 180px;
  }

  .nav-mobile-content {
    padding: 1.5rem 1rem;
    gap: 1.2rem;
  }

  body.mobile-menu-open .mobile-menu-btn {
    transform: translateX(calc(55vw + 1rem));
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-items: center;
    align-items: stretch;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-title {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-header {
    padding: 0;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .feature-card,
  .service-card {
    padding: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    align-items: stretch;
  }

  .contact-title {
    font-size: 1.75rem;
  }

  .whatsapp-btn {
    padding: 1rem 1.5rem;
  }

  .pricing-header {
    padding: 0;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swal2-confirm {
  background: #3773b8;
}

.swal2-confirm:hover {
  background: #5c8cc4;
}

.feature-card,
.service-card,
.pricing-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility improvements */
.btn:focus,
.nav-link:focus,
.mobile-menu-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.btn:focus {
  outline-color: rgba(37, 99, 235, 0.5);
}

/* Print styles */
@media print {
  .header,
  .whatsapp-btn,
  .mobile-menu-btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero,
  .services,
  .pricing,
  .contact {
    break-inside: avoid;
  }
}

/* ComparisonTable */
.comparison-section {
  padding: 4rem 0;
  background-color: #eaf6ff;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 12px;
  font-size: 1rem;
  min-width: 900px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.comparison-table th {
  background: #c3d8ee;
  font-weight: 700;
  color: #3773b8;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.comparison-table td {
  color: #4b5563;
  font-weight: 500;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  background: #f6fcff;
  font-weight: 600;
  color: #374151;
  text-align: left;
}

.comparison-table td .table-check,
.comparison-table td .table-cross {
  font-size: 1.8rem;
  display: block;
  width: 100%;
  text-align: center;
}

.comparison-table .table-check {
  color: #03c2bb;
}

.comparison-table .table-cross {
  color: #cbd5e1;
}

/* Hover effect for cells */
.comparison-table td:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comparison-table {
    min-width: 700px;
    border-spacing: 8px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.8rem;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.9rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
}
