/* Privacy Policy Page Styles */

:root {
  --toc-offset: 100px;
}

/* Reset any conflicting styles */
body.page-template-template-privacy-policy,
body.page-template-template-terms-conditions {
  overflow: visible !important;
  margin-top: 0 !important;
}

.privacy-policy-page {
  width: 100%;
  background: #000;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll */
  min-height: 100vh;
  position: relative;
}

/* Ensure anchor sections account for sticky header */
.privacy-section[id] {
  scroll-margin-top: calc(var(--toc-offset, 100px) + 20px);
}

/* Ensure good touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
  .privacy-toc a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px;
  }
  
  .privacy-section a {
    padding: 4px 0;
    display: inline-block;
  }
}

/* Hero Section */
.privacy-hero {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(130, 114, 254, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(140, 187, 243, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.privacy-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.privacy-hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-hero__title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-hero__subtitle {
  font-size: 1.5rem;
  color: #ccc;
  margin-bottom: 32px;
  line-height: 1.4;
}

.privacy-hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.privacy-hero__date {
  background: rgba(130, 114, 254, 0.1);
  color: #8272fe;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(130, 114, 254, 0.2);
}

/* Content Section */
.privacy-content {
  background: #fff;
  color: #222;
  padding: 80px 0;
  position: relative;
  overflow: visible;
}

.privacy-content__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  overflow: visible;
}

/* Table of Contents */
.privacy-toc {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  z-index: 2;
}

.privacy-toc h3 {
  color: #222;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  /* border-bottom: 2px solid #8272fe; */
}

.privacy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-toc li {
  margin-bottom: 12px;
}

.privacy-toc a {
  display: block;
  padding: 6px 8px;
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  border-radius: 4px;
}

.privacy-toc a:hover {
  color: #8272fe;
  background: rgba(130, 114, 254, 0.05);
}

.privacy-toc a.is-active {
  font-weight: 600;
  color: #8272fe;
  background: rgba(130, 114, 254, 0.1);
}

/* Article Content */
.privacy-article {
  max-width: none;
}

.privacy-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  background: #f8f9fa;
  padding: 32px;
  border-radius: 16px;
  border-left: 4px solid #8272fe;
  margin-bottom: 48px;
}

.privacy-section {
  margin-bottom: 56px;
  scroll-margin-top: 120px;
}

.privacy-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 24px 0;
  line-height: 1.2;
  position: relative;
  padding-bottom: 16px;
}

.privacy-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8272fe, #6a5cff);
  border-radius: 2px;
}

.privacy-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 32px 0 16px 0;
  line-height: 1.3;
}

.privacy-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #444;
  margin: 24px 0 12px 0;
  line-height: 1.3;
}

.privacy-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.privacy-section ul,
.privacy-section ol {
  margin: 20px 0;
  padding-left: 20px;
}

.privacy-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.privacy-section li strong {
  color: #333;
  font-weight: 600;
}

.privacy-section a {
  color: #8272fe;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.privacy-section a:hover {
  color: #6a5cff;
  text-decoration: underline;
}

/* Privacy Purposes Grid */
.privacy-purposes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.privacy-purpose {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-purpose:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.privacy-purpose h4 {
  color: #8272fe;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.privacy-purpose ul {
  margin: 0;
  padding-left: 16px;
}

.privacy-purpose li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Privacy Rights Grid */
.privacy-rights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.privacy-right {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e9ecef;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-right:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 114, 254, 0.15);
  border-color: rgba(130, 114, 254, 0.3);
}

.privacy-right h4 {
  color: #8272fe;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.privacy-right p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Contact Information */
.privacy-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.privacy-contact-method {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e9ecef;
  text-align: center;
}

.privacy-contact-method h4 {
  color: #8272fe;
  margin-top: 0;
  margin-bottom: 12px;
}

.privacy-contact-method p,
.privacy-contact-method address {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
}

.privacy-disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 16px;
  color: #856404;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
  .privacy-content__container {
    max-width: 1000px;
    gap: 50px;
  }
  
  .privacy-toc {
    width: 260px;
  }
}

/* Tablets Portrait */
@media (max-width: 1024px) {
  .privacy-content__container {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
  }
  
  .privacy-toc {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    margin-bottom: 40px;
    width: 100%;
  }
  
  .privacy-toc ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
  }
  
  .privacy-hero__title {
    font-size: 3.5rem;
  }
  
  .privacy-hero__subtitle {
    font-size: 1.4rem;
  }
}

/* Tablets Landscape and Large Phones */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 80px 0 60px 0;
  }
  
  .privacy-hero__container {
    padding: 0 20px;
  }
  
  .privacy-hero__title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  
  .privacy-hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 28px;
  }
  
  .privacy-hero__date {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  
  .privacy-content {
    padding: 60px 0;
  }
  
  .privacy-content__container {
    padding: 0 20px;
  }
  
  .privacy-toc {
    padding: 24px;
    border-radius: 12px;
    position: sticky;
    top: 80px;
  }
  
  .privacy-toc ul {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px;
  }
  
  .privacy-toc a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .privacy-section {
    margin-bottom: 48px;
  }
  
  .privacy-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .privacy-section h3 {
    font-size: 1.4rem;
    margin: 28px 0 14px 0;
  }
  
  .privacy-section h4 {
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
  }
  
  .privacy-intro {
    padding: 28px;
    font-size: 1.15rem;
    margin-bottom: 40px;
  }
  
  .privacy-purposes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .privacy-rights {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .privacy-contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .privacy-purpose,
  .privacy-right,
  .privacy-contact-method {
    padding: 20px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .privacy-hero {
    padding: 60px 0 50px 0;
  }
  
  .privacy-hero__container {
    padding: 0 16px;
  }
  
  .privacy-hero__title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .privacy-hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  
  .privacy-hero__date {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .privacy-content {
    padding: 50px 0;
  }
  
  .privacy-content__container {
    padding: 0 16px;
  }
  
  .privacy-toc {
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 60px;
  }
  
  .privacy-toc h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .privacy-toc ul {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .privacy-toc a {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  
  .privacy-section {
    margin-bottom: 40px;
  }
  
  .privacy-section h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  
  .privacy-section h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px 0;
  }
  
  .privacy-section h4 {
    font-size: 1.1rem;
    margin: 18px 0 8px 0;
  }
  
  .privacy-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .privacy-section li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 6px;
  }
  
  .privacy-intro {
    padding: 20px;
    font-size: 1rem;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  
  .privacy-purposes,
  .privacy-rights,
  .privacy-contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .privacy-purpose,
  .privacy-right,
  .privacy-contact-method {
    padding: 18px;
    border-radius: 10px;
  }
  
  .privacy-purpose h4,
  .privacy-right h4,
  .privacy-contact-method h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .privacy-purpose li,
  .privacy-right p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Very Small Phones */
@media (max-width: 360px) {
  .privacy-hero__title {
    font-size: 1.8rem;
  }
  
  .privacy-hero__subtitle {
    font-size: 1rem;
  }
  
  .privacy-section h2 {
    font-size: 1.4rem;
  }
  
  .privacy-toc,
  .privacy-intro,
  .privacy-purpose,
  .privacy-right,
  .privacy-contact-method {
    padding: 16px;
  }
} 