/* =========================================
   1. VARIABLES Y BASE
   ========================================= */
:root {
  --bg-dark: #050507;
  --bg-card: #0a0a0f;
  --bg-card-hover: #12121c;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --neon-blue: #00f0ff;
  --neon-purple: #bd00ff;
  --neon-green: #00ff88;
  --neon-red: #ff3366;
  --gradient-neon: linear-gradient(
    135deg,
    var(--neon-blue),
    var(--neon-purple)
  );
  --font-primary: "Inter", sans-serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --border-color: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden; /* Importante para evitar desbordes */
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  overflow-wrap: break-word;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 1.5rem;
}

svg,
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   2. NAVBAR Y BOTONES
   ========================================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  z-index: 1001;
  position: relative;
}
.logo-accent {
  color: transparent;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
}
.nav-menu {
  display: flex;
  gap: 2rem;
}
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}
.btn-navbar {
  border: 1px solid var(--border-color);
  background: transparent;
}
.btn-navbar:hover {
  border-color: var(--neon-blue);
  background: rgba(0, 240, 255, 0.05);
  color: var(--neon-blue);
  box-shadow:
    0 0 20px rgba(0, 240, 255, 0.4),
    inset 0 0 10px rgba(0, 240, 255, 0.2);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}
.btn-glow {
  background: var(--gradient-neon);
  color: #fff;
  box-shadow: 0 0 20px rgba(189, 0, 255, 0.3);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}
.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* =========================================
   3. HERO (INICIO) & ANIMACIÓN
   ========================================= */
.hero-section {
  padding: 10rem 0 6rem;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.text-gradient {
  color: transparent;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.trust-points {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.trust-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}
.check-icon {
  color: var(--neon-blue);
  font-weight: bold;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}
.tech-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.core-node {
  width: 90px;
  height: 90px;
  background: var(--bg-dark);
  border: 2px solid var(--neon-purple);
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 0 40px var(--neon-purple),
    inset 0 0 20px rgba(189, 0, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}
.inner-core {
  width: 35px;
  height: 35px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--neon-blue);
  animation: pulse-core 2s infinite alternate;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.3);
}
.orbit-1 {
  width: 220px;
  height: 220px;
  animation: spin 12s linear infinite;
}
.orbit-2 {
  width: 350px;
  height: 350px;
  animation: spin 18s linear infinite reverse;
  border: 1px solid rgba(189, 0, 255, 0.15);
}
.satellite {
  width: 12px;
  height: 12px;
  background: var(--neon-blue);
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: 50%;
  box-shadow: 0 0 15px var(--neon-blue);
}
.sat-2 {
  background: var(--neon-purple);
  box-shadow: 0 0 15px var(--neon-purple);
  top: auto;
  bottom: -6px;
}
.data-stream {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-blue),
    transparent
  );
  height: 2px;
  width: 150px;
  opacity: 0;
  z-index: 1;
}
.line-1 {
  top: 20%;
  left: 10%;
  animation: shoot 3s infinite;
  transform: rotate(30deg);
}
.line-2 {
  bottom: 20%;
  right: 10%;
  animation: shoot 4s infinite 1.5s;
  transform: rotate(-30deg);
}
.floating-badge {
  position: absolute;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}
.badge-1 {
  top: 15%;
  left: 0;
  border-left: 3px solid var(--neon-blue);
}
.badge-2 {
  bottom: 15%;
  right: 0;
  border-left: 3px solid var(--neon-purple);
  animation-delay: 2s;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse-core {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}
@keyframes shoot {
  0% {
    transform: translateX(-100px) scaleX(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200px) scaleX(1);
    opacity: 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* =========================================
   4. ESTRUCTURA DE SECCIONES (GLOBAL)
   ========================================= */
section {
  padding: 6rem 0;
  width: 100%;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.center-cta {
  text-align: center;
  margin-top: 4rem;
}

/* =========================================
   5. PUNTOS DE DOLOR (¿Te suena familiar?)
   ========================================= */
.pain-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pain-list {
  width: 100%;
}
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.cross-icon {
  background: rgba(189, 0, 255, 0.15);
  color: var(--neon-purple);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 3px;
}
.pain-visual {
  background: var(--gradient-neon);
  border-radius: 20px;
  padding: 2px;
  position: relative;
}
.glass-overlay {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 3rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.glass-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* =========================================
   6. PROCESOS Y SERVICIOS (CAJAS NEÓN SVG)
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.process-card,
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.process-card:hover,
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}
.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  display: block;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.process-card:hover .step-number {
  -webkit-text-stroke: 1px var(--neon-purple);
  color: rgba(189, 0, 255, 0.1);
}

.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 10px;
  margin-right: 15px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: all 0.3s ease;
}
.svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--neon-blue);
  transition: all 0.3s ease;
}
.service-card:hover .svc-icon {
  background: var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-blue);
}
.service-card:hover .svc-icon svg {
  stroke: var(--bg-dark);
}

h3.step-title,
h3.service-card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #fff;
}
p.step-desc,
p.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   7. ESTADÍSTICAS
   ========================================= */
.stats-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* =========================================
   8. TESTIMONIO
   ========================================= */
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(189, 0, 255, 0.3);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(189, 0, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-text {
  font-size: 1.4rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
}
.author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-purple);
  background: var(--bg-dark);
}
.author-name {
  font-size: 1.1rem;
}
.author-title {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.btn-read-case {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--neon-blue);
  border-radius: 50px;
  color: var(--neon-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-read-case:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* =========================================
   9. SECCIÓN CASO DE ÉXITO (PÁGINA INTERNA) - CORREGIDA
   ========================================= */
.case-study-section {
  border-top: 1px dashed var(--border-color);
  padding: 4rem 0 8rem;
}
.cs-header {
  margin-bottom: 4rem;
}
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 5rem;
}
.cs-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}
.cs-stat-num {
  font-size: 4.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cs-stat-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.before-after-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.ba-box {
  flex: 1;
  padding: 2rem;
  border-radius: 12px;
}
.before-box {
  border: 1px solid rgba(255, 51, 102, 0.3);
  background: rgba(255, 51, 102, 0.03);
}
.after-box {
  border: 1px solid rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.03);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.05);
}
.ba-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.badge-red {
  background: rgba(255, 51, 102, 0.1);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
}
.badge-green {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}
.cross-icon-small {
  font-weight: bold;
  margin-right: 5px;
}
.check-icon-small {
  font-weight: bold;
  margin-right: 5px;
}
.ba-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.ba-list li::before {
  content: "•";
  margin-right: 10px;
  font-size: 1.5rem;
}
.before-box .ba-list li::before {
  color: var(--neon-red);
}
.after-box .ba-list li {
  color: #fff;
}
.after-box .ba-list li::before {
  color: var(--neon-green);
}
.ba-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.arrow-glow {
  font-size: 2.5rem;
  color: var(--neon-blue);
  text-shadow: 0 0 15px var(--neon-blue);
  animation: pulse-core 2s infinite alternate;
}

.cs-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.cs-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.cs-card:hover .svc-icon {
  background: var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-blue);
}
.cs-card:hover .svc-icon svg {
  stroke: var(--bg-dark);
}

.cs-card-highlight {
  background: rgba(189, 0, 255, 0.05);
  border: 1px solid rgba(189, 0, 255, 0.3);
}
.cs-card-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(189, 0, 255, 0.1);
  border-color: rgba(189, 0, 255, 0.5);
}
.cs-card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #fff;
}
.cs-card p {
  color: var(--text-muted);
  font-size: 1rem;
}
.cs-card-highlight p {
  color: #fff;
}

.cs-quote-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border-left: 4px solid var(--neon-blue);
}
.quote-text-small {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* =========================================
   10. COMPARACIÓN (SÍ/NO)
   ========================================= */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.comp-box {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.comp-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.yes-title {
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}
.no-title {
  color: var(--neon-red);
  text-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}
.comp-box ul li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}
.comp-box ul li::before {
  content: "•";
  font-size: 1.5rem;
  line-height: 1;
}
.box-yes ul li::before {
  color: var(--neon-green);
}
.box-no ul li::before {
  color: var(--neon-red);
}

/* =========================================
   11. FAQ
   ========================================= */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
  transform: translateX(5px);
}
.faq-question {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   12. FINAL CTAs
   ========================================= */
.final-cta-card {
  background:
    linear-gradient(to right, rgba(10, 10, 15, 0.9), rgba(18, 18, 28, 0.9)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="40" stroke="%2300f0ff" stroke-width="2" fill="none"/></svg>');
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  width: 100%;
}
.final-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.final-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.final-terms-wrapper {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.final-terms-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.term-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.term-badge:hover {
  border-color: var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}
.term-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--neon-blue);
}

.scarcity-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(255, 51, 102, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 51, 102, 0.3);
}
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-red);
  animation: pulse-red 1.5s infinite;
}
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 51, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
  }
}

.simple-cta-section {
  padding: 8rem 0;
  border-top: 1px dashed var(--border-color);
  background: radial-gradient(
    circle at center,
    rgba(189, 0, 255, 0.05) 0%,
    transparent 70%
  );
  width: 100%;
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  background: #020203;
  width: 100%;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}
.footer-logo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
}

.footer-links p {
  color: var(--text-muted);
}
.footer-bottom {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =========================================
   14. RESPONSIVE (ARREGLOS MÓVILES PERFECTOS) - CORREGIDA
   ========================================= */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  .trust-points {
    align-items: center;
  }

  .hero-visual {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }
  .tech-canvas-wrapper {
    transform: scale(0.8);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  /* AQUÍ SE APILA EL BLOQUE DE ANTES/DESPUÉS VERTICALMENTE */
  .before-after-container {
    flex-direction: column; /* Apilar cajas verticalmente */
    padding: 2rem;
    gap: 1rem;
    align-items: center;
  }
  .ba-box {
    width: 100%;
    padding: 1.5rem;
  }

  /* Corregir la flecha para que apunte hacia abajo */
  .ba-arrow {
    transform: rotate(90deg); /* Flecha apuntando hacia abajo */
    margin: 1.5rem 0;
    font-size: 2rem;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pain-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pain-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .pain-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }
  .pain-list li {
    text-align: left;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Configuración del Menú de Hamburguesa */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 1000;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 1.5rem;
    margin: 15px 0;
  }
  .btn-navbar {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Animación de las 3 rayitas a la X */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2rem !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
  }

  .tech-canvas-wrapper {
    transform: scale(0.65);
    height: 350px;
  }

  .process-card,
  .service-card,
  .cs-card {
    padding: 1.5rem;
  }
  .comp-box {
    padding: 2rem 1.5rem;
  }
  .testimonial-card {
    padding: 2.5rem 1.5rem;
  }
  .final-cta-card {
    padding: 3rem 1.5rem;
  }

  .cs-stat-num {
    font-size: 3.5rem;
  }

  /* Ajuste para que las píldoras del botón no se aplasten */
  .final-terms-wrapper {
    width: 100%;
    align-items: center;
  }
  .final-terms-badges {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0.8rem;
  }
  .term-badge {
    width: 100%;
    justify-content: center;
  }
  .scarcity-alert {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 1rem;
    line-height: 1.4;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem !important;
  }
  .stat-number,
  .cs-stat-num {
    font-size: 3rem !important;
  }
}

/* =========================================
   15. MODAL (VENTANA FLOTANTE DE RESERVAS)
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-container {
  background: var(--bg-card);
  width: 90%;
  max-width: 900px;
  height: 85vh;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
  position: relative;
  transform: translateY(50px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--neon-red);
  text-shadow: 0 0 10px var(--neon-red);
}

.modal-content {
  padding: 40px 10px 10px;
  flex-grow: 1;
  display: flex;
  width: 100%;
  height: 100%;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  border-radius: 12px;
  filter: invert(1) hue-rotate(180deg);
}
