/* ============================================
   THANK YOU PAGE - DESIGN SYSTEM STRUCTURE
   ============================================ */

/* ========================================
   HIDE DEFAULT WORDPRESS FOOTER
   ======================================== */

#site-footer,
.site-footer,
footer#site-footer {
  display: none !important;
}

/* ========================================
   COMPONENT WRAPPER
   ======================================== */

/* Component Wrapper - Handles max-width */
.asl-component-wrapper.asl-thank-you-wrapper {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0;
}

/* ========================================
   SECTION - FULL WIDTH BREAKOUT
   ======================================== */

/* Apply full-width breakout to ALL screen sizes */
body .asl-thank-you-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
}

/* Main Section - Design System Variables */
.asl-thank-you-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--padding-desktop) var(--padding-sides-desktop) 0
    var(--padding-sides-desktop);
  background: linear-gradient(135deg, #faf8f3 0%, #edf2f7 100%);
  position: relative;
  font-family: var(--font-body);
}

/* Tablet Section Padding */
@media (max-width: 1024px) {
  .asl-thank-you-section {
    padding: var(--padding-tablet) var(--padding-sides-desktop) 0
      var(--padding-sides-desktop);
  }
}

/* Mobile Section Padding */
@media (max-width: 768px) {
  .asl-thank-you-section {
    padding: var(--padding-mobile) var(--padding-sides-mobile) 0
      var(--padding-sides-mobile);
  }
}

/* ========================================
   HEADER NAVIGATION
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 0;
}

.asl-thank-you-wrapper .asl-thank-you-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asl-thank-you-wrapper .asl-thank-you-logo__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-terracotta);
  border-radius: var(--border-radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--weight-bold);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(199, 124, 93, 0.3);
}

.asl-thank-you-wrapper .asl-thank-you-logo__text {
  display: flex;
  flex-direction: column;
}

.asl-thank-you-wrapper .asl-thank-you-logo__tagline {
  font-size: var(--font-caption);
  color: var(--color-gold);
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asl-thank-you-wrapper .asl-thank-you-logo__name {
  font-size: 20px;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
}

.asl-thank-you-wrapper .asl-thank-you-return-btn {
  padding: 13px 28px;
  background: transparent;
  border: 2px solid var(--color-navy);
  border-radius: var(--border-radius-full);
  color: var(--color-navy);
  font-size: var(--font-caption);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.asl-thank-you-wrapper .asl-thank-you-return-btn:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}

/* ========================================
   CONTAINER
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-container {
  max-width: 900px;
  margin: 80px auto 0;
  text-align: center;
  width: 100%;
}

/* ========================================
   SUCCESS ICON
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--gradient-sage);
  border-radius: 50%;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(74, 93, 79, 0.3);
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.asl-thank-you-wrapper .asl-thank-you-success-icon.visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.asl-thank-you-wrapper .asl-thank-you-check-icon {
  width: 60px;
  height: 60px;
  color: var(--color-white);
}

/* ========================================
   MAIN TITLE (H1)
   ======================================== */

.asl-thank-you-title {
  font-family: var(--font-display) !important;
  font-size: var(--font-h1) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--line-height-h1) !important;
  letter-spacing: var(--letter-spacing-h1) !important;
  color: var(--color-navy) !important;
  margin: 0 0 24px 0 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.asl-thank-you-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile H1 */
@media (max-width: 768px) {
  .asl-thank-you-title {
    font-size: var(--font-h1-mobile) !important;
  }
}

/* ========================================
   DIVIDER
   ======================================== */

.asl-thank-you-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-terracotta);
  margin: 0 auto 32px;
  opacity: 0;
  transition: all 0.6s ease 0.4s;
}

.asl-thank-you-divider.visible {
  opacity: 1;
}

/* ========================================
   SUBTITLE
   ======================================== */

.asl-thank-you-subtitle {
  font-family: var(--font-body) !important;
  font-size: 24px !important;
  font-weight: var(--weight-semibold) !important;
  color: var(--color-slate) !important;
  margin: 0 0 16px 0 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.6s;
}

.asl-thank-you-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   INTRO TEXT
   ======================================== */

.asl-thank-you-intro {
  font-family: var(--font-body) !important;
  font-size: var(--font-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--line-height-body) !important;
  letter-spacing: var(--letter-spacing-body) !important;
  color: var(--color-charcoal) !important;
  line-height: 1.7;
  margin: 0 0 60px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.8s;
}

.asl-thank-you-intro.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Body Text */
@media (max-width: 768px) {
  .asl-thank-you-intro {
    font-size: var(--font-body-mobile) !important;
  }
}

/* ========================================
   STEPS CONTAINER
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-steps {
  background: var(--color-white);
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 1s;
  margin-bottom: 0;
}

.asl-thank-you-wrapper .asl-thank-you-steps.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   STEPS TITLE (H2)
   ======================================== */

.asl-thank-you-steps-title {
  font-family: var(--font-body) !important;
  font-size: var(--font-h2) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--line-height-h2) !important;
  letter-spacing: var(--letter-spacing-h2) !important;
  color: var(--color-navy) !important;
  text-align: center;
  margin: 0 0 50px 0 !important;
}

/* Mobile H2 */
@media (max-width: 768px) {
  .asl-thank-you-steps-title {
    font-size: var(--font-h2-mobile) !important;
  }
}

/* ========================================
   STEP ITEMS
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  opacity: 0.3;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.asl-thank-you-wrapper .asl-thank-you-step:last-child {
  margin-bottom: 0;
}

.asl-thank-you-wrapper .asl-thank-you-step.active {
  opacity: 1;
  transform: translateX(0);
}

.asl-thank-you-wrapper .asl-thank-you-step__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #e0e0e0;
  border-radius: var(--border-radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.5s ease;
}

.asl-thank-you-wrapper .asl-thank-you-step.active .asl-thank-you-step__icon {
  background: var(--gradient-terracotta);
  box-shadow: 0 4px 16px rgba(199, 124, 93, 0.3);
}

.asl-thank-you-wrapper .asl-thank-you-step__icon svg {
  width: 24px;
  height: 24px;
}

.asl-thank-you-wrapper .asl-thank-you-step__content {
  flex: 1;
}

/* ========================================
   STEP TITLE (H3)
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-step__title {
  font-family: var(--font-body) !important;
  font-size: var(--font-h3) !important;
  font-weight: var(--weight-medium) !important;
  line-height: var(--line-height-h3) !important;
  letter-spacing: var(--letter-spacing-h3) !important;
  color: var(--color-navy) !important;
  margin: 0 0 8px 0 !important;
}

/* Mobile H3 */
@media (max-width: 768px) {
  .asl-thank-you-wrapper .asl-thank-you-step__title {
    font-size: var(--font-h3-mobile) !important;
  }
}

/* ========================================
   STEP DESCRIPTION
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-step__description {
  font-family: var(--font-body) !important;
  font-size: var(--font-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--line-height-body) !important;
  letter-spacing: var(--letter-spacing-body) !important;
  color: var(--color-charcoal) !important;
  line-height: 1.6;
  margin: 0 !important;
}

/* Mobile Body Text */
@media (max-width: 768px) {
  .asl-thank-you-wrapper .asl-thank-you-step__description {
    font-size: var(--font-body-mobile) !important;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */

.asl-thank-you-wrapper .asl-thank-you-cta {
  margin-top: 60px;
  padding: 50px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.05) 0%,
    rgba(198, 161, 91, 0.05) 100%
  );
  border-radius: 16px;
  border: 2px solid rgba(198, 161, 91, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 1.2s;
  text-align: center;
}

.asl-thank-you-wrapper .asl-thank-you-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.asl-thank-you-wrapper .asl-thank-you-cta__icon {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  margin: 0 auto 20px;
  display: block;
}

.asl-thank-you-wrapper .asl-thank-you-cta__icon svg {
  width: 40px;
  height: 40px;
}

.asl-thank-you-wrapper .asl-thank-you-cta__title {
  font-family: var(--font-body) !important;
  font-size: 24px !important;
  font-weight: var(--weight-semibold) !important;
  color: var(--color-navy) !important;
  margin: 0 0 16px 0 !important;
}

.asl-thank-you-wrapper .asl-thank-you-cta__description {
  font-family: var(--font-body) !important;
  font-size: var(--font-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--line-height-body) !important;
  color: var(--color-charcoal) !important;
  line-height: 1.6;
  margin: 0 0 30px 0 !important;
}

/* Mobile Body Text */
@media (max-width: 768px) {
  .asl-thank-you-wrapper .asl-thank-you-cta__description {
    font-size: var(--font-body-mobile) !important;
  }
}

.asl-thank-you-wrapper .asl-thank-you-cta__button {
  display: inline-block;
  padding: var(--button-padding-primary);
  background: var(--button-primary-bg);
  color: var(--color-white);
  font-size: var(--button-font-size);
  font-weight: var(--weight-semibold);
  border-radius: var(--border-radius-full);
  text-decoration: none;
  box-shadow: var(--button-shadow);
  transition: var(--transition-fast);
  cursor: pointer;
}

.asl-thank-you-wrapper .asl-thank-you-cta__button:hover {
  background: var(--button-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

/* ========================================
   FOOTER
   ======================================== */

.asl-thank-you-footer {
  width: 100%;
  margin: 80px 0 0 0;
  padding: 40px 0 40px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-charcoal);
  font-size: var(--font-caption);
}

.asl-thank-you-footer__text {
  margin: 0;
  font-family: var(--font-body);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .asl-thank-you-wrapper .asl-thank-you-container {
    margin-top: 60px;
  }

  .asl-thank-you-wrapper .asl-thank-you-steps {
    padding: 50px 40px;
  }

  .asl-thank-you-wrapper .asl-thank-you-cta {
    padding: 40px 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .asl-thank-you-wrapper .asl-thank-you-header-nav {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .asl-thank-you-wrapper .asl-thank-you-container {
    margin-top: 40px;
  }

  .asl-thank-you-wrapper .asl-thank-you-success-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
  }

  .asl-thank-you-wrapper .asl-thank-you-check-icon {
    width: 50px;
    height: 50px;
  }

  .asl-thank-you-wrapper .asl-thank-you-steps {
    padding: 40px 25px;
  }

  .asl-thank-you-wrapper .asl-thank-you-step {
    gap: 16px;
    margin-bottom: 30px;
  }

  .asl-thank-you-wrapper .asl-thank-you-step__icon {
    width: 48px;
    height: 48px;
  }

  .asl-thank-you-wrapper .asl-thank-you-cta {
    margin-top: 40px;
    padding: 30px 20px;
  }

  .asl-thank-you-footer {
    margin: 60px 0 0 0;
    padding: 30px 0 30px 0;
  }
}
