/* style/faq.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-faq {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-faq__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-faq__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-faq__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-faq__cta-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__cta-button--secondary {
  background: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-faq__cta-button--secondary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
}

.page-faq__cta-button--tertiary {
  background: transparent;
  color: #A7D9B8;
  border: 2px solid #A7D9B8;
}

.page-faq__cta-button--tertiary:hover {
  background: #A7D9B8;
  color: #08160F;
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for FAQ section */
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
  color: #F2FFF6;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: #F2FFF6;
  list-style: none; /* For details summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

.page-faq__faq-question:hover {
  background-color: #1E3A2A;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 20px;
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-buttons {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.page-faq__why-choose-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-faq__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-faq__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  overflow: hidden;
  border-radius: 10px;
}

.page-faq__feature-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__text-content {
  flex: 1;
  color: #F2FFF6;
}

.page-faq__text-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #A7D9B8;
}

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

.page-faq__benefits-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #F2FFF6;
}

.page-faq__benefits-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow color */
}

.page-faq__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-faq__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-faq__image-wrapper {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

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

  .page-faq__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-faq__hero-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-faq__hero-description {
    font-size: 1rem;
  }

  .page-faq__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-faq__hero-buttons,
  .page-faq__cta-buttons,
  .page-faq__faq-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-faq__faq-buttons {
    align-items: center;
  }

  .page-faq__faq-section,
  .page-faq__why-choose-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-faq__image-wrapper {
    max-width: 100%;
  }

  /* Ensure all images are responsive */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all video containers are responsive */
  /* No video on this page, but keeping the rule for safety */
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__video-section {
    padding-top: 10px !important;
  }

  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}