/* ============================================================
   privacy-policy.css — Preem Media Privacy Policy Page
   Extends style.css. Never overrides base design tokens.
   Layout: Single-column document. Fully responsive.
   ============================================================ */


/* ── Hero ───────────────────────────────────────────────── */

.privacy-hero {
  padding: 160px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(255, 215, 0, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.privacy-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: block;
}

.privacy-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.privacy-hero-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-align: center;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}


/* ── Document body wrapper ──────────────────────────────── */

.privacy-body {
  padding: 0 0 100px;
}

.privacy-document {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* ── Intro card ─────────────────────────────────────────── */

.privacy-intro-card {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.14);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  margin-bottom: 3.5rem;
}

.privacy-intro-card p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
  max-width: none;
}

.privacy-intro-card p strong {
  color: var(--color-text);
  font-weight: 600;
}


/* ── Section blocks ─────────────────────────────────────── */

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section-number {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
  margin-bottom: 0.75rem;
  display: block;
}

.privacy-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
}

.privacy-section p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  max-width: none;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section p strong {
  color: var(--color-text);
  font-weight: 600;
}

.privacy-section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.privacy-section a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}


/* ── Unordered list (used for data categories etc.) ─────── */
/*
   FIX: was display:flex which made ::before, <strong>, and the
   adjacent text node THREE separate flex children → two-column split.
   Now using position:relative + padding-left so the bullet is
   absolutely positioned and everything inside flows as normal inline.
*/

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.955rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.privacy-list li::before {
  content: '✦';
  color: var(--color-accent);
  font-size: 0.55rem;
  position: absolute;
  left: 0;
  top: 0.42rem;
  opacity: 0.8;
}

/* Bold label flows inline — followed by a dash and the description */
.privacy-list li strong {
  color: var(--color-text);
  font-weight: 700;
  display: inline;
}

/* Inject separator between bold label and description text */
.privacy-list li strong::after {
  content: ' — ';
  font-weight: 400;
  color: var(--color-text-muted);
  opacity: 0.6;
}


/* ── Highlight / callout block ──────────────────────────── */

.privacy-callout {
  border-left: 2px solid var(--color-accent);
  margin: 1.5rem 0;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 215, 0, 0.03);
  border-radius: 0 8px 8px 0;
}

.privacy-callout p {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text);
  font-style: italic;
  margin: 0 !important;
  line-height: 1.6;
  max-width: none;
}


/* ── Contact box (last section) ─────────────────────────── */

.privacy-contact-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  margin-top: 1.25rem;
}

.privacy-contact-box p {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: none;
}

.privacy-contact-box p:last-child {
  margin-bottom: 0;
}

.privacy-contact-box strong {
  color: var(--color-text);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}


/* ── Table of contents (sticky sidebar on desktop) ──────── */

.privacy-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.privacy-toc-col {
  flex: 0 0 220px;
  position: sticky;
  top: 100px;
}

.privacy-toc {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
}

.privacy-toc-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
  display: block;
  margin-bottom: 1rem;
}

.privacy-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  counter-reset: toc;
}

.privacy-toc ol li {
  counter-increment: toc;
}

.privacy-toc ol li a {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  border-bottom: none;
}

.privacy-toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--color-accent);
  opacity: 0.6;
  flex-shrink: 0;
}

.privacy-toc ol li a:hover {
  color: var(--color-accent);
  background: rgba(255, 215, 0, 0.04);
  border-bottom: none;
}

.privacy-main-col {
  flex: 1;
  min-width: 0;
}


/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
   Hide TOC sidebar, collapse to full-width doc
══════════════════════════════════════════ */

@media (max-width: 900px) {
  .privacy-layout {
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .privacy-toc-col {
    flex: none;
    width: 100%;
    position: static;
  }

  .privacy-toc {
    display: none; /* Hidden on smaller screens for cleaner reading */
  }

  .privacy-document {
    padding: 0;
  }
}


/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
══════════════════════════════════════════ */

@media (max-width: 600px) {
  .privacy-hero {
    padding: 110px 1.25rem 60px;
  }

  .privacy-layout {
    padding: 0 1.25rem;
  }

  .privacy-document {
    padding: 0;
  }

  .privacy-intro-card,
  .privacy-contact-box {
    padding: 1.5rem 1.25rem;
  }

  .privacy-section {
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .privacy-section h2 {
    font-size: 1.25rem;
  }
}


/* ══════════════════════════════════════════
   REDUCE MOTION
══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .privacy-intro-card,
  .privacy-contact-box {
    transition: none;
  }
}


/* ══════════════════════════════════════════
   COOKIE CONSENT BANNER
   Fixed bottom strip — slide up on load
   Dismiss via Accept / Decline buttons
══════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 13, 13, 0.97);
  border-top: 1px solid rgba(255, 215, 0, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.1rem 2rem;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.cookie-banner.cookie-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Text block */
.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.3rem;
  max-width: none;
  letter-spacing: 0.02em;
}

.cookie-banner-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 72ch;
}

.cookie-banner-desc a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  transition: color 0.2s;
  font-size: inherit;
}

.cookie-banner-desc a:hover {
  color: #fff;
}

/* Action buttons */
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Decline — ghost button */
.cookie-btn--decline {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn--decline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

/* Accept — gold filled */
.cookie-btn--accept {
  background: var(--color-accent);
  color: var(--color-bg);
}

.cookie-btn--accept:hover {
  background: #ffe234;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

/* ── Responsive cookie banner ───────────────────────────── */

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem 1.25rem;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 400px) {
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }
}