/* Shared styles for Enki subpages (privacy, terms, support) */
:root {
  --navy-0: #050F22;
  --navy-1: #07172E;
  --navy-2: #0B1F4A;
  --royal:  #1E4FAE;
  --royal-glow: #2E63D6;
  --gold:   #E3A72F;
  --gold-2: #F4C35A;
  --white:  #FFFFFF;
  --muted:  #A9B6D3;
  --muted-2:#7F8BA8;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-bd: rgba(255,255,255,0.14);
  --glass-bd-2: rgba(255,255,255,0.22);
  --container: 920px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--navy-1);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Page background scaffolding (matches main page) */
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(46, 99, 214, 0.55) 0%, rgba(46, 99, 214, 0) 55%),
    radial-gradient(80% 60% at 80% 0%, rgba(30, 79, 174, 0.35) 0%, rgba(30, 79, 174, 0) 60%),
    radial-gradient(70% 50% at 20% 20%, rgba(11, 31, 74, 0.9) 0%, rgba(7, 23, 46, 0) 60%),
    linear-gradient(180deg, #050F22 0%, #07172E 35%, #08214A 75%, #0E2F70 100%);
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, #000 50%, transparent 100%);
}
.stars-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.glow-bottom {
  position: fixed; left: 50%; bottom: -30vh; width: 130vw; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(46, 99, 214, 0.45) 0%, rgba(46, 99, 214, 0) 70%);
  z-index: 0; pointer-events: none; filter: blur(20px);
}

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,23,46,0.7); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hdr-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; }
.logo .mark { width: 42px; height: 42px; position: relative; display: inline-flex; align-items: center; justify-content: center; }
.logo .mark img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 4px 14px rgba(244,195,90,0.45)); }
.logo .mark::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(244,195,90,0.35) 0%, rgba(244,195,90,0) 70%); z-index: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #D4DEF4; text-decoration: none; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-bd); font-weight: 600; font-size: 14px; transition: all .2s ease; }
.back-link:hover { background: rgba(255,255,255,0.09); color: #fff; }

/* Page body */
main.page { position: relative; z-index: 2; padding: 60px 20px 80px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.page-head { text-align: center; margin-bottom: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(30, 79, 174, 0.18);
  border: 1px solid rgba(120, 160, 240, 0.25);
  color: #B9CCF2; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.page-head h1 { font-size: clamp(30px, 4.5vw, 48px); margin: 0 0 14px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.18; }
.page-head .sub { color: var(--muted); font-size: clamp(14px, 1.2vw, 17px); max-width: 640px; margin: 0 auto; }
.page-head .meta { color: var(--muted-2); font-size: 13px; margin-top: 14px; }

/* Glass card */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -20px rgba(3, 9, 24, 0.7);
}

/* Content section */
.section { padding: 28px 30px; margin-bottom: 18px; }
@media (max-width: 640px) { .section { padding: 22px 18px; } }
.section h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; color: #fff; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.section h2 .num {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(180deg, rgba(244,195,90,0.18) 0%, rgba(244,195,90,0.05) 100%);
  border: 1px solid rgba(244,195,90,0.35);
  color: var(--gold-2); font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 18px 0 8px; }
.section p { color: #DCE5F7; font-size: 15px; margin: 0 0 10px; line-height: 1.8; }
.section ul { padding-right: 22px; padding-left: 0; margin: 8px 0 0; color: #DCE5F7; font-size: 15px; line-height: 1.85; }
.section ul li { margin-bottom: 6px; }
.section a { color: var(--gold-2); text-decoration: none; border-bottom: 1px dashed rgba(244,195,90,0.4); }
.section a:hover { color: #FFE9B8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; user-select: none; transition: transform .2s ease, box-shadow .25s ease; text-decoration: none; white-space: nowrap; font-family: inherit; }
.btn-gold { color: #FFFFFF; background: linear-gradient(180deg, #F4C35A 0%, #E3A72F 100%); box-shadow: 0 12px 36px -8px rgba(227,167,47,0.55), 0 0 0 1px rgba(244,195,90,0.35) inset; text-shadow: 0 1px 0 rgba(120,70,0,0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -8px rgba(227,167,47,0.7), 0 0 0 1px rgba(244,195,90,.5) inset; }
.btn-ghost { color: #fff; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-bd); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: var(--glass-bd-2); }

/* Footer */
footer { position: relative; z-index: 2; padding: 40px 20px 30px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 60px; }
.ftr-inner { width: 100%; max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.ftr-inner .links { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr-inner a { color: var(--muted); text-decoration: none; transition: color .2s; }
.ftr-inner a:hover { color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }
