.page-tai-xiu {
  background: linear-gradient(180deg, #08162B 0%, #10233F 100%);
  color: #F3F8FF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

/* Hero */
.page-tai-xiu__hero-section {
  padding: 10px 16px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.page-tai-xiu__hero-image-block {
  margin-bottom: 24px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/5;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(79, 168, 255, 0.15);
  border: 1px solid #244D84;
}
.page-tai-xiu__hero-content {
  text-align: center;
  padding-bottom: 32px;
}
.page-tai-xiu__main-title {
  color: #F3F8FF;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 900px;
  margin: 0 auto 16px;
  text-shadow: 0 2px 10px rgba(79, 168, 255, 0.3);
}
.page-tai-xiu__hero-description {
  color: #AFC4E8;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 28px;
}
.page-tai-xiu__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* Buttons */
.page-tai-xiu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}
.page-tai-xiu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}
.page-tai-xiu__btn--secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}
.page-tai-xiu__btn--secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

/* Logo grid section */
.page-tai-xiu__logo-grid-section {
  padding: 0 16px 40px;
}
.page-tai-xiu__grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 280px;
  padding: 20px;
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}
.page-tai-xiu__logo-item:hover {
  box-shadow: 0 8px 25px rgba(79, 168, 255, 0.2);
}
.page-tai-xiu__logo-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: contain;
  border-radius: 8px;
}
.page-tai-xiu__logo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
}
.page-tai-xiu__logo-cta:hover {
  transform: scale(1.05);
}

/* 4+2 layout on desktop */
.page-tai-xiu__logo-item:nth-child(5) {
  grid-column: 2;
}
.page-tai-xiu__logo-item:nth-child(6) {
  grid-column: 3;
}

/* Guide section */
.page-tai-xiu__guide-section {
  padding: 32px 16px 64px;
  background: linear-gradient(180deg, #10233F 0%, #08162B 100%);
  border-top: 1px solid #244D84;
}
.page-tai-xiu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__guide-title {
  text-align: center;
  color: #F3F8FF;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-tai-xiu__guide-intro {
  color: #AFC4E8;
  font-size: 1.1rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}
.page-tai-xiu__guide-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 16px;
  padding: 24px;
}
.page-tai-xiu__guide-steps:nth-child(even) {
  flex-direction: column;
}
.page-tai-xiu__guide-figure {
  width: 100%;
  margin: 0;
}
.page-tai-xiu__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.page-tai-xiu__guide-figure figcaption {
  text-align: center;
  color: #F2C14E;
  font-weight: 600;
  margin-top: 12px;
  font-size: 0.95rem;
}
.page-tai-xiu__guide-content {
  width: 100%;
  color: #AFC4E8;
}
.page-tai-xiu__guide-link {
  color: #4FA8FF;
  text-decoration: underline;
  font-weight: 600;
}
.page-tai-xiu__guide-notes {
  background: #08162B;
  border: 1px solid #244D84;
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
}
.page-tai-xiu__guide-subtitle {
  color: #F3F8FF;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-tai-xiu__guide-list {
  color: #AFC4E8;
  padding-left: 20px;
}
.page-tai-xiu__guide-list li {
  margin-bottom: 10px;
}
.page-tai-xiu__guide-list a {
  color: #4FA8FF;
}

/* FAQ */
.page-tai-xiu__guide-faq {
  margin-top: 40px;
}
.page-tai-xiu__faq-item {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  color: #F3F8FF;
  font-weight: 600;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}
.page-tai-xiu__faq-toggle {
  color: #F2C14E;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.page-tai-xiu__faq-answer {
  color: #AFC4E8;
  padding: 0 24px 18px;
  margin: 0;
}

/* --- Tablet / Mobile --- */
@media (max-width: 1024px) {
  .page-tai-xiu__grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-tai-xiu__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding: 8px 12px 0;
  }
  .page-tai-xiu__hero-image {
    aspect-ratio: 2/1;
  }
  .page-tai-xiu__main-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__hero-description {
    font-size: 1rem;
  }
  .page-tai-xiu__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
  }
  .page-tai-xiu__logo-grid-section {
    padding: 0 12px 32px;
  }
  .page-tai-xiu__grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .page-tai-xiu__logo-item,
  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
    padding: 12px;
  }
  .page-tai-xiu__logo-cta {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  .page-tai-xiu__guide-section {
    padding: 24px 12px 48px;
  }
  .page-tai-xiu__guide-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__guide-intro {
    font-size: 1rem;
  }
  .page-tai-xiu__guide-figure img {
    width: 100%;
    max-width: 100%;
  }
  .page-tai-xiu__guide-steps {
    padding: 16px;
  }
  .page-tai-xiu__guide-notes {
    padding: 18px;
  }

  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }
}