.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-register__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__main-title {
  font-size: 48px;
  color: #FFFF00; /* Specific color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__intro-text {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-register {
  background: #C30808; /* Specific color for register button */
  color: #FFFF00; /* Specific color for register button text */
  border: 2px solid #C30808;
}

.page-register__btn-register:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
}

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

.page-register__benefit-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__benefit-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-register__card-text {
  font-size: 16px;
  color: #555555;
}

/* How to Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
}

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

.page-register__step-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-register__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1;
}

.page-register__step-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background: #017439;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
}

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

.page-register__feature-item {
  text-align: center;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 80px; /* Enforce minimum size for icons */
  min-height: 80px;
}

.page-register__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-register__feature-text {
  font-size: 16px;
  color: #555555;
}

.page-register__text-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: block;
  margin-top: 10px;
}

.page-register__text-link:hover {
  color: #00562e;
  text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
}

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

.page-register__promo-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-register__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-register__promo-card .page-register__card-title {
  padding: 20px 20px 0;
  color: #017439;
}

.page-register__promo-card .page-register__card-text {
  padding: 0 20px 20px;
  color: #555555;
}

.page-register__promo-card .page-register__btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: #017439;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__promo-card .page-register__btn-primary:hover {
  background: #00562e;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question:active {
  background: #eeeeee;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

.page-register__faq-answer p {
  font-size: 16px;
  color: #555555;
  margin: 0;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__final-cta-section .page-register__cta-button {
  margin: 20px 10px;
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-register__final-cta-section .page-register__btn-secondary {
  margin: 20px 10px;
}

.page-register__final-cta-section .page-register__cta-button:hover {
  background: #a30606;
  border-color: #a30606;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__main-title {
    font-size: 32px;
  }

  .page-register__intro-text {
    font-size: 16px;
  }

  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-register__benefits-section,
  .page-register__how-to-register-section,
  .page-register__security-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }

  .page-register__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__promo-card {
    padding: 20px;
  }

  .page-register__benefit-card img,
  .page-register__step-card img,
  .page-register__promo-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__feature-icon {
    min-width: 60px;
    min-height: 60px;
    width: 60px !important;
    height: 60px !important;
  }

  .page-register__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-register__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-register__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-register__faq-answer {
    padding: 0 15px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }

  .page-register__btn-secondary,
  .page-register__promo-card .page-register__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-register__final-cta-section .page-register__cta-button,
  .page-register__final-cta-section .page-register__btn-secondary {
    display: block;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/* Ensure all images are responsive and not smaller than 200px */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global image size enforcement, excluding specific small elements like icons if they were allowed */
.page-register__benefit-card img,
.page-register__step-card img,
.page-register__promo-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for specific icons that must be small but are not allowed by general rule */
/* This section is commented out as small icons are strictly forbidden. */
/* If small icons were allowed, they would have specific classes and sizes. */
/* For example, .page-register__feature-icon { width: 48px; height: 48px; min-width: 48px; min-height: 48px; } */
/* But current rules forbid any image < 200px, so feature icons will also be large if they are images. */
/* For the purpose of this task, feature icons are treated as display images and will adhere to >= 200px if they are actual img tags. */
/* However, the prompt specifically provided 80x80 for feature icons. This is a conflict. */
/* Given the '禁止所有小图标' and '任何宽度或高度小于200像素的图片' rule, the 80x80 for feature icon is contradictory. */
/* I must prioritize the '禁止所有小图标' rule. So, I will set min-width/height to 200px for feature icons. */
/* Re-reading: 'X 的含义：与 imageRequirements 中该项的 id 完全一致。当前本站为 图库匹配，X 使用类型（如 hero、service、product）。' */
/* And '最小尺寸要求：所有图片的最小尺寸必须至少为 200x200 像素' */
/* The example for feature icon is '80x80'. This is a direct contradiction. */
/* I will follow the MINIMUM 200x200 rule for all images, including those described as 'icon' in the prompt. */
/* The alt text for the feature icons will reflect their function, but the size will be >= 200x200. */
/* However, the prompt *also* says: '图片ID：唯一标识符（如hero_main, product_showcase等）' */
/* and 'X 的取值：图库匹配时 X 为类型(hero/product/service/team/about/feature/video/gallery/bg/testimonial/blog/contact/icon/logo/social)' */
/* And '图片尺寸限制（必须严格遵守）... 禁止的尺寸范围... 任何宽度或高度小于200像素的图片' */
/* This is a clear conflict between the general rule (min 200x200) and the example for 'icon' type (80x80). */
/* I will assume the general rule (min 200x200) takes precedence, and any 'icon' type image will also be rendered at >= 200x200. */
/* This means the CSS for .page-register__feature-icon will enforce >= 200px. */
.page-register__feature-icon {
  width: 200px; /* Enforcing minimum size for icons as per global rule */
  height: 200px;
  min-width: 200px;
  min-height: 200px;
}