/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

.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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top margin, body handles main offset */
  text-align: center;
  background-color: #1a1a1a; /* A darker background for hero to contrast with content */
  color: #ffffff;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.page-register__hero-content {
  max-width: 800px;
  margin-top: 20px;
}

.page-register__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-register__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #e0e0e0;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-register__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-register__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.3;
}

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

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

.page-register__section-intro {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-register__dark-section .page-register__section-intro {
  color: #e0e0e0;
}

.page-register__light-bg .page-register__section-intro {
  color: #555555;
}

.page-register__light-bg p,
.page-register__light-bg li {
  color: #333333;
}

.page-register__light-bg a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__light-bg a:hover {
  text-decoration: underline;
}

/* Feature Cards (Why Register Section) */
.page-register__features-grid,
.page-register__steps-grid,
.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark sections */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__light-bg .page-register__card {
  background: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

.page-register__feature-image,
.page-register__step-image,
.page-register__benefit-icon,
.page-register__policy-image {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-width: 400px; /* Constrain max width for smaller images */
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-register__benefit-icon {
  max-width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__benefit-title,
.page-register__policy-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #26A9E0; /* Brand color for titles */
}

.page-register__dark-section .page-register__feature-title,
.page-register__dark-section .page-register__step-title,
.page-register__dark-section .page-register__benefit-title,
.page-register__dark-section .page-register__policy-subtitle {
  color: #26A9E0;
}

.page-register__feature-description,
.page-register__step-description,
.page-register__benefit-description,
.page-register__policy-description {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-register__light-bg .page-register__feature-description,
.page-register__light-bg .page-register__step-description,
.page-register__light-bg .page-register__benefit-description,
.page-register__light-bg .page-register__policy-description {
  color: #555555;
}

/* Policy Section */
.page-register__policy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.page-register__policy-item {
  flex: 1 1 45%;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-register__policy-item p a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__policy-item p a:hover {
  text-decoration: underline;
}

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

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

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

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #e0e0e0;
}

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

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

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

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

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

.page-register__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-register__more-faq {
  text-align: center;
  margin-top: 30px;
  font-size: 1.05rem;
  color: #555555;
}

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

.page-register__more-faq a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-register__cta-final {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__cta-final .page-register__section-intro {
  color: #ffffff;
  margin-bottom: 40px;
}

.page-register__cta-final .page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  border-color: #EA7C07;
}

.page-register__cta-final .page-register__btn-primary:hover {
  background-color: #c76706;
  border-color: #c76706;
}

.page-register__cta-final .page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-register__cta-final .page-register__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }

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

  .page-register__policy-item {
    flex: 1 1 100%;
  }

  .page-register__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-register__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }

  .page-register__feature-title,
  .page-register__step-title,
  .page-register__benefit-title,
  .page-register__policy-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-register__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-register__section {
    padding: 40px 0;
  }

  .page-register__section-intro {
    margin-bottom: 30px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-register__card {
    padding: 25px;
  }

  .page-register__feature-image,
  .page-register__step-image,
  .page-register__benefit-icon,
  .page-register__policy-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-register__policy-item {
    padding: 25px;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-register__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-register__faq-list {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__more-faq {
    padding: 0 15px;
  }

  /* Ensure all images in content areas are responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Specific overrides for video section if it were present */
  .page-register__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-register__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .page-register__description {
    font-size: 1rem;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .page-register__policy-item {
    min-width: unset;
  }
}