/* Final CTA section */

.final-cta-section {
  position: relative;
  padding: 0;
  display: block;
  background-color: var(--text-main);
  color: #FFFFFF;
  overflow: hidden;
  border-top: 1px solid var(--border-color-dark);
  border-bottom: 1px solid #262626;
}

.final-cta-stripes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 1280px;
  max-width: 1280px;
  margin: 0 auto;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.07) 0,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px,
    transparent 9px
  );
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 954px;
  height: 559px;
  background: url('../assets/final-cta-glow-ellipse.svg') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.final-cta-glow img {
  display: block;
  width: 100%;
  height: 100%;
}

.final-cta-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 128px 48px;
  border-left: 1px solid #262626;
  border-right: 1px solid #262626;
}

.final-cta-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: -1.68px;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0;
}

.final-cta-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.18px;
  color: #BFBFBF;
  max-width: 548px;
  margin: 0;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.096px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.final-cta-btn:active {
  transform: scale(0.97);
}

.final-cta-btn-outline {
  background-color: #171717;
  border-color: #404040;
  color: #FFFFFF;
}

.final-cta-btn-outline:hover {
  background-color: #222222;
}

.final-cta-btn-solid {
  background-color: #FFFFFF;
  border-color: #E5E5E5;
  color: var(--text-main);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.final-cta-btn-solid:hover {
  background-color: #f2f2f2;
}

@media (max-width: 1024px) {
  .final-cta-title {
    font-size: 44px;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .final-cta-container {
    padding: 80px 24px;
  }

  .final-cta-title {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  /* The two sentences flow and balance on phones (the <br> has a space before it) */
  .final-cta-title br {
    display: none;
  }

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

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