.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  line-height: 1.6;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
  min-height: 500px;
}

.page-register__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.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; /* Subtle overlay to ensure text contrast */
  display: block;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-register__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  margin-bottom: 40px;
  color: inherit; /* Inherits from section's color */
}

.page-register__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-register__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: inherit;
}

.page-register__introduction-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__steps-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-register__image-with-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-register__image-with-text .page-register__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__steps-list {
  flex: 1.5;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  background-color: #ffffff;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__step-item .page-register__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-item .page-register__paragraph {
  color: #555555;
}

.page-register__btn-container {
  margin-top: 40px;
}

.page-register__benefits-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-register__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-register__card .page-register__paragraph {
  color: #e0e0e0;
}

.page-register__security-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__security-section .page-register__sub-title {
  color: #ffffff;
}

.page-register__security-section .page-register__paragraph {
  color: #f0f0f0;
}

.page-register__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-register__security-section .page-register__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-register__security-section .page-register__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-register__faq-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-register__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-register__faq-item[open] summary {
  background-color: #f0f0f0;
}

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

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

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  color: #555555;
  font-size: 0.95em;
}

.page-register__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-register__cta-final-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding-bottom: 80px;
}

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

.page-register__cta-final-section .page-register__paragraph {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-register__hero-content {
    padding: 15px;
  }

  .page-register__image-with-text {
    flex-direction: column;
    text-align: center;
  }

  .page-register__image-with-text .page-register__image-wrapper,
  .page-register__image-with-text .page-register__steps-list {
    min-width: unset;
    width: 100%;
  }

  .page-register__content-wrapper {
    flex-direction: column;
  }

  .page-register__text-block,
  .page-register__security-section .page-register__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-register__section {
    padding: 50px 15px;
  }

  .page-register__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-register__sub-title {
    font-size: clamp(1.2em, 4vw, 1.6em);
  }

  .page-register__container,
  .page-register__card,
  .page-register__section,
  .page-register__hero-section,
  .page-register__image-with-text,
  .page-register__content-wrapper,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-button,
  .page-register__btn-primary,
  .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__hero-image,
  .page-register__content-image,
  .page-register__card-image,
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__card {
    padding: 20px;
  }
}