/* style/about.css */

/* Base Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css #0a0a0a */
}

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

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__brand-name {
  font-weight: bold;
  color: #26A9E0;
}

.page-about__text-link {
  color: #EA7C07; /* Login color for text links */
  text-decoration: underline;
}

.page-about__text-link:hover {
  text-decoration: none;
}

/* Hero Section */
.page-about__hero-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Call to Action Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-about__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-about__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

/* About Us Intro Section */
.page-about__about-us-intro {
  padding: 60px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__text-block {
  grid-area: text;
}

.page-about__content-grid--reverse .page-about__image-block {
  grid-area: image;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__value-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
  color: inherit;
}

.page-about__value-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-about__image-block {
  text-align: center;
}

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

/* Product Showcase Section */
.page-about__product-showcase {
  padding: 80px 0;
  text-align: center;
}

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

.page-about__product-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  overflow: hidden;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

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

.page-about__product-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #26A9E0;
}

.page-about__product-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-about__product-description {
  font-size: 1em;
  color: #555555;
}

/* Customer Experience Section */
.page-about__customer-experience {
  padding: 80px 0;
  text-align: center;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  overflow: hidden;
}

.page-about__feature-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-about__promotions {
  padding: 80px 0;
  text-align: center;
}

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

.page-about__promo-card {
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
}

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

.page-about__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.page-about__promo-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-about__conclusion {
  padding: 80px 0;
  text-align: center;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  margin: 0;
  color: #26A9E0;
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-about__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
}

/* Responsive Styles */

/* For screens up to 1024px (tablets) */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-about__subsection-title {
    font-size: 1.6em;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__content-grid--reverse {
    grid-template-areas: unset;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 80%;
    max-width: 350px;
  }

  .page-about__product-grid,
  .page-about__feature-grid,
  .page-about__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* For screens up to 768px (mobile) */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding: 60px 0 !important;
    padding-top: var(--header-offset, 120px) !important; /* Fallback if shared doesn't set body padding */
  }

  .page-about__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-about__hero-description {
    font-size: 0.9em !important;
    margin-bottom: 30px !important;
    padding: 0 10px;
  }

  /* 产品展示图区域 & 通用图片与容器 */
  .page-about__product-grid {
    grid-template-columns: 1fr !important; /* Single column for mobile */
    gap: 20px !important;
    overflow-x: hidden !important;
  }

  .page-about__product-card,
  .page-about__feature-card,
  .page-about__promo-card {
    padding: 20px !important;
    margin: 0 15px !important; /* Add horizontal padding */
    box-sizing: border-box !important;
    width: calc(100% - 30px) !important;
    max-width: 100% !important;
  }

  .page-about__product-image,
  .page-about__image,
  .page-about__feature-icon,
  .page-about__promo-image,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .page-about__content-grid--reverse {
    grid-template-areas: unset !important;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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 !important;
    padding-right: 15px !important;
  }

  /* 其他内容模块 */
  .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-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

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

  .page-about__paragraph,
  .page-about__value-item,
  .page-about__product-description,
  .page-about__feature-description,
  .page-about__promo-description,
  .page-about__faq-answer p {
    font-size: 1em !important;
    line-height: 1.6 !important;
  }

  .page-about__product-title,
  .page-about__feature-title,
  .page-about__promo-title,
  .page-about__faq-title {
    font-size: 1.2em !important;
  }

  .page-about__faq-question {
    padding: 12px 15px !important;
    font-size: 1em !important;
  }

  .page-about__faq-answer {
    padding: 0 15px !important;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 12px 15px !important;
  }

  .page-about__faq-list {
    margin-top: 20px !important;
  }
}