.page-register {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1a2b45; /* Matches body background for consistency */
  min-height: 100vh;
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A1931; /* Main brand color for hero */
  position: relative;
  overflow: hidden;
  justify-content: center;
}

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

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Accent color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-register__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for primary CTA */
  color: #0A1931; /* Dark text for light button */
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-register__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-register__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__section:nth-of-type(even) {
  background-color: #0A1931; /* Alternate section background for visual separation */
}

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-register__section-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-register__benefit-description {
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-register__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.page-register__step-item {
  position: relative;
  padding-left: 80px;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FFD700;
  color: #0A1931;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-register__step-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-register__step-description {
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-register__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-register__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: none;
}

.page-register__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-register__security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__security-subtitle {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-register__security-description {
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.6;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__faq-question {
  display: block;
  padding: 20px 30px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.05);
}

.page-register__faq-toggle {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-register__cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-register__cta-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-register__cta-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-register__cta-card-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-register__cta-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-card-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__section-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto; /* Ensure images are responsive */
  display: block; /* Remove extra space below image */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }

  .page-register__section-title {
    font-size: 2.5em;
  }

  .page-register__benefit-title, .page-register__step-title, .page-register__security-subtitle {
    font-size: 1.6em;
  }

  .page-register__hero-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__section-intro {
    font-size: 1em;
  }

  .page-register__benefits-grid, .page-register__security-content, .page-register__cta-grid {
    grid-template-columns: 1fr;
  }

  .page-register__step-item {
    padding-left: 60px;
  }

  .page-register__step-item::before {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-register__step-title {
    font-size: 1.6em;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 18px 25px;
  }

  .page-register__faq-toggle {
    right: 25px;
  }

  .page-register__faq-answer {
    padding: 0 25px 15px 25px;
  }

  .page-register__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__cta-button {
    width: 100%;
    max-width: 300px;
  }

  .page-register__cta-card-title {
    font-size: 1.4em;
  }

  .page-register__cta-card-button {
    width: 100%;
  }

  .page-register__section-image {
    max-width: 100%;
    height: auto; /* IMPORTANT: Prevent image overflow on mobile */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

  .page-register__hero-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__benefit-title, .page-register__step-title, .page-register__security-subtitle {
    font-size: 1.4em;
  }

  .page-register__faq-question {
    font-size: 1em;
  }
}