:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0d0d0d; /* Assuming from shared.css */
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Dark background, so light text */
  background-color: var(--bg-dark); /* Inherits from body, but explicitly set for clarity */
}

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

/* Fixed Header Spacing */
.page-privacy-policy__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
  background-color: var(--secondary-color); /* Dark section for hero */
  text-align: center;
  position: relative;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure responsiveness for multiple buttons */
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Gold background, dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-privacy-policy__cta-button:hover {
  background-color: #E6C200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-button--secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__cta-button--secondary:hover {
  background-color: #2A2A2A; /* Slightly lighter dark */
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
}

.page-privacy-policy__section--dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-section p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-privacy-policy__content-section ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-privacy-policy__content-section li {
  margin-bottom: 10px;
}

.page-privacy-policy__info-card,
.page-privacy-policy__usage-item,
.page-privacy-policy__share-item,
.page-privacy-policy__rights-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__card-title,
.page-privacy-policy__item-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__info-card p,
.page-privacy-policy__info-card ul,
.page-privacy-policy__info-card li,
.page-privacy-policy__usage-item p,
.page-privacy-policy__share-item p,
.page-privacy-policy__rights-item p {
  color: var(--text-light);
}

.page-privacy-policy__contact-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #E6C200; /* Lighter gold */
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section Styles */
.page-privacy-policy__faq-section {
  padding: 60px 0;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-color); /* Dark background for FAQ items */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for question header */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: color 0.3s ease; /* Only color transition */
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: var(--text-light); /* Or a contrasting color */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__card-title,
  .page-privacy-policy__item-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 100px !important; /* Mobile adjustment for fixed header */
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-privacy-policy__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__info-card,
  .page-privacy-policy__usage-item,
  .page-privacy-policy__share-item,
  .page-privacy-policy__rights-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__card-title,
  .page-privacy-policy__item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .page-privacy-policy__content-section p,
  .page-privacy-policy__content-section li {
    font-size: 0.95em;
  }
  
  /* Image Responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px; /* Adjust container padding for mobile */
  }

  /* FAQ Mobile Adjustments */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }
}