/* ==========================================================================
   Webvive – Landingspagina (visueel & speels)
   Signatuur: de pagina zit ín een browservenster — een website in een browser,
   passend bij een webbouwer. Blauw #0078E1 blijft de merkkleur, met een
   speelse geel + roze eromheen.
   ========================================================================== */

/* -------- 1. Tokens -------- */
:root {
  --ink: #17173A;        /* diep indigo-navy voor tekst */
  --ink-soft: #55557A;   /* gedempt */
  --blue: #0078E1;       /* merkkleur uit logo */
  --yellow: #FFC93C;     /* zonnige accent */
  --pink: #FF5C8A;       /* speelse accent */
  --paper: #EBEEF7;      /* pagina-achtergrond, koel licht */
  --white: #ffffff;

  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --r-md: 16px;
  --r-lg: 28px;
  --r-full: 999px;

  --shadow-card: 0 30px 60px -22px rgba(23, 23, 58, 0.30);
  --shadow-pop: 4px 4px 0 rgba(23, 23, 58, 0.92);
}

/* -------- 2. Base -------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 23, 58, 0.06) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* -------- 3. Stage + zwevende vormen -------- */
.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
}

.blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob { position: absolute; display: block; }

.blob--yellow {
  --rot: 0deg;
  width: clamp(120px, 18vw, 260px);
  aspect-ratio: 1;
  background: var(--yellow);
  border-radius: 50%;
  top: 6%;
  right: 8%;
  animation: bob 7s ease-in-out infinite;
}

.blob--pink {
  --rot: -10deg;
  width: clamp(130px, 20vw, 300px);
  height: clamp(70px, 12vw, 170px);
  background: var(--pink);
  border-radius: var(--r-full);
  bottom: 9%;
  left: 5%;
  animation: bob 9s ease-in-out infinite reverse;
}

.blob--ring {
  --rot: 8deg;
  width: clamp(90px, 12vw, 180px);
  aspect-ratio: 1;
  border: 10px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  bottom: 20%;
  right: 12%;
  animation: bob 8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-22px) rotate(var(--rot, 0deg)); }
}

/* -------- 4. Browservenster -------- */
.window {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  background: var(--white);
  border: 1px solid rgba(23, 23, 58, 0.06);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: pop-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: #F2F5FB;
  border-bottom: 1px solid rgba(23, 23, 58, 0.07);
}

.dots { display: inline-flex; gap: 8px; }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot--pink { background: var(--pink); }
.dot--yellow { background: var(--yellow); }
.dot--blue { background: var(--blue); }

.url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 6px 15px;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid rgba(23, 23, 58, 0.1);
  border-radius: var(--r-full);
}
.url svg { width: 13px; height: 13px; }

.bar-tools {
  display: inline-flex;
  color: var(--ink-soft);
  opacity: 0.55;
}
.bar-tools svg { width: 18px; height: 18px; }

/* -------- 5. Inhoud -------- */
.window-body { padding: clamp(2rem, 5vw, 3.75rem); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
}

h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

h1 .accent { color: var(--blue); }

.caret {
  display: inline-block;
  width: 0.09em;
  height: 0.9em;
  margin-left: 0.06em;
  vertical-align: -0.06em;
  background: var(--blue);
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

/* -------- 6. Knoppen (sticker-stijl) -------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.4rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn svg { width: 18px; height: 18px; }

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(23, 23, 58, 0.92);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 rgba(23, 23, 58, 0.92);
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary { background: var(--blue); color: var(--white); }
.btn-accent  { background: var(--yellow); color: var(--ink); }

.addr {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* -------- 7. Footer -------- */
.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* -------- 8. Responsive + motion -------- */
@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; }
  .blob--ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .window { opacity: 1; transform: none; }
  .caret { opacity: 1; }
}