.page-support {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Main text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
}

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

.page-support__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background-color: var(--deep-navy); /* Ensure section background is dark */
}

.page-support__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-support__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop hero */
  display: block;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px 40px; /* Increased top padding */
  text-align: center;
  max-width: 900px;
  margin-top: 30px; /* Add a positive margin to separate from image */
  border-radius: 10px;
  background-color: #10233F; /* Card BG color */
  border: 1px solid #244D84; /* Border color */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #F3F8FF; /* Main text color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 18px;
  color: #AFC4E8; /* Secondary text color */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Main text color for button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Main text color */
  border: 2px solid #2B73F6; /* Use primary blue for border */
}

.page-support__btn-secondary:hover {
  background: rgba(43, 115, 246, 0.1);
  transform: translateY(-2px);
}

.page-support__mt-20 {
  margin-top: 20px;
}

.page-support__section {
  padding: 60px 0;
  border-bottom: 1px solid #1B3357; /* Divider color */
}

.page-support__section:last-of-type {
  border-bottom: none;
}

.page-support__dark-section {
  background-color: #08162B; /* Deep Navy from custom colors */
  color: #F3F8FF; /* Main text color */
}

.page-support__light-bg {
  background-color: #F3F8FF; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-support__text-contrast-fix {
  color: #333333; /* For text on light backgrounds */
}

.page-support__section-title {
  font-size: clamp(24px, 3.5vw, 40px); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for dark/light variations */
  line-height: 1.3;
}

.page-support__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-support__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-support__content-grid--reverse .page-support__image-wrapper {
  order: 2;
}

.page-support__content-grid--reverse .page-support__text-block {
  order: 1;
}

.page-support__text-block {
  line-height: 1.7;
  font-size: 17px;
}

.page-support__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-support__text-block ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
  color: inherit;
}

.page-support__text-block li {
  margin-bottom: 8px;
  color: inherit;
}

.page-support__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: inherit;
}

.page-support__image-wrapper {
  text-align: center;
}

.page-support__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

/* FAQ Styles */
.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG color */
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Main text color */
}

details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(43, 115, 246, 0.1); /* Light hover effect */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-support__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #4FA8FF; /* Glow color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Increased size */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy for answer background */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Secondary text color */
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Global image responsive styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 30px 20px;
  }
  .page-support__main-title {
    font-size: clamp(26px, 5vw, 40px);
  }
  .page-support__description {
    font-size: 16px;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }
  .page-support__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-support__content-grid--reverse .page-support__image-wrapper {
    order: unset; /* Reset order for mobile */
  }
  .page-support__content-grid--reverse .page-support__text-block {
    order: unset; /* Reset order for mobile */
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    min-width: 160px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 10px;
  }
  .page-support__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-support__hero-content {
    padding: 25px 15px;
    margin-top: 20px; /* Adjusted margin for mobile */
    border-radius: 8px;
    max-width: 100%;
  }
  .page-support__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-support__description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 2. 产品展示图区域 - Not applicable, but general grid handled */
  .page-support__section {
    padding: 30px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }

  /* 3. 装饰主标题 + 长文 SEO 区 */
  .page-support__section-title {
    font-size: clamp(22px, 5.5vw, 30px);
    margin-bottom: 30px;
  }
  .page-support__text-block {
    font-size: 16px;
  }
  .page-support__text-block ul {
    padding-left: 15px;
  }
  .page-support__sub-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  .page-support__text-block,
  .page-support__article-body {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .page-support__article-figure {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
  }

  /* 4. 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__image-wrapper img {
    min-width: unset;
    min-height: unset;
  }

  /* 5. 按钮与按钮容器 */
  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* FAQ specific mobile styles */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-qtext {
    font-size: 15px;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }
}