/* =========================================
   CTA / Plataforma Section
   ========================================= */

.cta-section {
  padding: 60px 0 80px;
  background-color: var(--color-white);
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Dark card wrapper */
.cta-card {
  background: linear-gradient(135deg, #060d1f 0%, #0b1f45 50%, #0d2a5e 100%);
  background-image:
    linear-gradient(to right, #060d1f 45%, rgba(6,13,31,0.7) 70%, rgba(6,13,31,0.4) 100%),
    url('../assets/images/complement-platform.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 28px;
  padding: 48px 52px;
  display: block;
  position: relative;
  overflow: hidden;
}

/* Subtle glow blob */
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Left side --- */
.cta-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.cta-eyebrow {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  font-weight: 400;
}

.cta-url {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.cta-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn-dark {
  background-color: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30,58,138,0.4);
}

.cta-btn-blue {
  background-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.4);
}

.cta-login-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.cta-login-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.cta-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex: 1;
  min-width: 240px;
  max-width: 340px;
}

.cta-login-btn:hover {
  background-color: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
}

.cta-login-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* --- Right side (visual mockup) --- */
.cta-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 220px;
  width: 240px;
}

.cta-mockup-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, transparent 70%);
}

.cta-lock {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-lock svg {
  color: rgba(255,255,255,0.5);
}

.cta-panels {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.cta-panel {
  border-radius: 14px;
  padding: 12px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.cta-panel-empresa {
  background: rgba(30,58,138,0.6);
  border: 1px solid rgba(59,130,246,0.2);
  height: 170px;
  width: 85px;
}

.cta-panel-egresado {
  background: rgba(59,130,246,0.5);
  border: 1px solid rgba(96,165,250,0.3);
  height: 130px;
  width: 85px;
}

.cta-panel-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

/* --- Tagline below card --- */
.cta-tagline {
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #1e3a8a;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 1.5rem;
  }
  
  .cta-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    border-radius: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    max-width: 100%;
  }

  .cta-right {
    display: none;
  }
  
  .cta-url {
    font-size: 1.8rem;
  }
  
  .cta-tagline {
    font-size: 1.25rem;
  }
}
