/* Thank You Page Styles */

/* Hero Section */
.thank-you-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-icon {
  margin-bottom: var(--space-24);
}

.thank-you-checkmark {
  width: 100px;
  height: 100px;
  color: var(--color-success);
  margin: 0 auto;
  display: block;
  animation: checkmark-bounce 0.6s ease-out;
}

@keyframes checkmark-bounce {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.thank-you-container h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-text);
  margin-bottom: var(--space-12);
  animation: fade-in-up 0.6s ease-out 0.2s backwards;
}

.thank-you-subtitle {
  font-size: var(--font-size-2xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-24);
  animation: fade-in-up 0.6s ease-out 0.4s backwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content */
.thank-you-content {
  margin-bottom: var(--space-32);
  animation: fade-in-up 0.6s ease-out 0.6s backwards;
}

.thank-you-content p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-24);
}

/* Info Section */
.thank-you-info {
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  margin-bottom: var(--space-24);
}

.thank-you-info h2 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-16);
}

.thank-you-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thank-you-steps li {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.thank-you-steps li:last-child {
  margin-bottom: 0;
}

.thank-you-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), #36a2ff);
  color: white;
  border-radius: var(--radius-pill);
  font-weight: 700;
  flex-shrink: 0;
}

.thank-you-steps li div {
  flex: 1;
}

.thank-you-steps li strong {
  display: block;
  font-size: var(--font-size-md);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.thank-you-steps li p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Contacts */
.thank-you-contacts {
  text-align: left;
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  margin-bottom: var(--space-24);
}

.thank-you-contacts h2 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-12);
}

.thank-you-contacts p {
  margin-bottom: var(--space-16);
  margin-left: 0;
  margin-right: 0;
}

.thank-you-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thank-you-contact-list li {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

.thank-you-contact-list li:last-child {
  margin-bottom: 0;
}

.thank-you-contact-list strong {
  color: var(--color-primary);
  font-weight: 600;
}

.thank-you-contact-list a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.thank-you-contact-list a:hover {
  color: #36a2ff;
}

/* Actions */
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  justify-content: center;
  animation: fade-in-up 0.6s ease-out 0.8s backwards;
}

/* Info Section Grid */
.thank-you-info-section {
  background: var(--color-background);
}

.thank-you-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-20);
}

.thank-you-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.thank-you-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.thank-you-card-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-12);
  line-height: 1;
}

.thank-you-card h3 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: 0 0 var(--space-8) 0;
}

.thank-you-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-normal);
}

/* FAQ Section */
.thank-you-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-16);
}

.thank-you-faq-item {
  padding: var(--space-20);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.thank-you-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.thank-you-faq-item h3 {
  font-size: var(--font-size-md);
  color: var(--color-text);
  margin: 0 0 var(--space-8) 0;
}

.thank-you-faq-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-normal);
}

/* CTA Section */
.thank-you-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-cta-content h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-12);
}

.thank-you-cta-content p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-24);
  line-height: var(--line-height-relaxed);
}

.thank-you-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  justify-content: center;
}

/* Utilities */
.text-center {
  text-align: center;
}

.btn-lg {
  padding: var(--space-12) var(--space-24);
  font-size: var(--font-size-md);
}

/* Responsive Design */
@media (max-width: 768px) {
  .thank-you-container h1 {
    font-size: var(--font-size-2xl);
  }

  .thank-you-subtitle {
    font-size: var(--font-size-xl);
  }

  .thank-you-checkmark {
    width: 80px;
    height: 80px;
  }

  .thank-you-info,
  .thank-you-contacts {
    text-align: center;
  }

  .thank-you-steps li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-12);
  }

  .thank-you-step-number {
    order: -1;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
  }

  .thank-you-cta-actions {
    flex-direction: column;
  }

  .thank-you-cta-actions .btn {
    width: 100%;
  }

  .thank-you-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-faq-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-cta-content h2 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 480px) {
  .thank-you-container h1 {
    font-size: var(--font-size-xl);
  }

  .thank-you-subtitle {
    font-size: var(--font-size-lg);
  }

  .thank-you-checkmark {
    width: 60px;
    height: 60px;
  }

  .thank-you-info,
  .thank-you-contacts {
    padding: var(--space-16);
  }

  .thank-you-card-icon {
    font-size: 2rem;
  }

  .thank-you-contact-list li {
    font-size: var(--font-size-xs);
  }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
  .thank-you-info,
  .thank-you-faq-item {
    background: var(--gray-800);
    border-color: var(--gray-700);
  }

  .thank-you-contacts {
    background: rgba(31, 126, 214, 0.1);
  }
}
