/* ===================== THEME ===================== */
:root {
  --brand: #0b2a5b;          /* jouw donkerblauw */
  --brand-2: #1450a3;
  --brand-3: #1f86ff;

  --bg-1: #f9fafc;           /* bijna wit */
  --fg-1: #0d1220;
  --fg-2: #303956;

  --glass: #ffffff;          /* witte cards */
  --glass-stroke: rgba(0, 0, 0, 0.06);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg-1);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= BACKGROUND ================= */
.bg { display: none; }   /* geen orbs, geen grain */

/* ================= LAYOUT ================= */
.wrap {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  justify-items: center;
  gap: 2rem;
  padding: clamp(16px, 3vw, 32px);
}

.brand { text-align: center; margin-top: clamp(8px, 3vh, 24px); }
.logo {
  width: min(340px, 48vw);
  height: auto;
  aspect-ratio: 3344 / 1203; /* voorkomt layout shift */
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}
.title { margin: 12px 0 4px 0; font-weight: 800; letter-spacing: 0.2px; font-size: clamp(28px, 5vw, 44px); }
.title span {
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle { margin: 0; color: var(--fg-2); font-size: clamp(14px, 2.5vw, 18px); }

/* ================= CARD ================= */
.card {
  width: min(820px, 92vw);
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow);
  text-align: center;
}
.card h2 { margin: 0 0 6px 0; font-size: clamp(22px, 4vw, 30px); letter-spacing: 0.3px; }
.lead { margin: 8px auto 20px; max-width: 58ch; color: var(--fg-2); line-height: 1.55; }

/* ================= CTA BUTTON ================= */
.cta {
  --ring: rgba(31, 134, 255, 0.35);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: clamp(16px, 2.8vw, 18px); color: white; position: relative;
  background: linear-gradient(180deg, #2891ff, #1464ff);
  box-shadow: 0 6px 14px rgba(20, 100, 255, 0.35), inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  outline: none;
}
.cta:focus-visible {
  box-shadow: 0 6px 16px rgba(20, 100, 255, 0.45), 0 0 0 6px var(--ring), inset 0 0 0 1px rgba(255,255,255,0.22);
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 26px rgba(20, 100, 255, 0.45), inset 0 0 0 1px rgba(255,255,255,0.22); }
.cta:active { transform: translateY(0px) scale(0.99); }
.cta-icon { font-size: 1.25em; }

/* ================= FEATURES ================= */
.features {
  margin: 20px auto 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; max-width: 720px;
}
.features li {
  padding: 10px 12px; border-radius: 10px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--fg-1); font-size: 0.95rem;
}
@media (max-width: 680px) { .features { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
.footer { text-align: center; color: var(--fg-2); font-size: 0.95rem; }
.footer a { color: var(--fg-1); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.25); }
.footer a:hover { border-bottom-color: transparent; }

/* ================= DOWNLOAD OVERLAY ================= */
.dl-overlay[hidden] { display: none !important; }
.dl-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 42, 91, 0.9); /* donkerblauwe achtergrond */
  display: grid; place-items: center;
  z-index: 9999;
  padding: 24px;
}
.dl-bubble {
  position: relative;
  width: min(720px, 92vw);
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: #ffffff; /* wit vlak */
  color: var(--fg-1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-align: left;
}
.dl-bubble h3 { margin: 0 0 6px 0; font-size: 1.4rem; }
.dl-bubble p { margin: 0 0 14px 0; line-height: 1.5; }
.dl-bubble a { color: var(--brand-2); text-decoration: underline; }

.dl-steps {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  margin: 12px 0 8px;
  align-items: center;
}
.dl-steps > div {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand);
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
}

/* Close button */
.dl-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(11, 42, 91, 0.8);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  width: 36px; height: 36px; border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  backdrop-filter: blur(6px);
}

/* Arrow pointer */
.dl-arrow {
  position: fixed;
  width: 0; height: 0;
  border: 18px solid transparent;
  z-index: 10000;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35));
}

/* TOP-RIGHT arrow */
.arrow-top-right .dl-arrow {
  top: 14px; right: 54px;
  border-left-color: #ffffff;
}
.arrow-top-right .dl-bubble { margin-top: 40px; }

/* TOP-LEFT arrow */
.arrow-top-left .dl-arrow {
  top: 14px; left: 54px;
  border-right-color: #ffffff;
}
.arrow-top-left .dl-bubble { margin-top: 40px; }

/* Mobile: verberg arrow */
@media (max-width: 720px) {
  .dl-arrow { display: none; }
  .dl-bubble { text-align: center; }
}
