.page-tai-xiu {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
}

.page-tai-xiu__section-padding {
  padding: 60px 20px;
}

.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Rely on shared for body padding, add small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFF3E6;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Adjust to slightly overlap image for visual flow */
  background: rgba(13, 14, 18, 0.85); /* Semi-transparent dark background for text readability */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-tai-xiu__tagline {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-outline,
.page-tai-xiu__btn-outline-dark {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-tai-xiu__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-tai-xiu__btn-secondary:hover {
  background: #FF8C1A;
  color: #17191F;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFB04D;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-tai-xiu__section-title--light {
  color: #FFF3E6;
}

.page-tai-xiu__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-tai-xiu__text-block--light {
  color: #FFF3E6;
}

.page-tai-xiu__text-block--small {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 30px;
}

.page-tai-xiu__highlight-text {
  color: #FFB04D;
  font-weight: 700;
}

.page-tai-xiu__highlight-text--light {
  color: #FFB04D;
  font-weight: 700;
}

.page-tai-xiu__highlight-text--dark {
  color: #D96800;
  font-weight: 700;
}

.page-tai-xiu__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-tai-xiu__image-wrapper--center {
  display: flex;
  justify-content: center;
}

.page-tai-xiu__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__dark-section {
  background-color: #17191F;
  color: #FFF3E6;
}

.page-tai-xiu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__step-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: 1px solid #A84F0C;
}

.page-tai-xiu__step-title {
  font-size: 1.4rem;
  color: #FFB04D;
  margin-bottom: 15px;
}

.page-tai-xiu__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-tai-xiu__btn-outline {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  margin-top: auto;
}

.page-tai-xiu__btn-outline:hover {
  background: #FF8C1A;
  color: #0D0E12;
}

.page-tai-xiu__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__feature-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

.page-tai-xiu__feature-title {
  font-size: 1.3rem;
  color: #FFB04D;
  margin-bottom: 15px;
}

.page-tai-xiu__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-tai-xiu__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-tai-xiu__strategy-item {
  background-color: #0D0E12;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__strategy-subtitle {
  font-size: 1.2rem;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-tai-xiu__strategy-subtitle--light {
  color: #FFA53A;
}

.page-tai-xiu__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__promo-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-tai-xiu__promo-title {
  font-size: 1.3rem;
  color: #FFB04D;
  margin-bottom: 15px;
}

.page-tai-xiu__promo-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-tai-xiu__btn-outline-dark {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  margin-top: auto;
}

.page-tai-xiu__btn-outline-dark:hover {
  background: #FFA53A;
  color: #17191F;
}

.page-tai-xiu__link {
  color: #FFB04D;
  text-decoration: none;
  font-weight: 600;
}

.page-tai-xiu__link:hover {
  text-decoration: underline;
}

.page-tai-xiu__text-block--center {
  text-align: center;
}

.page-tai-xiu__faq-list {
  margin-top: 40px;
}

.page-tai-xiu__faq-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFB04D;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-tai-xiu__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}

.page-tai-xiu__faq-qtext {
  flex-grow: 1;
  color: #FFF3E6;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  content: "-";
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-tai-xiu__faq-answer p {
  margin-bottom: 10px;
}

.page-tai-xiu__cta-buttons--center {
  margin-top: 50px;
  text-align: center;
}

/* General image and container responsive styles */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-tai-xiu__section,
.page-tai-xiu__card,
.page-tai-xiu__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-tai-xiu__section-padding {
    padding: 30px 15px;
  }

  .page-tai-xiu__hero-content {
    padding: 20px;
    margin-top: -50px;
  }

  .page-tai-xiu__main-title {
    font-size: 2rem;
  }

  .page-tai-xiu__tagline {
    font-size: 0.95rem;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-outline,
  .page-tai-xiu__btn-outline-dark,
  .page-tai-xiu a[class*="button"],
  .page-tai-xiu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tai-xiu__cta-buttons,
  .page-tai-xiu__button-group,
  .page-tai-xiu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-tai-xiu__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-tai-xiu__text-block {
    font-size: 0.9rem;
  }

  .page-tai-xiu__steps-grid,
  .page-tai-xiu__features-grid,
  .page-tai-xiu__promo-grid,
  .page-tai-xiu__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__step-card,
  .page-tai-xiu__feature-card,
  .page-tai-xiu__promo-card,
  .page-tai-xiu__strategy-item {
    padding: 20px;
  }

  .page-tai-xiu__step-title,
  .page-tai-xiu__feature-title,
  .page-tai-xiu__promo-title,
  .page-tai-xiu__strategy-subtitle {
    font-size: 1.2rem;
  }

  .page-tai-xiu__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-tai-xiu__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px;
  }

  /* Mandatory image responsive styles */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}