/* ============================================================
   VINTRIX — afvang/style.css
   Coming-soon page. Mobile-first. Geen frameworks.
   ============================================================ */

:root {
  --c-white: #ffffff;
  --c-purple: #6805f2;
  --c-purple-deep: #4b00c8;
  --c-indigo: #110273;
  --c-indigo-deep: #0a0140;
  --c-cyan: #44e1f2;
  --c-lime: #e5f50c;
  --c-text: #f5f5ff;
  --c-text-muted: #a8a4d0;
  --c-text-dim: #6a66a0;
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-strong: rgba(68, 225, 242, 0.35);

  --font-display: 'Oxanium', 'Courier New', monospace;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --shadow-cyan: 0 0 32px rgba(68, 225, 242, 0.45);
  --shadow-lime: 0 0 32px rgba(229, 245, 12, 0.5);
  --shadow-purple: 0 0 60px rgba(104, 5, 242, 0.5);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-indigo-deep);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--c-lime); color: var(--c-indigo); }

/* ============================================================
   ATMOSFEER — synthwave horizon, glow-orbs, scanlines, noise
   ============================================================ */
.bg-stack {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(104, 5, 242, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(68, 225, 242, 0.18), transparent 60%),
    linear-gradient(180deg, #07012b 0%, #0a0140 35%, #110273 100%);
}

/* Perspective grid (synthwave horizon) */
.bg-grid {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 220vw;
  height: 80vh;
  transform: translateX(-50%) perspective(700px) rotateX(62deg);
  background-image:
    linear-gradient(to right, rgba(68, 225, 242, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 225, 242, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 50% 80% at 50% 100%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at 50% 100%, #000 30%, transparent 75%);
  animation: gridMove 8s linear infinite;
  filter: drop-shadow(0 0 20px rgba(68, 225, 242, 0.25));
}

@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 64px; }
}

/* Glow-orbs */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.bg-glow--purple {
  width: 60vw; height: 60vw;
  top: -20vw; left: -10vw;
  background: var(--c-purple);
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-glow--cyan {
  width: 45vw; height: 45vw;
  bottom: -15vw; right: -10vw;
  background: var(--c-cyan);
  opacity: 0.35;
  animation: drift 28s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 5vh) scale(1.1); }
}

/* Subtiele filmnoise */
.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* CRT-scanlines */
.bg-scan {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
}

/* ============================================================
   PIXEL-ART ACCENTEN
   ============================================================ */
.px-icon {
  position: fixed;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 0 16px rgba(68, 225, 242, 0.35));
}

.px-rocket    { top: 8vh;   right: 7vw;  width: 64px; animation: floatY 7s ease-in-out infinite; }
.px-sparkle   { width: 26px; animation: spin 9s linear infinite; }
.px-sparkle--1 { top: 18vh; left: 12vw; }
.px-sparkle--2 { bottom: 22vh; right: 14vw; animation-duration: 12s; }
.px-cloud     { top: 32vh; left: 6vw; width: 80px; opacity: 0.45; animation: floatY 11s ease-in-out infinite reverse; }
.px-butterfly { bottom: 18vh; left: 8vw; width: 38px; animation: floatY 6s ease-in-out infinite; }
.px-heart     { top: 14vh; right: 28vw; width: 24px; animation: pulse 3.5s ease-in-out infinite; }
.px-dot       { width: 8px; opacity: 0.7; }
.px-dot--1    { top: 44vh; right: 10vw; animation: blink 2.4s steps(2) infinite; }
.px-dot--2    { bottom: 30vh; left: 24vw; animation: blink 1.8s steps(2) infinite reverse; }
.px-key       { bottom: 12vh; right: 9vw; width: 32px; opacity: 0.6; animation: floatY 9s ease-in-out infinite reverse; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.18); opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1; }
}

/* Hide pixelart op kleinste schermen voor focus op core */
@media (max-width: 540px) {
  .px-cloud, .px-heart, .px-dot--2, .px-key { display: none; }
}

/* ============================================================
   LAYOUT — bars en stage
   ============================================================ */
.bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--pad);
  flex-wrap: wrap;
}
.bar--top {
  border-bottom: 1px solid var(--c-line);
}
.bar--bottom {
  border-top: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-muted);
  background: rgba(7, 1, 43, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand img {
  filter: drop-shadow(0 0 14px rgba(68, 225, 242, 0.4));
  transition: transform 0.3s var(--ease);
}
.brand:hover img { transform: translateY(-2px); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-cyan);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(10, 1, 64, 0.55);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--c-lime);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-lime), 0 0 4px var(--c-lime);
  animation: pulse 1.6s ease-in-out infinite;
}

.legal {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.legal--right { margin-left: auto; }
.legal-item { color: var(--c-text-muted); }
.legal-sep { color: var(--c-text-dim); margin: 0 0.5rem; }
.legal-link {
  color: var(--c-cyan);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.legal-link:hover { border-bottom-color: var(--c-cyan); }

/* ---------- Stage ---------- */
.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(2rem, 6vw, 4rem) var(--pad);
  max-width: 1080px;
  width: 100%;
  margin-inline: auto;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.eyebrow-bracket { color: var(--c-cyan); }
.eyebrow-text { color: var(--c-text); font-weight: 600; }
.eyebrow-sep { color: var(--c-text-dim); }
.eyebrow-meta { color: var(--c-lime); }

/* ---------- Title ---------- */
.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-wrap: balance;
}
.title-line { display: block; padding-block: 0.04em; }
.title-line--accent {
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-lime) 60%, var(--c-cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.title-and {
  font-weight: 400;
  color: var(--c-text-muted);
  -webkit-text-fill-color: var(--c-text-muted);
  margin: 0 0.2em;
}

.title-word {
  display: inline-block;
}

/* ---------- Lede ---------- */
.lede {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--c-text-muted);
  max-width: 56ch;
  line-height: 1.7;
}

/* ---------- Console / terminal ---------- */
.console {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--c-line-strong);
  border-radius: 10px;
  background: rgba(7, 1, 43, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 32px rgba(104, 5, 242, 0.12);
  overflow: hidden;
}
.console-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}
.console-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.console-dot--r { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.6); }
.console-dot--y { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.6); }
.console-dot--g { background: #27c93f; box-shadow: 0 0 6px rgba(39, 201, 63, 0.6); }
.console-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
  text-transform: uppercase;
}
.console-body {
  padding: 1rem 1.1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--c-text);
  line-height: 1.85;
}
.console-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-line--muted { color: var(--c-text-muted); }
.console-prompt { color: var(--c-cyan); margin-right: 0.5rem; }
.console-ok {
  color: var(--c-lime);
  border: 1px solid rgba(229, 245, 12, 0.35);
  padding: 0 0.45rem;
  border-radius: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.4rem;
}
.console-load {
  color: var(--c-cyan);
  border: 1px solid var(--c-line-strong);
  padding: 0 0.45rem;
  border-radius: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.4rem;
  animation: loadBlink 1.6s ease-in-out infinite;
}
.console-live {
  color: #6cff8a;
  border: 1px solid rgba(108, 255, 138, 0.45);
  padding: 0 0.45rem;
  border-radius: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.4rem;
  background: rgba(108, 255, 138, 0.08);
}
.console-glyph {
  display: inline-block;
  width: 1.1em;
  margin-right: 0.2em;
  text-align: center;
}
.console-glyph--ok { color: #6cff8a; }
.console-glyph--live {
  color: #6cff8a;
  text-shadow: 0 0 8px rgba(108, 255, 138, 0.85);
  animation: pulse 1.6s ease-in-out infinite;
}
.console-glyph--spin {
  color: var(--c-cyan);
  display: inline-block;
  animation: spin 1.5s linear infinite;
}
@keyframes loadBlink {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.caret {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--c-cyan);
  vertical-align: -0.15em;
  margin-left: 2px;
  animation: caretBlink 1s steps(2) infinite;
  box-shadow: 0 0 8px var(--c-cyan);
}
@keyframes caretBlink {
  to { opacity: 0; }
}

/* ---------- Live-tile (enquete CTA) ---------- */
.live-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 640px;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(108, 255, 138, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(108, 255, 138, 0.05), rgba(108, 255, 138, 0)),
    rgba(7, 1, 43, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(108, 255, 138, 0.08) inset;
  color: var(--c-text);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.live-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 255, 138, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(108, 255, 138, 0.15);
}
.live-tile:hover .live-arrow { transform: translate(3px, -3px); }

.live-pulse {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.live-pulse-dot {
  position: relative;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6cff8a;
  box-shadow: 0 0 10px #6cff8a, 0 0 4px #6cff8a;
}
.live-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #6cff8a;
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes livePing {
  0%   { transform: scale(0.6); opacity: 0.9; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.live-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.live-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6cff8a;
}
.live-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: var(--c-white);
  letter-spacing: 0.01em;
}
.live-sub {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.45;
}
.live-arrow {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--c-cyan);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

@media (max-width: 480px) {
  .live-tile { padding: 0.85rem 0.95rem; }
  .live-headline { font-size: 1rem; }
  .live-sub { font-size: 0.8rem; }
}

/* ---------- Actions ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  letter-spacing: 0.02em;
  color: var(--c-indigo);
  background: var(--c-lime);
  padding: 0.95rem 1.4rem 0.95rem 1.1rem;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(229, 245, 12, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.cta:hover {
  transform: translateY(-2px);
  background: #f0ff2a;
  box-shadow: 0 10px 28px rgba(229, 245, 12, 0.32);
}
.cta-icon { display: inline-flex; }

.ghost {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 6px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.ghost:hover {
  background: rgba(68, 225, 242, 0.1);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}
.ghost .ghost-done { display: none; color: var(--c-lime); }
.ghost.is-done .ghost-default { display: none; }
.ghost.is-done .ghost-done { display: inline; }
.ghost.is-done {
  background: rgba(229, 245, 12, 0.08);
  border-color: var(--c-lime);
  color: var(--c-lime);
}

/* ---------- Badges ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-muted);
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.04em;
}
.badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-cyan);
  letter-spacing: 0.02em;
}
.badge-label {
  color: var(--c-text-muted);
}

/* ---------- Focus styling ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================
   REVEAL ANIMATIE — staggered op page-load
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.9s var(--ease) forwards;
}
[data-reveal="0"] { animation-delay: 0.05s; }
[data-reveal="1"] { animation-delay: 0.18s; }
[data-reveal="2"] { animation-delay: 0.42s; }
[data-reveal="3"] { animation-delay: 0.6s; }
[data-reveal="4"] { animation-delay: 0.78s; }
[data-reveal="5"] { animation-delay: 0.92s; }
[data-reveal="6"] { animation-delay: 1.06s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PARALLAX — getriggered door JS via --mx, --my
   ============================================================ */
.px-rocket    { transform: translate(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px)); }
.px-cloud     { transform: translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px)); }
.px-butterfly { transform: translate(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 18px)); }
.px-key       { transform: translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * 8px)); }

/* Bewegingen uitzetten als de bezoeker dat heeft aangevinkt */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .bg-grid { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .stage { gap: 2rem; padding-block: clamp(3rem, 7vw, 5rem); }
}

/* Op mobile: alle zware overlay-effecten uit. Die geven daar
   moire (scanlines) of flicker (noise + mix-blend-mode), en
   de perspective grid kost veel GPU op een telefoon. */
@media (max-width: 768px), (pointer: coarse) {
  .bg-grid { display: none; }
  .bg-scan { display: none; }
  .bg-noise { display: none; }
  .bg-glow { filter: blur(50px); opacity: 0.35; }
  .bg-glow--purple { width: 80vw; height: 80vw; }
  .bg-glow--cyan   { width: 60vw; height: 60vw; }

  /* Spin-glyph in console rustiger zodat de tekst leesbaar blijft */
  .console-glyph--spin { animation-duration: 2.4s; }

  /* Parallax-offset op nul forceren, ook al is er geen muis */
  .px-rocket, .px-cloud, .px-butterfly, .px-key { transform: none !important; }
}

@media (max-width: 480px) {
  .console-body { font-size: 0.78rem; }
  .console-line { white-space: normal; }
  .badges .badge { font-size: 0.74rem; }
  .legal--right { display: none; }
  .bar--bottom { justify-content: center; }
}
