.page-support-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

.page-support-faq__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjusted padding for a standard hero, not homepage hero */
  background: linear-gradient(135deg, #FF0000, #CC0000); /* Brand red gradient */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Apply header offset here if shared doesn't do it for body */
}

.page-support-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-support-faq__hero-content {
  position: relative;
  z-index: 2;
}

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

.page-support-faq__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

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

.page-support-faq__content-section {
  padding: 60px 20px;
}

.page-support-faq__dark-section {
  background-color: #000000;
  color: #ffffff;
}

.page-support-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-support-faq__section-title {
  font-size: 2.5em;
  color: #FF0000; /* Brand red for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0.9;
}

.page-support-faq__faq-list {
  margin-top: 30px;
}

.page-support-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible on dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05); /* Lighter on hover */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-support-faq__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-support-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-support-faq__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FF0000; /* Brand red for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-support-faq__faq-item.active .page-support-faq__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X when active */
}

.page-support-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-support-faq__faq-item.active .page-support-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-support-faq__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-support-faq__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support-faq__cta-title {
  font-size: 2em;
  color: #FF0000;
  margin-bottom: 15px;
}

.page-support-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-support-faq__btn-primary,
.page-support-faq__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-support-faq__btn-primary {
  background-color: #FF0000;
  color: #ffffff;
}

.page-support-faq__btn-primary:hover {
  background-color: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

.page-support-faq__btn-secondary {
  background-color: transparent;
  color: #FF0000;
  border-color: #FF0000;
}

.page-support-faq__btn-secondary:hover {
  background-color: #FF0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

/* General image responsive styles */
.page-support-faq img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* General container responsive styles */
.page-support-faq__container,
.page-support-faq__hero-cta-buttons {
  box-sizing: border-box;
}

/* Media Queries for Mobile */
@media (max-width: 1024px) {
  .page-support-faq__hero-title {
    font-size: 2.8em;
  }

  .page-support-faq__hero-description {
    font-size: 1.05em;
  }

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

  .page-support-faq__section-description {
    font-size: 1em;
  }

  .page-support-faq__faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-support-faq__hero-section {
    padding: 60px 15px 40px;
    padding-top: var(--header-offset, 100px) !important; /* Adjusted for mobile header offset */
  }

  .page-support-faq__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-support-faq__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-support-faq__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 其他内容模块 */
  .page-support-faq__content-section {
    padding: 40px 15px;
  }

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

  .page-support-faq__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  /* FAQ展开折叠功能 */
  .page-support-faq__faq-item {
    margin-bottom: 10px;
  }

  .page-support-faq__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-support-faq__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

  .page-support-faq__faq-toggle {
    font-size: 1.8em;
    margin-left: 10px;
    width: 25px;
    height: 25px;
  }

  .page-support-faq__faq-item.active .page-support-faq__faq-answer {
    padding: 15px 20px !important;
  }

  .page-support-faq__faq-answer p {
    font-size: 0.95em;
  }

  .page-support-faq__cta-section {
    margin-top: 40px;
    padding: 30px 15px;
  }

  .page-support-faq__cta-title {
    font-size: 1.6em;
    margin-bottom: 10px;
  }

  .page-support-faq__cta-description {
    font-size: 0.9em;
    margin-bottom: 25px;
  }

  .page-support-faq__btn-primary,
  .page-support-faq__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  /* 🚨 LOGO轮播项例外：本页无此模块，但为遵守通用规则，此处留空或不适用 */
  /* 如果本页有logo-item，则需要如下规则：*/
  /* .page-support-faq__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  } */
}