.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(135deg, #017439, #0a0a0a);
  color: #ffffff;
}

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

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
}

.page-register__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808; /* Custom red for register/login */
  color: #FFFF00; /* Custom yellow for button font */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #FFFF00; /* Yellow for section titles */
}

.page-register__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #e0e0e0;
}

.page-register__benefits-section,
.page-register__promotions-section,
.page-register__faq-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Custom white background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description,
.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-description,
.page-register__faq-section .page-register__section-title,
.page-register__faq-section .page-register__section-description {
  color: #333333; /* Ensure titles/descriptions are dark on white background */
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__benefit-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439; /* Brand green for card titles */
}

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

.page-register__steps-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.page-register__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFF00; /* Yellow for step numbers */
  margin-bottom: 15px;
}

.page-register__process-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__security-section {
  padding: 80px 20px;
  background-color: #017439; /* Brand green for this section */
  color: #ffffff;
}

.page-register__security-section .page-register__section-title,
.page-register__security-section .page-register__section-description {
  color: #ffffff; /* Ensure titles/descriptions are white on green background */
}

.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__security-text {
  flex: 1;
}

.page-register__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for sub-titles */
}

.page-register__text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-register__link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: underline;
}

.page-register__link:hover {
  color: #e0e000;
}

.page-register__security-image {
  flex: 0 0 600px; /* Fixed width for desktop */
  width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-register__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.page-register__promo-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-register__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFFFFF;
  color: #017439; /* Brand green for secondary button font */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  margin-top: 20px;
}

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

.page-register__callout-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #017439;
  margin-top: 40px;
}

.page-register__ecosystem-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__ecosystem-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-register__ecosystem-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-register__ecosystem-item a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: 600;
}

.page-register__ecosystem-item a:hover {
  text-decoration: underline;
}

.page-register__ecosystem-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #FFFF00;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-register__ecosystem-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #eef;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 20px;
  color: #017439;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  background-color: #fefefe;
}

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

.page-register__cta-final-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__final-cta {
  margin-bottom: 20px;
}

.page-register__final-login {
  display: inline-block;
  margin-left: 20px;
}

/* General image responsiveness */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile adaptations */
@media (max-width: 1024px) {
  .page-register__hero-content {
    max-width: 700px;
  }

  .page-register__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-register__security-image {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__main-title {
    font-size: 2.2rem !important;
  }

  .page-register__hero-description {
    font-size: 1rem !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important; /* Reset margin for single column */
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-register__hero-cta,
  .page-register__ecosystem-cta,
  .page-register__final-cta,
  .page-register__final-login {
    margin-top: 15px !important;
  }

  .page-register__final-login {
    margin-left: 0 !important;
  }

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

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

  .page-register__benefits-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__ecosystem-section,
  .page-register__cta-final-section {
    padding: 40px 15px !important;
  }

  .page-register__benefits-grid,
  .page-register__steps-container,
  .page-register__promo-cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__promo-card {
    padding: 20px !important;
  }

  .page-register__card-title {
    font-size: 1.2rem !important;
  }

  .page-register__card-text {
    font-size: 0.9rem !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-image-wrapper,
  .page-register__process-image,
  .page-register__security-image,
  .page-register__promo-image,
  .page-register__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-register__faq-question {
    font-size: 1rem !important;
    padding: 15px 20px !important;
  }

  .page-register__faq-answer {
    padding: 10px 20px 15px !important;
    font-size: 0.9rem !important;
  }

  .page-register__sub-title {
    font-size: 1.4rem !important;
  }

  .page-register__text {
    font-size: 0.9rem !important;
  }

  .page-register__ecosystem-item {
    font-size: 0.95rem !important;
    padding: 12px 15px !important;
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-final-section .page-register__btn-primary,
  .page-register__cta-final-section .page-register__btn-secondary {
    display: block;
    margin: 0 auto 15px auto !important; /* Stack buttons */
  }
}