/* style/login.css */
/* Body background is #0a0a0a (dark), so default text color should be light. */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.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;
  background-color: #0a0a0a;
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  /* Maintain aspect ratio for the image */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-login__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, #0a0a0a 50%);
  color: #ffffff;
}

.page-login__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

.page-login__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background-color: #EA7C07; /* Custom color for Login */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-login__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

.page-login__why-choose-section .page-login__section-title {
  color: #ffffff;
}

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

.page-login__feature-item {
  background: rgba(38, 169, 224, 0.1); /* Transparent brand color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-login__guide-section .page-login__section-title {
  color: #ffffff;
}

.page-login__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-login__guide-step {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__guide-step:nth-child(even) {
  flex-direction: row-reverse;
}

.page-login__guide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-login__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__tips {
  background: rgba(38, 169, 224, 0.15);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  margin-top: 50px;
  color: #ffffff;
}

.page-login__tips-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__tips ul {
  list-style-type: disc;
  margin-left: 20px;
  padding: 0;
}

.page-login__tips li {
  margin-bottom: 8px;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-login__promotions-section .page-login__section-title {
  color: #ffffff;
}

.page-login__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-login__promo-card {
  background: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-login__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent cards */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-login__promo-card h3,
.page-login__promo-card p {
  padding: 0 20px;
}

.page-login__promo-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-login__btn-text {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px 20px;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.95em;
}

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

.page-login__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-login__faq-section .page-login__section-title {
  color: #ffffff;
}

.page-login__faq-list {
  margin-top: 30px;
}

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

.page-login__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: #26A9E0;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-login__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-login__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-login__cta-bottom-section .page-login__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-login__cta-bottom-section .page-login__description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

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

  .page-login__hero-section {
    padding-bottom: 40px;
  }

  .page-login__hero-content {
    padding: 30px 15px;
    margin-top: -80px; /* Adjust overlap for mobile */
  }

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

  .page-login__subtitle {
    font-size: 1em;
  }

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

  .page-login__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

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

  .page-login__feature-item,
  .page-login__promo-card {
    padding: 20px;
  }

  .page-login__feature-icon,
  .page-login__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    display: block !important;
  }

  .page-login__guide-step {
    flex-direction: column !important; /* Force column for mobile */
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .page-login__guide-step:nth-child(even) {
    flex-direction: column !important;
  }

  .page-login__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-login__tips {
    padding: 20px;
  }

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

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

  .page-login__cta-bottom-section {
    padding: 60px 0;
  }

  .page-login__cta-bottom-section .page-login__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__hero-section,
  .page-login__why-choose-section,
  .page-login__guide-section,
  .page-login__promotions-section,
  .page-login__faq-section,
  .page-login__cta-bottom-section,
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-login__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding-bottom: unset !important; /* Remove fixed aspect ratio for mobile if needed, or adjust */
    position: relative;
  }
  .page-login__hero-image {
    position: relative;
    height: auto;
  }
  .page-login__video-section {
    padding-top: 10px !important;
  }
}