/* ============================================================
   PRIVACY POLICY PAGE — privacy-policy.css
   Redesign — clean, readable, classic legal-document style.
============================================================ */

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.pp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #3d3880 0%, #635DA9 55%, #7B75C2 100%);
  padding: 120px 0 72px;
}
.pp-hero__bg   { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.pp-hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25; }
.pp-hero__blob--1 { width: 480px; height: 480px; background: #FFC93B; top: -160px; right: -100px; }
.pp-hero__blob--2 { width: 320px; height: 320px; background: #65A1D7; bottom: -120px; left: -80px; }
.pp-hero__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pp-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 64px; align-items: center;
}
.pp-hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }

.pp-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  letter-spacing: -.03em; margin: 0;
}
.pp-hero__sub {
  font-size: 1rem; color: rgba(255,255,255,.78);
  line-height: 1.75; margin: 0; max-width: 540px;
}
.pp-hero__meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; padding-top: 2px;
}
.pp-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .79rem; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 12px; border-radius: 50px;
}
.pp-meta-item strong { color: #fff; }
.pp-meta-sep { display: none; } /* removed — items are pill-shaped now */

/* Illustration */
.pp-hero__visual {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; width: 200px; height: 200px;
}
.pp-hero__glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,59,.3) 0%, transparent 70%);
}
.pp-illus {
  position: relative; width: 120px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.pp-illus__shield {
  position: relative; z-index: 1;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.25));
  animation: ppFloat 5s ease-in-out infinite;
}
.pp-illus__badge {
  position: absolute;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.pp-illus__badge--1 { top: -8px;    right: -24px; animation: ppFloat 3s ease-in-out infinite; }
.pp-illus__badge--2 { bottom: 16px; right: -30px; animation: ppFloat 4s ease-in-out .5s infinite; }
.pp-illus__badge--3 { bottom: -8px; left: -24px;  animation: ppFloat 3.5s ease-in-out .3s infinite; }

@keyframes ppFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ─────────────────────────────────────────────────────────
   MOBILE TOC STRIP
───────────────────────────────────────────────────────── */
.pp-toc-mobile {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: sticky; top: 0; z-index: 30;
}
.pp-toc-mobile__btn {
  display: flex; align-items: center; gap: 8px;
  font-size: .855rem; font-weight: 600; color: var(--text-primary);
  background: none; border: none; cursor: pointer; padding: 6px 0; width: 100%;
  font-family: var(--font-body);
}
.pp-toc-mobile__chevron { margin-left: auto; transition: transform .22s; }
.pp-toc-mobile__btn--open .pp-toc-mobile__chevron { transform: rotate(180deg); }
.pp-toc-drawer {
  display: none;
  margin-top: 10px; padding: 14px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border); border-radius: 12px;
}
.pp-toc-drawer .pp-toc__list { gap: 0; }
.pp-toc-drawer .pp-toc__link { font-size: .82rem; padding: 7px 10px; }

/* ─────────────────────────────────────────────────────────
   PAGE LAYOUT
───────────────────────────────────────────────────────── */
.pp-layout {
  background: #FAFAFA;
  padding: 56px 0 80px;
  border-top: 1px solid var(--border);
}
.pp-layout__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* ─────────────────────────────────────────────────────────
   SIDEBAR — TABLE OF CONTENTS
───────────────────────────────────────────────────────── */
.pp-toc { position: sticky; top: 88px; }
.pp-toc__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pp-toc__title {
  padding: 14px 18px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.pp-toc__list {
  list-style: none; padding: 10px 8px; margin: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.pp-toc__link {
  display: block;
  font-size: .8rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  padding: 7px 10px; border-radius: 8px;
  line-height: 1.4;
  transition: background .18s, color .18s, padding-left .18s;
  border-left: 2px solid transparent;
}
.pp-toc__link:hover {
  background: var(--purple-soft); color: var(--purple);
  padding-left: 14px; border-left-color: var(--purple);
}
.pp-toc__link--active {
  background: var(--purple-soft); color: var(--purple);
  font-weight: 700; padding-left: 14px;
  border-left-color: var(--purple);
}
.pp-toc__footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-page);
}
.pp-toc__footer p { font-size: .76rem; color: var(--text-muted); margin: 0; }
.pp-toc__btn { text-align: center; }

/* ─────────────────────────────────────────────────────────
   CONTENT SECTIONS
───────────────────────────────────────────────────────── */
.pp-content { min-width: 0; }

.pp-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 18px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 96px;
}
.pp-section:first-child { padding-top: 0; }
.pp-section:last-child  { border-bottom: none; padding-bottom: 0; }

.pp-section__num {
  font-family: var(--font-head); font-size: .62rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--purple-soft); color: var(--purple);
  border-radius: 9px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; align-self: flex-start; margin-top: 3px;
}

.pp-section__body { display: flex; flex-direction: column; gap: 14px; }

.pp-section__title {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: var(--text-primary); margin: 0; line-height: 1.25;
}
.pp-section__subtitle {
  font-family: var(--font-head); font-size: .93rem; font-weight: 700;
  color: var(--text-primary); margin: 6px 0 0;
}

.pp-section__body > p {
  font-size: .925rem; color: var(--text-muted);
  line-height: 1.82; margin: 0; max-width: 68ch;
}
.pp-section__body ul,
.pp-section__body ol {
  padding-left: 20px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pp-section__body li {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.7; max-width: 68ch;
}
.pp-section__body li::marker { color: var(--purple); }
.pp-section__body li strong  { color: var(--text-primary); }

.pp-link {
  color: var(--purple); text-decoration: underline;
  text-underline-offset: 3px; font-weight: 500;
}
.pp-link:hover { color: var(--purple-dark); }

/* ─────────────────────────────────────────────────────────
   INFO BOXES
───────────────────────────────────────────────────────── */
.pp-infobox {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: 12px;
  border-left: 4px solid transparent;
}
.pp-infobox--purple {
  background: var(--purple-soft); border-left-color: var(--purple);
}
.pp-infobox--green  {
  background: var(--green-soft);  border-left-color: var(--green);
}
.pp-infobox--gold   {
  background: #FFF8E1; border-left-color: #F0C040;
}
.pp-infobox__icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }
.pp-infobox p {
  font-size: .875rem; color: var(--text-muted);
  line-height: 1.68; margin: 0; max-width: 100%;
}

/* ─────────────────────────────────────────────────────────
   RIGHTS GRID
───────────────────────────────────────────────────────── */
.pp-rights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 4px 0;
}
.pp-right-card {
  background: var(--bg-surface); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 7px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pp-right-card:hover {
  border-color: var(--purple-tint);
  box-shadow: 0 6px 20px rgba(99,93,169,.1);
  transform: translateY(-3px);
}
.pp-right-card__icon { font-size: 1.4rem; line-height: 1; }
.pp-right-card h3 {
  font-family: var(--font-head); font-size: .855rem; font-weight: 700;
  color: var(--text-primary); margin: 0;
}
.pp-right-card p {
  font-size: .78rem; color: var(--text-muted);
  line-height: 1.6; margin: 0; max-width: 100%;
}

/* ─────────────────────────────────────────────────────────
   CONTACT ITEMS
───────────────────────────────────────────────────────── */
.pp-contact-grid {
  display: flex; flex-direction: column; gap: 10px; margin: 4px 0;
}
.pp-contact-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.pp-contact-item:hover {
  border-color: var(--purple-tint);
  box-shadow: 0 3px 14px rgba(99,93,169,.08);
}
.pp-contact-item__icon {
  width: 40px; height: 40px;
  background: var(--purple-soft); color: var(--purple);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pp-contact-item__label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-light); margin: 0 0 2px;
}
.pp-contact-item__value {
  font-size: .875rem; font-weight: 600; color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────
   HELP / CTA CARD
───────────────────────────────────────────────────────── */
.pp-help { background: var(--bg-surface); padding: 0 0 80px; }
.pp-help__card {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 32px; align-items: center;
  background: linear-gradient(140deg, #3d3880, #635DA9);
  border-radius: 20px; padding: 40px 48px;
  box-shadow: 0 8px 32px rgba(99,93,169,.22);
}
.pp-help__icon  { font-size: 3rem; line-height: 1; flex-shrink: 0; }
.pp-help__body  { display: flex; flex-direction: column; gap: 10px; }
.pp-help__title {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: #fff; margin: 0; line-height: 1.25;
}
.pp-help__sub { font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.7; margin: 0; max-width: 50ch; }
.pp-help__btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pp-help__email {
  font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.75);
  text-decoration: none;
}
.pp-help__email:hover { color: #fff; text-decoration: underline; }
.pp-help__links { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.pp-help__links-title {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.45); margin: 0 0 6px;
}
.pp-help__links ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.pp-help__rel-link {
  font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: color .18s;
}
.pp-help__rel-link:hover { color: #fff; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pp-layout__inner { grid-template-columns: 210px 1fr; gap: 36px; }
  .pp-rights-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pp-hero__inner   { grid-template-columns: 1fr; }
  .pp-hero__visual  { display: none; }
  .pp-layout        { padding: 0; background: #fff; }
  .pp-layout__inner { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .pp-toc           { display: none; }
  .pp-toc-mobile    { display: block; }
  .pp-content       { padding: 32px 0 56px; }
  .pp-help__card    { grid-template-columns: auto 1fr; }
  .pp-help__links   { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
  .pp-help__links ul { flex-direction: row; gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .pp-hero          { padding: 96px 0 56px; }
  .pp-hero__meta    { gap: 6px; }
  .pp-section       { grid-template-columns: 1fr; gap: 10px; }
  .pp-section__num  { width: 32px; height: 32px; font-size: .58rem; }
  .pp-rights-grid   { grid-template-columns: 1fr; }
  .pp-help__card    { grid-template-columns: 1fr; padding: 28px 24px; gap: 14px; }
  .pp-help__icon    { display: none; }
  .pp-help__btns    { flex-direction: column; align-items: flex-start; }
}
