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

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

.page-login__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-login__light-bg {
  background-color: #11271B; /* Card BG, acting as a lighter background for sections */
  color: #F2FFF6; /* Text Main */
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-login__hero-description {
  font-size: clamp(1em, 1.8vw, 1.2em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Lighter green from button gradient */
  border: 2px solid #2AD16F; /* Lighter green from button gradient */
}

.page-login__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
}

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

.page-login__section-description {
  font-size: clamp(0.9em, 1.6vw, 1.1em);
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-login__form-section {
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #08160F; /* Background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-login__form-label {
  display: block;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 500;
}

.page-login__form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green */
  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-input:focus {
  outline: none;
  border-color: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-login__submit-button {
  flex-grow: 1;
  min-width: 150px;
}

.page-login__forgot-password {
  color: #A7D9B8; /* Text Secondary */
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #2AD16F; /* Lighter green */
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 30px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-login__register-link {
  color: #2AD16F; /* Lighter green */
  text-decoration: none;
  font-weight: 600;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

.page-login__benefits-section {
  padding: 80px 20px;
}

.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 */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__benefit-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

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

.page-login__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__security-section {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

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

.page-login__feature-item {
  background-color: #08160F; /* Background */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-login__feature-title {
  font-size: 1.25em;
  color: #2AD16F; /* Lighter green */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__feature-text {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__security-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-login__guide-section {
  padding: 80px 20px;
}

.page-login__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  counter-reset: guide-step;
}

.page-login__guide-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__guide-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  font-size: 2.5em;
  font-weight: 700;
  color: #2AD16F; /* Lighter green */
  min-width: 50px;
  text-align: center;
  line-height: 1;
}

.page-login__guide-step-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-login__guide-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__sub-section-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-login__troubleshoot-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__troubleshoot-item {
  background-color: #0A4B2C; /* Deep Green */
  color: #A7D9B8; /* Text Secondary */
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid #57E38D; /* Glow */
  font-size: 0.95em;
}

.page-login__video-section {
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
  text-align: center;
}

.page-login__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-login__video-cta {
  margin-top: 30px;
}

.page-login__faq-section {
  padding: 80px 20px;
}

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

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

.page-login__faq-item summary {
  list-style: none;
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #13994A; /* Darker green from button gradient */
}

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

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #13994A; /* Darker green from button gradient */
  border-bottom-color: transparent;
}

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

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

.page-login__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #11271B; /* Card BG */
  position: relative;
  overflow: hidden;
}

.page-login__cta-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-content {
    padding: 30px;
  }
  .page-login__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-login__section-title {
    font-size: clamp(1.6em, 3.8vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__benefits-section,
  .page-login__security-section,
  .page-login__guide-section,
  .page-login__video-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 40px 15px;
  }

  .page-login__hero-content {
    padding: 20px;
  }

  .page-login__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-login__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1em);
    margin-bottom: 25px;
  }

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

  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-login__form-login {
    padding: 30px;
  }

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

  .page-login__submit-button {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-login__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-login__section-description {
    font-size: clamp(0.85em, 2.5vw, 1em);
    margin-bottom: 30px;
  }

  .page-login__benefits-grid,
  .page-login__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-login__guide-item::before {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-login__guide-step-title {
    font-size: 1.2em;
  }

  .page-login__video-wrapper {
    margin: 30px auto;
    padding-bottom: 56.25%; /* Maintain aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-login__video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-login__faq-toggle {
    font-size: 1.2em;
  }

  .page-login__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  /* Force full width for images and containers */
  .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__login-form,
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__benefits-section,
  .page-login__security-section,
  .page-login__guide-section,
  .page-login__video-section,
  .page-login__faq-section,
  .page-login__cta-section,
  .page-login__video-container,
  .page-login__video-wrapper,
  .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;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-login__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for decorative spacing */
  }
}