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

/* Base Styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a2e), so text must be light */
  background-color: transparent; /* inherited from body */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #1a1a2e; /* Ensure a dark background for hero */
  color: #ffffff;
  overflow: hidden; /* For image container */
}

.page-gdpr__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

.page-gdpr__section {
  padding: 60px 20px;
}

.page-gdpr__dark-section {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-gdpr__content-area {
  background-color: #ffffff; /* Light background for main content */
  color: #333333;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.8em;
  color: inherit; /* Inherit from section for contrast */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

.page-gdpr__subsection-title {
  font-size: 2em;
  color: inherit;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure content images are not too small */
  min-height: 200px;
}

/* Feature Grid for Commitments */
.page-gdpr__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-gdpr__feature-item:hover {
  transform: translateY(-10px);
}

.page-gdpr__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 100px; /* Ensure feature icons are not too small */
  min-height: 100px;
}

.page-gdpr__feature-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-gdpr__feature-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-gdpr__rights-item:hover {
  transform: translateY(-10px);
}

.page-gdpr__rights-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-gdpr__rights-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

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

.page-gdpr__security-item {
  background-color: #f9f9f9; /* Light background for security items in light section */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__security-item:hover {
  transform: translateY(-10px);
}

.page-gdpr__security-title {
  font-size: 1.8em;
  color: #017439; /* Brand color for titles in light section */
  margin-bottom: 15px;
}

.page-gdpr__security-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Call to Action Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #1a1a2e; /* Dark background for CTA */
  color: #ffffff;
}

.page-gdpr__cta-container {
  max-width: 900px;
}

.page-gdpr__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-gdpr__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #ffffff; /* Explicitly white background for contrast */
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439; /* Brand color for questions */
  background-color: #e6ffe6; /* Light green background for summary */
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: #d0ffc7;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

.page-gdpr__faq-text {
  margin-bottom: 10px;
}

/* Links within content */
.page-gdpr__content-area a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__content-area a:hover {
  color: #005a2e;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.2em;
  }
  .page-gdpr__section-title {
    font-size: 2.5em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__section-description {
    font-size: 1em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
  .page-gdpr__list,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__feature-text,
  .page-gdpr__rights-text,
  .page-gdpr__security-text,
  .page-gdpr__faq-answer {
    font-size: 15px;
  }

  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}