/* ---------- Tokens ---------- */
:root {
  --bg: #07080d;
  --bg-2: #0d1019;
  --panel: rgba(18, 22, 34, 0.72);
  --panel-solid: #121622;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1ea;
  --muted: #9aa1b2;
  --dim: #5a6275;

  --accent: #ff5b1f;     /* vuur-oranje */
  --accent-2: #ffb020;   /* goud */
  --accent-3: #ff2d55;   /* knal-rood */
  --accent-4: #46d39a;   /* signaal-groen */
  --accent-5: #5b8dff;   /* koel blauw */

  --nl-red: #ae1c28;
  --nl-blue: #21468b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7),
               0 8px 30px -10px rgba(0, 0, 0, 0.5);

  --font-display: "Anton", "Archivo Black", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Layered background ---------- */
.bg-stack { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.bg-stack::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(255, 91, 31, 0.18), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(255, 45, 85, 0.14), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(91, 141, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #050610 0%, #0a0d18 50%, #07080d 100%);
}
.bg-stack::after {
  /* subtle stars */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 85%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 10% 55%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 90% 35%, rgba(255,255,255,0.4), transparent 50%);
  opacity: 0.6;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.7; } }

#fireworks {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 8, 13, 0.55);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: conic-gradient(from 220deg, var(--accent-3), var(--accent), var(--accent-2), var(--accent-3));
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(255, 91, 31, 0.7);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 6px;
  background: #0a0d18;
}
.brand-mark svg { position: relative; z-index: 1; }
.brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 18px;
  text-transform: uppercase;
}
.brand-name span { color: var(--accent-2); }
.top-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  color: white; text-decoration: none; font-weight: 700;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 8px 24px -8px rgba(255, 45, 85, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.top-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(255, 45, 85, 0.8); }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a { color: inherit; text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-4);
  box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(70, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 211, 154, 0); }
}

h1.headline {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 18px 0 22px;
  text-transform: uppercase;
}
.headline .accent {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 45%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255, 91, 31, 0.25);
}
.headline .strike {
  position: relative;
  display: inline-block;
}
.headline .strike::after {
  content: ""; position: absolute;
  left: -4%; right: -4%; top: 52%;
  height: 8px; border-radius: 4px;
  background: var(--accent-3);
  transform: rotate(-3deg);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.6);
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}
.lead strong { color: var(--text); font-weight: 700; }

.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 16px 40px -12px rgba(255, 45, 85, 0.7),
              inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -12px rgba(255, 45, 85, 0.9); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.trust-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  align-items: center;
  font-size: 13px; color: var(--muted);
}
.trust-row .dot { width: 4px; height: 4px; background: var(--dim); border-radius: 50%; }
.trust-row strong { color: var(--text); }

/* ---------- Counter card ---------- */
.counter-card {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.counter-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,176,32,0.35), transparent 40%, rgba(255,45,85,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.counter-label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.counter-label .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-4);
}
.counter-label .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-4); animation: pulse 1.8s infinite;
}

.counter-display {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 108px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--accent-2);
  text-shadow: 0 0 50px rgba(255, 176, 32, 0.35);
  display: flex; align-items: baseline; gap: 4px;
  flex-wrap: wrap;
}
.counter-display .unit {
  font-size: 18px;
  font-family: var(--font-body); font-weight: 600;
  color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase; margin-left: 8px;
  align-self: center;
}
.counter-digits { display: inline-flex; }
.digit-col {
  position: relative;
  overflow: hidden;
  width: 0.62em;
  height: 1em;
  display: inline-block;
}
.digit-col .digit-roll {
  display: flex; flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.digit-col .digit-roll span {
  height: 1em; display: flex; align-items: center; justify-content: center;
}
.digit-sep { width: 0.18em; text-align: center; opacity: 0.7; }

/* progress */
.progress-wrap { margin-top: 24px; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--muted);
  margin-bottom: 10px;
}
.progress-meta .target { color: var(--text); font-weight: 700; }
.progress-meta .percent { color: var(--accent-2); font-weight: 700; }
.progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-3) 0%, var(--accent) 50%, var(--accent-2) 100%);
  border-radius: 999px;
  transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 20px rgba(255, 91, 31, 0.55);
  position: relative;
}
.progress-fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.milestones {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 11px; color: var(--dim);
  letter-spacing: 0.08em;
}
.milestones span.hit { color: var(--accent-2); font-weight: 700; }

/* share inline */
.share-inline {
  display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap;
}
.share-inline a {
  flex: 1 1 140px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  color: white;
  transition: transform 0.15s, filter 0.15s;
}
.share-inline a:hover { transform: translateY(-1px); filter: brightness(1.1); }
.share-wa { background: #1fa855; }
.share-fb { background: #1877F2; }
.share-x  { background: #0e0e0e; border: 1px solid var(--border-strong); }

/* recent signers ticker */
.ticker {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  overflow: hidden;
}
.ticker-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid; place-items: center; flex: none;
  font-size: 13px;
}
.ticker-text { overflow: hidden; white-space: nowrap; }
.ticker-text b { color: var(--text); }
.ticker-text .city { color: var(--accent-2); }
