.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content background should be transparent to show body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Container for consistent spacing */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-register__hero-section,
.page-register__form-section,
.page-register__benefits-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__promotions-section,
.page-register__video-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.page-register__dark-bg {
  background-color: #000000; /* Explicitly dark background for some sections */
  color: #ffffff;
}

.page-register__section-title {
  font-size: 3em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-register__hero-section {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  position: relative;
  color: #ffffff;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color */
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-submit {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box; /* Ensure padding and border are included in element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border-color: #26A9E0;
}

.page-register__btn-primary:hover {
  background-color: #1a7fb3; /* Darker shade */
  border-color: #1a7fb3;
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand color */
  border-color: #26A9E0;
}

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

.page-register__btn-submit {
  background-color: #EA7C07; /* Login color for submit */
  color: #ffffff;
  border-color: #EA7C07;
  width: 100%;
  margin-top: 20px;
}

.page-register__btn-submit:hover {
  background-color: #c06305;
  border-color: #c06305;
}

.page-register__btn-large {
  padding: 18px 35px;
  font-size: 1.3em;
}

/* Form Section */
.page-register__form-section {
  padding: 60px 0;
}

.page-register__registration-form {
  max-width: 500px;
  margin: 40px auto 20px auto;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for form background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #1a1a1a; /* Dark input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaa;
}

.page-register__form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.page-register__checkbox-input {
  margin-right: 10px;
  margin-top: 4px; /* Align checkbox with text */
}

.page-register__checkbox-label {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-register__link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__link:hover {
  color: #1a7fb3;
  text-decoration: underline;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Benefits Section */
.page-register__benefits-section {
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__benefit-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 200px; /* Max size for card icons */
  height: auto;
  margin-bottom: 20px;
  filter: none; /* No CSS filters to change image color */
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Steps Section */
.page-register__steps-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

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

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

.page-register__steps-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Security Section */
.page-register__security-section {
  background-color: #000000;
  color: #ffffff;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__security-feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-register__security-feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

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

.page-register__promotion-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-register__promotion-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-register__video-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #000000;
  color: #ffffff;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1); /* Light brand color background */
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-register__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

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

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X or a minus */
  color: #EA7C07; /* Highlight color when active */
}

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

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

.page-register__faq-text {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}