/* Privacy Policy Styles - Temple of Herbs */
.privacy-policy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* Responsive base font size inside the page */
  font-size: clamp(16px, 1rem + 0.25vw, 18px);
  line-height: 1.8;
  color: #111;
  background-color: #ffffff; /* white background */
}

.privacy-policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff; /* white */
  border: 1px solid #e5e7eb; /* neutral border */
  border-radius: 12px;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.privacy-policy-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: none; /* reduce heavy glow */
  letter-spacing: 0.5px;
}

.effective-date {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
}

.company-info {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.privacy-policy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-section {
  background: #fff;
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f4; /* neutral */
  position: relative;
  transition: box-shadow 0.2s ease;
}

.policy-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.policy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb; /* neutral accent */
  border-radius: 12px 12px 0 0;
}

.policy-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #eceff1; /* neutral line */
  position: relative;
}

.policy-section h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: #e5e7eb;
}

.policy-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid #e5e7eb; /* neutral accent */
}

.policy-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5568;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.policy-section p {
  margin-bottom: 1.2rem;
  color: inherit;
  font-size: 1em;
  text-align: justify;
}

.policy-section ul {
  margin: 1.2rem 0;
  padding-left: 2rem;
}

.policy-section li {
  margin-bottom: 0.8rem;
  color: inherit;
  font-size: 1em;
  line-height: 1.6;
}

.policy-section li::marker {
  color: #666; /* neutral marker */
  font-weight: bold;
}

.contact-info {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.contact-info h3 {
  color: #111;
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  border: none;
  padding: 0;
}

.contact-info p {
  margin-bottom: 0.8rem;
  font-size: 1em;
  line-height: 1.6;
}

.contact-info strong {
  color: #111;
  font-weight: 600;
}

.contact-info ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: none;
}

.contact-info li {
  margin-bottom: 0.5rem;
  font-size: 1em;
  position: relative;
}

.contact-info li::before {
  content: "✓";
  color: #444; /* subtle neutral */
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.effective-date-footer {
  text-align: center;
  background: #ffffff;
  color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.effective-date-footer p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: none;
}

/* Links (scoped, neutral) */
.privacy-policy-container a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.privacy-policy-container a:hover {
  color: #000;
  text-decoration-color: currentColor;
}

.privacy-policy-container a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.8em;
  opacity: 0.5;
}

/* Smooth section anchors (if any in content) accounting for fixed headers */
.privacy-policy-content [id] {
  scroll-margin-top: 96px;
}

/* Better nested list spacing */
.policy-section ul ul {
  margin-top: 0.4rem;
}

/* Special styling for lists with strong elements */
li strong {
  color: #2d5016;
  font-weight: 600;
}

/* Enhanced readability for long content */
.policy-section p + ul,
.policy-section ul + p {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .privacy-policy-container {
    padding: 1.5rem;
  }

  .policy-section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .privacy-policy-container {
    padding: 1rem;
  }

  .privacy-policy-header h1 {
    font-size: 2.3rem;
  }

  .policy-section {
    padding: 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.7rem;
  }

  .policy-section h3 {
    font-size: 1.35rem;
  }

  .policy-section h4 {
    font-size: 1.15rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .privacy-policy-container {
    padding: 0.5rem;
  }

  .privacy-policy-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .privacy-policy-header h1 {
    font-size: 1.9rem;
    letter-spacing: 0.5px;
  }

  .effective-date {
    font-size: 1.1rem;
  }

  .policy-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.5rem;
  }

  .policy-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .policy-section ul {
    padding-left: 1.5rem;
  }

  .contact-info {
    padding: 1rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  /* Force light look in dark mode for this page as requested */
  .privacy-policy-container {
    background-color: #ffffff !important;
    color: #111 !important;
  }

  .privacy-policy-header,
  .policy-section,
  .contact-info,
  .effective-date-footer {
    background: #ffffff !important;
    color: #111 !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  }

  .policy-section::before,
  .policy-section h2::after {
    background: #e5e7eb !important;
  }

  .policy-section h2,
  .policy-section h3,
  .contact-info h3,
  .contact-info strong {
    color: #111 !important;
  }

  .policy-section h3 {
    border-left-color: #e5e7eb !important;
  }

  .privacy-policy-container a {
    color: #111 !important;
    text-decoration-color: rgba(0, 0, 0, 0.4) !important;
  }

  .privacy-policy-container a:hover {
    color: #000 !important;
    text-decoration-color: currentColor !important;
  }
}

/* Print Styles */
@media print {
  .privacy-policy-container {
    max-width: 100%;
    padding: 0;
    background: #fff !important;
    color: #000;
  }

  .privacy-policy-header,
  .effective-date-footer,
  .contact-info {
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .policy-section {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .policy-section::before {
    display: none;
  }

  .privacy-policy-container a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: normal;
  }
}
