/* ── Privacy Policy page styles ── */

/* ── Active nav indicator ── */
.main-nav a.nav-active { color: var(--neon); position: relative; }
.main-nav a.nav-active::after { content:''; position:absolute; bottom:-6px; left:50%; transform:translateX(-50%); width:5px; height:5px; border-radius:50%; background:var(--neon); box-shadow:0 0 6px var(--neon); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0 0 28px;
}
.breadcrumb a { color: var(--text-soft); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--neon); }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb span.cur { color: var(--neon); }

/* ── Privacy Hero ── */
.privacy-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin: 0 0 54px;
}
.privacy-hero-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  margin: 0 0 16px;
  color: var(--text-main);
}
.privacy-hero-content p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 480px;
  margin: 0 0 22px;
}
.privacy-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-soft);
  background: rgba(141,255,79,0.06);
  border: 1px solid rgba(141,255,79,0.18);
  border-radius: 8px;
  padding: 7px 14px;
}
.privacy-updated svg { width:15px; height:15px; stroke:var(--neon); fill:none; stroke-width:2; flex-shrink:0; }

/* ── Hero Canvas Visual ── */
.privacy-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 340px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 40%, rgba(141,255,79,0.10) 0%, rgba(8,16,10,0.22) 60%, transparent 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 80px 32px #030a04;
  pointer-events: none;
  z-index: 3;
}
#privacyCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* Centered lock icon over canvas */
.privacy-lock-icon {
  position: absolute;
  z-index: 4;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lockPulse 3s ease-in-out infinite;
}
.privacy-lock-icon svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 22px rgba(141,255,79,0.85)) drop-shadow(0 0 8px rgba(141,255,79,0.5));
}
@keyframes lockPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 28px rgba(141,255,79,0.5)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 44px rgba(141,255,79,0.85)); }
}

/* ── Main Body: Sidebar + Content ── */
.privacy-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 80px;
}

/* ── Sidebar ── */
.privacy-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.toc-card {
  background: rgba(8,18,10,0.75);
  border: 1px solid rgba(141,255,79,0.15);
  border-radius: 16px;
  padding: 20px 18px;
}
.toc-card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin: 0 0 16px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.3;
  padding: 3px 0;
  transition: color .2s;
}
.toc-list li a:hover { color: var(--neon); }
.toc-list li a.toc-active { color: var(--neon); }
.toc-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(141,255,79,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.toc-list li a.toc-active .toc-dot {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 8px rgba(141,255,79,0.7);
}
.toc-dot-inner {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #030a04;
  display: none;
}
.toc-list li a.toc-active .toc-dot-inner { display: block; }

/* Trust card */
.trust-card {
  background: rgba(8,18,10,0.75);
  border: 1px solid rgba(141,255,79,0.15);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(141,255,79,0.28);
  background: rgba(141,255,79,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
}
.trust-icon-wrap svg { width:24px; height:24px; stroke:var(--neon); fill:none; stroke-width:2; }
.trust-card h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-main);
}
.trust-card p {
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Content Sections ── */
.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pp-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid rgba(141,255,79,0.10);
  border-radius: 18px;
  background: rgba(8,18,10,0.55);
  margin-bottom: 14px;
  transition: border-color .25s, background .25s;
  position: relative;
}
.pp-section:hover {
  border-color: rgba(141,255,79,0.25);
  background: rgba(12,26,14,0.72);
}
.pp-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(141,255,79,0.50);
  background: rgba(141,255,79,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon);
  flex-shrink: 0;
  margin-top: 2px;
}
.pp-body { flex: 1; min-width: 0; }
.pp-body h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--neon);
  line-height: 1.2;
}
.pp-body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.72;
}
/* Hex icon on the right */
.pp-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  background: rgba(141,255,79,0.07);
  color: var(--neon);
  margin-top: 2px;
  overflow: visible;
}
.pp-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 2px solid rgba(141,255,79,0.55);
  box-shadow: 0 0 10px rgba(141,255,79,0.4);
  background: transparent;
  pointer-events: none;
  z-index: 0;
}
.pp-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--neon);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .privacy-hero { grid-template-columns: 1fr; margin: 0 0 36px; }
  .privacy-hero-content p { max-width: 100%; }
  .privacy-hero-visual { max-height: 280px; aspect-ratio: 16/9; }
}

@media (max-width: 900px) {
  .privacy-body { grid-template-columns: 1fr; gap: 24px; }
  .privacy-sidebar { position: static; }
  .toc-card { display: none; }
  .trust-card { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .trust-card .trust-icon-wrap { flex-shrink: 0; }
}

@media (max-width: 760px) {
  .privacy-hero { margin: 0 0 28px; gap: 20px; }
  .privacy-hero-content h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .privacy-updated { font-size: .8rem; padding: 6px 12px; }
  .pp-section { padding: 18px 16px; gap: 14px; }
  .pp-body h3 { font-size: .95rem; }
  .pp-body p  { font-size: .88rem; }
}

@media (max-width: 600px) {
  .privacy-hero-visual { display: none; }
  .pp-section { padding: 14px 12px; gap: 10px; }
  .pp-icon { display: none; }
  .trust-card { flex-direction: column; }
}

@media (max-width: 400px) {
  .privacy-hero-content h1 { font-size: 1.5rem; }
  .pp-body h3 { font-size: .88rem; }
  .pp-body p  { font-size: .84rem; }
  .breadcrumb { font-size: .76rem; }
}
