/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main color, as body background is dark */
  background-color: #08160F; /* Background color for the main content area */
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  text-align: center;
  background-color: #08160F; /* Deep Green background */
  position: relative;
  overflow: hidden;
}

.page-login__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1; /* Ensure text is above image if any overlap */
}

.page-login__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-login__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Text Main for primary button */
  border: 2px solid transparent;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green from primary gradient */
  border: 2px solid #2AD16F; /* Border color from primary gradient */
}

.page-login__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Limit hero image width */
    margin-top: 40px; /* Space between content and image */
    box-sizing: border-box;
    overflow: hidden;
}

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

/* General Section Styles */
.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-login__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-login__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

/* Light Background Section */
.page-login__light-bg {
  background-color: #11271B; /* Card BG color */
  color: #F2FFF6; /* Text Main for light sections */
  padding: 80px 0;
}

/* Dark Background Section (used for hero and guide sections) */
.page-login__dark-bg {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main for dark sections */
  padding: 80px 0;
}

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

.page-login__benefit-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-login__card-image {
  width: 100%;
  max-width: 300px; /* Adjust as needed */
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-login__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

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

/* Guide Section */
.page-login__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-login__step-item {
  text-align: center;
  background-color: #11271B; /* Card BG color */
  padding: 40px 25px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-login__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.4);
}

.page-login__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

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

.page-login__cta-buttons--center {
  margin-top: 60px;
}

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

.page-login__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6; /* Text Main */
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG color */
  position: relative;
  list-style: none; /* Remove default summary marker */
}

.page-login__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-login__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-login__faq-toggle {
  font-size: 1.8rem;
  font-weight: 500;
  color: #2AD16F; /* Green from primary gradient */
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* CTA Download Section */
.page-login__cta-download {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
    background-color: #08160F; /* Background color */
    text-align: center;
}

.page-login__cta-download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.page-login__cta-download-image {
    width: 100%;
    max-width: 500px;
}

.page-login__download-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}


/* Responsive Design */
@media (min-width: 768px) {
  .page-login__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 80px 40px;
  }

  .page-login__hero-content {
    flex: 1;
    margin-right: 60px;
    margin-bottom: 0;
  }

  .page-login__hero-image-wrapper {
    flex: 1;
    margin-top: 0;
    max-width: 600px;
  }

  .page-login__main-title {
    text-align: left;
  }

  .page-login__description {
    text-align: left;
  }

  .page-login__cta-buttons {
    justify-content: flex-start;
  }

  .page-login__section-title {
    margin-bottom: 60px;
  }

  .page-login__text-block {
    margin-bottom: 70px;
  }

  .page-login__cta-download {
      flex-direction: row;
      text-align: left;
      justify-content: center;
      padding: 100px 40px;
  }

  .page-login__cta-download-content {
      align-items: flex-start;
      margin-right: 60px;
  }

  .page-login__cta-download .page-login__section-title,
  .page-login__cta-download .page-login__description {
      text-align: left;
  }

  .page-login__cta-download .page-login__cta-buttons {
      justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  /* Global mobile padding for content sections */
  .page-login__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Images responsive */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-image-wrapper,
  .page-login__cta-download-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Videos responsive (if any) */
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Ensure full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add some padding to prevent text touching edges */
    padding-right: 15px;
  }
  
  .page-login__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to container */
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Space between stacked buttons */
    overflow: hidden !important;
  }

  /* Adjust padding for sections on mobile */
  .page-login__hero-section,
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__faq-section,
  .page-login__cta-download {
    padding: 40px 0 !important;
  }

  .page-login__hero-section {
    padding-top: 10px !important;
  }

  .page-login__main-title {
    font-size: 2rem;
  }

  .page-login__section-title {
    font-size: 1.8rem;
  }

  .page-login__hero-content {
      margin-bottom: 30px;
  }
}