:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --login-button-bg: #C30808;
  --login-button-text: #FFFF00;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --background-light: #f9f9f9; /* for subtle contrast on white background */
  --border-color: #e0e0e0;
}

.page-login {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Page background is white */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Offset - apply to the first content section */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop and Mobile */
}

/* General Section Styling */
.page-login__section {
  padding: 60px 20px;
  text-align: center;
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Responsive padding */
}

.page-login__section-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-login__section-title--white {
  color: var(--text-light);
}

.page-login__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-login__section-description--white {
  color: var(--text-light);
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjusted padding-bottom */
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a9b6c 100%); /* Green gradient for hero */
  color: var(--text-light);
}

.page-login__hero-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 30px; /* Space between content and image */
}

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

.page-login__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-login__hero-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-login__login-form {
  text-align: left;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-light);
  font-size: 16px;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-login__btn-login {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: var(--login-button-bg);
  color: var(--login-button-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.page-login__btn-login:hover {
  background-color: #a30707; /* Darker red on hover */
  transform: translateY(-2px);
}

.page-login__form-links {
  text-align: center;
  font-size: 14px;
}

.page-login__link-forgot-password,
.page-login__link-register {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__link-forgot-password:hover,
.page-login__link-register:hover {
  color: var(--login-button-text);
}

.page-login__link-separator {
  margin: 0 10px;
  color: var(--text-light);
}

/* Benefits Section */
.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dark);
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-login__benefit-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-login__benefit-text {
  font-size: 16px;
  color: var(--text-dark);
}

/* Process Section */
.page-login__process {
  background: var(--primary-color);
  color: var(--text-light);
}

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

.page-login__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__step-icon {
  width: 60px;
  height: 60px;
  background: var(--login-button-bg);
  color: var(--login-button-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-login__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-login__step-text {
  font-size: 16px;
  color: var(--text-light);
}

.page-login__process-image {
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-login__process-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-login__btn-login--center,
.page-login__btn-register--center {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
}

.page-login__btn-login--center {
  background-color: var(--login-button-bg);
  color: var(--login-button-text);
}

.page-login__btn-login--center:hover {
  background-color: #a30707;
  transform: translateY(-2px);
}

.page-login__btn-register--center {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-login__btn-register--center:hover {
  background-color: var(--background-light);
  transform: translateY(-2px);
}

/* Security Section */
.page-login__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-login__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-login__security-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-login__security-text {
  font-size: 16px;
  color: var(--text-dark);
}

/* Troubleshooting Section */
.page-login__troubleshooting {
  background-color: var(--background-light);
}

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

.page-login__troubleshooting-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: var(--text-dark);
}

.page-login__troubleshooting-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-login__troubleshooting-text {
  font-size: 16px;
  color: var(--text-dark);
}

/* New User Section */
.page-login__new-user {
  background: linear-gradient(90deg, var(--primary-color) 0%, #3a9b6c 100%);
  color: var(--text-light);
  text-align: center;
}

.page-login__new-user-content {
  max-width: 800px;
}

.page-login__btn-register--large {
  display: inline-block;
  padding: 18px 40px;
  background-color: var(--login-button-bg);
  color: var(--login-button-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__btn-register--large:hover {
  background-color: #a30707;
  transform: translateY(-2px);
}

.page-login__register-benefits-text {
  margin-top: 30px;
  font-size: 18px;
}

/* App Download Section */
.page-login__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.page-login__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-login__app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-login__app-features li {
  margin-bottom: 10px;
  font-size: 17px;
  display: flex;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-login__app-feature-icon {
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
  line-height: 1;
}

.page-login__btn-download {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__btn-download:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-login__app-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
}

.page-login__app-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FAQ Section */
.page-login__faq-section {
  background-color: var(--background-light);
}

.page-login__faq-list {
  margin-top: 40px;
  text-align: left;
}

/* FAQ容器样式 */
.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}}