/* style/login.css */
/* Body background is #f4f7f6 (light), so general text should be dark. */
/* Custom colors: */
/* Button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
/* Card BG: #11271B */
/* Background: #08160F */
/* Text Main: #F2FFF6 */
/* Text Secondary: #A7D9B8 */
/* Border: #2E7A4E */
/* Glow: #57E38D */
/* Gold: #F2C14E */
/* Divider: #1E3A2A */
/* Deep Green: #0A4B2C */

.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f4f7f6; /* Inherited from body via shared.css */
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #f4f7f6; /* Light background for hero section */
  color: #333333;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-login__hero-content {
  max-width: 800px;
  margin-top: 30px;
}

.page-login__main-title {
  font-size: clamp(2.2em, 4vw, 3em);
  font-weight: bold;
  color: #11A84E; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.1em;
  color: #333333;
  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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main for button */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #11A84E; /* Main brand color for text */
  border: 2px solid #11A84E; /* Border color */
}

.page-login__btn-secondary:hover {
  background-color: #11A84E;
  color: #F2FFF6; /* Text Main for button */
  transform: translateY(-2px);
}

/* Dark sections for contrast */
.page-login__dark-section {
  background-color: #08160F; /* Background custom color */
  color: #F2FFF6; /* Text Main custom color */
  padding: 60px 0;
}

.page-login__light-bg {
  background-color: #f4f7f6;
  color: #333333;
  padding: 60px 0;
}

.page-login__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Login Form Section */
.page-login__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__card {
  background-color: #11271B; /* Card BG custom color */
  border: 1px solid #2E7A4E; /* Border custom color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #F2FFF6; /* Text Main custom color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-login__step-text,
.page-login__benefit-text,
.page-login__issue-text,
.page-login__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary custom color */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-login__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto;
}

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

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

.page-login__issue-card {
  background-color: #11271B; /* Card BG custom color */
  border: 1px solid #2E7A4E; /* Border custom color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #F2FFF6; /* Text Main custom color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Security Section */
.page-login__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-login__security-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.page-login__security-list {
  width: 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-login__security-list li {
  background-color: #11271B; /* Card BG custom color */
  border: 1px solid #2E7A4E; /* Border custom color */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main custom color */
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__security-list li strong {
  color: #57E38D; /* Glow custom color for emphasis */
}

.page-login__security-list li p {
  margin: 0;
  color: #A7D9B8; /* Text Secondary custom color */
}

/* Why Choose Section */
.page-login__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-login__faq-item {
  background-color: #11271B; /* Card BG custom color */
  border: 1px solid #2E7A4E; /* Border custom color */
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main custom color */
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main custom color */
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green custom color */
}

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

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

.page-login__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary custom color */
}

.page-login__faq-answer p {
  margin: 0;
  color: #A7D9B8; /* Text Secondary custom color */
}

.page-login__faq-answer a {
  color: #57E38D; /* Glow custom color for links */
  text-decoration: none;
}

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

details > summary::marker, /* Standard */
details > summary::-webkit-details-marker { /* Chrome, Safari */
  display: none;
}

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

/* General link styling */
.page-login a {
  color: #57E38D; /* Glow custom color for general links */
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-content {
    margin-top: 20px;
  }

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

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

  .page-login__security-content {
    flex-direction: column;
  }

  .page-login__security-image,
  .page-login__security-list {
    width: 100%;
  }
}

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

  .page-login__container {
    padding: 0 15px;
  }

  .page-login__hero-section,
  .page-login__dark-section,
  .page-login__light-bg {
    padding: 40px 0;
  }

  .page-login__hero-content {
    margin-top: 15px;
  }

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

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

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

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

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

  .page-login__section-description {
    font-size: 0.95em;
  }

  .page-login__step-card,
  .page-login__benefit-item,
  .page-login__issue-card,
  .page-login__feature-item {
    padding: 25px;
  }

  .page-login__step-image,
  .page-login__benefit-image {
    height: 180px;
  }

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

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

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

  .page-login__hero-image-wrapper,
  .page-login__steps-container,
  .page-login__benefits-grid,
  .page-login__issue-cards,
  .page-login__security-content,
  .page-login__features-grid,
  .page-login__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-login__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-login__security-list {
    width: 100% !important;
    padding: 0;
  }

  .page-login__security-list li {
    padding: 12px 15px;
  }

}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

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

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

  .page-login__step-card,
  .page-login__benefit-item,
  .page-login__issue-card,
  .page-login__feature-item {
    padding: 20px;
  }

  .page-login__step-title,
  .page-login__benefit-title,
  .page-login__issue-title,
  .page-login__feature-title {
    font-size: 1.3em;
  }

  .page-login__faq-question {
    font-size: 1em;
  }
}