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

/* Section Padding */
.page-tai-xiu__section-padding {
    padding: 60px 0;
}

/* Container for content width */
.page-tai-xiu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-tai-xiu__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image above content */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using main/accent colors */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-tai-xiu__hero-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and content */
    order: 1; /* Image first in DOM order */
}

.page-tai-xiu__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1200px; /* Max width for the image itself */
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__hero-content {
    order: 2; /* Content second in DOM order */
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-tai-xiu__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-tai-xiu__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit max width for button group */
    margin-left: auto;
    margin-right: auto;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button doesn't overflow */
}

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

.page-tai-xiu__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color for text */
    border: 2px solid #2F6BFF; /* Main color for border */
}

.page-tai-xiu__btn-secondary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-tai-xiu__section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__dark-section .page-tai-xiu__section-title,
.page-tai-xiu__dark-section p,
.page-tai-xiu__dark-section li {
    color: #ffffff;
}

.page-tai-xiu__dark-section {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-tai-xiu__light-bg {
    background-color: #F4F7FB; /* Background */
}

.page-tai-xiu p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-tai-xiu strong {
    color: #2F6BFF; /* Main color */
}

.page-tai-xiu__dark-section strong {
    color: #A5C4FF; /* Glow color for contrast on dark bg */
}

/* Image within content */
.page-tai-xiu__content-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

/* Grid Layout for Rules Section */
.page-tai-xiu__grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-tai-xiu__card {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__dark-section .page-tai-xiu__card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

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

.page-tai-xiu__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F6BFF; /* Main color */
}

.page-tai-xiu__dark-section .page-tai-xiu__card-title {
    color: #A5C4FF; /* Glow color */
}

/* Strategy Grid */
.page-tai-xiu__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-tai-xiu__strategy-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #1F2D3D;
    transition: transform 0.3s ease;
}

.page-tai-xiu__strategy-item:hover {
    transform: translateY(-5px);
}

.page-tai-xiu__strategy-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F6BFF;
}

/* Benefit List */
.page-tai-xiu__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-tai-xiu__benefit-list li {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #1F2D3D;
}

.page-tai-xiu__benefit-list li::before {
    content: '✅'; /* Checkmark icon */
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Registration Guide List */
.page-tai-xiu__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 30px;
}

.page-tai-xiu__step-list li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 1.05rem;
    color: #1F2D3D;
}

.page-tai-xiu__step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Tips List */
.page-tai-xiu__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-tai-xiu__tip-list li {
    background-color: rgba(255, 255, 255, 0.15); /* Transparent white on dark background */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #ffffff;
}

.page-tai-xiu__tip-list li::before {
    content: '💡'; /* Lightbulb icon */
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
    margin-top: 30px;
}

.page-tai-xiu__faq-item {
    background-color: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #1F2D3D;
}

.page-tai-xiu__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    color: #2F6BFF; /* Main color for question */
}

.page-tai-xiu__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Chrome/Safari default marker */
}

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

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become x */
}

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-tai-xiu__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-tai-xiu__cta-final {
    text-align: center;
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-tai-xiu__cta-final .page-tai-xiu__section-title {
    color: #ffffff;
}

.page-tai-xiu__cta-final .page-tai-xiu__cta-buttons {
    margin-bottom: 20px;
}

.page-tai-xiu__disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__section-padding {
        padding: 40px 0;
    }

    .page-tai-xiu__hero-section {
        padding-bottom: 40px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-tai-xiu__hero-description {
        font-size: 1rem;
    }

    .page-tai-xiu__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .page-tai-xiu__strategy-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tai-xiu__hero-section {
        padding-top: 10px; /* Rely on body for header offset */
        padding-bottom: 30px;
        flex-direction: column; /* Ensure vertical stack */
    }

    .page-tai-xiu__hero-image {
        order: 1; /* Image first */
        margin-bottom: 20px;
    }

    .page-tai-xiu__hero-content {
        order: 2; /* Content second */
        padding: 0 20px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-tai-xiu__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-tai-xiu__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        max-width: 100% !important; /* Ensure container takes full width */
        padding: 0 15px; /* Add padding to button container */
        box-sizing: border-box !important;
    }
}