:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --body-bg: #F4F7FB; /* This will be overridden by shared.css body background, but useful for context */
    --text-main: #1F2D3D;
    --text-dark: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-tai-xiu {
    background-color: var(--body-bg); /* Use for page-specific background if not relying on body */
    color: var(--text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Intro Section */
.page-tai-xiu__hero-intro-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    padding-bottom: 60px;
    background-color: var(--body-bg); /* Ensure consistent background */
}

.page-tai-xiu__hero-intro-section .page-tai-xiu__container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-tai-xiu__intro-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--text-main);
}

.page-tai-xiu__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-tai-xiu__intro-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-tai-xiu__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
    box-shadow: 0 8px 16px rgba(47, 107, 255, 0.4);
    transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-tai-xiu__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(47, 107, 255, 0.2);
    transform: translateY(-2px);
}

.page-tai-xiu__intro-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-tai-xiu__intro-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* General Section Styling */
.page-tai-xiu__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-tai-xiu__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-main);
    text-align: justify;
}

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

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

/* About Section */
.page-tai-xiu__about-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

/* Guide Section */
.page-tai-xiu__guide-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Dark background */
    color: #ffffff; /* Light text for contrast */
}

.page-tai-xiu__guide-section .page-tai-xiu__section-title,
.page-tai-xiu__guide-section .page-tai-xiu__paragraph,
.page-tai-xiu__guide-section .page-tai-xiu__guide-heading {
    color: #ffffff;
}

.page-tai-xiu__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-tai-xiu__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-tai-xiu__guide-heading {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-tai-xiu__guide-item p {
    color: #f0f0f0;
    margin-bottom: 0;
}

.page-tai-xiu__guide-item a {
    color: var(--secondary-color); /* Lighter blue for links on dark background */
    text-decoration: underline;
}

.page-tai-xiu__guide-item a:hover {
    color: #ffffff;
}

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

/* Strategy Section */
.page-tai-xiu__strategy-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

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

.page-tai-xiu__strategy-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-tai-xiu__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.page-tai-xiu__card-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-tai-xiu__strategy-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-tai-xiu__card-text {
    font-size: 1em;
    color: var(--text-main);
    text-align: left;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-tai-xiu__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-tai-xiu__faq-item {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}