/* --- Sección CTA --- */

.cta-section {
  position: relative;
  width: 100%;
  padding: 140px 0;
  background-color: #050505;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Resplandor central de fondo */

.glow-orb-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(74, 144, 226, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* --- Panel de Cristal --- */

.cta-glass-card {
  width: 100%;
  max-width: 900px;
  padding: 60px 40px;
  text-align: center;
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.25);
  border-left-color: rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.03);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

/* Efecto Hover sutil en el panel completo */

.cta-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7), 0 0 50px rgba(74, 144, 226, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

/* --- Tipografía --- */

.cta-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* --- Contenedor de Botones --- */

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Botón Principal --- */

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #4a90e2 0%, #2563eb 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

/* Brillo interior del botón principal */

.btn-primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(159,203,45,0.45), 0 0 20px rgba(148,235,37,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-primary-cta:hover::before {
  left: 100%;
}

.btn-primary-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 5px 15px rgba(148,235,37,0.3);
}

/* --- Botón Secundario --- */

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary-cta:active {
  transform: translateY(0) scale(0.98);
}

/* --- Animaciones de Entrada (Scroll Reveal) --- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .cta-glass-card {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .cta-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .btn-primary-cta, .btn-secondary-cta {
    width: 100%;
    justify-content: center;
  }
}

