.page-register {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.page-register__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-register__form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__form-group {
  text-align: left;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background: #1e1e1e;
  color: #FFFFFF;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #cccccc;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #26A9E0;
}

.page-register__checkbox-label {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-register__terms-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__terms-link:hover {
  text-decoration: underline;
}

.page-register__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-register__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background: rgba(38, 169, 224, 0.1);
}

.page-register__btn-login {
  background: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-register__btn-login:hover {
  background: #d46f06;
  border-color: #d46f06;
}

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background: #ffffff; /* Light background for this section */
  color: #333333; /* Dark text for light background */
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description {
  color: #333333;
}

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

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

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

.page-register__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__benefit-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background: #1e1e1e; /* Darker background */
  color: #ffffff;
}

.page-register__steps-section .page-register__section-title {
  color: #FFFFFF;
}

.page-register__steps-section .page-register__section-description {
  color: #cccccc;
}

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

.page-register__step-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-register__btn-large {
  padding: 15px 40px;
  font-size: 1.2em;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background: #f5f5f5; /* Light background */
  color: #333333;
}

.page-register__faq-section .page-register__section-title,
.page-register__faq-section .page-register__section-description {
  color: #333333;
}

.page-register__faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.page-register__faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  transition: color 0.3s ease;
}

.page-register__faq-question:hover {
  color: #26A9E0;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px;
}

.page-register__faq-answer p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #555555;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: #26A9E0;
  color: #FFFFFF;
}

.page-register__cta-final-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-register__cta-final-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Global Image Styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their space nicely */
}

/* Content Area Images - minimum size enforcement */
.page-register__benefit-icon,
.page-register__step-card img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto scaling if needed but respect min */
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__cta-final-title {
    font-size: 2.4em;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 80%;
  }
  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding: 0 15px !important;
  }
  
  /* HERO 主图区域 */
  .page-register__hero-section {
    padding: 60px 0 !important;
    min-height: 450px !important;
  }
  .page-register__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }
  .page-register__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }
  .page-register__form-wrapper {
    padding: 20px !important;
  }
  .page-register__form-input {
    padding: 10px 12px !important;
  }
  .page-register__checkbox-label {
    font-size: 0.9em !important;
  }

  /* 通用图片与容器 */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__form-wrapper,
  .page-register__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register 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;
  }

  /* 其他内容模块 - Benefits Section */
  .page-register__benefits-section {
    padding: 40px 0 !important;
  }
  .page-register__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }
  .page-register__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-register__benefit-card {
    padding: 20px !important;
  }
  .page-register__benefit-icon {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
  }

  /* 其他内容模块 - Steps Section */
  .page-register__steps-section {
    padding: 40px 0 !important;
  }
  .page-register__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-register__step-card {
    padding: 20px !important;
  }
  .page-register__cta-bottom {
    margin-top: 40px !important;
  }

  /* 其他内容模块 - FAQ Section */
  .page-register__faq-section {
    padding: 40px 0 !important;
  }
  .page-register__faq-question {
    font-size: 1em !important;
    padding: 15px 0 !important;
  }
  .page-register__faq-answer {
    padding: 0 10px !important;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px !important;
  }

  /* 其他内容模块 - Final CTA Section */
  .page-register__cta-final-section {
    padding: 40px 0 !important;
  }
  .page-register__cta-final-title {
    font-size: 2em !important;
  }
  .page-register__cta-final-description {
    font-size: 1em !important;
  }
  .page-register__btn-large {
    padding: 12px 30px !important;
    font-size: 1.1em !important;
  }
}