/* ==========================================================================
   LearnSphere - Section Call To Action Styles
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-cta {
  padding: 80px 0;
  position: relative;
  background-color: var(--light);
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  border-radius: 24px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cta-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}

.cta-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  color: var(--brand);
}

.btn-outline-white {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.cta-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.guarantee-item {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guarantee-item i {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .cta-card {
    padding: 50px 24px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
  }

  .cta-guarantees {
    flex-direction: column;
    gap: 12px;
  }
}


.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
