/* Base styles for page-ban-ca */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from shared.css body */
  line-height: 1.6;
}

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

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1D5FD1, #4FA8FF);
  border-radius: 2px;
}

.page-ban-ca__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #1D5FD1; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
}

.page-ban-ca__article-body p {
  margin-bottom: 15px;
}

.page-ban-ca__article-body ul,
.page-ban-ca__article-body ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: #AFC4E8;
}

.page-ban-ca__article-body li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, not var(--header-offset) */
  background: #08162B; /* Deep Navy */
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Aspect ratio 16:9 for 1200x675 */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ban-ca__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-ban-ca__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-ban-ca__intro-text {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-ban-ca__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-ban-ca__btn-secondary {
  background: #10233F; /* Card BG */
  color: #1D5FD1; /* Auxiliary color */
  border: 2px solid #2B73F6; /* Primary button color top */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #1B3357; /* Divider */
  color: #4FA8FF; /* Glow */
}

/* Features Section */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-ban-ca__feature-card {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border color */
}

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

.page-ban-ca__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__feature-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__feature-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Guide Section */
.page-ban-ca__guide-list {
  list-style: decimal;
  margin-left: 40px;
  margin-bottom: 20px;
  color: #AFC4E8;
}

.page-ban-ca__guide-list li {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-ban-ca__guide-list strong {
  color: #F3F8FF;
}

/* Promotions Section */
.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-ban-ca__promo-card {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border color */
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__promo-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__promo-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__promo-footer-text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #AFC4E8;
}

/* Download Section */
.page-ban-ca__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-ban-ca__download-text {
  flex: 1;
}

.page-ban-ca__download-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #AFC4E8;
}

.page-ban-ca__download-list strong {
  color: #F3F8FF;
}

.page-ban-ca__download-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #10233F; /* Card BG */
  border-radius: 12px;
  border: 1px solid #244D84; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__download-image {
  max-width: 90%;
  max-height: 90%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #1B3357; /* Divider */
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy - slightly darker for contrast */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__section {
    padding: 30px 15px;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 500px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-ban-ca__intro-text {
    font-size: 17px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-ban-ca__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__download-image-wrapper {
    width: 100%;
    max-width: 350px;
    height: 350px;
  }
  .page-ban-ca__download-text .page-ban-ca__cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
  }
  .page-ban-ca__download-text .page-ban-ca__btn-primary,
  .page-ban-ca__download-text .page-ban-ca__btn-secondary {
    flex: 1 1 auto;
    max-width: unset;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 400px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; 
    aspect-ratio: unset !important; 
  }
  .page-ban-ca__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }
  .page-ban-ca__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 (Features/Promotions) */
  .page-ban-ca__features-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    padding: 0 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ban-ca__feature-card, 
  .page-ban-ca__promo-card {
    padding: 20px;
  }
  .page-ban-ca__feature-image,
  .page-ban-ca__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }
  .page-ban-ca__sub-title {
    font-size: clamp(20px, 5vw, 24px);
    text-align: center;
  }
  .page-ban-ca__article-body {
    font-size: 16px;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-ban-ca__article-body img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Download Section specific for mobile */
  .page-ban-ca__download-content {
    gap: 20px;
  }
  .page-ban-ca__download-image-wrapper {
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .page-ban-ca__download-text .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  /* FAQ Section for mobile */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }
}