/* ================= PRELOADER (PANTALLA DE BIENVENIDA) ================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.loader-text {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text-main);
  margin-bottom: 20px;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--pink-neon);
  animation: loadingBar 1s ease-in-out infinite;
  will-change: transform;
}
@keyframes loadingBar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

/* ================= CUSTOM SCROLLBAR ================= */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
  border-left: 1px solid #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #ff2a6d;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #fff;
  box-shadow: 0 0 10px #ff2a6d;
}

/* ================= VARIABLES ================= */
:root {
  --bg-dark: #050505;
  --bg-card: #0f0f0f;
  --border-color: #222;
  --text-main: #f0f0f0;
  --text-muted: #888;
  --pink-neon: #ff2a6d;
  --pink-glow: rgba(255, 42, 109, 0.4);
  --pink-glow-strong: rgba(255, 42, 109, 0.8);
  --green-status: #00ff88;
}

/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  cursor: crosshair; /* Cursor de precisión gamer */
}
::selection {
  background-color: var(--pink-neon);
  color: #fff;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 100px;
}

/* ================= UTILIDADES ================= */
.highlight {
  color: var(--pink-neon);
  text-shadow: 0 0 10px var(--pink-glow);
}
.mono {
  font-family: "Roboto Mono", monospace;
}
.w-100 {
  width: 100%;
}
.mobile-only-btn {
  display: none;
}
/* Aseguramos que los botones interactivos también tengan el cursor */
.btn,
.btn-reservar,
.mobile-menu-toggle,
.close-btn,
.faq-question,
a {
  cursor: crosshair;
}

/* ================= NAVBAR ================= */
nav {
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-menu-toggle {
  display: none;
  border: 1px solid var(--pink-neon);
  color: #fff;
  background: transparent;
  font-size: 1.2rem;
  padding: 5px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--pink-neon);
}

.btn,
.btn-reservar {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: transparent;
  border: 2px solid var(--pink-neon);
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 15px var(--pink-glow);
}
.btn-reservar {
  background: var(--pink-neon);
  padding: 10px 20px;
  font-size: 0.8rem;
}
.btn:hover,
.btn-reservar:hover {
  background: var(--pink-neon);
  box-shadow: 0 0 20px var(--pink-glow-strong);
  transform: translateY(-2px);
}

/* ================= HERO SECTION & ANIMACIÓN 3D ================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10% 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.grid-glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 42, 109, 0.15) 0%,
    transparent 60%
  );
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
}
.cyber-grid-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  perspective: 600px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cyber-grid {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(255, 42, 109, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 109, 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  transform-origin: top center;
  animation: gridMove 2s linear infinite;
  will-change: transform;
}
.grid-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ================= PARTÍCULAS TRANQUIS ================= */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  background: transparent;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.particles-1 {
  box-shadow:
    10vw 10vh #fff,
    25vw 25vh #ff2a6d,
    40vw 15vh #fff,
    55vw 50vh #ff2a6d,
    70vw 20vh #fff,
    85vw 40vh #ff2a6d,
    95vw 10vh #fff,
    15vw 80vh #ff2a6d,
    35vw 70vh #fff,
    50vw 85vh #ff2a6d,
    65vw 75vh #fff,
    80vw 90vh #ff2a6d,
    90vw 60vh #fff,
    5vw 50vh #ff2a6d,
    45vw 95vh #fff;
  animation: floatUp 25s linear infinite;
  opacity: 0.6;
}
.particles-2 {
  box-shadow:
    15vw 70vh #fff,
    40vw 30vh #ff2a6d,
    60vw 60vh #fff,
    85vw 20vh #ff2a6d,
    10vw 100vh #fff,
    95vw 95vh #fff,
    30vw 10vh #ff2a6d,
    75vw 35vh #fff;
  animation: floatUp 15s linear infinite;
  opacity: 0.3;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateZ(0);
  }
  100% {
    transform: translateY(-100vh) translateZ(0);
  }
}

@keyframes gridMove {
  0% {
    transform: rotateX(75deg) translateY(0) translateZ(0);
  }
  100% {
    transform: rotateX(75deg) translateY(60px) translateZ(0);
  }
}
@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: scale(1) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translate(-20px, 20px) translateZ(0);
  }
}

/* ================= TRES PASOS ================= */
.steps {
  padding: 80px 10%;
}
.subtitle {
  color: var(--pink-neon);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--border-color);
}
.step-card {
  padding: 40px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-card);
}
.step-card:last-child {
  border-right: none;
}
.step-num {
  font-size: 4rem;
  color: #222;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}
.tags {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tags span {
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ================= STATS SECTION ================= */
.stats {
  padding: 40px 10% 80px 10%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.stat-box:hover {
  border-color: var(--pink-neon);
  transform: translateY(-5px);
}
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  text-shadow: none;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}
.stat-box:hover .stat-number {
  color: var(--pink-neon);
  text-shadow: 0 0 15px var(--pink-glow);
}

/* ================= PRICING SECTION ================= */
.pricing {
  padding: 80px 10%;
}
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-header h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 900;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  /* Espacio extra para que la rotación 3D no se corte */
  perspective: 1000px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 50px 30px;
  position: relative;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: var(--pink-neon);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px var(--pink-glow);
}
.card.elite {
  border-color: var(--pink-neon);
  background: linear-gradient(
    180deg,
    rgba(255, 42, 109, 0.05) 0%,
    var(--bg-card) 100%
  );
}
.card.elite::before {
  content: "MÁXIMO PODER";
  position: absolute;
  top: 40px;
  right: -35px;
  background: var(--pink-neon);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 2px;
}
/* Acentuamos elementos hijos para el 3D */
.card h3,
.card .price,
.card .features,
.card .btn {
  transform: translateZ(30px);
}
.card h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}
.currency {
  font-size: 1rem;
  color: var(--text-muted);
}
.session-time {
  font-size: 0.8rem;
  color: var(--pink-neon);
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.features {
  list-style: none;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}
.features li {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #aaa;
  display: flex;
  align-items: center;
}
.features li::before {
  content: ">";
  color: var(--pink-neon);
  font-weight: bold;
  margin-right: 10px;
  font-family: "Roboto Mono", monospace;
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 80px 10%;
  background-color: var(--bg-dark);
}
.faq-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.faq-left h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.faq-left p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.btn-wa-faq {
  background-color: var(--pink-neon);
  color: white;
  width: 100%;
  border: none;
  padding: 18px 0;
  margin-bottom: 15px;
}
.btn-wa-faq:hover {
  background-color: #fff;
  color: var(--pink-neon);
}
.link-planes {
  display: block;
  text-align: center;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-color);
  padding: 15px 0;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.link-planes:hover {
  border-color: var(--pink-neon);
  color: var(--pink-neon);
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question:hover {
  color: var(--pink-neon);
}
.faq-question .icon {
  font-weight: normal;
  font-family: "Roboto Mono", monospace;
  border: 1px solid var(--border-color);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.faq-question.active {
  color: var(--pink-neon);
}
.faq-question.active .icon {
  transform: rotate(45deg);
  border-color: var(--pink-neon);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  color: var(--text-muted);
  padding-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ================= MODAL DE RESERVA ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 650px;
  padding: 40px;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}
.close-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 5px 10px;
}
.close-btn:hover {
  color: var(--pink-neon);
  border-color: var(--pink-neon);
}
.status-indicator {
  font-size: 0.8rem;
  color: var(--green-status);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--green-status);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-status);
  animation: pulse 1.5s infinite;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full-width {
  grid-column: 1 / -1;
}
.input-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px;
  font-family: "Montserrat", sans-serif;
  transition: border 0.3s;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--pink-neon);
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.1);
}
::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
.btn-wa {
  background: var(--pink-neon);
  border: none;
  color: #fff;
  margin-top: 10px;
  text-align: center;
}
.btn-wa:hover {
  background: #fff;
  color: var(--pink-neon);
}
.modal-footer {
  text-align: center;
  font-size: 0.6rem;
  color: #555;
  margin-top: 20px;
  letter-spacing: 2px;
}

/* ================= CHECKBOX TÉRMINOS Y CONDICIONES ================= */
.terms-group {
  margin-top: 10px;
  margin-bottom: 20px;
}
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.checkbox-container input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.checkmark {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  margin-right: 0;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.checkbox-container:hover input ~ .checkmark {
  border-color: var(--pink-neon);
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--pink-neon);
  border-color: var(--pink-neon);
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.4);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.terms-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}
.terms-text a {
  text-decoration: underline;
  position: relative;
  z-index: 2;
}

/* ================= JS ANIMATIONS CLASSES ================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .steps,
  .stats,
  .pricing,
  .faq-section {
    padding: 60px 5%;
  }
}

@media (max-width: 768px) {
  /* En celular volvemos al cursor por defecto porque se usa touch */
  body,
  .btn,
  .btn-reservar,
  .mobile-menu-toggle,
  .close-btn,
  .faq-question,
  a {
    cursor: default;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .desktop-only-btn {
    display: none;
  }
  .mobile-only-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px 5%;
    border-bottom: 1px solid var(--pink-neon);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }

  .hero {
    text-align: center;
    padding-top: 100px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero p {
    margin: 0 auto 30px auto;
    font-size: 1rem;
  }

  .grid-glow,
  .cyber-grid-wrapper {
    display: none;
  }

  .steps-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .step-card:last-child {
    border-bottom: none;
  }

  .modal-content {
    padding: 25px;
    width: 95%;
  }

  .card {
    transform: none !important;
  }
}

/* ================= NAVBAR SWITCH LINK ================= */
.nav-switch-link {
  color: var(--switch-cyan, #00e5ff) !important;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
  transition: all 0.3s !important;
}
.nav-switch-link:hover {
  color: #fff !important;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.8) !important;
}

/* ================= SWITCH SECTION ================= */
:root {
  --switch-cyan: #00e5ff;
  --switch-cyan-glow: rgba(0, 229, 255, 0.35);
  --switch-cyan-strong: rgba(0, 229, 255, 0.7);
  --switch-dark: #020c10;
}

.switch-section {
  position: relative;
  padding: 80px 10%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #020c10 40%, var(--bg-dark) 100%);
  overflow: hidden;
}

.switch-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.switch-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 60px;
}

.switch-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.highlight-switch {
  color: var(--switch-cyan);
  text-shadow: 0 0 15px var(--switch-cyan-glow);
}

.switch-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.switch-serial-hint {
  display: inline-block;
  margin-top: 10px;
  color: var(--switch-cyan);
  font-size: 0.82rem;
  opacity: 0.8;
}

.switch-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.switch-badge {
  border: 1px solid var(--switch-cyan);
  color: var(--switch-cyan);
  padding: 5px 14px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.04);
}

/* SWITCH CARDS */
.switch-cards-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
  margin-bottom: 60px;
}

.switch-card {
  border-color: #1a2a2e;
  background: linear-gradient(160deg, #060f12 0%, var(--bg-card) 100%);
}

.switch-card:hover {
  border-color: var(--switch-cyan);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 25px var(--switch-cyan-glow);
}

.switch-card-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.switch-sd-label {
  font-size: 0.78rem;
  color: var(--switch-cyan);
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.switch-card-mid {
  border-color: var(--switch-cyan);
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.04) 0%, var(--bg-card) 100%);
  position: relative;
}

.switch-card-mid::before {
  content: "MÁS POPULAR";
  position: absolute;
  top: 40px;
  right: -38px;
  background: var(--switch-cyan);
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 2px;
  font-family: "Roboto Mono", monospace;
}

.switch-card-elite {
  border-color: var(--switch-cyan);
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.06) 0%, var(--bg-card) 100%);
  position: relative;
}

.switch-card-elite::before {
  content: "MÁXIMA CAPACIDAD";
  position: absolute;
  top: 40px;
  right: -42px;
  background: var(--switch-cyan);
  color: #000;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 1.5px;
  font-family: "Roboto Mono", monospace;
}

.switch-features li {
  color: #aaa;
}

.switch-features li::before {
  content: ">";
  color: var(--switch-cyan) !important;
  font-weight: bold;
  margin-right: 10px;
  font-family: "Roboto Mono", monospace;
}

/* SWITCH BUTTONS */
.switch-btn {
  border-color: var(--switch-cyan);
  color: var(--switch-cyan);
  box-shadow: 0 0 12px var(--switch-cyan-glow);
}

.switch-btn:hover {
  background: var(--switch-cyan);
  color: #000 !important;
  box-shadow: 0 0 25px var(--switch-cyan-strong);
}

.switch-btn-elite {
  background: var(--switch-cyan);
  color: #000;
}

.switch-btn-elite:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* SWITCH SERIAL CTA */
.switch-serial-cta {
  position: relative;
  z-index: 1;
}

.switch-serial-box {
  border: 1px solid var(--switch-cyan);
  background: rgba(0, 229, 255, 0.03);
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 0 40px var(--switch-cyan-glow);
}

.switch-serial-box h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin: 12px 0 15px;
  color: var(--text-main);
}

.switch-serial-box p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* MODAL SWITCH */
.modal-switch-content {
  border-color: var(--switch-cyan);
  box-shadow: 0 0 40px var(--switch-cyan-glow), 0 0 80px rgba(0,0,0,0.8);
}

.modal-switch-content .modal-header h2 {
  color: var(--switch-cyan);
}

.switch-wa-btn {
  background: var(--switch-cyan) !important;
  color: #000 !important;
  border: none !important;
}

.switch-wa-btn:hover {
  background: #fff !important;
  color: #000 !important;
}

/* ================= BOTÓN FLOTANTE WHATSAPP ================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
  border-radius: 50%;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  background: #111;
  color: #25d366;
  border: 1px solid #25d366;
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(8px);
  border-radius: 2px;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 35px rgba(37, 211, 102, 0.85), 0 0 0 8px rgba(37, 211, 102, 0.08);
  }
}

/* ================= RESPONSIVE SWITCH ================= */
@media (max-width: 768px) {
  .switch-serial-box {
    padding: 35px 20px;
  }
  .switch-badge-row {
    gap: 8px;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}
