/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherited from shared.css, assuming it's dark */
}

.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__dark-bg {
  background-color: #000000; /* Assuming var(--black-color) is black or very dark */
  color: #ffffff;
}

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

.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-register__section-subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Lighter text for subtitles on dark background */
}

.page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  min-height: 70vh;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  margin-right: 40px;
}

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

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

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

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

/* Form Styles */
.page-register__form {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  max-width: 450px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
}

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

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

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

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

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-register__btn-primary:hover {
  background: #1a8cc4;
  border-color: #1a8cc4;
}

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

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

.page-register__form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Benefits Section */
.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-subtitle {
  color: #333333;
}

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

.page-register__benefits-section .page-register__benefit-card {
  background: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-register__benefits-section .page-register__card-title {
  color: #26A9E0;
}

.page-register__benefits-section .page-register__card-text {
  color: #555555;
}

.page-register__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-register__step-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-register__step-number {
  position: absolute;
  top: 15px;
  left: 30px;
  background: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

/* Security Section */
.page-register__security-section .page-register__section-title,
.page-register__security-section .page-register__section-subtitle {
  color: #333333;
}

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

.page-register__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-register__security-text-block {
  flex: 2;
  min-width: 300px;
  color: #555555;
}

.page-register__security-text-block .page-register__card-title {
  color: #26A9E0;
  margin-top: 20px;
}

.page-register__security-text-block .page-register__card-title:first-of-type {
  margin-top: 0;
}

.page-register__text-block-content {
  color: #555555;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-register__faq-section .page-register__section-subtitle {
  color: #f0f0f0;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background: #1a1a1a;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
  border-top: none;
}

/* Video Section */
.page-register__video-section {
  padding: 60px 0;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-register__video-cta-btn {
  margin-top: 30px;
  font-size: 1.2em;
  padding: 15px 30px;
}

/* Final CTA Section */
.page-register__cta-section .page-register__section-title,
.page-register__cta-section .page-register__section-subtitle {
  color: #333333;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Image global styles (min-size and no filters) */
.page-register img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distorting */
  display: block;
  filter: none; /* Absolutely no CSS filters */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
    padding-top: var(--header-offset, 120px);
  }
  .page-register__hero-content {
    margin-right: 0;
    max-width: 100%;
    margin-top: 40px;
  }
  .page-register__form {
    max-width: 100%;
  }
  .page-register__hero-image-wrapper {
    justify-content: center;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 0;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-subtitle {
    font-size: 0.9em;
  }
  .page-register__card-title {
    font-size: 1.3em;
  }
  .page-register__card-text {
    font-size: 0.9em;
  }
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header */
  }
  
  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-image-wrapper,
  .page-register__video-wrapper,
  .page-register__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile video responsiveness */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsiveness */
  .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;
    padding-right: 15px;
  }
  
  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
  }

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

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__form {
    padding: 20px;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-register__form-input {
    font-size: 0.9em;
  }
}