.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Ensure body background is respected */
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Apply header offset */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(50%); /* Subtle filter to make text pop */
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 1;
}

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

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f8ff;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
  font-weight: bold;
}

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

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

.page-register__dark-section .page-register__section-intro {
  color: #e0e0e0;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

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

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

.page-register__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-register__benefit-description {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a7bbd, #26A9E0);
  color: #ffffff;
}

.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #EA7C07; /* Login color for steps */
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-register__guide-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Verification Section */
.page-register__verification-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-register__verification-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-register__text-block {
  flex: 1;
  min-width: 300px;
}

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

.page-register__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__text-block li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-register__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__verification-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bonus Section */
.page-register__bonus-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
}

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

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

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

.page-register__bonus-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-register__bonus-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-register__bonus-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

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

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  font-size: 1.2em;
  color: #333333;
  margin: 0;
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #EA7C07, #d16b00); /* Login color gradient */
  color: #ffffff;
  text-align: center;
}

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

.page-register__cta-section .page-register__section-intro {
  color: #f8f8f8;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .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__benefits-grid,
  .page-register__guide-steps,
  .page-register__bonus-grid {
    grid-template-columns: 1fr;
  }

  .page-register__verification-content {
    flex-direction: column;
  }

  .page-register__text-block {
    min-width: unset;
  }

  .page-register__image-wrapper {
    min-width: unset;
  }

  /* Force responsive for all images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/buttons/videos are responsive */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__verification-section,
  .page-register__bonus-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__benefit-item,
  .page-register__step-item,
  .page-register__bonus-card,
  .page-register__faq-item,
  .page-register__verification-content,
  .page-register__text-block,
  .page-register__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Button responsiveness */
  .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;
    margin-bottom: 15px;
  }

  /* If multiple buttons, stack them vertically on mobile */
  .page-register__hero-section .page-register__btn-primary,
  .page-register__cta-section .page-register__btn-primary {
    width: auto !important; /* Override width:100% for single buttons in hero/cta */
    max-width: 300px !important;
    margin: 0 auto 15px auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px 15px !important;
  }
}