/* ===== Base ===== */
.page-tai-xiu__hero-section,
.page-tai-xiu__trust-section,
.page-tai-xiu__intro-section,
.page-tai-xiu__network-section,
.page-tai-xiu__feature-section,
.page-tai-xiu__guide-section,
.page-tai-xiu__faq-section {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu {
  color: #F2FFF6;
  background-color: #08160F;
  line-height: 1.7;
  padding-bottom: 24px;
}

/* ===== Hero ===== */
.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(87, 227, 141, 0.3);
}

.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 16px;
  box-sizing: border-box;
  text-align: center;
}

.page-tai-xiu__hero-title {
  color: #F2FFF6;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__hero-desc {
  color: #A7D9B8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu__cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #2E7A4E;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(87, 227, 141, 0.5);
}

.page-tai-xiu__cta-btn--alt {
  background: transparent;
  border: 2px solid #57E38D;
  color: #57E38D;
}

.page-tai-xiu__cta-btn--alt:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
}

/* ===== Trust bar ===== */
.page-tai-xiu__trust-section {
  padding: 14px 16px;
}

.page-tai-xiu__trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 12px 20px;
}

.page-tai-xiu__trust-item {
  color: #A7D9B8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Intro ===== */
.page-tai-xiu__intro-section {
  padding: 28px 16px;
}

.page-tai-xiu__intro-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
}

.page-tai-xiu__intro-logo {
  flex: 0 0 100%;
  max-width: 400px;
  aspect-ratio: 2/1;
  object-fit: contain;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.page-tai-xiu__intro-content {
  flex: 1 1 300px;
}

.page-tai-xiu__section-title {
  color: #F2FFF6;
  font-weight: 800;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 18px;
}

.page-tai-xiu__intro-content p {
  color: #A7D9B8;
  margin: 0;
  text-align: left;
}

/* ===== Logo grid ===== */
.page-tai-xiu__network-section {
  padding: 12px 16px;
}

.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 16px auto 0;
}

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  background: #11271B;
  border: 1px solid #1E3A2A;
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.page-tai-xiu__logo-item:hover {
  border-color: #57E38D;
}

.page-tai-xiu__logo-image {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 2/1;
  object-fit: contain;
  display: block;
}

.page-tai-xiu__logo-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__logo-cta:hover {
  box-shadow: 0 0 14px rgba(87, 227, 141, 0.6);
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
  .page-tai-xiu__hero-image {
    aspect-ratio: 2/1;
  }
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ===== Feature ===== */
.page-tai-xiu__feature-section {
  padding: 40px 16px 24px;
}

.page-tai-xiu__section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-tai-xiu__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.page-tai-xiu__feature-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-tai-xiu__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.page-tai-xiu__feature-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__feature-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-tai-xiu__feature-body h3 {
  color: #F2FFF6;
  margin: 0;
}

.page-tai-xiu__feature-body p {
  color: #A7D9B8;
  margin: 0;
  flex: 1;
}

.page-tai-xiu__text-link {
  color: #57E38D;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-tai-xiu__text-link:hover {
  border-bottom-color: #57E38D;
  color: #F2FFF6;
}

/* ===== Guide ===== */
.page-tai-xiu__guide-section {
  padding: 24px 16px 48px;
}

.page-tai-xiu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 20px;
}

.page-tai-xiu__guide-step {
  background: #11271B;
  border: 1px solid #1E3A2A;
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.page-tai-xiu__guide-number {
  position: absolute;
  top: -10px;
  left: 18px;
  background: #0A4B2C;
  color: #F2C14E;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 2px 12px;
  border: 1px solid #2E7A4E;
}

.page-tai-xiu__guide-figure {
  margin: 0;
}

.page-tai-xiu__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.page-tai-xiu__guide-figure figcaption {
  color: #A7D9B8;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 8px;
}

.page-tai-xiu__guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== FAQ ===== */
.page-tai-xiu__faq-section {
  padding: 24px 16px;
  background: linear-gradient(180deg, #08160F 0%, #0A4B2C 100%);
}

.page-tai-xiu__faq-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  color: #A7D9B8;
}

.page-tai-xiu__faq-item summary {
  color: #F2FFF6;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* ===== Mobile responsive overrides ===== */
@media (max-width: 768px) {
  .page-tai-xiu__intro-inner {
    flex-direction: column;
    text-align: center;
  }
  .page-tai-xiu__section-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__hero-title {
    font-size: 1.2rem;
  }
  .page-tai-xiu__cta-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    padding: 12px 16px;
  }
  .page-tai-xiu__logo-cta {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  .page-tai-xiu__logo-item {
    padding: 12px;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-tai-xiu__guide-actions {
    flex-direction: column;
  }
  .page-tai-xiu__guide-actions .page-tai-xiu__cta-btn {
    width: 100%;
  }
}

/* ===== Tablet wrapper ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-tai-xiu__guide-figure img {
    max-width: 90%;
  }
}