.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

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

.page-register__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button respects container width */
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
}

.page-register__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-register__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-register__why-join-section,
.page-register__requirements-section,
.page-register__faq-section,
.page-register__copyright-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-register__how-to-register-section,
.page-register__security-section,
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__how-to-register-section .page-register__section-title,
.page-register__security-section .page-register__section-title,
.page-register__final-cta-section .page-register__section-title {
  color: #ffffff;
}

.page-register__how-to-register-section .page-register__section-description,
.page-register__security-section .page-register__section-description,
.page-register__final-cta-section .page-register__section-description {
  color: #f0f0f0;
}

.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: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.page-register__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__feature-text {
  font-size: 1rem;
  color: #555555;
  flex-grow: 1;
}

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

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #ffffff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-register__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #EA7C07;
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  border: 4px solid #26A9E0;
}

.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 1rem;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-register__step-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-register__button-container {
  text-align: center;
  margin-top: 50px;
}

.page-register__btn--large {
  padding: 16px 40px;
  font-size: 1.15rem;
}

.page-register__btn--xl {
  padding: 18px 50px;
  font-size: 1.25rem;
  min-width: 280px;
}

.page-register__requirements-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-register__requirements-list li {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-register__requirements-list li p {
  margin: 0;
}

.page-register__warning-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #EA7C07;
  margin-top: 30px;
}

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

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-register__security-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__security-text {
  font-size: 1rem;
  color: #f0f0f0;
  flex-grow: 1;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  font-weight: 500;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

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

.page-register__final-cta-section {
  text-align: center;
  padding: 100px 0;
}

.page-register__copyright-section {
  padding: 30px 0;
  background-color: #f8f8f8;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.page-register__copyright-text {
  font-size: 0.9rem;
  color: #777777;
  margin: 0;
}

.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@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 {
    padding-top: 10px !important; /* Fixed top padding */
    padding-bottom: 40px;
    min-height: unset;
  }

  .page-register__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

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

  .page-register__btn,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-register__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-register__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-register__why-join-section,
  .page-register__requirements-section,
  .page-register__faq-section,
  .page-register__copyright-section,
  .page-register__how-to-register-section,
  .page-register__security-section,
  .page-register__final-cta-section {
    padding: 50px 0;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-register__feature-title,
  .page-register__security-title {
    font-size: 1.3rem;
  }

  .page-register__feature-text,
  .page-register__step-text,
  .page-register__security-text {
    font-size: 0.95rem;
  }

  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .page-register__step-title {
    font-size: 1.25rem;
    margin-top: 20px;
  }

  .page-register__button-container {
    margin-top: 40px;
  }

  .page-register__btn--large {
    font-size: 1.05rem;
  }

  .page-register__btn--xl {
    font-size: 1.1rem;
    min-width: unset;
  }

  .page-register__requirements-list li {
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .page-register__warning-text {
    font-size: 1rem;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-register__faq-toggle {
    font-size: 1.5rem;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-register__final-cta-section {
    padding: 60px 0;
  }

  .page-register__copyright-text {
    font-size: 0.85rem;
  }

  /* Ensure all images and containers are responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__security-features,
  .page-register__button-container,
  .page-register__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-register__hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}