/* Privacy Page - Standalone Design (keeps fonts and colors, new layout) */
:root {
  --ai-primary: #0b2b5c;
  --ai-primary-80: rgba(11,43,92,0.8);
  --ai-accent: #19a6ff;
  --ai-light: #f5f7fb;
  --ai-muted: #b7c0d0;
  --ai-surface: #0e1c33;
}

/* Reset some inherited template visuals on this page */
body.privacy-page .fullscreen-bg,
body.privacy-page .color-layer,
body.privacy-page .inner.about .fullscreen-bg { display: none !important; }

/* Background */
body.privacy-page {
  background: radial-gradient(1200px 700px at 15% 10%, rgba(25,166,255,0.18), transparent 60%),
              radial-gradient(1200px 700px at 85% 90%, rgba(25,166,255,0.12), transparent 60%),
              linear-gradient(180deg, #0b2b5c 0%, #081b3b 60%, #06142d 100%);
  color: #eaf0ff;
}

/* Header */
body.privacy-page #header.header {
  background: rgba(6, 20, 45, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.privacy-page .logo img { filter: none; opacity: 0.95; }
body.privacy-page .btn.btn-s { border-color: var(--ai-accent); color: #fff; }
body.privacy-page .btn.btn-s .hover { color: #000; }

/* Main layout */
body.privacy-page #main.inner.about { padding-top: 48px; }
body.privacy-page .inner__content { padding: 24px; }

/* Card */
.policy-shell {
  max-width: 1120px;
  margin: 24px auto 56px;
  padding: 0 16px;
}

.policy-card {
  background: #0f1f3b;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}

.policy-card__header {
  padding: 28px 28px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.policy-card__body {
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding: 24px 28px 28px 28px;
}

/* Typography distinct from the main site but same fonts/colors */
.policy-subtitle { color: var(--ai-muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.policy-title { font-size: 40px; line-height: 1.15; margin: 6px 0 10px; color: #fff; }
.policy-updated { color: #c6d6ff; font-size: 14px; opacity: .8; }

.policy-section { margin: 24px 0; }
.policy-section h2 { font-size: 22px; color: #cfe2ff; margin: 0 0 8px; }
.policy-section p, .policy-section ul { color: #e5ecff; opacity: .92; }
.policy-section ul { padding-left: 1.1rem; }

/* CTA */
.policy-cta { padding: 18px 28px 28px 28px; display: flex; justify-content: flex-end; }
.policy-cta .btn { border-radius: 12px; }

/* Scrollbar styling for the policy body */
.policy-card__body::-webkit-scrollbar { width: 10px; }
.policy-card__body::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 10px; }
.policy-card__body::-webkit-scrollbar-thumb { background: var(--ai-primary-80); border-radius: 10px; }
.policy-card__body::-webkit-scrollbar-thumb:hover { background: rgba(25,166,255,0.6); }

/* Footer */
body.privacy-page #footer { background: transparent; border-top: 1px solid rgba(255,255,255,0.06); }

/* Bottom back bar */
.privacy-backbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  background: rgba(6, 20, 45, 0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
}

/* Ensure content isn't hidden behind fixed bar */
body.privacy-page .policy-shell { margin-bottom: 96px; }

/* Responsive tweaks */
@media (max-width: 991px) {
  .policy-card__body { max-height: calc(100vh - 220px); }
  .policy-title { font-size: 30px; }
}