.page-register {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: #FFFFFF;
}

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

.page-register__section-spacing {
  padding: 60px 0;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-register__hero-button, .page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  min-width: 200px;
  min-height: 48px;
  line-height: 1.2; /* Adjust line-height for better button text display */
}

.page-register__hero-button:hover, .page-register__cta-button:hover {
  background-color: #e0a53b;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-register__section-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 30px;
  color: #333333;
}

.page-register__value-section, .page-register__conditions-section {
  text-align: center;
}

.page-register__value-image, .page-register__steps-image, .page-register__faq-image, .page-register__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-register__step-item {
  background-color: #FFFFFF;
  border: 1px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
}

.page-register__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto 20px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
}

.page-register__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__step-description {
  font-size: 1em;
  color: #555555;
}

.page-register__terms-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-register__terms-link:hover {
  color: #e0a53b;
}

.page-register__faq-list {
  margin-top: 30px;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #f9f9f9;
}

.page-register__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.8;
}

.page-register__cta-content {
  text-align: center;
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px);
  }

  .page-register__hero-title {
    font-size: 2.2em;
  }

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

  .page-register__hero-content {
    padding: 30px 15px;
  }

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

  .page-register__section-spacing {
    padding: 40px 0;
  }

  .page-register__hero-button, .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-register__steps-list {
    grid-template-columns: 1fr;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-register__faq-toggle {
    right: 20px;
  }

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

  /* Mobile content image constraint */
  .page-register__container img, .page-register__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}