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

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 60px;
  background-color: #FFFFFF; /* Light background */
}

.page-register__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

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

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

.page-register__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-register__button--primary {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

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

.page-register__button--secondary {
  display: inline-block;
  background-color: #000000; /* Main brand color for secondary button */
  color: #FFFFFF; /* White text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #000000;
}

.page-register__button--secondary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__final-cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  background-color: #FFFFFF;
}

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

.page-register__value-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

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

.page-register__value-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

.page-register__card-description {
  font-size: 1em;
  line-height: 1.5;
}

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.page-register__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FCBC45;
  margin-right: 20px;
  background-color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

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

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

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

.page-register__conditions-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

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

.page-register__item-description {
  font-size: 0.95em;
  line-height: 1.5;
}

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

.page-register__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 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: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

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

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

.page-register__final-cta-section {
  background-color: #000000; /* Dark background for strong CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 80px;
}

.page-register__final-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-register__final-cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  }
  .page-register__hero-content {
    margin-bottom: 20px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__button--primary, .page-register__button--secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }
  .page-register__step-number {
    margin: 0 auto 20px;
  }
  .page-register__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-register__conditions-content {
    grid-template-columns: 1fr;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__final-cta-title {
    font-size: 2em;
  }
  .page-register__final-cta-description {
    font-size: 1em;
  }

  /* Critical: Prevent content overflow for images */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must not be smaller than 200px */
  .page-register__value-card img, 
  .page-register__hero-image img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
  }
  .page-register__hero-section,
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__final-cta-title {
    font-size: 1.8em;
  }
  .page-register__value-card,
  .page-register__step-item,
  .page-register__conditions-item {
    padding: 20px;
  }
}