.page-tai-xiu {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main for light body background #F4F7FB */
  background-color: #F4F7FB;
  line-height: 1.6;
}

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #F4F7FB;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
}

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

.page-tai-xiu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for visual effect, but text is below */
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, #FFFFFF 50%);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__hero-cta-buttons,
.page-tai-xiu__final-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-tai-xiu__btn-secondary:hover {
  background: #F4F7FB;
  color: #2558CC;
  border-color: #2558CC;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.1);
}

.page-tai-xiu__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-tai-xiu__btn-large {
  padding: 16px 32px;
  font-size: 1.1em;
}

.page-tai-xiu__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #1F2D3D;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

.page-tai-xiu p {
  margin-bottom: 1em;
  color: #1F2D3D;
}

.page-tai-xiu__figure {
  margin: 40px auto;
  max-width: 680px;
  text-align: center;
}

.page-tai-xiu__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

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

.page-tai-xiu__info-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: #1F2D3D;
}

.page-tai-xiu__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tai-xiu__card-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__step-list,
.page-tai-xiu__tip-list,
.page-tai-xiu__advantage-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-tai-xiu__step-item,
.page-tai-xiu__tip-item,
.page-tai-xiu__advantage-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #2F6BFF;
  color: #1F2D3D;
}

.page-tai-xiu__step-title,
.page-tai-xiu__tip-title,
.page-tai-xiu__advantage-title {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-tai-xiu__faq-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #1F2D3D;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #eee;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg);
}

.page-tai-xiu__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  border-top: 1px solid #eee;
}

.page-tai-xiu__faq-answer p {
  margin-bottom: 1em;
}

.page-tai-xiu__faq-answer .page-tai-xiu__btn-secondary {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }
  .page-tai-xiu__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
  }
  .page-tai-xiu__hero-description {
    font-size: 1em;
  }
  .page-tai-xiu__section-title {
    font-size: clamp(1.6em, 2.5vw, 2.2em);
  }
  .page-tai-xiu__info-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    margin-bottom: 30px;
  }
  .page-tai-xiu__hero-image-wrapper {
    max-height: 400px;
  }
  .page-tai-xiu__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 10px;
  }
  .page-tai-xiu__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 10px;
  }
  .page-tai-xiu__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-tai-xiu__hero-cta-buttons,
  .page-tai-xiu__final-cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .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;
  }

  /* 2. 单栏长文容器 */
  .page-tai-xiu__article-wrap {
    padding: 0 15px 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tai-xiu__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-tai-xiu__info-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-tai-xiu__info-card,
  .page-tai-xiu__step-item,
  .page-tai-xiu__tip-item,
  .page-tai-xiu__advantage-item {
    padding: 20px;
  }
  .page-tai-xiu__card-title,
  .page-tai-xiu__step-title,
  .page-tai-xiu__tip-title,
  .page-tai-xiu__advantage-title {
    font-size: 1.2em;
  }

  /* 3. 通用图片与 figure */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-tai-xiu__figure {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px; /* Add small padding to figures */
  }

  /* 4. 按钮与按钮容器 (already covered in top-cta, ensuring global application) */

  /* 5. 注册教程与 FAQ 区块 */
  .page-tai-xiu__step-list,
  .page-tai-xiu__tip-list,
  .page-tai-xiu__advantage-list {
    gap: 15px;
    margin: 20px 0 30px;
  }
  .page-tai-xiu__faq-list {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .page-tai-xiu__faq-item {
    margin-bottom: 10px;
  }
  .page-tai-xiu__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-tai-xiu__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}