.page-login {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: var(--primary-color); /* Inherit from shared.css, which is #0A1931 */
}

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

.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #0A1931;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login__hero-content {
  flex: 1;
  max-width: 600px;
  padding: 20px;
  z-index: 1;
  text-align: left;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B400;
  line-height: 1.2;
}

.page-login__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__login-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__card-title {
  font-size: 1.8em;
  color: #E0B400;
  margin-bottom: 25px;
  text-align: center;
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #3a4a61;
  border-radius: 5px;
  background-color: #1a2c42;
  color: #ffffff;
  font-size: 1em;
}

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 14px 25px;
  background-color: #E0B400;
  color: #0A1931;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-login__btn-primary:hover {
  background-color: #ffc800;
  transform: translateY(-2px);
}

.page-login__links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

.page-login__link {
  color: #E0B400;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #E0B400;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-login__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-login__benefits-section {
  background-color: #1a2c42;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-login__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #E0B400;
  margin-bottom: 15px;
}

.page-login__benefit-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-login__steps-section {
  background-color: #0A1931;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-login__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E0B400;
  color: #0A1931;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #0A1931;
}

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

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

.page-login__troubleshooting {
  background-color: rgba(224, 180, 0, 0.1);
  border-left: 5px solid #E0B400;
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: left;
}

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

.page-login__troubleshooting p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__explore-section {
  background-color: #1a2c42;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-login__explore-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-login__explore-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__explore-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 200px; /* Consistent height for cards */
}

.page-login__explore-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-login__explore-title a {
  color: #E0B400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__explore-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-login__explore-item p {
  font-size: 0.95em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-login__security-section {
  background-color: #0A1931;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-login__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__feature-icon {
  width: 100%; /* Ensure large image, not icon */
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__feature-title {
  font-size: 1.4em;
  color: #E0B400;
  margin-bottom: 10px;
}

.page-login__feature-item p {
  font-size: 0.95em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-login__security-tip {
  background-color: rgba(224, 180, 0, 0.1);
  border-left: 5px solid #E0B400;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: left;
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__mobile-section {
  background-color: #1a2c42;
  padding: 60px 0;
  color: #ffffff;
}

.page-login__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-login__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-login__mobile-subtitle {
  font-size: 1.8em;
  color: #E0B400;
  margin-bottom: 15px;
}

.page-login__mobile-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-login__mobile-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-login__mobile-list li::before {
  content: '✓';
  color: #E0B400;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-login__list-highlight {
  color: #E0B400;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  background-color: #0A1931;
  color: #E0B400;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #E0B400;
  cursor: pointer;
}

.page-login__btn-secondary:hover {
  background-color: #E0B400;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-login__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-login__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__faq-section {
  background-color: #0A1931;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a2c42;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-login__faq-title {
  font-size: 1.2em;
  color: #E0B400;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  color: #E0B400;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-login__cta-section {
  background-color: #1a2c42;
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.page-login__register-button {
  margin-top: 30px;
  max-width: 300px;
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-login__hero-section {
    flex-direction: column;
    padding: 60px 0;
  }
  .page-login__hero-content {
    max-width: 100%;
    text-align: center;
  }
  .page-login__hero-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__mobile-content {
    flex-direction: column;
  }
  .page-login__mobile-image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__container {
    padding: 0 15px !important;
  }

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

  .page-login__intro-text,
  .page-login__section-description,
  .page-login__benefit-item p,
  .page-login__step-item p,
  .page-login__troubleshooting p,
  .page-login__explore-item p,
  .page-login__feature-item p,
  .page-login__mobile-list li,
  .page-login__faq-answer p {
    font-size: 0.95em;
  }

  .page-login__login-card {
    padding: 25px;
  }

  .page-login__card-title {
    font-size: 1.5em;
  }

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

  .page-login__links a {
    display: block;
    margin: 10px 0;
  }

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

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

  .page-login__explore-image,
  .page-login__feature-icon,
  .page-login__mobile-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
  }

  .page-login__hero-image-wrapper,
  .page-login__mobile-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .page-login__mobile-text {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-login__faq-question {
    padding: 15px;
  }

  .page-login__faq-title {
    font-size: 1.1em;
  }

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

  .page-login__faq-item.active .page-login__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  .page-login__register-button {
    max-width: 100%;
  }

  /* Ensure all sections/containers containing images/videos/buttons are responsive */
  .page-login__hero-section,
  .page-login__benefits-section,
  .page-login__steps-section,
  .page-login__explore-section,
  .page-login__security-section,
  .page-login__mobile-section,
  .page-login__faq-section,
  .page-login__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__login-card {
    padding: 20px;
  }
  .page-login__card-title {
    font-size: 1.3em;
  }
  .page-login__form-input {
    padding: 10px;
  }
  .page-login__btn-primary {
    font-size: 0.95em;
  }
  .page-login__link {
    font-size: 0.9em;
  }
  .page-login__benefit-title,
  .page-login__step-title,
  .page-login__explore-title,
  .page-login__feature-title,
  .page-login__mobile-subtitle {
    font-size: 1.2em;
  }
  .page-login__faq-title {
    font-size: 1em;
  }
}