.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* A neutral light background */
}

.page-about__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Fixed header spacing - only 10px top padding for the first section */
.page-about__hero-section {
    padding-top: 10px; /* As per fixed header spacing rule */
    padding-bottom: 40px;
    background-color: #B71C1C; /* Custom background color */
    color: #FFF5E1; /* Main text color for dark backgrounds */
    text-align: center;
}

.page-about__hero-image-wrapper {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF5E1; /* Main text color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-about__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #FFF5E1; /* Main text color */
}

.page-about__hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-text-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box; /* Button responsiveness */
    white-space: normal; /* Button text wrap */
    word-wrap: break-word; /* Button text wrap */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F4D34D; /* Gold border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2), 0 0 15px #FFCC66; /* Glow effect */
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3), 0 0 20px #FFCC66;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background-color: #C91F17; /* Main color */
    color: #FFF5E1; /* Main text color */
    border: 2px solid #E53935; /* Accent color border */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.page-about__btn-secondary:hover {
    background-color: #E53935; /* Accent color */
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.page-about__btn-text-link {
    background: none;
    border: none;
    color: #F4D34D; /* Gold color for text links */
    padding: 5px 0;
    text-align: left;
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
}

.page-about__btn-text-link:hover {
    text-decoration: underline;
    color: #FFCC66; /* Lighter gold on hover */
}

.page-about__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #C91F17; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F4D34D; /* Gold accent */
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333; /* Dark text for light background */
}

/* Intro Section */
.page-about__intro-section {
    background-color: #ffffff; /* White background for contrast */
}

.page-about__info-card-wrapper {
    display: flex;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.page-about__info-card {
    flex: 1;
    min-width: 300px;
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    border: 1px solid #7A0E0E; /* Deep Red border */
    text-align: center;
}

.page-about__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold for titles on dark cards */
}

.page-about__card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF5E1; /* Text Main color */
}

/* Why Choose Section */
.page-about__why-choose-section {
    background-color: #f0f0f0; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

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

.page-about__feature-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-about__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-about__feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #C91F17; /* Main color */
}

.page-about__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

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

/* Commitment Section */
.page-about__commitment-section {
    background-color: #ffffff;
}

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

.page-about__commitment-item {
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    border: 1px solid #7A0E0E; /* Deep Red border */
}

.page-about__item-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold for titles on dark cards */
}

.page-about__item-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF5E1; /* Text Main color */
}

/* Future Section */
.page-about__future-section {
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1; /* Text Main color */
}

.page-about__future-section .page-about__section-title {
    color: #F4D34D; /* Gold for titles on dark background */
}

.page-about__future-section .page-about__text-block {
    color: #FFF5E1; /* Text Main color */
}

.page-about__container-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-about__future-content {
    flex: 1;
}

.page-about__future-image-wrapper {
    flex: 1;
    max-width: 50%; /* Adjust as needed */
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-about__future-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Button responsiveness */
}

/* Dark background text color */
.page-about__dark-bg {
    background-color: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
}

/* Light background text color */
.page-about__light-bg {
    background-color: #f0f0f0;
    color: #333333;
}


/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        padding-bottom: 30px;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .page-about__hero-description {
        font-size: 1.1rem;
    }

    .page-about__section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .page-about__info-card-wrapper {
        gap: 20px;
    }

    .page-about__info-card {
        padding: 25px;
    }

    .page-about__feature-image {
        height: 180px;
    }

    .page-about__feature-item {
        padding: 20px;
    }

    .page-about__commitment-item {
        padding: 25px;
    }

    .page-about__container-flex {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .page-about__future-image-wrapper {
        max-width: 100%;
        max-height: 350px;
    }

    .page-about__future-content {
        text-align: center;
    }

    .page-about__cta-buttons {
        justify-content: center;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. 顶区标题 + 双 CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Fixed header spacing - only 10px top padding */
        padding-bottom: 25px;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-about__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__hero-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to button container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* 2. 单栏长文容器 */
    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section-spacing {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-about__text-block {
        font-size: 0.95rem;
    }

    .page-about__info-card-wrapper {
        flex-direction: column;
        gap: 20px;
        margin: 25px 0;
    }

    .page-about__info-card {
        min-width: unset; /* Remove min-width for mobile */
        padding: 20px;
    }

    .page-about__card-title {
        font-size: 1.3rem;
    }

    /* 3. 通用图片与 figure */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__feature-grid {
        grid-template-columns: 1fr; /* Single column for features */
        gap: 20px;
    }

    .page-about__feature-image {
        height: 160px; /* Adjust height for mobile */
    }

    .page-about__feature-item {
        padding: 15px;
    }

    .page-about__commitment-grid {
        grid-template-columns: 1fr; /* Single column for commitments */
        gap: 20px;
    }

    .page-about__commitment-item {
        padding: 20px;
    }

    /* 4. 按钮与按钮容器 */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__cta-center {
        margin-top: 25px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-about__future-image-wrapper {
        max-width: 100%;
        max-height: 250px;
    }

    /* 5. 注册教程与 FAQ 区块 */
    .page-about h3 {
        font-size: 1.2rem;
    }
    .page-about p, .page-about li {
        font-size: 0.95rem;
    }
}