/* style/privacy-policy.css */

/* Root variables for colors */
:root {
  --nova88-main-color: #11A84E;
  --nova88-accent-color: #22C768;
  --nova88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --nova88-card-bg: #11271B;
  --nova88-background: #08160F;
  --nova88-text-main: #F2FFF6;
  --nova88-text-secondary: #A7D9B8;
  --nova88-border: #2E7A4E;
  --nova88-glow: #57E38D;
  --nova88-gold: #F2C14E;
  --nova88-divider: #1E3A2A;
  --nova88-deep-green: #0A4B2C;
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: var(--nova88-background); /* Ensure consistent dark background */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nova88-text-main);
  margin-bottom: 20px;
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--nova88-text-secondary);
  margin-bottom: 30px;
}

/* Content Section */
.page-privacy-policy__content-section {
  background-color: var(--nova88-card-bg); /* Use card background for content area */
  padding: 60px 0;
  color: var(--nova88-text-main);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  font-weight: 600;
  color: var(--nova88-main-color);
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__section-title--light {
  color: var(--nova88-text-main);
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1em;
  color: var(--nova88-text-main);
}

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

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

.page-privacy-policy__list-item strong {
  color: var(--nova88-text-main);
}

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

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

/* CTA Buttons */
.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-privacy-policy__btn-primary {
  background: var(--nova88-button-gradient);
  color: var(--nova88-text-main);
  border: 2px solid transparent;
  margin-right: 15px;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--nova88-accent-color);
  border: 2px solid var(--nova88-accent-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  color: var(--nova88-gold);
  border-color: var(--nova88-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--nova88-background);
  padding: 60px 0;
  color: var(--nova88-text-main);
  text-align: center;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-privacy-policy__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--nova88-text-main);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
  background-color: var(--nova88-deep-green);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--nova88-accent-color);
}

.page-privacy-policy__faq-item[open] summary .page-privacy-policy__faq-toggle {
  color: var(--nova88-gold);
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--nova88-text-secondary);
}

/* Contact CTA Section */
.page-privacy-policy__cta-section {
  background-color: var(--nova88-card-bg);
  padding: 60px 0;
  text-align: center;
  color: var(--nova88-text-main);
}

.page-privacy-policy__cta-section .page-privacy-policy__section-title {
  margin-bottom: 20px;
  color: var(--nova88-main-color);
}

.page-privacy-policy__cta-section .page-privacy-policy__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--nova88-text-secondary);
}

/* General Image Styles (for all content images) */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image-wrapper {
    max-height: 400px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

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

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

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__cta-button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 10px 20px;
    font-size: 1em;
  }
  
  .page-privacy-policy__btn-primary {
    margin-right: 0;
  }

  .page-privacy-policy__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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

  /* Mobile specific image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images, videos, buttons */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
}