.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--black-color); /* Assuming body background is dark */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
}

.page-register__hero-section.page-register__dark-bg {
    background-color: #1a1a1a; /* Explicit dark background */
    color: #ffffff;
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

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

/* General Section Styling */
.page-register__info-section,
.page-register__guide-section,
.page-register__tips-section,
.page-register__promo-section,
.page-register__faq-section,
.page-register__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__info-section,
.page-register__guide-section,
.page-register__tips-section,
.page-register__faq-section {
  background-color: #ffffff; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-register__promo-section,
.page-register__conclusion-section {
  background-color: #1a1a1a; /* Dark background for these sections */
  color: #ffffff;
}

.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
}
.page-register__info-section .page-register__section-title,
.page-register__guide-section .page-register__section-title,
.page-register__tips-section .page-register__section-title,
.page-register__faq-section .page-register__section-title {
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-register__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555; /* Darker grey for intro text on light background */
}
.page-register__promo-section .page-register__section-intro,
.page-register__conclusion-section .page-register__section-intro {
    color: #f0f0f0; /* Lighter grey for intro text on dark background */
}


/* Feature Grid */
.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-register__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-register__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__feature-description {
  color: #555555;
}

/* CTA Box */
.page-register__cta-box {
  background-color: #26A9E0;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 50px auto 0 auto;
  color: #ffffff;
}
.page-register__cta-box.page-register__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-register__cta-box.page-register__light-bg {
    background-color: #f0f0f0;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-register__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}
.page-register__cta-box.page-register__light-bg .page-register__cta-title,
.page-register__cta-box.page-register__light-bg .page-register__dark-text {
    color: #26A9E0;
}

.page-register__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}
.page-register__cta-box.page-register__light-bg .page-register__cta-text,
.page-register__cta-box.page-register__light-bg .page-register__dark-text {
    color: #555555;
}


/* Step-by-step Guide */
.page-register__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
  text-align: left;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #26A9E0;
  border-radius: 50%;
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-description {
  color: #555555;
  margin-bottom: 20px;
}

.page-register__info-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__info-list li {
  margin-bottom: 8px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Tips Section */
.page-register__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-register__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-register__tip-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 20px;
}

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

.page-register__tip-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #555555;
}

.page-register__tip-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Promotions Section */
.page-register__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__promo-card {
  background-color: #2a2a2a; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-register__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__promo-description {
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-register__faq-item {
  background-color: #f9f9f9;
  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;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-heading {
    margin: 0;
    font-size: 1.1em;
    color: #333333;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* For '+' to 'x' or just use '−' */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #f9f9f9;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-register__faq-answer p {
  margin-bottom: 10px;
  color: #555555;
}

/* Conclusion Section */
.page-register__conclusion-section {
  padding: 100px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__conclusion-section .page-register__section-title {
  color: #ffffff;
}

.page-register__conclusion-section .page-register__section-intro {
  color: #f0f0f0;
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  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: none;
  cursor: pointer;
}

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  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 #26A9E0;
  cursor: pointer;
}

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

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 0;
  }
  .page-register__hero-section .page-register__container {
    flex-direction: column;
    text-align: center;
  }
  .page-register__hero-content {
    order: 2;
  }
  .page-register__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__features-grid,
  .page-register__promo-grid,
  .page-register__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-bottom: 20px;
  }
  .page-register__info-list {
    text-align: left;
    margin-left: 0;
    padding-left: 20px;
  }
  .page-register__cta-box {
    padding: 30px 20px;
  }
  .page-register__cta-title {
    font-size: 1.5em;
  }
  .page-register__cta-text {
    font-size: 1em;
  }
  .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;
    padding-right: 15px;
  }
  .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-buttons {
    display: flex;
    flex-direction: column;
  }

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

  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__cta-title {
    font-size: 1.3em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__faq-answer {
    font-size: 0.95em;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-register__hero-image,
.page-register__feature-icon,
.page-register__step-image,
.page-register__promo-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Color contrast fixes based on body background assumed dark */
.page-register__info-section,
.page-register__guide-section,
.page-register__tips-section,
.page-register__faq-section {
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}
.page-register__info-section h2,
.page-register__guide-section h2,
.page-register__tips-section h2,
.page-register__faq-section h2,
.page-register__info-section h3,
.page-register__guide-section h3,
.page-register__tips-section h3,
.page-register__faq-section h3 {
    color: #26A9E0; /* Brand color for headings */
}
.page-register__info-section p,
.page-register__guide-section p,
.page-register__tips-section p,
.page-register__faq-section p,
.page-register__info-list li,
.page-register__tip-list li,
.page-register__faq-answer p {
    color: #555555; /* Dark grey for body text */
}

/* Darker sections */
.page-register__hero-section,
.page-register__promo-section,
.page-register__conclusion-section {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}
.page-register__hero-section h1,
.page-register__promo-section h2,
.page-register__conclusion-section h2,
.page-register__promo-section h3 {
    color: #26A9E0; /* Brand color for headings */
}