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

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-register__section-title--light {
  color: #FFFFFF;
}

.page-register__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-register__section-description--light {
  color: #f0f0f0;
}

/* Hero Section */
.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: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  overflow: hidden;
}

.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-size: 48px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__intro-text {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-register__btn-primary {
  background: #EA7C07; /* Login/Register color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-register__btn-primary:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-register__btn-secondary:hover {
  background: #e0f7fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Why Join Section */
.page-register__why-join-section {
  background-color: #f8f9fa;
}

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

.page-register__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-register__feature-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__feature-text {
  font-size: 16px;
  color: #666666;
}

/* Registration Form Section */
.page-register__form-section {
  background-color: #FFFFFF;
}

.page-register__form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: #fefefe;
  text-align: left;
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaaaaa;
}

.page-register__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

.page-register__captcha-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-register__captcha-input {
  flex-grow: 1;
}

.page-register__captcha-image {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  width: 150px; /* Fixed width for captcha image */
  height: 50px; /* Fixed height for captcha image */
  object-fit: contain;
}

.page-register__terms-checkbox {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

.page-register__terms-checkbox input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #26A9E0;
}

.page-register__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-register__link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: #EA7C07; /* Login/Register color */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
}

.page-register__submit-button:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 16px;
  color: #666666;
}

.page-register__login-link {
  color: #EA7C07; /* Login/Register color */
}

.page-register__login-link:hover {
  text-decoration: underline;
}

/* Guide Section */
.page-register__guide-section {
  background-color: #f0faff;
}

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

.page-register__step-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__step-item img {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

/* Security Section */
.page-register__security-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__security-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__security-item img {
  width: 100%;
  height: auto;
  
  margin-bottom: 15px;
  /* Removed filter: brightness(1.2); as it is a forbidden filter type */
}

.page-register__security-title {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-register__security-text {
  font-size: 15px;
  color: #f0f0f0;
}

.page-register__link--light {
  color: #fff;
  text-decoration: underline;
}

/* FAQ Section */
.page-register__faq-area {
  background-color: #f8f9fa;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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 15px;
  opacity: 0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
}

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

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

.page-register__faq-question:active {
  background: #eeeeee;
}

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

.page-register__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

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

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #3498db);
}

.page-register__cta-final-section .page-register__container {
  background-color: #FFFFFF;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.page-register__cta-final-section .page-register__section-description {
  color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 42px;
  }
  .page-register__intro-text {
    font-size: 18px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
}