/* style/about.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General styles for the about page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__section {
    padding: 80px 0;
    text-align: center;
}

.page-about__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body bg for sections */
    color: #ffffff;
}

.page-about__light-bg {
    background-color: #2a2a2a; /* Another dark shade for contrast between sections */
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff; /* White text for contrast on dark backgrounds */
    text-transform: uppercase;
    font-weight: bold;
}

.page-about__section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjust top padding for fixed header */
    padding-top: var(--header-offset, 120px);
    background-color: #017439; /* Primary brand color for hero background */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
}

.page-about__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Dark overlay for text readability */
    z-index: 1;
}

.page-about__hero-section .page-about__container {
    position: relative;
    z-index: 2;
    padding-top: 0;
    padding-bottom: 0;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff; /* White text for hero title */
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-about__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #C30808; /* Specific color for register/login type buttons */
    color: #FFFF00; /* Specific color for register/login text */
    border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
    background-color: #e00a0a;
    border-color: #e00a0a;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

/* Video Section */
.page-about__video-section {
    padding: 80px 0;
    background-color: #111; /* Use body background for video section */
    color: #ffffff;
}

.page-about__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.page-about__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

/* Content Grid for sections with text and image */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

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

.page-about__text-content p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-about__text-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-about__text-content li {
    margin-bottom: 8px;
    color: #f0f0f0;
}

.page-about__subsection-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffffff; /* White text for contrast on dark backgrounds */
    font-weight: bold;
}

.page-about__image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: block;
}

/* Service Cards */
.page-about__service-cards,
.page-about__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__card {
    background-color: #2a2a2a; /* Dark background for cards */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ffffff; /* Light text for cards */
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.page-about__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff; /* White text for contrast on dark card backgrounds */
    font-weight: bold;
}

.page-about__card-title a {
    text-decoration: none;
    color: #ffffff; /* Ensure link color is white */
    transition: color 0.3s ease;
}

.page-about__card-title a:hover {
    color: #00c05a;
}

.page-about__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__card-button {
    margin-top: auto;
}

/* Future Points Section */
.page-about__future-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-about__point-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #ffffff;
}

.page-about__point-title {
    font-size: 1.6em;
    color: #ffffff; /* White text for contrast on dark backgrounds */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__point-item p {
    color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: #2a2a2a; /* Dark background for FAQ items */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand primary for question background */
    color: #ffffff; /* White text for question */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #00c05a;
}

.page-about__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #3a3a3a; /* Slightly lighter dark for answer background */
    color: #f0f0f0; /* Light text for answer */
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-about__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-about__faq-answer a {
    color: #00c05a; /* A lighter green for links in dark background */
    text-decoration: none;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-about__cta-section {
    padding: 80px 0;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }

    .page-about__section-title {
        font-size: 2.2em;
    }

    .page-about__content-grid {
        flex-direction: column;
    }

    .page-about__content-grid--reverse {
        flex-direction: column;
    }

    .page-about__text-content,
    .page-about__image-container {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 450px;
    }

    .page-about__hero-title {
        font-size: 2em;
    }

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

    .page-about__section {
        padding: 60px 0;
    }

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__section-description {
        font-size: 1em;
    }
}