/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so use light text */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  background-color: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 1;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

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

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

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

/* General Section Styles */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FF4500;
}

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

.page-register__light-bg {
  background-color: #f8f8f8;
  color: #333333; /* Light background, dark text */
  padding: 80px 0;
}

.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description {
  color: #333333;
}

.page-register__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Dark background, light text */
  padding: 80px 0;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-register__btn-primary:hover {
  background-color: #e63900;
  transform: translateY(-3px);
}

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

.page-register__btn-secondary:hover {
  background-color: #1E90FF;
  color: #ffffff;
  transform: translateY(-3px);
}

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

.page-register__benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

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

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FF4500;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #0a0a0a;
}

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

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

.page-register__steps-image {
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-register__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

.page-register__security-list {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333333;
}

.page-register__security-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.8;
}

.page-register__security-list-heading {
  color: #FF4500;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

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

/* Why Choose Section */
.page-register__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-register__why-choose-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-register__why-choose-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__why-choose-title {
  font-size: 1.5em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-register__why-choose-text {
  font-size: 1em;
  color: #cccccc;
}

.page-register__why-choose-image {
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #e5e5e5;
}

.page-register__faq-question-title {
  margin: 0;
  color: #1E90FF;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FF4500;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1.05em;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

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

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

.page-register__cta-section .page-register__section-title {
  color: #ffffff;
}

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

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

.page-register__cta-section .page-register__btn-primary {
  background-color: #FF4500;
  border-color: #FF4500;
}

.page-register__cta-section .page-register__btn-primary:hover {
  background-color: #e63900;
}

.page-register__cta-section .page-register__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-register__cta-section .page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #1E90FF;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-register__light-bg,
  .page-register__dark-bg {
    padding: 60px 0;
  }

  .page-register__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-register__section-description {
    font-size: 1em;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__why-choose-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-register__security-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-register__security-list li {
    padding: 15px;
  }

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

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

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

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

  .page-register__cta-section {
    padding: 80px 0;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  
  /* Images responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos must be constrained */
  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__why-choose-section,
  .page-register__faq-section,
  .page-register__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Ensure no horizontal scroll for elements within sections */
  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__security-content,
  .page-register__why-choose-grid,
  .page-register__faq-list,
  .page-register__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 0.95em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__benefit-title,
  .page-register__step-title,
  .page-register__why-choose-title {
    font-size: 1.3em;
  }
  .page-register__faq-question-title {
    font-size: 1em;
  }
}