/* style/register.css */
.page-register {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF; /* Page background color */
}

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

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

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

.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: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary CTA */
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e0a73a;
}

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

.page-register__cta-button--secondary:hover {
  background-color: #333333;
}

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

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

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

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

.page-register__value-icon {
  width: 250px; /* Min 200x200px */
  height: 187px; /* Maintain aspect ratio for 4:3 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-register__steps-section {
  padding: 60px 0;
}

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

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

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  z-index: 1;
  border: 4px solid #FFFFFF;
}

.page-register__step-heading {
  font-size: 1.6em;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 15px;
}

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

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

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

.page-register__condition-item {
  background-color: #FFFFFF;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 40px;
}

.page-register__condition-item::before {
  content: '✓';
  color: #000000; /* Checkmark color */
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-register__inline-link {
  color: #FCBC45; /* Login color for inline links */
  text-decoration: none;
  font-weight: bold;
}

.page-register__inline-link:hover {
  text-decoration: underline;
}

.page-register__faq-section {
  padding: 60px 0;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #F0F0F0;
  border-bottom: 1px solid #E0E0E0;
}

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

.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: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #FFFFFF;
}

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

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

.page-register__final-cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

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

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

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

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

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

  .page-register__value-icon {
    width: 200px; /* Minimum size for mobile */
    height: 150px;
  }

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

  .page-register__conditions-list {
    padding: 0;
  }

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

  .page-register__final-cta-description {
    font-size: 1.1em;
  }
  
  /* Mobile content area 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: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-item, .page-register__step-item, .page-register__condition-item, .page-register__faq-item {
    padding: 20px;
  }
  .page-register__value-icon {
    width: 200px; /* Minimum size for mobile */
    height: 150px;
  }
}