/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-page: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light background */
  background-color: var(--background-page);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: 60px; /* Adjust to ensure content is below the header */
}

.page-privacy-policy__main-title {
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-privacy-policy__subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-20px); /* Slightly lift content over hero section */
  position: relative;
  z-index: 3;
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--text-black);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-main);
  text-align: justify;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color);
}

.page-privacy-policy__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__image--left {
  float: left;
  margin-right: 25px;
  margin-left: 0;
  max-width: 400px;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 25px;
  margin-right: 0;
  max-width: 400px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-black);
  font-size: 1.1em;
  list-style: none;
}

.page-privacy-policy__faq-question::-webkit-details-marker, 
.page-privacy-policy__faq-question::marker {
  display: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 15px;
  color: var(--text-main);
  text-align: justify;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: 40px;
  }
  .page-privacy-policy__main-title {
    font-size: 2em;
  }
  .page-privacy-policy__subtitle {
    font-size: 1.1em;
  }
  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-privacy-policy__hero-content {
    margin-top: 20px;
    padding: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }
  .page-privacy-policy__subtitle {
    font-size: 1em;
  }

  /* 其他内容模块 */
  .page-privacy-policy__content-area {
    padding: 20px 15px;
    transform: translateY(-10px);
  }
  .page-privacy-policy__container {
    padding: 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    float: none !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 (No buttons on this page, but defining for completeness) */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
  
  /* FAQ */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px 10px;
  }
}