/* style/support.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

/* Fixed header spacing - applying to the first content section */
.page-support__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background-color: #1A202C;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support a[class*="button"],
.page-support a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-support__btn-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__btn-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
  filter: none;
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #1A202C;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Options Section */
.page-support__contact-options-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-support__contact-options-section .page-support__section-title,
.page-support__contact-options-section .page-support__section-description {
  color: #ffffff;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__contact-card {
  background-color: #2a3440;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: none;
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
}

.page-support__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-support__card-text {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.page-support__faq-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #1A202C;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
  background-color: #ffffff;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px 25px;
}

.page-support__cta-faq {
  text-align: center;
  margin-top: 50px;
}

.page-support__cta-faq p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #1A202C;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-support__resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__resource-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: none;
  min-width: 200px;
  min-height: 200px;
}

.page-support__resource-card .page-support__card-title {
  padding: 20px 25px 0 25px;
  text-align: left;
  color: #1A202C;
}

.page-support__resource-card .page-support__card-title a {
  color: #1A202C;
  text-decoration: none;
}

.page-support__resource-card .page-support__card-title a:hover {
  color: #FFD700;
}

.page-support__resource-card .page-support__card-text {
  padding: 0 25px 20px 25px;
  text-align: left;
  color: #555555;
  flex-grow: 1;
}

.page-support__resource-card .page-support__btn-link {
  display: block;
  text-align: left;
  padding: 0 25px 25px 25px;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-support__commitment-section .page-support__section-title,
.page-support__commitment-section .page-support__section-description {
  color: #ffffff;
}

.page-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__commitment-item {
  background-color: #2a3440;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-support__commitment-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: none;
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
}

.page-support__item-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-support__item-text {
  font-size: 0.95em;
  color: #cccccc;
}

/* Call to Action Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-support__cta-container {
  text-align: center;
  background-color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__cta-container .page-support__section-title {
  color: #1A202C;
  margin-bottom: 20px;
}

.page-support__cta-container .page-support__section-description {
  color: #555555;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__contact-options-section,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__commitment-section,
  .page-support__cta-section {
    padding: 50px 0;
  }

  .page-support__contact-grid,
  .page-support__resources-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__commitment-item {
    padding: 25px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px 20px 20px;
  }

  .page-support__resource-image {
    height: 200px;
  }

  .page-support__cta-container {
    padding: 40px 20px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons must be responsive */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__contact-options-section,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__commitment-section,
  .page-support__cta-section,
  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__commitment-item,
  .page-support__cta-container,
  .page-support__hero-buttons,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-support__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-support__hero-section > .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-support__contact-icon,
  .page-support__commitment-icon {
    width: 150px !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Ensure no filter on images */
.page-support img {
  filter: none;
}