/* style/register.css */

/* Base Styles */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-register__section-title {
  font-size: 3em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  min-height: 70vh;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-register__captcha-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

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

.page-register__captcha-code {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  min-width: 80px;
  text-align: center;
}

.page-register__checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-register__checkbox {
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

.page-register__checkbox-label {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

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

.page-register__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

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

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__login-link {
  color: #EA7C07; /* Login color */
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__benefit-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #151515;
  color: #ffffff;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__step-number {
  font-size: 3em;
  color: #26A9E0;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-register__steps-image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-register__steps-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-register__security-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__security-subtitle {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__security-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__security-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.page-register__security-footer-text {
  text-align: center;
  font-size: 1.1em;
  color: #f0f0f0;
  margin-top: 20px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #151515;
  color: #ffffff;
}

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  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: rgba(255, 255, 255, 0.15);
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

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

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

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

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

.page-register__cta-button {
  margin-top: 40px;
  display: inline-block;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(38, 169, 224, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section .page-register__container {
    flex-direction: column-reverse;
    text-align: center;
  }

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

  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__section-description {
    font-size: 0.9em;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__security-list {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness (if any video is added) */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-register__btn-primary,
  .page-register__btn-submit,
  .page-register__cta-button,
  .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;
    padding-right: 15px;
  }
  
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-register__form-wrapper {
    padding: 20px;
  }

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

  .page-register__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-register__captcha-container {
    flex-direction: column;
    align-items: stretch;
  }

  .page-register__captcha-code {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__benefit-title,
  .page-register__step-title,
  .page-register__security-subtitle {
    font-size: 1.5em;
  }
}