.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background */
  background-color: var(--primary-color); /* Inherit from shared.css */
}

.page-register__dark-section {
  background-color: #0A1931;
  color: #ffffff;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-register__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  text-align: left;
  max-width: 600px;
  margin-left: 20px;
}

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

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

.page-register__hero-cta {
  display: flex;
  gap: 20px;
}

.page-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 0;
}

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

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

.page-register__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

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

/* Features Section */
.page-register__features-section,
.page-register__steps-section,
.page-register__bonus-section,
.page-register__mobile-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 80px 0;
}

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

.page-register__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-register__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

.page-register__steps-image-wrapper {
  text-align: center;
}

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

/* Bonus Section */
.page-register__bonus-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__bonus-text {
  flex: 1;
}

.page-register__bonus-text h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0A1931;
}

.page-register__bonus-text p {
  margin-bottom: 15px;
  color: #555555;
}

.page-register__bonus-text ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-register__bonus-text ul li {
  margin-bottom: 8px;
  color: #555555;
}

.page-register__bonus-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* Mobile Section */
.page-register__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-register__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-register__mobile-text {
  flex: 1;
  color: #ffffff;
}

.page-register__mobile-text h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__mobile-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Security Section */
.page-register__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-register__security-item {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-register__security-item h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #0A1931;
}

.page-register__security-item p {
  font-size: 1em;
  color: #555555;
}

.page-register__security-image-wrapper {
  text-align: center;
}

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

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

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

.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 */
  padding: 15px 25px 20px 25px;
}

.page-register__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-register__cta-section {
  text-align: center;
  padding: 60px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-register__hero-content {
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 40px;
  }

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

  .page-register__hero-image-wrapper {
    justify-content: center;
  }

  .page-register__bonus-content,
  .page-register__mobile-content {
    flex-direction: column;
  }

  .page-register__mobile-content {
    flex-direction: column; /* Reset for mobile, image on top */
  }
}

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

  .page-register__hero-section {
    padding: 40px 15px;
    min-height: auto;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-register__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-register__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-register__features-section,
  .page-register__steps-section,
  .page-register__bonus-section,
  .page-register__mobile-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 0;
  }

  .page-register__container {
    padding: 0 15px;
  }

  /* Images responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__hero-image-wrapper,
  .page-register__steps-image-wrapper,
  .page-register__bonus-image-wrapper,
  .page-register__mobile-image-wrapper,
  .page-register__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons responsive */
  .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__hero-cta,
  .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;
    flex-direction: column;
  }

  .page-register__faq-question,
  .page-register__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}