.page-login {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC */
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  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;
}

.page-login__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Main color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-login__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  border: 2px solid transparent;
}

.page-login__hero-button:hover {
  background-color: #e6c200; /* Slightly darker main color */
  color: #6a0000; /* Slightly darker auxiliary color */
}

.page-login__hero-button--secondary {
  background-color: #8B0000; /* Auxiliary color */
  color: #FFD700; /* Main color for text */
  border: 2px solid #FFD700;
}

.page-login__hero-button--secondary:hover {
  background-color: #6a0000; /* Slightly darker auxiliary color */
  color: #e6c200; /* Slightly darker main color */
}

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

.page-login__section {
  margin-bottom: 60px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  font-size: 2.2em;
  color: #8B0000; /* Auxiliary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-login__explanation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.page-login__explanation-item {
  text-align: center;
  padding: 20px;
}

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

.page-login__explanation-button {
  display: inline-block;
  background-color: #8B0000; /* Auxiliary color */
  color: #FFD700; /* Main color for text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-login__explanation-button:hover {
  background-color: #6a0000;
}

.page-login__process-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.page-login__process-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.page-login__process-item {
  background-color: #fffaf0; /* Light cream */
  border-left: 5px solid #FFD700; /* Main color */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__process-item:last-child {
  margin-bottom: 0;
}

.page-login__item-title {
  font-size: 1.4em;
  color: #8B0000; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-login__item-description {
  font-size: 1em;
  color: #555555;
}

.page-login__process-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-login__process-button:hover {
  background-color: #e6c200;
}

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

.page-login__security-item {
  background-color: #fcfcfc;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  border: 1px solid #eee;
}

.page-login__security-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #FFD700; /* Main color for open FAQ */
  color: #8B0000;
  border-bottom: none;
}

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #8B0000; /* Auxiliary color */
}

.page-login__faq-item[open] .page-login__faq-toggle {
  color: #8B0000;
}

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-login__faq-answer p {
  margin-bottom: 15px;
}

.page-login__faq-button {
  display: inline-block;
  background-color: #8B0000; /* Auxiliary color */
  color: #FFD700; /* Main color for text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-login__faq-button:hover {
  background-color: #6a0000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

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

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-login__explanation-grid,
  .page-login__process-container,
  .page-login__security-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .page-login__process-image {
    order: -1; /* Image first on mobile */
  }

  .page-login__explanation-image,
  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .page-login__content-area img,
  .page-login__section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__hero-overlay {
    padding: 30px 15px;
  }

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

  .page-login__hero-button {
    width: 100%;
    margin: 5px 0;
  }

  .page-login__section {
    padding: 20px;
  }

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

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

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

/* Ensure images within .page-login do not get smaller than 200px on mobile */
@media (max-width: 768px) {
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-login__hero-image { /* Hero image can be smaller if it's the only one */
    min-width: unset;
    min-height: unset;
  }
  .page-login__explanation-image,
  .page-login__process-image,
  .page-login__security-image {
    min-width: 200px;
    min-height: 200px;
  }
}