/* style/login.css */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--color-deep-navy); /* Body background from shared.css */
}

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

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

.page-login__flex-center {
  justify-content: center;
}

.page-login__text-block {
  flex: 1;
}

.page-login__text-center {
  text-align: center;
}

.page-login__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: #F3F8FF;
  margin-bottom: 40px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: -150px auto 0 auto; /* Pull up over the image, but not covering text */
  background: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-login__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #244D84; /* Border color */
}

.page-login__btn-secondary:hover {
  background: #244D84; /* Border color */
  color: #ffffff;
  transform: translateY(-2px);
}

.page-login__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
  line-height: 1.3;
}

.page-login__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-login__paragraph {
  margin-bottom: 15px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.05em;
}

.page-login__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-login__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #AFC4E8; /* Text Secondary */
}

.page-login__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

.page-login__dark-bg {
  background-color: #113B7A; /* Main color */
  color: #F3F8FF;
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-login__light-bg {
  background-color: #08162B; /* Deep Navy - used as a slightly different dark background */
  color: #F3F8FF;
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-login__benefits-section .page-login__section-title,
.page-login__register-cta-section .page-login__section-title,
.page-login__app-download-section .page-login__section-title,
.page-login__contact-support-section .page-login__section-title {
  color: #F2C14E; /* Gold */
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border color */
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-login__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-login__card-text {
  color: #AFC4E8; /* Text Secondary */
}

.page-login__security-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-login__security-image,
.page-login__why-choose-image,
.page-login__app-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-login__troubleshoot-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-login__troubleshoot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-login__troubleshoot-item {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border color */
}

.page-login__item-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-login__item-text {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-login__link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-login__register-cta-section {
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-login__why-choose-section,
.page-login__app-download-section,
.page-login__contact-support-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

/* General image responsiveness */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-login__hero-content {
    margin-top: -100px;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__flex-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-login__benefits-grid,
  .page-login__troubleshoot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-login__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 80%;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区轮播 */
  .page-login__hero-section { padding-top: 10px !important; }
  .page-login__hero-content {
    margin-top: -80px;
    padding: 20px;
    max-width: 100%;
  }
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__description {
    font-size: 1em;
  }
}