.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #000000, so text should be light for main container */
  background-color: transparent; /* Main content background will be handled by sections */
}

/* Fixed header offset */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0, #0056b3); /* Brand color gradient */
  padding-bottom: 80px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-login__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-login__form-wrapper {
  background-color: rgba(255, 255, 255, 0.95); /* Light background for the form */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 0 auto;
  color: #333333; /* Dark text for light background */
  text-align: left;
}

.page-login__form-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333333;
}

.page-login__form-input::placeholder {
  color: #888;
}

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07; /* Custom color for login button */
  color: #ffffff;
  text-align: center;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary:hover {
  background-color: #d16b06;
}

.page-login__form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
  color: #555555;
}

.page-login__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

/* General Section Styles */
.page-login__benefits-section,
.page-login__faq-section,
.page-login__cta-section,
.page-login__security-tips-section {
  padding: 80px 0;
  text-align: center;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-login__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

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

.page-login__card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light background */
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-login__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-login__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
}

/* Security List */
.page-login__security-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-login__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-login__list-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-login__list-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__list-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* FAQ Section */
.page-login__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #f0f0f0;
}

.page-login__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fcfcfc;
  text-align: left;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-login__faq-answer p {
  margin: 0;
  color: #555555;
  line-height: 1.7;
}

/* CTA Section */
.page-login__cta-section {
  background-color: #26A9E0;
  padding: 100px 0;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background-color: #ffffff;
  color: #26A9E0;
  text-align: center;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  margin-top: 30px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-secondary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2.2em;
  }
  .page-login__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-bottom: 60px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__intro-text {
    font-size: 1em;
  }
  .page-login__form-wrapper {
    padding: 30px;
    max-width: 100%;
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-login__form-title {
    font-size: 1.8em;
  }
  .page-login__benefits-section,
  .page-login__faq-section,
  .page-login__cta-section,
  .page-login__security-tips-section {
    padding: 50px 0;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-login__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-login__card {
    padding: 25px;
  }
  .page-login__card-title {
    font-size: 1.4em;
  }
  .page-login__security-list {
    padding: 0 15px;
  }
  .page-login__list-item {
    padding: 20px;
  }
  .page-login__list-title {
    font-size: 1.3em;
  }
  .page-login__faq-question {
    padding: 15px 20px;
  }
  .page-login__faq-question h3 {
    font-size: 1.1em;
  }
  .page-login__faq-answer {
    padding: 0 20px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 15px 20px;
  }

  /* Image, Video, Button responsive rules */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__form-wrapper,
  .page-login__login-button,
  .page-login__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding handled by specific elements or inner containers */
  }
  .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;
  }
  .page-login__cta-section .page-login__btn-secondary {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
}