:root {
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-color-main: #F2FFF6;
    --text-color-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* style/register.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-register {
  color: var(--text-color-main); /* Light text on dark body background */
  background-color: var(--background-color); /* Ensure consistency if body background is not inherited */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--deep-green-color); /* A slightly different dark green for the hero */
  overflow: hidden;
}

.page-register__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* Default to column for mobile first, then row for desktop */
  align-items: center;
  gap: 40px;
}

.page-register__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-register__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--gold-color); /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-register__description {
  font-size: 1.1rem;
  color: var(--text-color-secondary);
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-register__btn-primary {
  background: var(--button-gradient);
  color: var(--text-color-main); /* White text on green gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-register__btn-secondary {
  background: transparent;
  color: var(--gold-color); /* Gold text on dark background */
  border: 2px solid var(--gold-color);
}

.page-register__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-color); /* Dark text on gold hover */
  box-shadow: 0 0 15px var(--gold-color);
}

.page-register__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-register__section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-register__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-color-secondary);
}

.page-register__benefits-section {
  background-color: var(--background-color);
}

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

.page-register__feature-item {
  background: var(--card-bg); /* Dark card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 10px var(--glow-color);
}

.page-register__feature-icon {
  width: 100%; /* Ensure feature images are large, not small icons */
  height: auto;
  max-width: 150px; /* Example size, adjust as needed but >200px overall */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-register__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color-main);
  margin-bottom: 15px;
}

.page-register__feature-description {
  font-size: 0.95rem;
  color: var(--text-color-secondary);
}

.page-register__registration-steps-section {
  background-color: var(--background-color);
}

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

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

.page-register__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 10px var(--glow-color);
}

.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-register__step-description {
  font-size: 0.95rem;
  color: var(--text-color-secondary);
  margin-bottom: 20px;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-register__security-section {
  background: var(--deep-green-color); /* Darker green for security section */
  color: var(--text-color-main);
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  text-align: left;
  font-size: 1.05rem;
  color: var(--text-color-secondary);
}

.page-register__security-item {
    position: relative;
    padding-left: 30px;
}

.page-register__security-item::before {
  content: '✓';
  color: var(--glow-color); /* Green checkmark */
  margin-right: 10px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-register__security-image {
  max-width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-register__faq-section {
  background-color: var(--background-color);
}

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

.page-register__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color-main);
  cursor: pointer;
  background: var(--card-bg);
  transition: background 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}
.page-register__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-register__faq-item[open] > .page-register__faq-question {
    background: var(--deep-green-color);
}

.page-register__faq-question:hover {
  background: var(--deep-green-color); /* Slightly darker on hover */
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-color-secondary);
  line-height: 1.7;
}

.page-register__faq-answer p {
  margin: 0;
}

.page-register__cta-final-section {
  background: var(--deep-green-color);
  text-align: center;
  padding-bottom: 80px;
}

.page-register__cta-final-section .page-register__text-block {
    margin-bottom: 40px;
}

.page-register__cta-final-section .page-register__cta-button {
    margin: 0 10px 20px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-register__container {
    flex-direction: row; /* Desktop: row layout */
    justify-content: space-between;
    align-items: center;
  }

  .page-register__hero-content {
    text-align: left;
    max-width: 50%;
  }

  .page-register__hero-image {
    max-width: 45%;
  }

  .page-register__hero-section .page-register__container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }

  .page-register__hero-section .page-register__hero-content {
      flex: 1;
      margin-right: 40px;
      text-align: left;
  }

  .page-register__hero-section .page-register__hero-image {
      flex-shrink: 0;
      width: 500px; /* Example fixed width for desktop image, still responsive with max-width */
      height: 281px; /* 16:9 aspect ratio for 500px width */
  }

}

/* Responsive for images, videos, buttons (already included in the prompt, repeating for completeness) */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-register video,
.page-register__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
.page-register__video-section,
.page-register__video-container,
.page-register__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-register__cta-button,
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-register__cta-buttons,
.page-register__button-group,
.page-register__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__video-section {
    padding-top: 10px !important;
  }

  .page-register__cta-button,
  .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;
  }
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-register__hero-content {
      margin-right: 0;
      text-align: center;
  }
  .page-register__hero-image {
      width: 100%;
  }
  .page-register__hero-section .page-register__container {
      flex-direction: column;
  }
}