/* ============================================================
   Privacy Page Styles — matches landing page aesthetic
   ============================================================ */

/* ── Hero ── */
.privacy-hero {
  position: relative;
  padding: 90px 32px 64px;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.privacy-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.privacy-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 70%);
}

.privacy-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-blob 14s ease-in-out infinite;
}

.privacy-hero-blob-1 {
  width: 480px;
  height: 480px;
  background: rgba(124,58,237,0.18);
  top: -120px;
  left: -100px;
}

.privacy-hero-blob-2 {
  width: 520px;
  height: 520px;
  background: rgba(168,85,247,0.14);
  bottom: -200px;
  right: -100px;
  animation-delay: -7s;
}

.privacy-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(79,70,229,0.2);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.4px;
}

.privacy-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-soft 1.6s infinite;
}

.privacy-hero-h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 22px 0 14px;
}

.privacy-hero-p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

.privacy-hero-date {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  opacity: 0.7;
}


/* ── Content ── */
.content { padding: 72px 24px; }
.content-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

/* ── Alternating two-column card ── */
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 420px 1fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.pcard.in { opacity: 1; transform: none; }
.pcard:nth-child(even) { grid-template-columns: 1fr 420px; }
.pcard:nth-child(even) .pcard-figure { order: 2; }

.pcard-figure {
  position: relative;
  background: var(--panel);
  border-right: 1px solid var(--border);
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pcard:nth-child(even) .pcard-figure { border-right: none; border-left: 1px solid var(--border); }
/* subtle dotted texture on every figure */
.pcard-figure::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--panel-line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
}

.pcard-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.pcard-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.pcard-kicker .n {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid var(--brand); border-radius: 6px; font-size: 10px;
}
.pcard-title { font-size: 23px; font-weight: 700; color: var(--text); letter-spacing: -.4px; margin-bottom: 12px; line-height: 1.2; }
.pcard-text { font-size: 15px; color: var(--muted); line-height: 1.7; }
.pcard-text strong { color: var(--text); font-weight: 600; }

/* ── Contact ── */
.contact { padding: 72px 24px 96px; text-align: center; background: var(--white); border-top: 1px solid var(--border); }
.contact-inner { max-width: 480px; margin: 0 auto; }
.contact h2 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; }
.contact p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.contact a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; }

/* ── Shared keyframes ── */
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.06); }
}
@keyframes pulseSoft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .pcard, .pcard:nth-child(even) { grid-template-columns: 1fr; }
  .pcard-figure, .pcard:nth-child(even) .pcard-figure {
    order: 0; border-right: none; border-left: none; border-bottom: 1px solid var(--border);
    min-height: 280px;
  }
  .pcard-body { padding: 36px 32px; }
  .hero { padding: 76px 20px 56px; }
  .content { padding: 48px 16px; }
}


/* ── Contact Section ── */
.privacy-contact {
  padding: 64px 24px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.privacy-contact-inner {
  max-width: 480px;
  margin: 0 auto;
}

.privacy-contact h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.privacy-contact p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-contact a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.privacy-contact a:hover {
  text-decoration: underline;
}