.page-login__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #B71C1C;
  color: #FFF5E1;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Space between image and content */
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  min-height: 200px; /* Minimum image size */
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px 40px;
  text-align: center;
}

.page-login__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF5E1; /* Main text color */
  margin-bottom: 15px;
  /* Use clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2em, 4vw, 3.2em);
}

.page-login__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-login__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  color: #7A0E0E; /* Deep Red for button text */
}

.page-login__button--login {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-login__button--login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

.page-login__button--register {
  background-color: #D32F2F; /* Card BG */
  border: 2px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-login__button--register:hover {
  background-color: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
  transform: translateY(-2px);
}

.page-login__steps-section, .page-login__benefits-section, .page-login__faq-section {
  padding: 60px 20px;
  background-color: #B71C1C;
  color: #FFF5E1;
  text-align: center;
}

.page-login__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #F4D34D; /* Gold color */
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-login__step-item, .page-login__benefit-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__step-image, .page-login__benefit-image {
  width: 100%;
  max-width: 400px; /* Ensure images don't stretch too wide */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-login__step-title, .page-login__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #FFCC66; /* Glow color */
  margin-bottom: 10px;
}

.page-login__step-description, .page-login__benefit-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

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

.page-login__faq-item {
  background-color: #D32F2F; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-login__faq-question {
  font-size: 1.2em;
  font-weight: 600;
  color: #F4D34D; /* Gold color */
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-login__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
  padding: 0 25px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-login__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

@media (max-width: 768px) {
  .page-login__hero-content {
    padding: 0 15px 30px;
  }

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

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

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

  .page-login__button {
    width: 80%;
    max-width: 300px;
  }

  .page-login__steps-section, .page-login__benefits-section, .page-login__faq-section {
    padding: 40px 15px;
  }

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

  .page-login__steps-grid, .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Mobile image responsiveness */
  .page-login__steps-section img, 
  .page-login__benefits-section img,
  .page-login__hero-section img {
    max-width: 100%;
    height: auto;
  }

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

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