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

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F5F7FA; /* Ensure a consistent background */
  color: #333333;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-register__subtitle {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-register__process-section,
.page-register__benefits-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
  padding: 60px 0;
}

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

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

.page-register__process-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.page-register__step-item {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-width: 280px;
  box-sizing: border-box;
}

.page-register__step-icon img {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 4px;
}

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

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

.page-register__action-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-register__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-register__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

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

.page-register__benefit-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-register__security-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-register__security-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-register__security-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-register__security-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
  color: #333333;
}

.page-register__security-list li::before {
  content: '✓';
  color: #E53935;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__list-strong {
    color: #E53935;
}

.page-register__btn-text-link {
    color: #E53935;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__btn-text-link:hover {
    color: #FF5A4F;
}

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

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #ffffff;
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-register__cta-bottom-content {
    text-align: center;
}

.page-register__cta-button--large {
    font-size: 20px;
    padding: 18px 50px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__process-steps {
    gap: 20px;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image, .page-register__security-text {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__hero-image img {
    border-radius: 4px;
  }
  
  .page-register__main-title {
    font-size: 2em;
  }
  
  .page-register__subtitle {
    font-size: 1em;
  }
  
  .page-register__cta-button {
    padding: 12px 30px;
    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__section-title {
    font-size: 1.8em;
  }

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

  .page-register__process-section,
  .page-register__benefits-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    padding: 40px 0;
  }

  .page-register__step-item {
    padding: 20px;
    flex: 1 1 100%;
  }

  .page-register__step-title {
    font-size: 1.2em;
  }

  .page-register__action-area {
      flex-direction: column;
      gap: 15px;
      padding: 0 15px;
  }

  .page-register__btn-primary,
  .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__benefit-card {
    padding: 20px;
  }

  .page-register__security-list li {
    font-size: 1em;
  }

  details.page-register__faq-item summary.page-register__faq-question { padding: 15px; }
  .page-register__faq-qtext { font-size: 15px; }
  details.page-register__faq-item .page-register__faq-answer { padding: 0 15px 15px; }
  
  .page-register__cta-button--large {
    font-size: 18px;
    padding: 15px 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness for all images */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure min-width for content images */
.page-register img:not(.page-register__hero-image img) {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

/* No CSS filters for images */
.page-register img {
    filter: none; /* Explicitly disable any filters */
}