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

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

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for titles */
  line-height: 1.2;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__intro-text,
.page-register__text-content {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__text-content.page-register__text-highlight {
  color: #FFD700;
  font-weight: bold;
  font-size: 20px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  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: #0A2463;
}

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

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-register__mt-20 {
    margin-top: 20px;
}

.page-register__mt-40 {
    margin-top: 40px;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: 0; /* Assumes shared.css sets body padding-top */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-register__hero-section .page-register__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-register__hero-content {
  flex: 1;
  text-align: left;
}

.page-register__hero-content .page-register__main-title {
    text-align: left;
}

.page-register__hero-content .page-register__intro-text {
    text-align: left;
}

.page-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__benefit-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__card-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
}

.page-register__steps-wrapper {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
}

.page-register__step-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #0A2463;
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid #0A2463;
}

.page-register__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__image-section {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

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

/* Promo Section */
.page-register__promo-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__promo-card img {
  width: 100%;
  height: auto;
  max-width: 350px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__promo-card .page-register__card-title {
  color: #FFD700;
}

.page-register__promo-card .page-register__card-description {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-register__card-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__card-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

/* Security Section */
.page-register__security-section {
    padding: 80px 0;
}

.page-register__security-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-register__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    color: #f0f0f0;
}

.page-register__security-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 17px;
    border-left: 4px solid #FFD700;
}

.page-register__security-list li strong {
    color: #FFD700;
}

/* Mobile Section */
.page-register__mobile-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-register__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-register__mobile-text {
    flex: 1;
    text-align: left;
}

.page-register__mobile-text .page-register__text-content {
    text-align: left;
}

.page-register__mobile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463;
  border: 1px solid #0A2463;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-register__faq-question:hover {
  background: #1e3a70;
  border-color: #1e3a70;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #FFD700;
  transform: rotate(180deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-register__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-register__cta-final-section {
    padding: 80px 0;
    background-color: #0A2463;
    text-align: center;
}

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

.page-register__cta-final-section .page-register__text-content {
    color: #f0f0f0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 40px;
  }

  .page-register__section-title {
    font-size: 30px;
  }

  .page-register__hero-section .page-register__container {
      flex-direction: column;
      text-align: center;
  }

  .page-register__hero-content,
  .page-register__hero-image-wrapper {
      flex: none;
      width: 100%;
  }

  .page-register__hero-content .page-register__main-title,
  .page-register__hero-content .page-register__intro-text {
      text-align: center;
  }

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

  .page-register__mobile-text,
  .page-register__mobile-image {
      flex: none;
      width: 100%;
  }

  .page-register__mobile-text .page-register__text-content {
      text-align: center;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__promo-section,
  .page-register__security-section,
  .page-register__mobile-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 40px 0;
  }

  .page-register__main-title {
    font-size: 32px;
  }

  .page-register__section-title {
    font-size: 26px;
  }

  .page-register__intro-text,
  .page-register__text-content,
  .page-register__card-description,
  .page-register__step-description,
  .page-register__faq-answer p {
    font-size: 15px;
  }

  .page-register__text-content.page-register__text-highlight {
      font-size: 17px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px !important; /* Ensure buttons container respects padding */
  }

  .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: 12px 15px !important; /* Adjust padding for smaller screens */
    font-size: 16px !important;
  }

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

  .page-register__step-item {
      padding: 15px;
  }

  .page-register__step-icon {
      width: 50px;
      height: 50px;
      font-size: 28px;
  }

  .page-register__step-title {
      font-size: 20px;
  }

  .page-register__benefits-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-register__faq-question {
    padding: 15px 20px;
  }

  .page-register__faq-question h3 {
    font-size: 16px;
  }

  .page-register__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}