/* ========================================================================== */
/* Thank You Page Styles                                                     */
/* ========================================================================== */

/* Hero Section */
.thank-you-hero {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
  border-bottom: 3px solid #3fa46a;
  text-align: center;
}

.thank-you-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}

.thank-you-hero__icon {
  font-size: 80px;
  color: #3fa46a;
  margin-bottom: var(--space-16);
  animation: checkmark-bounce 0.8s ease-out;
}

@keyframes checkmark-bounce {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.thank-you-hero__inner h1 {
  font-size: var(--font-size-4xl);
  color: #ffd60a;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.thank-you-hero__subtitle {
  font-size: var(--font-size-2xl);
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 500;
}

.thank-you-hero__message {
  max-width: 600px;
  padding: var(--space-24);
  background: rgba(47, 127, 79, 0.1);
  border: 2px solid #3fa46a;
  border-radius: var(--radius-lg);
  margin: var(--space-12) 0;
}

.thank-you-hero__message p {
  color: var(--color-text);
  font-size: var(--font-size-base);
  margin: var(--space-8) 0;
  line-height: var(--line-height-snug);
}

.thank-you-hero__message strong {
  color: #ffd60a;
}

/* Info Cards */
.thank-you-hero__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-20);
  margin: var(--space-32) 0;
  width: 100%;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: #3fa46a;
  box-shadow: 0 15px 35px rgba(63, 164, 106, 0.2);
}

.info-card__icon {
  font-size: 48px;
  color: #ffd60a;
  margin-bottom: var(--space-12);
  display: inline-block;
}

.info-card h3 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: var(--space-12) 0;
  font-weight: 700;
}

.info-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  margin: 0;
}

/* Actions */
.thank-you-hero__actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-24);
}

/* What's Next Section */
.thank-you-next {
  background-color: var(--color-background);
}

.steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  margin-top: var(--space-40);
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #3fa46a 0%, transparent 100%);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-24);
  position: relative;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3fa46a 0%, #2f7f4f 100%);
  border-radius: var(--radius-full);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px rgba(63, 164, 106, 0.4);
  position: relative;
  z-index: 10;
}

.step__content {
  padding: var(--space-20);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step__content h3 {
  font-size: var(--font-size-lg);
  color: #ffd60a;
  margin: 0 0 var(--space-8) 0;
  font-weight: 700;
}

.step__content p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: var(--space-6) 0;
  line-height: var(--line-height-snug);
}

.step__timing {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border-subtle);
  color: #ffd60a !important;
  font-weight: 600;
  font-size: var(--font-size-xs);
}

.step__timing i {
  margin-right: var(--space-6);
}

/* FAQ Section */
.thank-you-faq {
  background-color: var(--color-background);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-20);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: #3fa46a;
  box-shadow: 0 8px 24px rgba(63, 164, 106, 0.2);
}

.faq-item[open] {
  background: var(--color-surface-alt);
  border-color: #ffd60a;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  list-style: none;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__question {
  color: #ffd60a;
  flex-grow: 1;
  text-align: left;
}

.faq-item i {
  color: #ffd60a;
  transition: transform var(--transition-normal);
  font-size: var(--font-size-lg);
}

.faq-item[open] i {
  transform: rotate(180deg);
}

.faq-item__answer {
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.faq-item__answer p {
  margin: var(--space-8) 0;
}

/* Community Section */
.thank-you-community {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.community-cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-32);
  align-items: center;
  margin: var(--space-40) 0;
  background: linear-gradient(135deg, rgba(63, 164, 106, 0.1), rgba(255, 214, 10, 0.05));
  border: 2px solid #3fa46a;
  border-radius: var(--radius-lg);
  padding: var(--space-32);
}

.community-cta__content h3 {
  font-size: var(--font-size-2xl);
  color: #ffd60a;
  margin: 0 0 var(--space-12) 0;
  font-weight: 700;
}

.community-cta__content p {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  margin: 0 0 var(--space-20) 0;
  line-height: var(--line-height-relaxed);
}

.community-cta__icon {
  font-size: 120px;
  color: #ffd60a;
  opacity: 0.15;
  text-align: center;
}

.social-links {
  text-align: center;
  margin-top: var(--space-40);
}

.social-links p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-16);
  font-size: var(--font-size-sm);
}

.social-links__icons {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-surface);
  border: 2px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  color: #ffd60a;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-link:hover {
  background: #3fa46a;
  border-color: #3fa46a;
  color: white;
  transform: translateY(-4px);
}

/* Support Section */
.thank-you-support {
  background-color: var(--color-background);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.support-option {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  transition: all var(--transition-normal);
}

.support-option:hover {
  border-color: #3fa46a;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(63, 164, 106, 0.2);
}

.support-option__icon {
  font-size: 48px;
  color: #ffd60a;
  margin-bottom: var(--space-12);
  display: inline-block;
}

.support-option h3 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: var(--space-12) 0;
  font-weight: 700;
}

.support-option__contact {
  color: #ffd60a;
  font-weight: 600;
  font-size: var(--font-size-base);
  margin: var(--space-8) 0;
}

.support-option p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: 0;
}

.thank-you-support__cta {
  text-align: center;
  margin-top: var(--space-40);
}

/* Final CTA Section */
.thank-you-final-cta {
  background: linear-gradient(135deg, #2f7f4f 0%, #244e38 50%, #0b1410 100%);
  border-top: 3px solid #ffd60a;
}

.thank-you-final-cta__inner {
  text-align: center;
  padding: var(--space-48) var(--space-16);
}

.thank-you-final-cta__inner h2 {
  font-size: var(--font-size-4xl);
  color: #ffd60a;
  margin: 0 0 var(--space-12) 0;
  font-weight: 700;
}

.thank-you-final-cta__inner p {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: 0 0 var(--space-24) 0;
}

.thank-you-final-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.button--large {
  padding: var(--space-12) var(--space-24);
  font-size: var(--font-size-base);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .thank-you-hero__inner h1 {
    font-size: var(--font-size-3xl);
  }

  .thank-you-hero__icon {
    font-size: 60px;
  }

  .thank-you-hero__actions {
    flex-direction: column;
  }

  .thank-you-hero__actions .button {
    width: 100%;
  }

  .thank-you-hero__info-cards {
    grid-template-columns: 1fr;
  }

  .steps-timeline::before {
    left: 30px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: var(--space-16);
  }

  .step__number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }

  .community-cta {
    grid-template-columns: 1fr;
  }

  .community-cta__icon {
    font-size: 80px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-final-cta__actions {
    flex-direction: column;
  }

  .thank-you-final-cta__actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .thank-you-hero__inner h1 {
    font-size: var(--font-size-2xl);
  }

  .thank-you-hero__icon {
    font-size: 48px;
  }

  .info-card h3 {
    font-size: var(--font-size-base);
  }

  .step__content h3 {
    font-size: var(--font-size-base);
  }

  .thank-you-final-cta__inner h2 {
    font-size: var(--font-size-2xl);
  }

  .community-cta {
    padding: var(--space-16);
  }

  .community-cta__icon {
    font-size: 60px;
  }

  .support-option__icon {
    font-size: 36px;
  }
}
