.thank-you-page {
  position: relative;
}

.thank-you-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
}

.thank-you-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 22px 60px rgba(20, 25, 35, 0.12);
  position: relative;
  overflow: hidden;
  animation: thank-you-rise 700ms ease-out both;
}

.thank-you-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 215, 140, 0.6), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.thank-you-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #2a3240;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.thank-you-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7d4a;
  display: inline-block;
}

.thank-you-header {
  margin-top: 20px;
}

.thank-you-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 42px;
  line-height: 1.08;
  margin: 12px 0 18px;
  color: #11131b;
}

.thank-you-lede {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 17px;
  color: #4a5261;
  margin: 0;
}

.thank-you-steps {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.thank-you-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.thank-you-step-number {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #8b94a7;
}

.thank-you-step-text {
  font-size: 16px;
  color: #212733;
}

.thank-you-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.thank-you-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: #559da4;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.thank-you-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.18);
  color: #fff;
}

.thank-you-link {
  font-size: 14px;
  color: var(--ast-global-color-2);
  text-decoration: none;
}

.thank-you-link:hover {
  text-decoration: underline;
}

.thank-you-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(140deg, #0f172a, #203a5f, #2f7d4a);
  color: #ffffff;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: thank-you-fade 800ms ease-out both;
}

.thank-you-panel::before,
.thank-you-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.thank-you-panel::before {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -60px;
}

.thank-you-panel::after {
  width: 140px;
  height: 140px;
  bottom: -40px;
  right: -40px;
}

.thank-you-panel-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.thank-you-panel-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.thank-you-panel-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.thank-you-body {
  margin: 36px auto 0;
  max-width: 980px;
  font-size: 16px;
  color: #323949;
}

@keyframes thank-you-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes thank-you-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .thank-you-wrap {
    grid-template-columns: 1fr;
  }

  .thank-you-card {
    padding: 36px 28px;
  }

  .thank-you-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .thank-you-wrap {
    padding: 48px 16px 60px;
  }

  .thank-you-title {
    font-size: 28px;
  }

  .thank-you-step {
    grid-template-columns: 1fr;
  }

  .thank-you-step-number {
    font-size: 11px;
  }
}
