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

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
  margin-bottom: 20px;
}

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

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  max-width: 100%;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-about__btn-register:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-about__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-about__btn-login:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #00562a;
}

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

.page-about__btn-primary:hover {
  background-color: #00562a;
  border-color: #00562a;
}

.page-about__content-section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-top: 35px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-about p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #333333;
}

.page-about p a {
  color: #017439;
  text-decoration: underline;
}

.page-about__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__figcaption {
  font-style: italic;
  font-size: 0.95em;
  color: #666666;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #eeeeee;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

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

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__feature-card p {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-about__app-download-cta {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-about__final-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Color Contrast Specific Classes */
.page-about__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-about__light-bg {
  background: #ffffff;
  color: #333333;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about p {
    font-size: 1em;
  }

  .page-about__content-section {
    padding: 40px 0;
  }

  .page-about__features-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

  .page-about__feature-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    padding-bottom: 25px;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Smaller on mobile */
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-about__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-about__content-section {
    padding: 30px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-about p {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
  }

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

  .page-about__feature-title {
    font-size: 1.2em;
  }

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

  .page-about__figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto;
    box-sizing: border-box !important;
  }

  .page-about__figcaption {
    font-size: 0.9em;
    padding: 8px 10px;
  }

  /* 4. 按钮与按钮容器 */
  .page-about__btn,
  .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__app-download-cta,
  .page-about__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure buttons stack vertically */
    gap: 10px !important;
  }

  /* 5. 注册教程与 FAQ 区块 (Not applicable for About Us as per rules, but including general structure for completeness if it were present) */
  /* .page-about__faq-item, .page-about__register-step { margin-bottom: 15px; } */
  /* .page-about__faq-question, .page-about__register-step-title { font-size: 1.2em; } */
}