.page-register {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure page background matches body if not already inherited */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for main content */
}

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

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
  background-color: #000000; /* Dark background for the hero section */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the background image */
  z-index: 0;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF;
  padding: 20px;
}

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

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

.page-register__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000; /* Dark text for contrast */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

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

.page-register__login-prompt {
  margin-top: 20px;
  font-size: 1em;
  color: #F0F0F0;
}

.page-register__login-link {
  color: #FCBC45; /* Login button color */
  text-decoration: none;
  font-weight: 600;
}

.page-register__login-link:hover {
  text-decoration: underline;
  color: #e0a53b;
}

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: #F9F9F9;
}

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

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

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

.page-register__benefit-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

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

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.page-register__step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: -20px;
  width: 2px;
  background-color: #FCBC45;
  z-index: 0;
}

.page-register__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-right: 25px;
  flex-shrink: 0;
  z-index: 1;
}

.page-register__step-content {
  flex-grow: 1;
}

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

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

.page-register__cta-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Terms Section */
.page-register__terms-section {
  padding: 80px 0;
  background-color: #F9F9F9;
}

.page-register__terms-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-register__terms-paragraph {
  margin-bottom: 20px;
  font-size: 1em;
  color: #555555;
}

.page-register__terms-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__terms-list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

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

.page-register__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: 600;
}

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

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

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

.page-register__faq-item {
  background-color: #F9F9F9;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #FCBC45;
  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 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 0;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item:not(:last-child)::after {
    left: 20px;
    top: 50px;
    bottom: -10px;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    margin-right: 15px;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Mobile image overflow prevention */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__hero-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__benefit-item {
    padding: 20px;
  }
  .page-register__benefit-icon {
    width: 200px; /* Still meet min size */
    height: auto;
  }
  .page-register__step-title {
    font-size: 1.2em;
  }
  .page-register__step-description {
    font-size: 0.9em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__faq-answer {
    font-size: 0.9em;
  }
  .page-register__container {
    padding: 0 15px;
  }
}