/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.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;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-privacy-policy__cta-button--bottom {
    margin-top: 40px;
}

/* General Section Styling */
.page-privacy-policy__section {
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* A lighter green from the gradient for emphasis */
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

.page-privacy-policy__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

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

.page-privacy-policy__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-privacy-policy__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: 700;
  font-size: 1.2rem;
}

/* Security Features Section */
.page-privacy-policy__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-privacy-policy__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-privacy-policy__feature-item:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__feature-icon {
  width: 200px; /* Display size, not source size. Min 200x200 */
  height: 200px;
  margin: 0 auto 20px auto; /* Center image */
  object-fit: contain;
  filter: drop-shadow(0 0 5px #57E38D); /* Subtle glow effect */
  display: block; /* Ensure it's a block element for margin auto to work */
}

.page-privacy-policy__feature-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9rem;
}

/* Contact Section */
.page-privacy-policy__contact-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1rem;
}

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

.page-privacy-policy__text-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
  color: #2AD16F; /* Lighter green */
  text-decoration: underline;
}

/* FAQ Section (using details/summary) */
.page-privacy-policy__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
}

.page-privacy-policy__faq-question:hover {
  background-color: #135A3B; /* Slightly lighter deep green */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0; /* For JS-controlled collapse */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px; /* Sufficiently large for expansion */
  padding-top: 15px;
}

/* For <details> native behavior */
.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    max-height: none; /* Let browser handle height for open details */
    padding-top: 15px;
}

/* Important: Apply background to summary's child div, not summary itself */
.page-privacy-policy__faq-item summary .page-privacy-policy__faq-question {
    background-color: #0A4B2C; /* Deep Green */
}

.page-privacy-policy__faq-item summary:hover .page-privacy-policy__faq-question {
    background-color: #135A3B; /* Apply hover to the question div inside summary */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-content {
    max-width: 90%;
    padding: 15px;
  }

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

  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__cta-button--bottom {
      margin-top: 30px;
  }

  /* General Section Styling */
  .page-privacy-policy__section {
    padding: 40px 0;
  }

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

  .page-privacy-policy__section-title::after {
    width: 60px;
    height: 3px;
  }

  .page-privacy-policy__sub-title {
      font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  }

  /* Card Grid */
  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 25px;
  }

  .page-privacy-policy__card-title {
    font-size: 1.3rem;
  }

  /* Security Features Section */
  .page-privacy-policy__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__feature-icon {
    width: 150px !important; /* Adjusted for mobile, min 200px is for source, display can be smaller */
    height: 150px !important;
  }

  .page-privacy-policy__feature-title {
    font-size: 1.1rem;
  }

  /* List Items */
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  /* FAQ Section */
  .page-privacy-policy__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers containing images/buttons/videos are responsive */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__security-features,
  .page-privacy-policy__feature-item,
  .page-privacy-policy__card-grid,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }
}