.page-register {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-register__hero-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-register__cta-button--register,
.page-register__cta-button--final-register {
  background-color: #FCBC45; /* Login color for main CTA */
  color: #000000; /* Dark text on bright button */
  box-shadow: 0 5px 15px rgba(252, 188, 69, 0.4);
  margin-bottom: 40px;
}

.page-register__cta-button--register:hover,
.page-register__cta-button--final-register:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(252, 188, 69, 0.6);
}

.page-register__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__value-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

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

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

.page-register__value-icon {
  width: 200px; /* Min size 200px */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-register__cta-button--learn {
  background-color: #000000; /* Main color for secondary CTA */
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-register__cta-button--learn:hover {
  background-color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-register__steps-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 50px auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: #f9f9f9;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  padding-left: 70px;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "Step " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
}

.page-register__step-heading {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-register__conditions-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-register__section-intro {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__condition-item {
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-register__condition-heading {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-register__link {
  color: #FCBC45; /* Use a distinct color for links */
  text-decoration: none;
  font-weight: 600;
}

.page-register__link:hover {
  text-decoration: underline;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-register__faq-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: left;
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.15em;
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #f9f9f9;
}

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

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

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

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

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

.page-register__cta-bottom-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background for final CTA */
  color: #FFFFFF;
  text-align: center;
}

.page-register__cta-bottom-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: 700;
}

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

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

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

  .page-register__cta-bottom-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has header offset */
  }
  .page-register__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-register__step-item {
    padding: 20px 20px 20px 60px;
  }

  .page-register__step-item::before {
    width: 35px;
    height: 35px;
    left: 15px;
    font-size: 0.8em;
  }

  .page-register__condition-item,
  .page-register__faq-item {
    padding: 20px;
  }

  .page-register__faq-question {
    font-size: 1em;
    padding: 18px 20px;
  }

  .page-register__faq-toggle {
    right: 20px;
    font-size: 1.3em;
  }

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

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

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

  /* Critical: prevent content overflow on mobile */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__container {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
}

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

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

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

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

  .page-register__value-heading {
    font-size: 1.3em;
  }

  .page-register__step-heading {
    font-size: 1.2em;
  }

  .page-register__condition-heading {
    font-size: 1.2em;
  }

  .page-register__cta-bottom-title {
    font-size: 1.8em;
  }
}