.page-faq {
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Approximately 10px top padding */
  padding-bottom: 40px;
  box-sizing: border-box;
}

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.page-faq__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-faq__description {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-faq__container {
  width: 100%;
  box-sizing: border-box;
}

.page-faq__section-title {
  font-size: 2.8em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-faq__sub-section-title {
  font-size: 2.2em;
  color: var(--glow-color);
  margin-top: 60px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 15px;
  font-weight: 600;
}

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

.page-faq__faq-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.page-faq__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card-bg for contrast */
  border-bottom: 1px solid var(--divider-color);
  list-style: none;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-faq__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: var(--text-secondary-color);
  line-height: 1.7;
}

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

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

.page-faq__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-faq__cta-section {
  background-color: var(--deep-green-color);
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 80px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--glow-color);
}

.page-faq__cta-title {
  font-size: 2.5em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  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;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
}

.page-faq__btn-secondary {
  background: none;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-faq__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--background-color);
}

/* Desktop specific styles for hero content positioning */
@media (min-width: 1025px) {
  .page-faq__hero-content {
    margin-top: -150px;
    padding: 30px 50px;
  }
}

/* Tablet styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

  .page-faq__description {
    font-size: 1.1em;
  }

  .page-faq__section-title {
    font-size: 2.5em;
  }

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

  .page-faq__faq-question {
    font-size: 1.2em;
    padding: 18px 22px;
  }

  .page-faq__faq-answer {
    font-size: 1em;
    padding: 18px 22px;
  }

  .page-faq__cta-title {
    font-size: 2.2em;
  }

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

  .page-faq__hero-content {
    margin-top: -100px; /* Adjust pull-up for tablets */
  }
}

/* Mobile styles (max-width: 768px) - MUST BE EXPLICITLY WRITTEN FOR ALL MODULES */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Approx 10px top padding */
    padding-bottom: 20px;
  }

  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }

  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-content {
    margin-top: -80px; /* Adjust pull-up for mobile */
    padding: 15px;
    border-radius: 10px;
  }

  .page-faq__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .page-faq__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 产品展示图区域 (No dedicated product display on FAQ, but general image rules apply) */
  /* 3. 通用图片与容器 */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-faq__content-area,
  .page-faq__container,
  .page-faq__faq-list,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-faq__sub-section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-faq__image-inline {
    margin: 15px auto;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__cta-button {
    min-width: 200px !important; /* Ensure minimum size */
  }

  /* 5. 其他内容模块 */
  .page-faq__cta-section {
    padding: 30px 15px;
    margin-top: 50px;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
}