/* Thank You Page Styles */

/* Hero Section */
.thank-you-hero {
  padding: var(--space-40) 0 var(--space-32);
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.3) 0%, rgba(17, 24, 39, 0.3) 100%);
  border-radius: var(--radius-2xl);
}

.thank-you-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.thank-you-hero__icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: var(--space-8);
  display: inline-block;
}

.thank-you-hero__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-8);
  color: #10b981;
}

.thank-you-hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  line-height: 1.6;
}

.thank-you-hero__message {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10b981;
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  margin-top: var(--space-12);
}

.thank-you-hero__message p {
  margin: var(--space-4) 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.thank-you-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-hero__image {
  max-width: 100%;
  height: auto;
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Steps Section */
.thank-you-steps {
  padding: var(--space-32) 0;
}

.thank-you-steps__timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-20);
  position: relative;
}

.timeline-step {
  position: relative;
  padding: var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.2) 0%, rgba(17, 24, 39, 0.2) 100%);
  transition: all 0.3s ease;
}

.timeline-step:hover {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.timeline-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-8);
}

.timeline-step__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.timeline-step__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Support Section */
.thank-you-support {
  padding: var(--space-32) 0;
}

.thank-you-support__grid {
  margin-top: var(--space-16);
}

.thank-you-support-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.support-card-icon {
  font-size: 2.5rem;
  color: #06b6d4;
  margin-bottom: var(--space-6);
}

.thank-you-support-card .card__header {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-8);
}

.thank-you-support-card .card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
}

.thank-you-support-card .card__body {
  flex: 1;
  padding-bottom: var(--space-8);
}

.thank-you-support-card .card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Recommendations Section */
.thank-you-recommendations {
  padding: var(--space-32) 0;
}

.thank-you-recommendations__grid {
  margin-top: var(--space-16);
}

.thank-you-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.thank-you-product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #06b6d4;
}

.thank-you-product-card .card__header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-8);
}

.thank-you-product-card .card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.thank-you-product-card .card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.thank-you-product-card .card__body {
  flex: 1;
  padding-bottom: var(--space-8);
}

.thank-you-product-card .card__body p {
  margin: var(--space-3) 0;
  font-size: var(--font-size-sm);
}

.card-small-text {
  color: #888 !important;
  font-size: var(--font-size-xs) !important;
  font-style: italic;
}

/* CTA Section */
.thank-you-cta {
  padding: var(--space-32);
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: var(--radius-2xl);
  text-align: center;
}

.thank-you-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-cta__inner h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: white;
}

.thank-you-cta__inner > p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  line-height: 1.6;
}

.thank-you-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .thank-you-hero__inner {
    grid-template-columns: 1fr;
  }

  .thank-you-hero__visual {
    order: -1;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .thank-you-hero {
    padding: var(--space-24) 0 var(--space-20);
  }

  .thank-you-hero__title {
    font-size: var(--font-size-2xl);
  }

  .thank-you-hero__subtitle {
    font-size: var(--font-size-base);
  }

  .thank-you-steps__timeline {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    padding: var(--space-8);
  }

  .thank-you-cta {
    padding: var(--space-20);
  }

  .thank-you-cta__inner h2 {
    font-size: var(--font-size-xl);
  }

  .thank-you-cta__actions {
    flex-direction: column;
  }

  .thank-you-cta__actions .button {
    width: 100%;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .thank-you-hero {
    padding: var(--space-16) 0 var(--space-12);
  }

  .thank-you-hero__icon {
    font-size: 3rem;
  }

  .thank-you-hero__title {
    font-size: var(--font-size-xl);
  }

  .thank-you-hero__subtitle {
    font-size: var(--font-size-sm);
  }

  .thank-you-hero__message {
    padding: var(--space-8);
  }

  .thank-you-hero__message p {
    font-size: var(--font-size-xs);
  }

  .timeline-step__number {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-base);
  }

  .timeline-step__title {
    font-size: var(--font-size-base);
  }

  .timeline-step__description {
    font-size: var(--font-size-xs);
  }

  .thank-you-cta {
    padding: var(--space-16);
  }

  .thank-you-cta__inner h2 {
    font-size: var(--font-size-lg);
  }

  .support-card-icon {
    font-size: 2rem;
  }
}
