/* style/register.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General page styles, ensuring text color contrasts with shared body background (var(--black-color)) */
.page-register {
  color: #ffffff; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content area will inherit body background or have specific sections */
}

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

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly lighter for descriptions */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #1a1a1a; /* Dark background for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  color: #ffffff;
}

.page-register__hero-content {
  text-align: center;
  max-width: 700px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for title */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  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, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
  background-color: #1e87b9;
  border-color: #1e87b9;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-register__form-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.page-register__registration-form {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for form background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

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

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.page-register__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
}

.page-register__form-checkbox {
  margin-right: 10px;
}

.page-register__form-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__form-link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  border-radius: 8px;
  cursor: pointer;
  background-color: #EA7C07; /* Login color for submit */
  border-color: #EA7C07;
}

.page-register__submit-button:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

.page-register__form-illustration {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 400px; /* Actual content image size */
  height: 300px; /* Actual content image size */
  margin: 0 auto 20px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-register__security-text {
  flex: 1;
  min-width: 300px;
}

.page-register__security-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__security-paragraph {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* App Section */
.page-register__app-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-register__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* Image on left, text on right for this section */
}

.page-register__app-text {
  flex: 1;
  min-width: 300px;
}

.page-register__app-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-register__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
  display: flex;
  align-items: flex-start;
}

.page-register__list-icon {
  color: #26A9E0;
  font-size: 1.2em;
  margin-right: 10px;
  line-height: 1;
}

.page-register__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Ensure details summary marker is hidden */
.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-register__faq-item summary {
  list-style: none;
}