/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

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

.page-register__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-register__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding for hero section */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 600px;
  background-color: #0d0d0d;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-register__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__btn-center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

.page-register__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
  line-height: 1.3;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #cccccc;
  line-height: 1.7;
}

/* Benefits Section */
.page-register__benefits-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  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);
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  background-color: rgba(38, 169, 224, 0.15); /* Subtle hover with brand color */
}

.page-register__benefit-icon {
  width: 100%;
  height: 200px; /* Enforce min size, allow flexibility for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-register__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

/* Process Section */
.page-register__process-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-register__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__step-number {
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 25px;
  border: 4px solid #121212;
  box-shadow: 0 0 0 4px rgba(38, 169, 224, 0.5);
}

.page-register__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-register__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px;
}

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

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__feature-icon {
  width: 100%;
  height: 200px; /* Enforce min size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-register__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

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

/* Offers Section */
.page-register__offers-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-register__offer-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__offer-image {
  width: 100%;
  height: 200px; /* Enforce min size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-register__faq-title {
  font-size: 1.25em;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
}

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

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  line-height: 1.6;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px;
}

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

/* Why Choose Section */
.page-register__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-register__why-choose-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__why-choose-icon {
  width: 100%;
  height: 200px; /* Enforce min size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__why-choose-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__why-choose-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

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

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

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    min-height: 450px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    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-intro {
    font-size: 1em;
  }
  .page-register__benefits-section,
  .page-register__process-section,
  .page-register__security-section,
  .page-register__offers-section,
  .page-register__faq-section,
  .page-register__why-choose-section,
  .page-register__cta-final-section {
    padding: 50px 0;
  }
  .page-register__benefits-grid,
  .page-register__process-steps,
  .page-register__security-features,
  .page-register__offers-grid,
  .page-register__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__feature-item,
  .page-register__offer-card,
  .page-register__why-choose-item {
    padding: 20px;
  }
  .page-register__benefit-icon,
  .page-register__step-image,
  .page-register__feature-icon,
  .page-register__offer-image,
  .page-register__why-choose-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px;
  }
  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-register__faq-question {
    padding: 15px 0;
  }
  .page-register__faq-title {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 0 10px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__step-number {
    margin-top: -45px;
  }
}

/* Ensure no CSS filters on images */
.page-register img {
  filter: none !important;
}