/* style/ban-ca.css */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --page-bg-color: #F5F7FA;
  --border-color: #E0E0E0;
  --gradient-button: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color);
  background-color: var(--page-bg-color);
}

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

.page-ban-ca__section {
  padding: 60px 0;
}

.page-ban-ca__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-bg-color);
  text-align: center;
  padding-bottom: 60px;
}

.page-ban-ca__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-ban-ca__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

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

.page-ban-ca__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: var(--gradient-button);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
  color: #ffffff;
}

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

.page-ban-ca__feature-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-ban-ca__card-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-ban-ca__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main-color);
}

/* Guide Section */
.page-ban-ca__guide-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-ban-ca__guide-section .page-ban-ca__section-title,
.page-ban-ca__guide-section .page-ban-ca__section-intro {
  color: #ffffff;
}

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

.page-ban-ca__guide-step {
  text-align: center;
}

.page-ban-ca__step-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__step-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-ban-ca__guide-step p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-ban-ca__guide-step img {
  width: 100%;
  height: auto;
  max-width: 680px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-ban-ca__action-prompt {
  text-align: center;
  margin-top: 60px;
}

.page-ban-ca__action-prompt p {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Strategy Section */
.page-ban-ca__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-ban-ca__strategy-item {
  background: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

.page-ban-ca__strategy-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca__strategy-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main-color);
}

.page-ban-ca__strategy-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-ban-ca__promotions-section .page-ban-ca__section-title,
.page-ban-ca__promotions-section .page-ban-ca__section-intro {
  color: #ffffff;
}

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

.page-ban-ca__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__promo-card img {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  color: #ffffff;
}

.page-ban-ca__promo-card p {
  color: #f0f0f0;
}

/* Why Choose Section */
.page-ban-ca__why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__why-list li {
  background: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-ban-ca__why-list .page-ban-ca__list-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca__why-list li p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main-color);
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-ban-ca__faq-section .page-ban-ca__section-title,
.page-ban-ca__faq-section .page-ban-ca__section-intro {
  color: #ffffff;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Utility classes */
.page-ban-ca__dark-bg {
  color: #ffffff; /* 深色背景配浅色文字 */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__section-title {
    font-size: 2.5em;
  }

  .page-ban-ca__hero-description {
    font-size: 1.1em;
  }

  .page-ban-ca__card-title {
    font-size: 1.4em;
  }

  .page-ban-ca__step-title {
    font-size: 1.6em;
  }

  .page-ban-ca__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }

  .page-ban-ca__container {
    padding: 0 15px;
  }

  /* Top Section / Hero */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

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

  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__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;
  }

  /* Single Column Content (General) */
  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-ban-ca__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__why-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__feature-card, 
  .page-ban-ca__promo-card, 
  .page-ban-ca__why-list li, 
  .page-ban-ca__strategy-item {
    padding: 20px;
  }

  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__guide-step img,
  .page-ban-ca__strategy-image,
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__feature-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__why-list li,
  .page-ban-ca__strategy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and Button Containers */
  .page-ban-ca__action-prompt .page-ban-ca__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-ban-ca__action-prompt {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Section */
  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-ban-ca__action-prompt p {
    font-size: 1.1em;
  }
}