.page-register {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1A202C; /* Ensure consistency with body if not inherited */
}

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

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  text-align: center;
  background: linear-gradient(135deg, #1A202C 0%, #0d1017 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

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

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  line-height: 1.2;
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-register__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
  padding: 80px 0;
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

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

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

.page-register__benefit-item {
  background-color: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.page-register__benefit-icon {
  width: 100%; /* Max width for images */
  max-width: 200px; /* Ensure minimum size is respected */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  color: #e0e0e0;
  font-size: 1em;
}

.page-register__steps-illustration {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 50px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-register__step-item {
  background-color: rgba(255, 215, 0, 0.07);
  border-left: 5px solid #FFD700;
  padding: 25px 30px 25px 60px;
  margin-bottom: 25px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "Step " counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 15px;
  border-radius: 8px 0 8px 0;
  font-weight: bold;
  font-size: 0.9em;
}

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

.page-register__step-text {
  color: #e0e0e0;
  font-size: 1em;
}

.page-register__cta-button--bottom {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__condition-item {
  background-color: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 1.05em;
}

.page-register__condition-item strong {
  color: #FFD700;
}

.page-register__faq-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto 50px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-register__faq-item {
  background-color: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #FFD700;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.page-register__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  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;
  color: #e0e0e0;
  font-size: 1em;
}

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

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

  .page-register__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 60px 0 40px;
  }

  .page-register__hero-container {
    padding: 60px 15px 30px;
  }

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

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

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

  .page-register__hero-image {
    max-height: 300px;
  }

  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section {
    padding: 50px 0;
  }

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

  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-register__benefit-item {
    padding: 25px;
  }

  .page-register__benefit-icon {
    max-width: 150px;
  }

  .page-register__benefit-title {
    font-size: 1.5em;
  }

  .page-register__steps-illustration,
  .page-register__faq-image {
    margin-bottom: 30px;
  }

  .page-register__steps-list,
  .page-register__conditions-list,
  .page-register__faq-list {
    margin-top: 30px;
  }

  .page-register__step-item {
    padding: 20px 25px 20px 50px;
    margin-bottom: 20px;
  }

  .page-register__step-item::before {
    padding: 8px 12px;
    font-size: 0.8em;
  }

  .page-register__step-title {
    font-size: 1.3em;
  }

  .page-register__condition-item {
    padding: 15px;
    font-size: 1em;
  }

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

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

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

  /* Critical: Prevent content overflow on mobile */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-register__hero-image {
    max-height: 250px;
  }

  .page-register__benefits-grid {
    gap: 20px;
  }

  .page-register__benefit-item {
    padding: 20px;
  }

  .page-register__benefit-icon {
    max-width: 120px;
  }

  .page-register__benefit-title {
    font-size: 1.3em;
  }

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

  .page-register__step-item::before {
    padding: 6px 10px;
  }

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

  .page-register__faq-question {
    font-size: 1em;
  }
}