/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--card-bg, #10233F); /* Default to Card BG if shared not set */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background: #08162B; /* Deep Navy */
  overflow: hidden;
  color: #F3F8FF;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for better text contrast if needed */
}

.page-privacy-policy__hero-content {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  max-width: 800px;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1em, 1.5vw, 1.3em);
  line-height: 1.6;
  max-width: 900px;
  color: #AFC4E8; /* Text Secondary */
}

/* General Section Styling */
.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 500;
  color: #F3F8FF; /* Text Main */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-privacy-policy__text-block strong {
  color: #F3F8FF; /* Text Main */
}

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

.page-privacy-policy__card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-privacy-policy__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

/* Content Image */
.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 800px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* List Styling */
.page-privacy-policy__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-privacy-policy__list-item {
  background: #10233F; /* Card BG */
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  border-left: 5px solid #1D5FD1; /* Auxiliary color for accent */
}

.page-privacy-policy__list-item strong {
  color: #F3F8FF; /* Text Main */
}

/* Feature Grid (for Data Protection) */
.page-privacy-policy__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-privacy-policy__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-privacy-policy__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

/* User Rights Grid */
.page-privacy-policy__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__rights-item {
  background: #10233F; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #244D84;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__rights-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-privacy-policy__rights-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

/* Links */
.page-privacy-policy__link {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #2B73F6; /* Lighter blue for hover */
  text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border-color: #F2C14E; /* Gold border */
}

.page-privacy-policy__btn-secondary:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy text on hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__faq-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #AFC4E8; /* Text Secondary */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  background: #113B7A; /* Primary color */
  border-bottom: 1px solid #1B3357;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: #1D5FD1; /* Auxiliary color when open */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-privacy-policy__faq-answer p {
  margin: 0;
}

/* Dark background sections for contrast */
.page-privacy-policy__dark-bg {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
}

.page-privacy-policy__dark-bg .page-privacy-policy__text-block,
.page-privacy-policy__dark-bg .page-privacy-policy__list-item,
.page-privacy-policy__dark-bg .page-privacy-policy__card p {
  color: #AFC4E8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 20px 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9em, 1.8vw, 1.2em);
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }

  .page-privacy-policy__feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-content {
    padding: 30px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  /* 深色导语区 及其他 section*/
  .page-privacy-policy__section {
    padding: 40px 0;
  }

  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__card p,
  .page-privacy-policy__feature-item p,
  .page-privacy-policy__rights-item p,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__card,
  .page-privacy-policy__section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__card-grid,
  .page-privacy-policy__feature-grid,
  .page-privacy-policy__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__card,
  .page-privacy-policy__feature-item,
  .page-privacy-policy__rights-item {
    padding: 20px;
  }

  .page-privacy-policy__feature-icon {
    width: 80px;
    height: 80px;
  }

  /* 按钮与按钮容器 */
  .page-privacy-policy__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .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: 12px 20px;
  }

  /* FAQ 与其他模块 */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.3em;
  }

  .page-privacy-policy__list-item {
    padding: 12px 20px;
  }
}

@media (max-width: 549px) {
  .page-privacy-policy__feature-grid {
    grid-template-columns: 1fr;
  }
}