/* General styles for the about page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main color */
    background: #B71C1C; /* Background color */
}

.page-about__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-about__dark-section {
    background: #7A0E0E; /* Deep Red for darker sections */
}

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

.page-about__section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD86A; /* Gold-like for titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-about__hero-image {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop to fill space */
    display: block;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: 52px;
    font-weight: 800;
    color: #FFCC66; /* Glow color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-about__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    color: #FFF5E1;
}

.page-about__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: none;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    border: 2px solid #F2B544; /* Border color */
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #C91F17; /* Main color on hover */
}

/* Introduction Section */
.page-about__introduction-section .page-about__text-block {
    text-align: left;
    max-width: 100%;
}

/* Vision & Mission Section */
.page-about__grid-two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__card {
    background: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #F2B544; /* Border color */
}

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

.page-about__card-image {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD86A; /* Gold-like for card titles */
    line-height: 1.3;
}

.page-about__card p {
    font-size: 16px;
    line-height: 1.7;
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-about__value-item {
    padding: 25px;
    background: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
}

.page-about__value-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD86A; /* Gold-like for value titles */
}

/* History Section */
.page-about__history-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-about__history-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-about__history-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.page-about__history-text p {
    margin-bottom: 15px;
    font-size: 17px;
}

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

.page-about__team-member {
    padding: 25px;
    background: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
}

.page-about__team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #FFD86A; /* Gold border */
}

.page-about__member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFD86A; /* Gold-like for names */
}

.page-about__member-role {
    font-size: 16px;
    font-weight: 600;
    color: #FFF5E1;
    margin-bottom: 15px;
}

.page-about__member-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #FFF5E1;
}

/* Security Section */
.page-about__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
    text-align: left;
    padding: 30px;
}

.page-about__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD86A; /* Gold-like for feature titles */
}

.page-about__feature-item a {
    color: #FFD86A;
    text-decoration: underline;
}
.page-about__feature-item a:hover {
    color: #FFCC66;
}

/* Responsibility Section */
.page-about__responsibility-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__point-item {
    background: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
    text-align: left;
    padding: 30px;
}

.page-about__point-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD86A; /* Gold-like for point titles */
}

.page-about__point-item a {
    color: #FFD86A;
    text-decoration: underline;
}
.page-about__point-item a:hover {
    color: #FFCC66;
}

/* Why Choose Section */
.page-about__why-choose-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__why-choose-list li {
    background: #D32F2F; /* Card BG color */
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 17px;
    color: #FFF5E1;
    border-left: 5px solid #FFD86A; /* Gold accent */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__list-highlight {
    color: #FFD86A; /* Gold for highlights */
}

.page-about__cta-bottom {
    margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-section {
    padding-bottom: 80px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 12px; /* Increased border-radius */
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #D32F2F; /* Card BG color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #C91F17; /* Main color on hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px; /* Increased font size */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold-like for question text */
}
.page-about__faq-toggle {
  font-size: 28px; /* Increased icon size */
  font-weight: bold;
  color: #FFD86A; /* Gold-like for toggle icon */
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  width: 30px; /* Increased width */
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #C91F17; /* Main color for answer background */
  border-radius: 0 0 12px 12px; /* Match item border-radius */
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
}
.page-about__faq-answer p {
    margin-top: 10px;
}

/* Contact CTA Section */
.page-about__contact-cta {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-about__contact-cta .page-about__section-title {
    margin-bottom: 20px;
}

.page-about__contact-cta .page-about__text-block {
    font-size: 18px;
    margin-bottom: 40px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 34px;
    }
    .page-about__main-title {
        font-size: 44px;
    }
    .page-about__hero-description {
        font-size: 20px;
    }
    .page-about__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-about__history-content {
        flex-direction: column;
        text-align: center;
    }
    .page-about__history-image,
    .page-about__history-text {
        max-width: 100%;
    }
    .page-about__history-text {
        text-align: center;
    }
}

@media (max-width: 849px) {
    .page-about__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .page-about__hero-image {
        height: auto;
        margin-bottom: 20px;
    }
    .page-about__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
    .page-about__main-title {
        font-size: clamp(32px, 9vw, 40px);
        margin-bottom: 15px;
    }
    .page-about__hero-description {
        font-size: 18px;
        margin-bottom: 25px;
    }
    .page-about__hero-cta {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-about__text-block {
        font-size: 16px;
        text-align: left;
    }

    /* 产品展示图区域 (General grid rule for non-homepage) */
    .page-about__grid-two-cols,
    .page-about__values-grid,
    .page-about__team-grid,
    .page-about__security-features,
    .page-about__responsibility-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-about__section-title-wrap {
        text-align: center;
    }
    .page-about__article-body {
        max-width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-about__article-figure {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    /* 按钮与按钮容器 */
    .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__hero-cta,
    .page-about__cta-bottom,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
        gap: 15px;
    }

    /* FAQ Section */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 16px;
    }
    .page-about__faq-toggle {
        font-size: 24px;
        margin-left: 10px;
        width: 25px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
}