.page-login {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-login__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-login__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-login__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-login__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Midnight Blue */
  border: 2px solid #FFD700;
}

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

.page-login__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-login__btn--secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Midnight Blue */
}

.page-login__content-section {
  padding: 60px 0;
  background-color: #000080; /* Midnight Blue auxiliary color for content section */
  color: #ffffff;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-login__text-block {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}

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

.page-login__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-login__step-item:hover {
  transform: translateY(-10px);
}

.page-login__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-login__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-login__step-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-login__security-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 80px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.page-login__security-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  text-align: left;
}

.page-login__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 4px solid #FFD700;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.page-login__security-list li p {
  margin: 0;
}

.page-login__security-list li::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
}

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

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-question {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 20px 25px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  color: #FFD700; /* Gold */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-login__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.page-login__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-login__faq-icon {
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"><path d="M7 10l5 5 5-5z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.page-login__faq-question.active .page-login__faq-icon {
  transform: rotate(180deg);
}

.page-login__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
}

.page-login__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__security-section {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 15px 30px;
    min-height: 400px;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-login__content-section {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-login__text-block {
    margin-bottom: 40px;
    font-size: 0.95em;
  }
  .page-login__steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  .page-login__step-item {
    padding: 25px;
  }
  .page-login__step-title {
    font-size: 1.4em;
  }
  .page-login__security-section {
    padding: 20px;
  }
  .page-login__security-list li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer.active {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__btn {
    font-size: 0.9em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__step-title {
    font-size: 1.2em;
  }
  .page-login__faq-question {
    font-size: 1em;
  }
}