#primary-cta {
  background: radial-gradient(
    129.6% 155.79% at -31.15% 26.4%,
    rgba(0, 235, 193, 0) 86.55%,
    #00e7e7 100%
  );
  padding: 56px;
  border-radius: 4px;
  position: relative;
  transition: background 1s;
  overflow: hidden;
}

.cta-container {
  max-width: 765px;
  margin: 0 auto;
  text-align: center;
}

.cta-container > div > h2 {
  margin-bottom: 4px;
}

.cta-subtitle {
  color: var(--gray-800);
}

.button-group {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .button-group {
    flex-direction: column;
  }
}

.gradient {
  opacity: 0;
  background: radial-gradient(
    491.45% 141.42% at -0% 0%,
    #3ffff3 16.15%,
    #00e7e7 93.75%
  );
  background-size: 400% 400%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: opacity 0.5s;
}

#primary-cta:hover > .gradient {
  opacity: 1;
}

#primary-cta:hover .cta-subtitle {
  opacity: 0.8;
}

@media only screen and (max-width: 768px) {
  .button-group {
    flex-direction: column;
  }

  .gradient {
    opacity: 1;
  }
}
