/* style/about.css */

:root {
  --page-about-primary-color: #2F6BFF;
  --page-about-secondary-color: #6FA3FF;
  --page-about-text-main: #1F2D3D;
  --page-about-text-dark: #000000;
  --page-about-bg-light: #F4F7FB;
  --page-about-card-bg: #FFFFFF;
  --page-about-border-color: #D6E2FF;
  --page-about-glow-color: #A5C4FF;
  --page-about-btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-about-text-main);
  background-color: var(--page-about-bg-light);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--page-about-text-dark);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: var(--page-about-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--page-about-text-main);
}

.page-about__dark-section {
  background-color: var(--page-about-primary-color);
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

.page-about__light-bg {
  background-color: var(--page-about-bg-light);
  color: var(--page-about-text-main);
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__intro-description {
  font-size: clamp(1.1em, 1.5vw, 1.4em);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: var(--page-about-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
  background: #ffffff;
  color: var(--page-about-primary-color);
  border: 2px solid var(--page-about-primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__btn-link {
  background: var(--page-about-primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
}

.page-about__btn-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Content Section */
.page-about__content-section {
  padding: 60px 0;
}

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

.page-about__value-item {
  background-color: var(--page-about-card-bg);
  border: 1px solid var(--page-about-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

.page-about__value-item strong {
  color: var(--page-about-primary-color);
}

/* Features Section */
.page-about__features-section {
  padding: 60px 0;
}

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

.page-about__feature-card {
  background-color: var(--page-about-card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.4em;
  color: var(--page-about-text-dark);
  margin-bottom: 15px;
  padding: 0 15px;
  font-weight: 700;
}

.page-about__feature-card .page-about__card-description {
  font-size: 0.95em;
  color: var(--page-about-text-main);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
}

.page-about__why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__why-item {
  background-color: var(--page-about-card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-about__why-item .page-about__card-title {
  font-size: 1.5em;
  color: var(--page-about-primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__why-item .page-about__card-description {
  font-size: 1em;
  color: var(--page-about-text-main);
  line-height: 1.7;
}

/* Responsibility Section */
.page-about__responsibility-section {
  padding: 60px 0;
  text-align: center;
}

/* Vision Section */
.page-about__vision-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__vision-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: var(--page-about-card-bg);
  border: 1px solid var(--page-about-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-about-text-dark);
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-about-primary-color);
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-about-text-main);
  line-height: 1.7;
}

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

.page-about__faq-answer a {
  color: var(--page-about-primary-color);
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-about__cta-bottom {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */

/* General responsive for images */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General responsive for containers */
.page-about__section,
.page-about__card,
.page-about__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General responsive for buttons */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-about__intro-description {
    font-size: clamp(1em, 2vw, 1.2em);
  }

  .page-about__feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-about__why-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for main offset */
    padding-bottom: 40px !important;
  }

  .page-about__hero-image-wrapper {
    max-height: 300px !important;
    margin-bottom: 20px !important;
  }

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

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

  .page-about__intro-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !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;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 深色导语区 (if applicable, here it's main content section) */
  .page-about__content-section,
  .page-about__features-section,
  .page-about__why-choose-us,
  .page-about__responsibility-section,
  .page-about__vision-section,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding: 30px 0 !important;
  }

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

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

  .page-about__text-block,
  .page-about__value-item,
  .page-about__card-description {
    font-size: 0.95em !important;
  }

  /* 博客网格 (feature grid acts like one here) */
  .page-about__feature-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
  }

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

  .page-about__feature-image {
    height: 180px !important;
  }

  .page-about__why-grid {
    gap: 20px !important;
    margin-top: 20px !important;
  }

  .page-about__why-item {
    padding: 25px !important;
  }

  /* FAQ */
  .page-about__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }

  .page-about__faq-toggle {
    font-size: 1.2em !important;
  }
}