/* ===== Module: Hero Section ===== */
.page-tai-xiu__hero-section {
  background-color: var(--color-bg-card, #10233F);
  padding-top: 10px;
  padding-bottom: 20px;
}
.page-tai-xiu__hero-image {
  margin-bottom: 16px;
}
.page-tai-xiu__hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
}
.page-tai-xiu__hero-content {
  text-align: center;
}
.page-tai-xiu__hero-title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.3;
  color: #F3F8FF;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.page-tai-xiu__hero-desc {
  color: #AFC4E8;
  line-height: 1.6;
  max-width: 35em;
  margin: 0 auto 18px auto;
}
.page-tai-xiu__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ===== Buttons ===== */
.page-tai-xiu__btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.page-tai-xiu__btn:hover {
  transform: translateY(-2px);
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  box-shadow: 0 6px 18px rgba(43, 115, 246, 0.35);
}
.page-tai-xiu__btn--secondary {
  background: #1D5FD1;
  color: #F3F8FF;
}
.page-tai-xiu__btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 30px;
}

/* ===== Module: About Section ===== */
.page-tai-xiu__about-section {
  padding: 40px 16px;
}
.page-tai-xiu__about-inner,
.page-tai-xiu__trust-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-tai-xiu__about-title,
.page-tai-xiu__section-title,
.page-tai-xiu__guide-title,
.page-tai-xiu__trust-title {
  color: #1D5FD1;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 16px;
}
.page-tai-xiu__about-inner p {
  color: #333333;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== Module: Features Section ===== */
.page-tai-xiu__features-section {
  background-color: #F3F8FF;
  padding: 40px 16px;
}
.page-tai-xiu__section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px auto;
}
.page-tai-xiu__section-desc {
  color: #555555;
}
.page-tai-xiu__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.page-tai-xiu__feature-card {
  background-color: var(--color-bg-card, #10233F);
  border: 1px solid #244D84;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.page-tai-xiu__feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.page-tai-xiu__feature-title {
  font-size: 1.1rem;
  margin: 16px 0 8px 0;
  color: #F3F8FF;
}
.page-tai-xiu__feature-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin: 0;
}

/* ===== Module: Guide Section ===== */
.page-tai-xiu__guide-section {
  padding: 40px 16px;

}
.page-tai-xiu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__guide-intro {
  text-align: center;
  color: #555555;
  max-width: 700px;
  margin: 0 auto 36px auto;
}
.page-tai-xiu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-tai-xiu__guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: #F3F8FF;
  padding: 20px;
  border-radius: 16px;
  border-left: 4px solid #1D5FD1;
}
.page-tai-xiu__guide-number {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #1D5FD1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.page-tai-xiu__guide-content {
  flex: 1;
}
.page-tai-xiu__guide-content p {
  color: #333333;
  line-height: 1.7;
}
.page-tai-xiu__guide-subtitle {
  margin-top: 0;
  margin-bottom: 8px;
  color: #113B7A;
}

/* ===== FAQ ===== */
.page-tai-xiu__faq {
  max-width: 800px;
  margin: 48px auto 0 auto;
}
.page-tai-xiu__faq-title {
  color: #113B7A;
  margin-bottom: 16px;
  text-align: center;
}
.page-tai-xiu__faq-item {
  background: #F3F8FF;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.page-tai-xiu__faq-question {
  cursor: pointer;
  font-weight: 700;
  color: #113B7A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.page-tai-xiu__faq-answer {
  margin: 12px 0 0 0;
  line-height: 1.6;
  color: #333333;
}
.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  font-weight: 400;
}

/* ===== Module: Trust / Logo Grid ===== */
.page-tai-xiu__trust-section {
  padding: 40px 16px;
  background-color: var(--color-bg-card, #10233F);
  border-top: 1px solid #1B3357;
}
.page-tai-xiu__trust-title {
  text-align: center;
  color: #F3F8FF;
}
.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  margin-top: 20px;
}
.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  padding: 20px 12px;
  border: 1px solid #244D84;
  border-radius: 14px;
  background: #08162B;
}
.page-tai-xiu__logo-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}
.page-tai-xiu__logo-cta {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
}
.page-tai-xiu__logo-item:nth-child(5) { grid-column: 2; }
.page-tai-xiu__logo-item:nth-child(6) { grid-column: 3; }

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .page-tai-xiu__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-top: 8px;
  }
  .page-tai-xiu__hero-img {
    aspect-ratio: 2 / 1;
  }
  .page-tai-xiu__hero-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-tai-xiu__logo-item,
  .page-tai-xiu__guide-figure {
    max-width: 100%;
  }
  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-tai-xiu__features-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__guide-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-tai-xiu__guide-step img,
  .page-tai-xiu__guide-step .page-tai-xiu__guide-content {
    max-width: 100%;
  }
  .page-tai-xiu__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__hero-buttons {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-tai-xiu img {
    max-width: 100%;
    height: auto;
  }
}