/* ============================================================
   PRIVACY & POLICY PAGE — /public/css/privacy.css
   Standalone stylesheet — mirrors brand tokens from policy.css
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --prv-primary:      rgb(209 3 239);
  --prv-secondary:    rgb(92 26 255);
  --prv-mid:          rgb(147 51 234);
  --prv-primary-20:   rgb(209 3 239 / 0.20);
  --prv-primary-10:   rgb(209 3 239 / 0.10);
  --prv-primary-08:   rgb(209 3 239 / 0.08);
  --prv-secondary-20: rgb(92 26 255 / 0.20);
  --prv-secondary-10: rgb(92 26 255 / 0.10);
  --prv-white-10:     rgb(255 255 255 / 0.10);
  --prv-white-06:     rgb(255 255 255 / 0.06);
  --prv-white-05:     rgb(255 255 255 / 0.05);
}

/* ============================================================
   PAGE BACKGROUND
   ============================================================ */

.privacy-bg {
  background-color: rgb(0 0 0);
  background-image:
    linear-gradient(
      to bottom right,
      rgb(92 26 255 / 0.17)  0%,
      rgb(0 0 0 / 0)          45%,
      rgb(0 0 0 / 0)          55%,
      rgb(209 3 239 / 0.14) 100%
    );
  min-height: 100vh;
}

/* ── Decorative fixed orbs ── */
.prv-orb {
  position: fixed;
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(130px);
  z-index: -10;
}

.prv-orb--tl {
  top: -6%;
  left: -4%;
  width: 500px;
  height: 500px;
  background: rgb(92 26 255 / 0.20);
  animation: prv-drift 14s ease-in-out infinite alternate;
}

.prv-orb--br {
  bottom: -8%;
  right: -4%;
  width: 560px;
  height: 560px;
  background: rgb(209 3 239 / 0.16);
  animation: prv-drift 18s ease-in-out infinite alternate-reverse;
}

.prv-orb--mid {
  top: 40%;
  left: 30%;
  width: 380px;
  height: 380px;
  background: rgb(147 51 234 / 0.09);
  filter: blur(160px);
  animation: prv-drift 22s ease-in-out infinite alternate;
}

@keyframes prv-drift {
  from { transform: translate(0px, 0px) scale(1); }
  to   { transform: translate(28px, 18px) scale(1.05); }
}

/* ============================================================
   HERO BANNER
   ============================================================ */

.prv-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 1.5rem 5rem;
  overflow: hidden;
}

.prv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 0%,
      rgb(92 26 255 / 0.22)   0%,
      rgb(209 3 239 / 0.10)  50%,
      transparent            100%
    );
  pointer-events: none;
}

.prv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgb(92 26 255);
  margin-bottom: 1.25rem;
}

.prv-hero-eyebrow-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgb(92 26 255), transparent);
}

.prv-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255)        0%,
    rgb(255 255 255 / 0.80) 50%,
    rgb(255 255 255 / 0.20) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.prv-hero-sub {
  max-width: 620px;
  font-size: 1rem;
  color: rgb(255 255 255 / 0.45);
  font-weight: 400;
  line-height: 1.75;
}

.prv-hero-sub strong {
  color: rgb(255 255 255 / 0.75);
}

.prv-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.prv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgb(255 255 255 / 0.38);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.prv-hero-badge svg {
  flex-shrink: 0;
  color: rgb(92 26 255);
}

.prv-hero-divider {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 0.10),
    transparent
  );
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */

.prv-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  align-items: start;
}

/* ============================================================
   STICKY SIDEBAR TABLE OF CONTENTS
   ============================================================ */

.prv-toc {
  position: sticky;
  top: 100px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.prv-toc-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.28);
  margin: 0 0 1rem;
}

.prv-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.prv-toc-list li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.38);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1.35;
  border: 1px solid transparent;
}

.prv-toc-list li a:hover {
  color: #fff;
  background: rgb(92 26 255 / 0.10);
  border-color: rgb(92 26 255 / 0.15);
}

.prv-toc-list li a .prv-toc-num {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgb(92 26 255);
  opacity: 0.7;
  min-width: 18px;
}

.prv-toc-list li a:hover .prv-toc-num {
  opacity: 1;
}

/* Active link state */
.prv-toc-list li a.prv-toc-active {
  color: rgb(92 26 255);
  background: rgb(92 26 255 / 0.10);
  border-color: rgb(92 26 255 / 0.18);
}

.prv-toc-list li a.prv-toc-active .prv-toc-num {
  opacity: 1;
}

.prv-toc-divider {
  margin: 0.8rem 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 0.08),
    transparent
  );
}

.prv-toc-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgb(92 26 255);
  text-decoration: none;
  background: rgb(92 26 255 / 0.08);
  border: 1px solid rgb(92 26 255 / 0.20);
  margin-top: 0.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.prv-toc-contact-link:hover {
  background: rgb(92 26 255 / 0.16);
  border-color: rgb(92 26 255 / 0.32);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */

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

/* ── Effective date preamble ── */
.prv-preamble {
  background: linear-gradient(
    to bottom right,
    rgb(92 26 255 / 0.09),
    rgb(209 3 239 / 0.07)
  );
  border: 1px solid rgb(92 26 255 / 0.20);
  border-top-color: rgb(92 26 255 / 0.40);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  color: rgb(255 255 255 / 0.60);
  font-size: 0.925rem;
  line-height: 1.8;
}

.prv-preamble strong {
  color: #fff;
  font-weight: 600;
}

/* ── Section cards ── */
.prv-section {
  background: rgb(0 0 0 / 0.18);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  scroll-margin-top: 110px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.prv-section:hover {
  border-color: rgb(92 26 255 / 0.25);
  background: rgb(92 26 255 / 0.04);
  box-shadow: 0 0 40px -20px rgb(92 26 255 / 0.30);
}

/* Section header row */
.prv-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Numbered badge */
.prv-section-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgb(92 26 255 / 0.12);
  border: 1px solid rgb(92 26 255 / 0.28);
  font-size: 0.875rem;
  font-weight: 800;
  color: rgb(92 26 255);
  letter-spacing: -0.01em;
}

.prv-section-title-group {
  flex: 1;
}

.prv-section-number {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.22);
  margin: 0 0 4px;
  line-height: 1;
}

.prv-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Divider under section header */
.prv-section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(92 26 255 / 0.22),
    rgb(209 3 239 / 0.10) 40%,
    transparent
  );
  margin-bottom: 1.5rem;
}

/* ── Paragraph body text ── */
.prv-body {
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.58);
  line-height: 1.8;
  margin: 0;
}

.prv-body + .prv-body {
  margin-top: 0.85rem;
}

.prv-body strong {
  color: rgb(255 255 255 / 0.88);
  font-weight: 600;
}

/* ── List items ── */
.prv-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.prv-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.58);
  line-height: 1.7;
}

.prv-bullet {
  flex-shrink: 0;
  margin-top: 0.50rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(92 26 255), rgb(209 3 239));
}

.prv-list strong {
  color: rgb(255 255 255 / 0.88);
  font-weight: 600;
}

/* ── Highlight info box ── */
.prv-infobox {
  margin-top: 1.25rem;
  background: rgb(92 26 255 / 0.07);
  border: 1px solid rgb(92 26 255 / 0.18);
  border-left: 3px solid rgb(92 26 255 / 0.60);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.52);
  line-height: 1.75;
}

.prv-infobox strong {
  color: rgb(255 255 255 / 0.80);
}

/* ── Contact section (final card) ── */
.prv-contact-card {
  position: relative;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    rgb(92 26 255 / 0.14) 0%,
    rgb(0 0 0 / 0.20)     50%,
    rgb(209 3 239 / 0.10) 100%
  );
  border: 1px solid rgb(92 26 255 / 0.30);
  border-bottom-color: rgb(209 3 239 / 0.25);
  scroll-margin-top: 110px;
}

.prv-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 70% at 0% 0%,
    rgb(92 26 255 / 0.16),
    transparent 65%
  );
  pointer-events: none;
}

.prv-contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 100% 100%,
    rgb(209 3 239 / 0.10),
    transparent 65%
  );
  pointer-events: none;
}

.prv-contact-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgb(92 26 255), rgb(209 3 239));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 24px -6px rgb(92 26 255 / 0.65);
}

.prv-contact-card h2 {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, rgb(255 255 255 / 0.78));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.prv-contact-card p {
  position: relative;
  z-index: 1;
  font-size: 0.925rem;
  color: rgb(255 255 255 / 0.55);
  line-height: 1.8;
  margin: 0 0 0.5rem;
}

.prv-contact-card a {
  position: relative;
  z-index: 1;
  color: rgb(92 26 255);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prv-contact-card a:hover {
  color: rgb(209 3 239);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  .prv-layout {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 6rem;
  }
  .prv-hero {
    padding: 9rem 1.5rem 4rem;
  }
}

@media (max-width: 768px) {
  .prv-hero {
    padding: 8rem 1.25rem 3rem;
  }
  .prv-layout {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 5rem;
    gap: 2rem;
  }
  .prv-toc {
    position: static;
  }
  .prv-toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .prv-toc-divider {
    grid-column: 1 / -1;
  }
  .prv-section {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .prv-contact-card {
    padding: 1.75rem 1.25rem;
  }
  .prv-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .prv-toc-list {
    display: flex;
    flex-direction: column;
  }
  .prv-section-badge {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
    border-radius: 8px;
  }
  .prv-section-title {
    font-size: 1rem;
  }
  .prv-body,
  .prv-list > li {
    font-size: 0.85rem;
  }
  .prv-preamble {
    font-size: 0.875rem;
    padding: 1.25rem;
  }
  .prv-contact-card {
    padding: 1.5rem 1rem;
  }
  .prv-contact-card h2 {
    font-size: 1.15rem;
  }
}
