.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 is not hidden by fixed header */
}

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

.page-register__hero-section {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Black text on yellow button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-register__cta-button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
}

.page-register__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FCBC45;
  color: #FCBC45;
}

.page-register__cta-button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__terms-section,
.page-register__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-register__value-section {
  background-color: #f8f8f8;
}

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

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

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

.page-register__benefit-item:hover {
  transform: translateY(-10px);
}

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Max width to ensure it fits, but min-width is enforced below */
  max-height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

.page-register__benefit-text {
  color: #666666;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 5px;
  margin-bottom: 10px;
}

.page-register__step-text {
  color: #666666;
}

.page-register__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-register__term-item {
  background-color: #f0f0f0;
  padding: 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  color: #333333;
}

.page-register__term-item strong {
  color: #000000;
}

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

.page-register__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  width: 100%;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
  padding: 20px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.page-register__faq-question.active .page-register__faq-arrow {
  transform: rotate(-135deg);
}

.page-register__faq-answer {
  background-color: #f9f9f9;
  color: #333333;
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer.active {
  max-height: 500px; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

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

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-bottom: 15px;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  /* Ensure content area images do not overflow and meet min size */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__benefit-icon {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    width: 100%; /* Take full width of parent, then scale down */
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
}