.page-register {
  color: #333333; /* Dark text for light body background */
}

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

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

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

.page-register__hero-title {
  font-size: 3.2em;
  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__register-button,
.page-register__login-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px 15px 10px;
  min-width: 200px;
  text-align: center;
}

.page-register__register-button {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Black text for FCBC45 background */
}

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

.page-register__login-button {
  background-color: #000000; /* Main color for secondary action */
  color: #FFFFFF; /* White text for black background */
  border: 2px solid #FCBC45;
}

.page-register__login-button:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.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 50px auto;
  line-height: 1.6;
  color: #555555;
}

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

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

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

.page-register__value-card {
  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-card:hover {
  transform: translateY(-5px);
}

.page-register__card-icon {
  width: 250px; /* Min 200px */
  height: 187px; /* Min 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-register__card-text {
  font-size: 1em;
  line-height: 1.5;
  color: #666666;
}

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

.page-register__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 70px;
}

.page-register__step-number {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

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

.page-register__register-button--bottom {
  margin-top: 50px;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__conditions-list {
  list-style: disc;
  padding-left: 40px;
  max-width: 800px;
  margin: 40px auto 0 auto;
  font-size: 1.05em;
  line-height: 1.8;
  color: #444444;
}

.page-register__condition-item {
  margin-bottom: 15px;
}

.page-register__read-more-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-register__read-more-link:hover {
  color: #E0A030;
  text-decoration: underline;
}

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

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

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

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

.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.7;
  color: #555555;
  border-top: 1px solid #E0E0E0;
  margin-top: -1px; /* Overlap border */
}

.page-register__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-register__hero-content {
    padding: 30px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__register-button,
  .page-register__login-button {
    display: block;
    margin: 10px auto;
    width: 80%;
    max-width: 250px;
  }
  .page-register__value-cards,
  .page-register__steps-list {
    grid-template-columns: 1fr;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__card-icon {
    width: 200px; /* Min 200px */
    height: 150px; /* Min 200px */
  }
  /* Mobile content area image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__conditions-list {
    padding-left: 20px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-register__step-item {
    padding-left: 60px;
  }
  .page-register__step-number {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
}