/* style/register.css */
.page-register {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles padding-top, use small top padding here */
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  padding: 20px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-register__description {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.6;
}

/* General Section Styling */
.page-register__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-register__benefits-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  margin-bottom: 20px;
}

.page-register__benefits-section {
  background-color: #08160F; /* Background */
}

.page-register__security-section {
  background-color: #11271B; /* Card BG */
}

.page-register__faq-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-register__cta-final-section {
  background-color: #08160F; /* Background */
  padding-bottom: 100px;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  margin-right: 15px;
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-register__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-register__btn-secondary:hover {
  background: #57E38D;
  color: #0A4B2C; /* Deep Green */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

/* 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: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-register__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Steps Section */
.page-register__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2AD16F; /* Button top color */
  margin-right: 20px;
  line-height: 1;
}

.page-register__step-content {
  flex: 1;
}

.page-register__step-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-block {
  text-align: center;
  margin-top: 60px;
}

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

.page-register__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-register__feature-title {
  font-size: 1.4rem;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

.page-register__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-register__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

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

/* Final CTA Section */
.page-register__cta-final-section {
  text-align: center;
  padding-top: 60px;
}

.page-register__cta-final-section .page-register__description {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-content {
    max-width: 600px;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-register__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-register__hero-content {
    position: static;
    transform: none;
    margin-top: 20px;
    padding: 20px 15px;
    background-color: transparent; /* Remove dark overlay on mobile */
  }

  .page-register__hero-image-wrapper {
    max-height: 50vh;
  }

  .page-register__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-register__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__hero-content .page-register__btn-primary {
    margin-bottom: 10px;
  }

  .page-register__hero-content .page-register__btn-secondary {
    margin-bottom: 0;
  }

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

  .page-register__benefits-grid,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card,
  .page-register__feature-item {
    padding: 20px;
  }

  .page-register__benefit-icon {
    width: 100px;
    height: 100px;
  }

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-register__step-title {
    font-size: 1.4rem;
  }

  .page-register__step-text {
    font-size: 0.95rem;
  }

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

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

  /* Ensure all images are responsive */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-image-wrapper,
  .page-register__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-register__cta-final-section .page-register__btn-primary,
  .page-register__cta-final-section .page-register__btn-secondary {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__cta-final-section .page-register__btn-secondary {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }
  .page-register__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
}