/* ══════════════════════════════════════════════════════════════════════════
   StreamShield Website — style.css
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:           #09090e;
  --bg-alt:       #0e0e14;
  --surface:      #111118;
  --surface-2:    #18181f;
  --surface-3:    #1e1e28;
  --border:       #222230;
  --border-mid:   #2e2e3e;
  --border-hi:    #3e3e52;

  /* Accent — Twitch purple / StreamShield brand */
  --accent:        #9147ff;
  --accent-soft:   #b55bff;   /* brighter purple for buttons/links */
  --accent-dim:    rgba(145,71,255,0.12);
  --accent-glow:   rgba(145,71,255,0.25);
  --accent-glow2:  rgba(181,91,255,0.18);

  --green:         #00c896;
  --green-dim:     rgba(0,200,150,0.13);
  --gold:          #f59e0b;
  --gold-dim:      rgba(245,158,11,0.13);
  --red-dim:       rgba(255,80,80,0.12);
  --red:           #ff6464;

  --text:          #ececf1;
  --text-muted:    #a8a8b8;
  --text-faint:    #5e5e72;

  /* Ko-fi section: purple not red */
  --kofi-fg:       #b55bff;
  --kofi-bg:       rgba(181,91,255,0.10);
  --kofi-border:   rgba(181,91,255,0.30);
  --kofi-bg-hov:   rgba(181,91,255,0.20);
  --kofi-bdr-hov:  rgba(181,91,255,0.60);

  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     18px;
  --radius-xl:     24px;
  --transition:    0.18s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace; font-size: 0.875em; }

/* ── Gradient text ─────────────────────────────────────────────────────── */
.grad {
  background: linear-gradient(125deg, #9147ff 0%, #c084fc 55%, #d4a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 15px;
  cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  text-decoration: none !important;
  white-space: nowrap; line-height: 1;
  letter-spacing: -0.01em;
}

/* Primary — install CTA */
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #a463ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost */
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover { background: var(--surface-3); border-color: var(--border-hi); }

/* Ko-fi — purple scheme, not red */
.btn-kofi {
  background: var(--kofi-bg);
  color: var(--kofi-fg);
  border: 1px solid var(--kofi-border);
  font-weight: 700;
}
.btn-kofi:hover {
  background: var(--kofi-bg-hov);
  border-color: var(--kofi-bdr-hov);
  transform: translateY(-2px);
}

/* Sizes */
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: var(--radius-sm); }

/* Chrome icon inside install button */
.chrome-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(9,9,14,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 28px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
  text-decoration: none !important;
}
.nav-logo:hover { opacity: 0.88; }
.logo-icon-img {
  height: 40px; /* Adjust based on your nav height */
  width: auto;  /* Maintains aspect ratio */
  vertical-align: middle; /* Aligns it with the text "StreamShield" */
  margin-right: 3px; /* Adds space between the icon and the name */
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  color: #fff; font-size: 14px; font-weight: 500;
  transition: color var(--transition); text-decoration: none !important;
}
.nav-links > a:hover { color: var(--text); }
.nav-kofi {
  color: var(--kofi-fg) !important;
  background: var(--kofi-bg);
  border: 1px solid var(--kofi-border);
  padding: 5px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
  transition: background var(--transition), border-color var(--transition);
}
.nav-kofi:hover {
  background: var(--kofi-bg-hov) !important;
  border-color: var(--kofi-bdr-hov) !important;
  text-decoration: none !important;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 108px;
  /* layered radial glows */
  background:
    radial-gradient(ellipse at 68% 15%, rgba(145,71,255,0.16) 0%, transparent 52%),
    radial-gradient(ellipse at 20% 85%, rgba(145,71,255,0.08) 0%, transparent 48%),
    var(--bg);
}

/* Subtle dot-grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(145,71,255,0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 30%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 30%, black 10%, transparent 75%);
}

.hero-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}

/* ── Hero copy ─────────────────────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(145,71,255,0.28);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px; font-weight: 600;
  color: #c084fc; margin-bottom: 28px;
  width: fit-content;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite; flex-shrink: 0;
}
.hero-h1 {
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 40px;
  max-width: 490px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-faint);
}
.hero-meta .tick { color: var(--green); margin-right: 5px; }

/* ── Stream demo visual ─────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex; justify-content: flex-end; align-items: center;
}

/* Aura glow behind everything */
.vis-aura {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(145,71,255,0.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 5s ease-in-out infinite;
}

/* Fake browser / stream area */
.stream-demo {
  position: relative; z-index: 1;
  width: 420px; max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  animation: float 6s ease-in-out infinite;
}
.stream-frame {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(145,71,255,0.12);
}

/* Browser chrome bar */
.browser-bar {
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.br-dots { display: flex; gap: 6px; }
.br-dot { width: 11px; height: 11px; border-radius: 50%; }
.br-dot.r { background: #ff5f57; }
.br-dot.y { background: #ffbd2e; }
.br-dot.g { background: #28ca41; }
.br-url {
  flex: 1; background: rgba(0,0,0,0.35);
  border-radius: 6px; padding: 4px 12px;
  font-size: 12px; color: var(--text-faint); text-align: center;
}
.br-ext {
  width: 24px; height: 24px;
  background: var(--accent-dim);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Stream video area */
.stream-video {
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse at 45% 45%, rgba(145,71,255,0.14) 0%, transparent 58%),
    linear-gradient(160deg, #141424 0%, #0c0c18 50%, #080810 100%);
  position: relative; overflow: hidden;
}
/* Scan-line texture */
.stream-video::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}
/* Simulated stream content */
.stream-content {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 14px 12px;
}
.stream-chat-sim {
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.chat-line {
  height: 7px; border-radius: 4px; opacity: 0.18;
  background: var(--text);
}
.stream-overlay {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(145,71,255,0.4);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 7px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  animation: overlay-pulse 3s ease-in-out infinite;
}
.stream-overlay-shield { font-size: 13px; }

/* Extension popup — positioned over the stream frame */
.popup-card {
  position: absolute;
  bottom: -24px; right: -22px;
  width: 258px; z-index: 10;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 16px 64px rgba(0,0,0,0.7),
    0 0 0 1px rgba(145,71,255,0.14),
    0 0 60px rgba(145,71,255,0.08);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
/* Extension popup caret */
.popup-card::before {
  content: '';
  position: absolute;
  top: -8px; right: 18px;
  border: 8px solid transparent;
  border-bottom-color: var(--border-mid);
  z-index: 2;
}
.popup-card::after {
  content: '';
  position: absolute;
  top: -6px; right: 19px;
  border: 7px solid transparent;
  border-bottom-color: var(--surface);
  z-index: 3;
}
.pc-header {
  background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.pc-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; }
.pc-shield { font-size: 16px; }
.pc-toggle-wrap { display: flex; align-items: center; gap: 7px; }
.pc-lbl { font-size: 11px; font-weight: 700; color: var(--green); }
.pc-toggle {
  width: 38px; height: 21px;
  background: var(--accent);
  border-radius: 12px; position: relative;
  box-shadow: 0 0 12px var(--accent-glow);
}
.pc-toggle::after {
  content: ''; position: absolute;
  right: 3px; top: 3px;
  width: 15px; height: 15px;
  background: #fff; border-radius: 50%;
}
.pc-stats {
  display: flex; border-bottom: 1px solid var(--border);
  padding: 12px 14px;
}
.pc-stat { flex: 1; text-align: center; }
.pc-val { font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.pc-lbl2 { font-size: 10px; color: var(--text-faint); margin-top: 2px; }
.pc-div { width: 1px; background: var(--border); margin: 3px 0; }
.pc-channel {
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.pc-ch-dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; box-shadow: 0 0 6px var(--green); flex-shrink: 0;
}
.pc-ch-name { font-size: 12px; font-weight: 700; }
.pc-ch-sub { font-size: 10px; color: var(--text-faint); }
.pc-health {
  padding: 8px 14px;
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--green); font-weight: 700;
}
.pc-hd { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }

/* Achievement toast (floating near the popup) */
.ach-toast {
  position: absolute;
  top: -48px; right: -22px;
  background: rgba(9,9,14,0.94);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: var(--radius);
  padding: 9px 14px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; z-index: 11;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(245,158,11,0.08);
  animation: float 6s ease-in-out infinite;
  animation-delay: 3s;
}
.ach-toast-icon { font-size: 20px; }
.ach-toast-label { font-size: 12px; font-weight: 700; color: var(--gold); line-height: 1.3; }
.ach-toast-sub { font-size: 11px; color: var(--text-faint); }

/* ── Stats strip ────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-strip-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: var(--border);
}
.ss-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.ss-item:last-child { border-right: none; }
.ss-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.ss-num.purple { color: var(--accent-soft); }
.ss-num.green  { color: var(--green); }
.ss-num.white  { color: var(--text); }
.ss-label { font-size: 13px; color: var(--text-faint); line-height: 1.5; }
.ss-label strong { display: block; color: var(--text-muted); font-weight: 600; }

/* ── Section base ───────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-soft); margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 900; letter-spacing: -0.03em;
  margin-bottom: 14px; line-height: 1.08;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.75; max-width: 580px;
  margin-bottom: 56px;
}

/* ── Feature cards ──────────────────────────────────────────────────────── */
.features { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
}
/* Colored top accent line */
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: rgba(145,71,255,0.38); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(145,71,255,0.14); }
.fi { font-size: 32px; margin-bottom: 18px; }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Creator support ────────────────────────────────────────────────────── */
.creator-section {
  background:
    radial-gradient(ellipse at 10% 55%, rgba(145,71,255,0.09) 0%, transparent 52%),
    var(--bg);
}
.creator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.creator-copy h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.08; margin-bottom: 22px;
}
.creator-copy p { color: var(--text-muted); font-size: 16px; line-height: 1.78; margin-bottom: 14px; }
.creator-copy strong { color: var(--text); }
.creator-copy .btn { margin-top: 14px; }
.creator-vis {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 0 80px rgba(145,71,255,0.06);
}
.cv-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.cv-title { font-weight: 800; font-size: 15px; }
.cv-badge-on {
  background: var(--accent);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.04em;
}
.cv-hint { font-size: 13px; color: var(--text-faint); margin-bottom: 22px; }
.cv-rows { display: flex; flex-direction: column; gap: 10px; }
.cv-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px;
}
.cv-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cv-dot.g { background: var(--green); box-shadow: 0 0 7px var(--green); }
.cv-dot.p { background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.cv-name { flex: 1; font-weight: 700; }
.cv-meta { font-size: 12px; color: var(--text-faint); }

/* ── Achievements showcase ──────────────────────────────────────────────── */
.ach-section { background: var(--bg-alt); }
.ach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin-top: 52px;
}
.ach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.ach-card:hover { transform: translateY(-3px); border-color: var(--border-hi); box-shadow: 0 10px 40px rgba(0,0,0,0.25); }
.ach-glow {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px;
  border-radius: 50%; opacity: 0.12;
}
.ach-glow.bronze { background: radial-gradient(circle, #cd7f32, transparent 70%); }
.ach-glow.silver { background: radial-gradient(circle, #b0b0c0, transparent 70%); }
.ach-glow.gold   { background: radial-gradient(circle, #f59e0b, transparent 70%); }
.ach-glow.plat   { background: radial-gradient(circle, #60d8fa, transparent 70%); }
.ach-glow.dia    { background: radial-gradient(circle, #c084fc, transparent 70%); }
.ach-icon { font-size: 32px; margin-bottom: 10px; position: relative; z-index: 1; }
.ach-name { font-size: 13px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em; }
.ach-desc { font-size: 11px; color: var(--text-faint); line-height: 1.4; }

/* ── How it works ───────────────────────────────────────────────────────── */
.how-section { background: var(--bg); }
.steps {
  display: flex; align-items: flex-start;
  gap: 0; margin-top: 56px;
  position: relative;
}
/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 27px; left: calc(16.66% + 0px); right: calc(16.66% + 0px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid) 20%, var(--border-mid) 80%, transparent);
  pointer-events: none;
}
.step { flex: 1; text-align: center; padding: 0 28px; position: relative; }
.step-num {
  width: 54px; height: 54px;
  background: var(--accent-dim);
  border: 2px solid rgba(145,71,255,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--accent-soft);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  background-clip: padding-box;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── Privacy section ────────────────────────────────────────────────────── */
.privacy-sec { background: var(--bg-alt); }
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
}
.priv-icon { font-size: 56px; margin-bottom: 20px; }
.privacy-card h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900; margin-bottom: 12px; letter-spacing: -0.025em;
}
.privacy-card > p {
  color: var(--text-muted); font-size: 17px;
  margin-bottom: 44px; max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.privacy-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 14px; margin-bottom: 34px; text-align: left;
}
.priv-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
}
.pi-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.priv-item.yes .pi-icon { background: var(--green-dim); color: var(--green); }
.priv-item.no  .pi-icon { background: var(--red-dim);   color: var(--red); }
.priv-item strong { display: block; font-size: 14px; margin-bottom: 4px; font-weight: 700; }
.priv-item p { font-size: 13px; color: var(--text-faint); margin: 0; line-height: 1.55; }
.link-q { color: var(--text-faint); font-size: 14px; transition: color var(--transition); text-decoration: none !important; }
.link-q:hover { color: var(--text-muted); }

/* ── Ko-fi support ──────────────────────────────────────────────────────── */
.kofi-section {
  background: var(--bg);
  padding: 76px 0;
}
.kofi-card {
  text-align: center; max-width: 580px;
  margin: 0 auto;
}
.kofi-icon { font-size: 60px; margin-bottom: 22px; }
.kofi-card h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900; margin-bottom: 14px; letter-spacing: -0.025em;
}
.kofi-card p {
  color: var(--text-muted); font-size: 16px;
  line-height: 1.8; margin-bottom: 32px;
}

/* ── Contact form ───────────────────────────────────────────────────────── */
.contact-section { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px; align-items: start;
}
.contact-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900; letter-spacing: -0.025em; margin-bottom: 16px;
}
.contact-copy p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.contact-topics { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ct-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted);
}
.ct-item span:first-child { font-size: 16px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px; color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(145,71,255,0.5);
  box-shadow: 0 0 0 3px rgba(145,71,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-group select { cursor: pointer; color: var(--text); background-color: var(--surface-2); }
.form-group select option { background: var(--surface-2); }
.form-note { font-size: 12px; color: var(--text-faint); line-height: 1.5; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: var(--green-dim);
  border: 1px solid rgba(0,200,150,0.25);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--green); font-weight: 600;
}
.form-error {
  padding: 14px 18px;
  background: var(--red-dim);
  border: 1px solid rgba(255,100,100,0.25);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--red); font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 38px 0;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; color: var(--text);
}
.footer-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition); text-decoration: none !important;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ── Privacy Policy page ────────────────────────────────────────────────── */
.policy-wrap { max-width: 740px; margin: 0 auto; padding: 72px 28px 100px; }
.policy-wrap h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 8px; }
.policy-date { font-size: 13px; color: var(--text-faint); margin-bottom: 40px; }
.policy-highlight {
  background: var(--green-dim);
  border: 1px solid rgba(0,200,150,0.22);
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 48px;
  font-size: 15px; color: var(--green); font-weight: 600;
}
.policy-sec { margin-bottom: 46px; }
.policy-sec h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.policy-sec p { color: var(--text-muted); font-size: 15px; line-height: 1.78; margin-bottom: 12px; }
.policy-sec ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.policy-sec li {
  padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-muted); line-height: 1.65;
}
.policy-sec li strong { color: var(--text); }
.policy-sec a { color: var(--accent-soft); }
.policy-sec code {
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 4px;
}

/* Standard icon sizing for demo elements */
.br-ext img, 
.stream-overlay-shield-img, 
.pc-shield-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Larger icons for cards */
.feature-icon-img, 
.ach-icon-img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* Footer sizing */
.footer-logo img {
  height: 20px;
  width: auto;
  margin-right: 8px;
}

.footer-credit {
  font-size: 0.9rem;
  color: #a1a1aa; /* A soft gray to match your footer links */
  margin: 12px 0;
  font-weight: 500;
}

.heart-purple {
  color: #9333ea; /* A vibrant purple to match your 'grad' colors */
  display: inline-block;
  padding: 0 2px;
  /* Optional: adds a tiny bit of life to the heart */
  transition: transform 0.2s ease;
}

.footer-credit:hover .heart-purple {
  transform: scale(1.2);
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
@keyframes breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity: 0.5; }
}
@keyframes overlay-pulse {
  0%,100% { box-shadow: 0 2px 16px rgba(0,0,0,0.4), 0 0 0 0 rgba(145,71,255,0); }
  50%      { box-shadow: 0 2px 16px rgba(0,0,0,0.4), 0 0 0 5px rgba(145,71,255,0.15); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .hero-sub           { max-width: 100%; }
  .creator-grid       { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .nav-links > a:not(.btn):not(.nav-kofi) { display: none; }
  .ach-grid           { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-inner  { grid-template-columns: repeat(2, 1fr); }
  .ss-item:nth-child(2) { border-right: none; }
  .steps              { flex-direction: column; align-items: center; gap: 32px; }
  .steps::before      { display: none; }
  .step               { max-width: 380px; padding: 0 8px; }
  .privacy-grid       { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-inner       { flex-direction: column; text-align: center; }
  .footer-links       { justify-content: center; }
  .ach-grid           { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas          { flex-direction: column; }
  .hero-ctas .btn     { width: 100%; justify-content: center; }
  .privacy-card       { padding: 28px 20px; }
  .section            { padding: 68px 0; }
}
@media (max-width: 480px) {
  .features-grid      { grid-template-columns: 1fr; }
  .stats-strip-inner  { grid-template-columns: 1fr; }
  .ss-item            { border-right: none; border-bottom: 1px solid var(--border); }
  .ss-item:last-child { border-bottom: none; }
  .ach-grid           { grid-template-columns: repeat(2, 1fr); }
}
