/* style/privacy-policy.css */

/* Custom colors from requirements */
:root {
  --fv99-bg-primary: #08160F;
  --fv99-card-bg: #11271B;
  --fv99-text-main: #F2FFF6;
  --fv99-text-secondary: #A7D9B8;
  --fv99-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --fv99-border: #2E7A4E;
  --fv99-glow: #57E38D;
  --fv99-gold: #F2C14E;
  --fv99-divider: #1E3A2A;
  --fv99-deep-green: #0A4B2C;
}

/* Base styles for the page, inheriting body padding from shared.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--fv99-text-main); /* Light text on dark background */
  background-color: var(--fv99-bg-primary); /* Dark background */
}

.page-privacy-policy a {
  color: var(--fv99-gold); /* Use gold for links */
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

.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; /* Image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: var(--fv99-text-main);
}

.page-privacy-policy__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the image for design, but not overlapping text on image */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 3.5vw, 3rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--fv99-gold);
  margin-bottom: 15px;
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  color: var(--fv99-text-secondary);
  margin-bottom: 20px;
}

/* General Section Styling */
.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--fv99-divider);
}

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

.page-privacy-policy__section-title {
  font-size: 2.5rem;
  color: var(--fv99-text-main);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: 1.8rem;
  color: var(--fv99-gold);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--fv99-text-main);
}

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

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

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

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fv99-gold);
  background-color: var(--fv99-deep-green);
  border-bottom: 1px solid var(--fv99-border);
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--fv99-deep-green);
  filter: brightness(1.2);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  border-bottom: 1px solid var(--fv99-border);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--fv99-gold);
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--fv99-text-secondary);
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--fv99-deep-green);
}

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

.page-privacy-policy__cta-section .page-privacy-policy__description {
  font-size: 1.1rem;
  color: var(--fv99-text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--fv99-button-gradient);
  color: var(--fv99-text-main);
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -80px;
  }
}

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

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

  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

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

  .page-privacy-policy__description {
    font-size: 1rem;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-privacy-policy__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }

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

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .page-privacy-policy__cta-section .page-privacy-policy__btn-primary {
    padding-left: 0;
    padding-right: 0;
  }

  .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;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    margin-top: -40px;
    padding: 15px 10px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
  }

  .page-privacy-policy__btn-primary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}