.page-login {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-login__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  z-index: 1;
}

.page-login__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font-size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-login__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px; /* Constrain button group width */
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-login__section-title {
  font-size: 2.2em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-login__section-description,
.page-login__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

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

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.page-login__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1); /* Light hover effect */
  transform: translateY(-2px);
}

/* Login Form Section */
.page-login__form-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
}

.page-login__login-form {
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  margin: 40px auto 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__form-group {
  margin-bottom: 20px;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 5px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column; /* Stack buttons by default */
  gap: 15px;
  margin-top: 30px;
}

.page-login__btn-submit {
  width: 100%;
}

.page-login__link-forgot-password,
.page-login__link-register {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-size: 0.95em;
  text-align: center;
  display: block;
}

.page-login__link-forgot-password:hover,
.page-login__link-register:hover {
  text-decoration: underline;
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 20px;
  color: #A7D9B8; /* Text Secondary */
}

/* Guide Section */
.page-login__guide-section {
  padding: 60px 20px;
}

.page-login__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-login__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__step-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-login__step-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* Why zv99 Section */
.page-login__why-zv99 {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
}

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

.page-login__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Constrain icon size */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-login__feature-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__feature-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-login__link-more {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-login__link-more:hover {
  text-decoration: underline;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
  padding: 60px 20px;
}

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

.page-login__issue-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-login__issue-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__issue-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-login__link-action {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start; /* Align link to left */
}

.page-login__link-action:hover {
  text-decoration: underline;
}

.page-login__contact-reminder {
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-login__faq-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
}

.page-login__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E; /* Border */
  user-select: none;
  list-style: none; /* Remove default marker for summary */
}

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

.page-login__faq-item[open] > .page-login__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

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

.page-login__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  font-size: 0.95em;
}

/* Conclusion Section */
.page-login__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

.page-login__cta-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__guide-section,
  .page-login__why-zv99,
  .page-login__troubleshooting-section,
  .page-login__faq-section,
  .page-login__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-login__hero-section {
    padding-top: 10px !important; /* Small top padding for first content section */
  }

  .page-login__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-login__hero-description {
    font-size: 1em;
  }

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

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Ensure padding inside button text */
    padding-right: 15px;
  }

  .page-login__form-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__step-by-step,
  .page-login__feature-grid,
  .page-login__issue-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-login__feature-icon {
    max-width: 150px; /* Adjust size for mobile */
  }
  
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__login-form {
    padding: 25px;
  }
}