/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
}

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

/* Hero Section */
.page-support__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 40px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__hero-content {
  max-width: 800px;
  padding: 20px;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-support__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #C30808; /* Register/Login color */
  border: 2px solid #C30808;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #a30606;
  border-color: #a30606;
}

.page-support__btn-link {
  background: none;
  border: none;
  color: #017439;
  padding: 0;
  text-decoration: underline;
  font-weight: 600;
}

.page-support__btn-link:hover {
  color: #005f2e;
}

/* General Section Styling */
.page-support__section {
  padding: 60px 0;
}

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

.page-support__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__title-white {
  color: #ffffff;
}

.page-support__text-white {
  color: #f0f0f0;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-support__channel-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-support__card-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-text {
  font-size: 0.95em;
  color: #777777;
  margin-bottom: 15px;
}

/* Process Steps */
.page-support__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-support__step-number {
  font-size: 2.5em;
  font-weight: 900;
  color: #FFFF00; /* Custom font color for register/login */
  margin-bottom: 15px;
}

.page-support__step-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-support__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-support__issue-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__issue-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-support__commitment-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-support__commitment-icon {
  width: 100%;
  max-width: 150px; /* Adjust max-width for smaller icons */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 50%; /* Example: if icons are circular */
}

.page-support__commitment-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-support__commitment-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Tips List */
.page-support__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__tip-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-support__tip-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__tip-description {
  font-size: 1em;
  color: #555555;
}

/* Final CTA */
.page-support__final-cta {
  padding: 80px 0;
}

.page-support__text-center {
  text-align: center;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 顶区标题 + 双 CTA */
  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
    flex-direction: column;
    gap: 20px;
  }

  .page-support__hero-content {
    padding: 15px;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for smaller screens */
    margin-bottom: 10px;
  }

  .page-support__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-support__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 单栏长文容器 */
  .page-support__section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-support__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__channel-grid,
  .page-support__process-steps,
  .page-support__issue-grid,
  .page-support__commitment-list,
  .page-support__tips-list {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-support__channel-card,
  .page-support__step-card,
  .page-support__issue-card,
  .page-support__commitment-item,
  .page-support__tip-item {
    padding: 20px;
  }

  /* 通用图片 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__channel-icon,
  .page-support__commitment-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 注册教程与 FAQ 区块 (Common Issues and Tips sections are covered) */
  .page-support__card-title,
  .page-support__step-title,
  .page-support__commitment-title,
  .page-support__tip-title {
    font-size: 1.3em;
  }

  .page-support__card-description,
  .page-support__step-description,
  .page-support__commitment-description,
  .page-support__tip-description {
    font-size: 0.95em;
  }

  .page-support__final-cta {
    padding: 50px 0;
  }

  .page-support__final-cta .page-support__section-title {
    font-size: 2em;
  }

  .page-support__final-cta .page-support__section-intro {
    font-size: 1em;
  }
}