.page-register {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for main content */
}

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

.page-register__section-title {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-register__text-content {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-register__text-content a {
  color: #FFFF00; /* Link color for content */
  text-decoration: underline;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

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

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

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.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.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register button font color */
  border: 2px solid #C30808;
}

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

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

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-register__benefits-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__bonuses-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 80px 0;
}

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

.page-register__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-register__benefit-card,
.page-register__step-card,
.page-register__bonus-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Ensure text is light */
}

.page-register__benefit-card:hover,
.page-register__step-card:hover,
.page-register__bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon,
.page-register__bonus-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-register__card-title {
  font-size: 1.5rem;
  color: #FFFF00; /* Card title color */
  margin-bottom: 15px;
}

.page-register__card-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-register__security-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-register__security-text-block {
  flex: 1;
}

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

.page-register__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-register__cta-center {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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.05);
  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;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__faq-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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; /* Sufficient height for content */
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3rem;
  }
  .page-register__section-title {
    font-size: 2rem;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    padding: 60px 15px;
  }
  .page-register__hero-title {
    font-size: 2.5rem;
  }
  .page-register__hero-description {
    font-size: 1.1rem;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__section-description {
    font-size: 1rem;
  }
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__bonuses-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 60px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__bonuses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__security-content {
    gap: 30px;
  }
  .page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-title {
    font-size: 1.1rem;
  }
  .page-register__faq-answer {
    padding: 0 15px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
  }
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-center {
    flex-direction: column;
  }
}