/* ============================================
   STUDY PARTNER — CTA Banner
   ============================================ */

.cta-banner {
  padding: var(--sp-24) 0;
  background: var(--clr-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--clr-accent);
  opacity: 0.06;
  top: -200px;
  right: -100px;
  filter: blur(80px);
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--clr-sage);
  opacity: 0.06;
  bottom: -200px;
  left: -100px;
  filter: blur(80px);
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
}

.cta-banner__text {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-10);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__form {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: var(--sp-2);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.cta-banner__form:focus-within {
  border-color: var(--clr-accent);
}

.cta-banner__input {
  flex: 1;
  padding: var(--sp-3) var(--sp-5);
  color: var(--clr-white);
  font-size: var(--fs-sm);
}

.cta-banner__input::placeholder {
  color: rgba(255,255,255,0.4);
}

.cta-banner__submit {
  background: var(--clr-accent);
  color: var(--clr-primary);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--dur-normal) var(--ease-out);
}

.cta-banner__submit:hover {
  background: var(--clr-accent-light);
  box-shadow: var(--shadow-glow-accent);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .cta-banner__form {
    flex-direction: column;
    border-radius: var(--radius-xl);
    gap: var(--sp-2);
    padding: var(--sp-3);
  }

  .cta-banner__input {
    width: 100%;
    text-align: center;
  }

  .cta-banner__submit {
    width: 100%;
    text-align: center;
    padding: var(--sp-3) var(--sp-4);
  }
}
