/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */

.thank-you-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.thank-you-wrapper {
  text-align: center;
  max-width: 700px;
  animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.5);
  }
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(176, 38, 255, 0.1));
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  margin-bottom: var(--space-8);
  font-size: 60px;
  color: var(--color-primary);
  animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), pulse 2s ease-in-out infinite;
}

.thank-you-hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  font-weight: 600;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
}

.hero-description strong {
  color: var(--color-primary);
  font-weight: 700;
}

.confirmation-details {
  padding: var(--space-6);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  margin-top: var(--space-6);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.confirmation-details p {
  margin-bottom: 0;
}

.confirmation-details strong {
  color: var(--color-primary);
}

/* ==========================================================================
   Next Steps Section
   ========================================================================== */

.next-steps {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.next-steps h2 {
  position: relative;
  padding-bottom: var(--space-4);
}

.next-steps h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-bg-surface);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  transition: all var(--trans-base);
}

.card:hover .step-number {
  background-color: var(--color-primary);
  color: var(--color-bg-base);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card p {
  margin-bottom: var(--space-4);
  min-height: 80px;
}

/* ==========================================================================
   CTA Cards
   ========================================================================== */

.cta-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cta-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.quick-links li a {
  display: inline-block;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-surface);
  border-left: 3px solid var(--color-primary);
  transition: all var(--trans-fast);
}

.quick-links li a:hover {
  background-color: var(--color-bg-surface-hover);
  color: var(--color-primary);
  border-left-color: var(--color-secondary);
  transform: translateX(4px);
}

/* ==========================================================================
   Social Links
   ========================================================================== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-text-secondary);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  transition: all var(--trans-fast);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-base);
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

/* ==========================================================================
   FAQ Card
   ========================================================================== */

.faq-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-8);
}

.faq-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.faq-card p {
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   Interactive Card Base
   ========================================================================== */

.interactive-card {
  padding: var(--space-6);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
  transition: left var(--trans-base);
  pointer-events: none;
}

.interactive-card:hover::before {
  left: 100%;
}

.interactive-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-4px);
}

.interactive-card h3 {
  position: relative;
  z-index: 1;
}

.interactive-card p {
  position: relative;
  z-index: 1;
}

.interactive-card a {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Spacing Utilities
   ========================================================================== */

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-6 {
  margin-top: var(--space-6);
}

/* ==========================================================================
   Utility Classes from Base
   ========================================================================== */

.text-center {
  text-align: center;
}

.text-neon {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  display: inline-block;
  margin-top: var(--space-2);
  transition: color var(--trans-fast), text-shadow var(--trans-fast);
}

.text-neon:hover {
  color: var(--color-primary-hover);
  text-shadow: var(--glow-primary);
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */

.reveal {
  animation: revealUp 0.7s ease-out;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .thank-you-hero {
    min-height: 50vh;
    padding: var(--space-4);
  }

  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
    margin-bottom: var(--space-6);
  }

  .thank-you-hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .confirmation-details {
    padding: var(--space-4);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: var(--text-xl);
  }

  .cta-card {
    padding: var(--space-4);
  }

  .faq-card {
    padding: var(--space-4);
  }

  .next-steps h2 {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 640px) {
  .d-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .confirmation-details p {
    font-size: var(--text-sm);
  }

  .social-links {
    justify-content: center;
  }
}
