.page-faq {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.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;
  object-fit: cover;
  display: block;
}

.page-faq__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px);
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #2F6BFF;
  margin-bottom: 15px;
  padding-top: 20px;
}

.page-faq__intro-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

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

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__btn-secondary:hover {
  background: #f0f5ff;
  color: #2F6BFF;
  border-color: #4A8BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #F4F7FB; /* Background */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-faq__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-faq__faq-item:not(details) .page-faq__faq-question:hover,
.page-faq__faq-question:hover {
  background-color: #f8faff;
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #f0f5ff;
  color: #2F6BFF;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2F6BFF;
  font-weight: 300;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #2F6BFF;
  transform: rotate(0deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2D3D;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  padding-top: 15px;
}

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

.page-faq__faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-faq__final-cta {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #6FA3FF 0%, #2F6BFF 100%);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f5ff;
}

.page-faq__faq-answer .page-faq__cta-buttons {
  margin-top: 20px;
  margin-bottom: 0;
}

.page-faq__faq-answer .page-faq__btn-primary,
.page-faq__faq-answer .page-faq__btn-secondary {
  font-size: 0.95rem;
  padding: 10px 20px;
}

/* Details element specific styling to hide default marker */
.page-faq__faq-item details > summary {
  list-style: none;
}

.page-faq__faq-item details > summary::-webkit-details-marker {
  display: none;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    max-width: 700px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-faq__intro-description {
    font-size: 1.05rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }
  .page-faq__hero-content {
    margin-top: 0;
    transform: translateY(-30px);
    padding: 0 15px;
    max-width: 95%;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    padding-top: 15px;
  }
  .page-faq__intro-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq 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-faq__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-faq__final-cta {
    padding: 30px 15px;
  }
  .page-faq__sub-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
  /* General image and container rules */
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* No product display section in FAQ page, but including for completeness based on '必写清单' */
  /* If there were product display sections like page-faq__products-section or products-grid, they would have rules here */
}