.page-register {
  color: #ffffff;
  background-color: var(--primary-color);
  padding-top: var(--header-offset, 120px); /* Assuming shared.css does not add padding to body globally */
}

.page-register__hero-section {
  background: linear-gradient(135deg, #1A202C, #FFD700);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-register__hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

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

.page-register__hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Accent color for title */
}

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

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

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

.page-register__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 10px 20px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1A202C;
}

.page-register__section-title--accent {
  color: #FFD700;
}

.page-register__section-intro {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #4a5568;
}

.page-register__benefits-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1A202C;
}

.page-register__benefit-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

.page-register__steps-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-register__step-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__cta-container {
  text-align: center;
  margin-top: 60px;
}

.page-register__security-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-register__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-register__feature-icon {
  width: 100px; /* Enlarge icons for better visibility */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1A202C;
}

.page-register__feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

.page-register__promotions-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-register__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-register__promo-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #1A202C;
  pointer-events: none;
}

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

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Use rotate for '-' visual */
  color: #FFD700;
}

.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.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f9f9f9;
  color: #4a5568;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

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

.page-register__cta-final-section {
  padding: 80px 20px;
  background-color: #1A202C;
  text-align: center;
  color: #ffffff;
}

.page-register__cta-final-content {
  max-width: 800px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-register__hero-content {
    text-align: center;
    margin-top: 40px;
  }

  .page-register__hero-title {
    font-size: 38px;
  }

  .page-register__hero-description {
    font-size: 17px;
  }

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

  .page-register__section-intro {
    font-size: 16px;
  }

  .page-register__feature-icon {
    width: 90px;
    height: 90px;
  }

  .page-register__benefit-icon {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-register__hero-section {
    padding: 60px 15px;
  }

  .page-register__hero-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-register__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__btn-primary--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-register__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

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

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

  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__feature-item,
  .page-register__promo-card {
    padding: 25px;
  }

  .page-register__benefit-icon,
  .page-register__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-register__benefit-title,
  .page-register__step-title,
  .page-register__feature-title,
  .page-register__promo-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-register__benefit-description,
  .page-register__step-description,
  .page-register__feature-description,
  .page-register__promo-description,
  .page-register__faq-answer p {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-register__step-number {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .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-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }

  /* General image responsiveness for content images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for images and buttons */
  .page-register__hero-container,
  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__security-features,
  .page-register__promo-cards,
  .page-register__cta-container,
  .page-register__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Specific button container responsiveness */
  .page-register__cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-register__promo-card a.page-register__btn-secondary {
    width: auto !important; /* Allow buttons in cards to shrink */
    margin: 0 auto;
  }

  /* Remove padding from section containers in mobile if already handled by .page-register__container */
  .page-register__benefits-section .page-register__container,
  .page-register__steps-section .page-register__container,
  .page-register__security-section .page-register__container,
  .page-register__promotions-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__cta-final-section .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}