/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */

.thank-you-main {
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  padding: var(--space-16) 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.thank-you-hero {
  padding: var(--space-16) 0;
}

.thank-you-content {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.success-animation {
  margin-bottom: var(--space-12);
  animation: slideDown 0.8s ease-out;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-8);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  box-shadow: 0 0 30px rgba(5, 150, 105, 0.5);
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkmark-circle svg {
  width: 70%;
  height: 70%;
  stroke: #fff;
  animation: drawCheckmark 0.6s ease-out 0.3s both;
}

@keyframes drawCheckmark {
  0% {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    opacity: 0;
  }
  100% {
    stroke-dasharray: 50;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ==========================================================================
   Confirmation Message
   ========================================================================== */
.confirmation-message {
  background: var(--bg-surface);
  border-left: 4px solid var(--secondary);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin: var(--space-12) auto;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  box-shadow: 0 0 15px rgba(5, 150, 105, 0.1);
}

.confirmation-message p {
  color: var(--text-main);
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-4);
}

.confirmation-message p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Next Steps Section
   ========================================================================== */
.next-steps-section {
  margin: var(--space-16) 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-12);
  color: var(--text-main);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid rgba(157, 0, 255, 0.2);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: default;
  animation: fadeInUp 0.8s ease-out both;
}

.step-card:nth-child(1) { animation-delay: 0.4s; }
.step-card:nth-child(2) { animation-delay: 0.5s; }
.step-card:nth-child(3) { animation-delay: 0.6s; }

.step-card:hover {
  border-color: var(--primary);
  background: var(--bg-surface-alt);
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.2);
  transform: translateY(-5px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-4);
}

.step-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--text-main);
}

.step-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(157, 0, 255, 0.1);
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  margin: var(--space-16) auto;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact-description {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.contact-options {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-normal);
}

.contact-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.contact-btn i {
  font-size: var(--text-lg);
}

/* ==========================================================================
   CTA Buttons
   ========================================================================== */
.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  margin-top: var(--space-12);
}

.btn {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 25px rgba(157, 0, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #08a76a;
  box-shadow: 0 0 25px rgba(5, 150, 105, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
  background: var(--bg-surface);
  padding: var(--space-16) 0;
  margin-top: var(--space-16);
  border-top: 1px solid rgba(157, 0, 255, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}

.trust-item {
  text-align: center;
  padding: var(--space-8);
  animation: fadeInUp 0.8s ease-out both;
}

.trust-item:nth-child(1) { animation-delay: 0.5s; }
.trust-item:nth-child(2) { animation-delay: 0.6s; }
.trust-item:nth-child(3) { animation-delay: 0.7s; }
.trust-item:nth-child(4) { animation-delay: 0.8s; }

.trust-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.1), rgba(5, 150, 105, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--primary);
  transition: all var(--transition-normal);
}

.trust-item:hover .trust-icon {
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.2), rgba(5, 150, 105, 0.2));
  transform: scale(1.1);
  color: var(--secondary);
}

.trust-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--text-main);
}

.trust-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.flex-wrap {
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .checkmark-circle {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .confirmation-message {
    padding: var(--space-6);
  }

  .contact-options {
    flex-direction: column;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .thank-you-hero {
    padding: var(--space-8) 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .checkmark-circle {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .confirmation-message p {
    font-size: var(--text-base);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-hero {
    padding: var(--space-6) 0;
  }

  .trust-section {
    padding: var(--space-8) 0;
  }
}
