/* privacy-policy.css */
/* PRIVACY POLICY PAGE SPECIFIC STYLES */

/* WHITE THEME STYLES for content section */
.privacy-content.white-theme {
  background: white !important;
  color: #333 !important;
  padding: 80px 40px;
}

.privacy-content.white-theme .section-bg.privacy-bg {
  display: none !important;
}

.privacy-content.white-theme .toc-container,
.privacy-content.white-theme .policy-section {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  color: #333 !important;
}

.privacy-content.white-theme .policy-section-title,
.privacy-content.white-theme .toc-title {
  color: #333 !important;
}

.privacy-content.white-theme .policy-content p,
.privacy-content.white-theme .toc-list a,
.privacy-content.white-theme .policy-content li,
.privacy-content.white-theme .contact-method p {
  color: #666 !important;
}

.privacy-content.white-theme .privacy-link {
  color: #3b82f6 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.3s ease !important;
}

.privacy-content.white-theme .privacy-link:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.privacy-content.white-theme .toc-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: #dee2e6 !important;
}

/* Privacy Hero Section (DARK THEME) */
.privacy-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 150px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--dark);
  color: white;
}

.privacy-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.privacy-hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

.privacy-hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  overflow: hidden;
}

.privacy-hero .tagline {
  font-size: 14px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 30px;
  animation: fadeIn 1s ease;
}

.privacy-hero .description {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1.5s ease;
}

.last-updated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-light);
  font-size: 14px;
  margin-top: 20px;
}

.last-updated i {
  font-size: 16px;
}

/* Section Background */
.section-bg.privacy-bg {
  background: radial-gradient(
      circle at 30% 30%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: gradientShift 22s ease infinite;
}

/* Privacy Content Container */
.privacy-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
}

/* Table of Contents */
.toc-container {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.toc-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #3b82f6;
  color: #333;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  border-left: 3px solid transparent;
  padding-left: 10px;
}

.toc-list a:hover {
  color: #3b82f6;
  border-left-color: #3b82f6;
  padding-left: 15px;
}

.toc-list a.active {
  color: #3b82f6;
  border-left-color: #3b82f6;
  font-weight: 600;
  padding-left: 15px;
}

/* Policy Sections */
.policy-sections {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.policy-section {
  scroll-margin-top: 30px;
}

.policy-section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.policy-content {
  font-size: 16px;
  line-height: 1.7;
}

.policy-content h3 {
  font-size: 20px;
  margin: 25px 0 15px;
  color: #333;
}

.policy-content ul {
  margin: 15px 0 20px 20px;
}

.policy-content li {
  margin-bottom: 10px;
  color: #666;
}

.policy-content li strong {
  color: #333;
}

.policy-content p {
  margin-bottom: 15px;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
  border: 1px solid #e9ecef;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-method i {
  color: #3b82f6;
  font-size: 20px;
  margin-top: 5px;
}

.contact-method h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

/* Cookie Settings Button */
.cookie-settings-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.cookie-settings-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Acceptance Section */
.acceptance-section {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  margin-top: 30px;
}

.acceptance-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.policy-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.policy-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.policy-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .privacy-container {
    grid-template-columns: 250px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 130px 20px 60px;
  }
  
  .privacy-content.white-theme {
    padding: 60px 20px;
  }
  
  .privacy-hero h1 {
    font-size: 36px;
  }
  
  .privacy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .toc-container {
    position: static;
    max-height: none;
  }
  
  .policy-section-title {
    font-size: 24px;
  }
  
  .contact-method {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .privacy-hero h1 {
    font-size: 32px;
  }
  
  .policy-section-title {
    font-size: 22px;
  }
  
  .policy-content h3 {
    font-size: 18px;
  }
  
  .acceptance-section {
    padding: 20px;
  }
  
  .policy-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .policy-links a {
    display: block;
  }
}

/* Animation for gradient shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
