/* style/promotions.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-promotions__light-bg {
  background-color: #f5f5f5; /* Using a light grey for contrast with dark theme */
  color: #333333; /* Dark text for light background */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-text-main);
  position: relative;
  padding-bottom: 10px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--btn-gradient);
  border-radius: 2px;
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #333333;
}

.page-promotions__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-promotions__light-bg .page-promotions__section-text {
  color: #555555;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for better flow */
  background: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.page-promotions__main-title {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--color-primary);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--color-primary);
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.page-promotions__button-group {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-promotions__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-promotions__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-promotions__promo-description {
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  width: fit-content;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  text-align: left;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions__step-number {
  font-size: 2em;
  font-weight: bold;
  color: var(--color-primary);
  background-color: var(--color-glow);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-deep-green);
}

.page-promotions__step-content {
  flex-grow: 1;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-promotions__step-description {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

.page-promotions__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions__advantage-item {
  background-color: var(--color-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--color-border);
}

.page-promotions__advantage-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-promotions__advantage-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-gold);
}

.page-promotions__advantage-description {
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-divider);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--color-border);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.page-promotions__conclusion-section .page-promotions__section-text {
  margin-bottom: 30px;
}

.page-promotions a {
  color: var(--color-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* 响应式设计 */
@media (min-width: 769px) {
  .page-promotions__hero-content {
    margin-top: -150px;
    padding: 60px 40px;
  }

  .page-promotions__section-title {
    font-size: 3em;
  }

  .page-promotions__promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-promotions__steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-promotions__advantage-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
  }

  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-promotions__main-title {
    font-size: 2.5em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__section-title::after {
    width: 60px;
  }

  .page-promotions__section-text {
    font-size: 0.95em;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-list,
  .page-promotions__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card .page-promotions__btn-primary,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions 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-promotions__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__advantage-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions__step-number {
    margin-bottom: 15px;
  }
}