/* ===== BEM namespace for Privacy Policy page ===== */
.page-privacy-policy{color:#F3F8FF;background-color:#08162B;font-family:'Segoe UI',Roboto,Helvetica,Arial,sans-serif;line-height:1.7;overflow-x:hidden}
.page-privacy-policy a{color:#4FA8FF;transition:color .2s ease}
.page-privacy-policy a:hover{color:#F2C14E}

/* ----- HERO Section ----- */
.page-privacy-policy__hero-section{display:flex;flex-direction:column;align-items:center;width:100%;padding:10px 0 0;margin:0}
.page-privacy-policy__hero-image-container{width:100%;max-width:1200px;padding:0 16px;box-sizing:border-box}
.page-privacy-policy__hero-image{display:block;width:100%;max-width:1200px;height:auto;aspect-ratio:3/1;object-fit:cover;border-radius:12px;border:1px solid #244D84;box-shadow:0 8px 32px rgba(0,0,0,.4)}
.page-privacy-policy__hero-content{width:100%;max-width:1000px;padding:32px 16px 24px;text-align:center;box-sizing:border-box}
.page-privacy-policy__main-title{font-weight:800;line-height:1.3;letter-spacing:.5px;color:#F3F8FF;max-width:820px;margin:0 auto 16px;font-size:clamp(1.5rem, 2.5vw, 2rem)}
.page-privacy-policy__hero-description{font-size:1rem;color:#AFC4E8;max-width:780px;margin:0 auto 24px;line-height:1.8}
.page-privacy-policy__hero-actions{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;align-items:center}

/* ----- Buttons ----- */
.page-privacy-policy__btn{display:inline-block;padding:14px 32px;border-radius:999px;font-weight:700;font-size:1rem;text-decoration:none;text-align:center;transition:transform .2s ease, box-shadow .2s ease;border:none;cursor:pointer;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word}
.page-privacy-policy__btn--primary{background:linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);color:#F3F8FF;box-shadow:0 4px 20px rgba(43,115,246,.3)}
.page-privacy-policy__btn--primary:hover{transform:translateY(-2px);box-shadow:0 6px 28px rgba(43,115,246,.5)}
.page-privacy-policy__btn--secondary{background:transparent;color:#F3F8FF;border:2px solid #244D84}
.page-privacy-policy__btn--secondary:hover{background:#10233F;border-color:#4FA8FF;transform:translateY(-2px)}

/* ----- Table of Contents ----- */
.page-privacy-policy__toc{max-width:1000px;margin:16px auto 32px;padding:24px 28px;background-color:#10233F;border-radius:12px;border:1px solid #244D84}
.page-privacy-policy__toc-title{font-size:1.35rem;color:#F3F8FF;font-weight:700;margin-bottom:16px;border-left:4px solid #F2C14E;padding-left:12px}
.page-privacy-policy__toc-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:8px 24px}
.page-privacy-policy__toc-list li{margin:0;line-height:1.6}
.page-privacy-policy__toc-list a{color:#AFC4E8;text-decoration:none;font-weight:500;font-size:0.95rem}
.page-privacy-policy__toc-list a:hover{color:#F2C14E;text-decoration:underline}

/* ----- Content Sections ----- */
.page-privacy-policy__content-section{max-width:1000px;margin:0 auto;padding:16px 16px 40px}
.page-privacy-policy__content-section h2{font-size:1.8rem;color:#F3F8FF;font-weight:700;margin-bottom:24px;padding-bottom:12px;border-bottom:2px solid #1B3357;letter-spacing:.3px}
.page-privacy-policy__content-section h2::before{content:'🔒 ';font-size:1.4rem}
.page-privacy-policy__content-section h3{font-size:1.25rem;color:#F3F8FF;font-weight:600;margin:24px 0 12px}
.page-privacy-policy__content-section p{font-size:1rem;line-height:1.8;color:#AFC4E8;margin-bottom:16px}
.page-privacy-policy__content-section ul{list-style:none;padding:0;margin:0 0 24px}
.page-privacy-policy__content-section li{position:relative;padding:8px 0 8px 24px;color:#AFC4E8;line-height:1.7;border-bottom:1px solid #1B3357}
.page-privacy-policy__content-section li:last-child{border-bottom:none}
.page-privacy-policy__content-section li::before{content:'▸';position:absolute;left:0;color:#4FA8FF;font-weight:700}
.page-privacy-policy__content-section ul ul{margin:8px 0 0;padding:0 0 0 24px}
.page-privacy-policy__content-section strong{color:#F3F8FF}
.page-privacy-policy__content-section em{color:#AFC4E8}

/* ----- CTA Box ----- */
.page-privacy-policy__cta-box{background:linear-gradient(135deg, #10233F 0%, #1B3357 100%);border:2px solid #4FA8FF;border-radius:16px;padding:32px;margin:32px 0 16px;text-align:center;box-shadow:0 0 30px rgba(79,168,255,.15)}
.page-privacy-policy__cta-box h3{font-size:1.5rem;color:#F3F8FF;margin-bottom:12px}
.page-privacy-policy__cta-box p{color:#AFC4E8;margin-bottom:24px;max-width:600px;margin-left:auto;margin-right:auto}

/* Scroll-to-top helper */
.page-privacy-policy__scroll-top{position:fixed;bottom:20px;right:20px;z-index:99;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#1144A6;color:#F3F8FF;border:1px solid #4FA8FF;font-size:1.2rem;cursor:pointer;box-shadow:0 4px 15px rgba(0,0,0,.3);transition:background .2s ease}
.page-privacy-policy__scroll-top:hover{background:#2B73F6}

/* ===== Responsive 1024px ===== */
@media (max-width:1024px){
  .page-privacy-policy__toc-list{grid-template-columns:1fr}
  .page-privacy-policy__hero-image{aspect-ratio:3/1}
}

/* ===== Responsive 768px (Mobile critical) ===== */
@media (max-width:768px){
  .page-privacy-policy{width:100%;max-width:100%;overflow-x:hidden}
  .page-privacy-policy__hero-section{width:100%;padding:10px 0 0}
  .page-privacy-policy__hero-image-container{width:100%;max-width:100%;padding:0 12px}
  .page-privacy-policy__hero-image{width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .page-privacy-policy__hero-content{width:100%;max-width:100%;padding:24px 12px 16px}
  .page-privacy-policy__main-title{font-size:clamp(1.2rem, 4vw, 1.5rem);line-height:1.4}
  .page-privacy-policy__hero-description{font-size:.95rem}
  .page-privacy-policy__hero-actions{flex-direction:column;gap:12px;width:100%}
  .page-privacy-policy__btn{width:100%;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word;padding:14px 20px}
  .page-privacy-policy__toc{padding:20px 16px;margin:12px 12px 24px}
  .page-privacy-policy__toc-title{font-size:1.15rem}
  .page-privacy-policy__toc-list{grid-template-columns:1fr}
  .page-privacy-policy__content-section{padding:12px 16px 32px;width:100%;max-width:100%;box-sizing:border-box}
  .page-privacy-policy__content-section h2{font-size:1.5rem}
  .page-privacy-policy__content-section h3{font-size:1.15rem}
  .page-privacy-policy__content-section{padding-left:16px;padding-right:16px}
  /* Ensure any image in content section fits */
  .page-privacy-policy img{max-width:100% !important;height:auto !important}
  .page-privacy-policy__cta-box{padding:24px 16px;margin:24px 0 12px}
  .page-privacy-policy__cta-box h3{font-size:1.25rem}
  .page-privacy-policy__cta-box p{font-size:.95rem}
  .page-privacy-policy__cta-box .page-privacy-policy__btn{width:100%;max-width:100%}
  .page-privacy-policy__scroll-top{width:40px;height:40px;font-size:1rem;bottom:16px;right:16px}
}