/* ============================================================
   Shared Privacy Policy Stylesheet — Stella Secret
   Each page overrides :root variables for its own accent color.
   ============================================================ */

/* --- Default tokens (overridden per-page via <style> in <head>) --- */
:root {
  --bg:        #0d0f14;
  --surface:   #161920;
  --border:    #2a2f3d;
  --text:      #e8eaf0;
  --muted:     #9ca3af;
  --accent:    #4f9cf9;
  --green:     #10d9a0;
  --font-head: system-ui, -apple-system, sans-serif;
  --font-body: 'Georgia', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  padding: 40px 20px 80px;
}

.container { max-width: 720px; margin: 0 auto; position: relative; }

/* --- Header --- */
header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.app-name {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

h1 {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
}

.updated { font-size: 13px; color: var(--muted); font-family: var(--font-head); }

/* --- Headings --- */
h2 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
}
h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 16px;
  background: linear-gradient(var(--accent), var(--green));
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- Body copy --- */
p { color: var(--muted); margin-bottom: 12px; }
ul { color: var(--muted); padding-left: 20px; margin-bottom: 12px; }
ul li { margin-bottom: 6px; }

code {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Highlight box --- */
.highlight {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}
.highlight p { color: var(--text); margin: 0; }

/* --- Badges --- */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px;
  margin-right: 6px; margin-bottom: 4px;
}
.badge-green { background: rgba(16,217,160,0.12); color: var(--green); }
.badge-red   { background: rgba(240,79,79,0.12);  color: #f87171; }
.badge-blue  { background: rgba(255,255,255,0.08); color: var(--accent); }

/* --- Back link --- */
.back {
  font-family: var(--font-head);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted);
  margin-bottom: 32px;
  text-decoration: none;
  transition: color .2s;
}
.back:hover { color: var(--accent); text-decoration: none; }

/* --- Lang switcher --- */
.lang-switcher {
  position: absolute;
  top: 0;
  right: 0;
}
.lang-link {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  font-family: var(--font-head);
  transition: all 0.2s;
}
.lang-link:hover { border-color: var(--accent); background: var(--surface); filter: brightness(1.2); }

/* --- Footer --- */
footer {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 13px; color: var(--muted);
  text-align: center;
}
