/* Base Styles for .page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  line-height: 1.6;
  padding-bottom: 40px;
}

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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 18px;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__content-area {
  background: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #FFF1E8;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  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: 50px;
}

.page-about__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-about__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Subtle darkening for text readability */
}

.page-about__hero-content {
  position: relative; /* Ensure content is above image filter */
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over image for visual appeal */
  background: rgba(42, 18, 18, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  border: 1px solid #6A1E1E; /* Border */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #FFB04A; /* Gold gradient start */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-about__description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

/* Buttons */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C;
  transform: translateY(-3px);
}

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

/* Products Grid Section */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-about__product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__product-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__product-title a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-title a:hover {
  color: #FFB04A;
  text-decoration: underline;
}

.page-about__product-description {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: rgba(255, 255, 255, 0.05);
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
  font-size: 16px;
}
.page-about__faq-answer p {
    margin-bottom: 0;
    font-size: 16px;
}

/* CTA Section at bottom */
.page-about__cta-section {
  text-align: center;
  padding: 60px 0;
  background: #0d0808; /* Slightly darker background for contrast */
  border-top: 1px solid #6A1E1E; /* Border */
}

.page-about__cta-content {
  max-width: 900px;
}

.page-about__cta-section .page-about__section-title {
  color: #F3C54D;
  margin-bottom: 20px;
}

.page-about__cta-section .page-about__description {
  font-size: 20px;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .page-about__container {
    padding: 0 15px;
  }

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

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

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-bottom: 30px;
  }
  .page-about__hero-image img {
    object-fit: contain !important; /* Mobile: prevent cropping, show full image */
    aspect-ratio: unset !important; /* Mobile: remove fixed aspect ratio */
    filter: brightness(0.8); /* Less darkening on mobile */
  }
  .page-about__hero-content {
    margin-top: -80px; /* Adjust pull-up for mobile */
    padding: 15px;
  }
  .page-about__main-title {
    font-size: clamp(28px, 8vw, 36px); /* More constrained font size for mobile */
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__content-area,
  .page-about__product-card,
  .page-about__container,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__content-image {
    margin: 20px auto;
  }

  /* 产品展示图区域 */
  .page-about__products-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .page-about__product-card {
    padding: 20px;
  }
  .page-about__product-title {
    font-size: 20px;
  }
  .page-about__product-description {
    font-size: 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-button,
  .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: 12px 20px;
    font-size: 16px;
    margin-left: 0 !important;
  }

  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 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: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* CTA Section */
  .page-about__cta-section {
    padding: 40px 0;
  }
  .page-about__cta-section .page-about__section-title {
    font-size: 24px;
  }
  .page-about__cta-section .page-about__description {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__main-title {
    font-size: clamp(24px, 10vw, 32px);
  }
  .page-about__hero-content {
    margin-top: -60px;
  }
  .page-about__products-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-section .page-about__section-title {
    font-size: 20px;
  }
  .page-about__cta-section .page-about__description {
    font-size: 16px;
  }
}