:root {
  --ff-orange: #ff9f1c;
  --ff-orange-bright: #ffb12b;

  --ff-green: #2f6f3e;
  --ff-green-light: #438a50;

  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.78);

  --glass: rgba(12, 12, 10, 0.28);
  --glass-border: rgba(255, 255, 255, 0.62);

  --shadow:
    0 24px 70px rgba(0, 0, 0, 0.28);
}


/* ---------------------------------------------------------
   RESET
--------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--white);
}

button,
input {
  font: inherit;
}


/* ---------------------------------------------------------
   FULL-PAGE HERO
--------------------------------------------------------- */

.coming-soon {
  /* BESTAANDE layout-regels LATEN STAAN */
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  min-height: 100vh;
  min-height: 100dvh;

  padding: 0 6vw 6vh;

  background-image: url("../assets/background.png");
  background-image: image-set(
    url("../assets/background.avif") type("image/avif"),
    url("../assets/background.webp") type("image/webp"),
    url("../assets/background.png") type("image/png")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #020603;
  opacity: 0;
}

.has-page-intro .coming-soon::before {
  opacity: 1;
}

.has-page-intro .coming-soon.is-ready::before {
  animation: backgroundReveal 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* UHD / 1440p */
@media (min-width: 1921px) {
  .coming-soon {
    background-image: url("../assets/background-uhd.png");
    background-image: image-set(
      url("../assets/background-uhd.avif") type("image/avif"),
      url("../assets/background-uhd.webp") type("image/webp"),
      url("../assets/background-uhd.png") type("image/png")
    );
  }
}

/* 4K */
@media (min-width: 2561px) {
  .coming-soon {
    background-image: url("../assets/background-4k.png");
    background-image: image-set(
      url("../assets/background-4k.avif") type("image/avif"),
      url("../assets/background-4k.webp") type("image/webp"),
      url("../assets/background-4k.png") type("image/png")
    );
  }
}

/* HiDPI desktops: geef voldoende pixels zonder mobiel onnodig 4K te voeren */
@media (min-width: 1200px) and (min-resolution: 1.5dppx) {
  .coming-soon {
    background-image: url("../assets/background-4k.png");
    background-image: image-set(
      url("../assets/background-4k.avif") type("image/avif"),
      url("../assets/background-4k.webp") type("image/webp"),
      url("../assets/background-4k.png") type("image/png")
    );
  }
}


/* ---------------------------------------------------------
   CONTRAST / CINEMATIC SHADE
--------------------------------------------------------- */

.coming-soon__shade {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 38%,
      rgba(0, 0, 0, 0.08) 52%,
      rgba(0, 0, 0, 0.34) 78%,
      rgba(0, 0, 0, 0.48) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0) 45%
    );
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.hero-content {
  justify-content: flex-end;
  align-items: fle;
  position: relative;
  z-index: 1;

  width: min(680px, 48vw);

  text-align: center;

  filter: drop-shadow(var(--shadow));
}

.has-page-intro .hero-content {
  opacity: 0;
  transform: translateY(14px);
}

.has-page-intro .is-ready .hero-content {
  animation: contentReveal 850ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}


/* ---------------------------------------------------------
   EYEBROW
--------------------------------------------------------- */

.eyebrow {
  display: grid;
  grid-template-columns: minmax(30px, 70px) auto minmax(30px, 70px);
  align-items: center;
  justify-content: center;
  gap: 16px;

  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.8);

  font-size: 0.78rem;
  font-weight: 600;

  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.eyebrow__line {
  display: block;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 181, 73, 0.8)
    );
}

.eyebrow__line:last-child {
  transform: scaleX(-1);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.hero-title {
  margin: 0;

  font-family: "Baloo 2", sans-serif;

  font-size: clamp(3.5rem, 7vw, 6.2rem);
  font-weight: 700;

  line-height: 0.92;
  letter-spacing: -0.04em;

  color: var(--white);

  text-wrap: balance;

  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.28);
}


/* ---------------------------------------------------------
   GLOWING / ASYMMETRIC NL
--------------------------------------------------------- */

.hero-title__nl {
  position: relative;

  display: inline-block;

  margin-inline: 0.04em;

  color: transparent;

  -webkit-text-stroke:
    2px var(--ff-orange-bright);

  text-shadow:
    0 0 4px rgba(255, 151, 24, 1),
    0 0 10px rgba(255, 136, 0, 0.95),
    0 0 25px rgba(255, 116, 0, 0.85),
    0 0 50px rgba(255, 93, 0, 0.55);

  animation:
    nlPulse 2.8s ease-in-out infinite,
    nlFlicker 7s steps(1) infinite;
}



/* ---------------------------------------------------------
   SUBTITLE
--------------------------------------------------------- */

.hero-subtitle {
  margin:
    clamp(12px, 2vh, 20px)
    0
    clamp(20px, 3vh, 30px);

  color: rgba(255, 255, 255, 0.92);

  font-size: clamp(1.25rem, 1.25vw, 1.28rem);
  font-weight: 400;

  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 1); 
}

.hero-subtitle span {
  color: var(--ff-orange-bright);
}


/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

.signup-form {
  display: grid;

  grid-template-columns:
    minmax(240px, 1.35fr)
    minmax(210px, 0.85fr);

  align-items: stretch;
  gap: 0;
  justify-self: center;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-field {
  min-height: 58px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding:
    0
    22px;

  overflow: hidden;

  border:
    1.5px
    solid
    var(--glass-border);

  border-radius:
    999px
    0
    0
    999px;

  background:
    rgba(17, 17, 14, 0.35);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.signup-field:focus-within {
  border-color:
    rgba(255, 255, 255, 0.95);

  background:
    rgba(10, 10, 8, 0.5);

  box-shadow:
    inset 0 0 0 1px
    rgba(255, 255, 255, 0.1);
}

.signup-field:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(12, 22, 13, 0.46);
}

.signup-field__icon {
  flex: 0 0 auto;

  width: 23px;
  height: 23px;

  fill: none;
  stroke: rgba(255, 255, 255, 0.9);

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 220ms ease,
    stroke 220ms ease;
}

.signup-field:focus-within .signup-field__icon {
  transform: translateX(2px);
  stroke: var(--ff-orange-bright);
}

.signup-field input {
  width: 100%;
  min-width: 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--white);

  font-size: 1rem;
}

.signup-field input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.signup-toast {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 1000;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 15px 20px;

  border: 1px solid rgba(111, 190, 78, 0.85);
  border-radius: 14px;

  background: rgba(8, 24, 12, 0.92);
  backdrop-filter: blur(14px);

  box-shadow:
    0 0 12px rgba(76, 175, 80, 0.28),
    0 0 30px rgba(76, 175, 80, 0.15),
    0 12px 35px rgba(0, 0, 0, 0.35);

  color: #fff;

  opacity: 0;
  transform: translateX(-130%);
  pointer-events: none;

  transition:
    transform 420ms cubic-bezier(.2,.8,.2,1),
    opacity 300ms ease;
}

.signup-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.signup-toast__icon {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: #397a2b;

  box-shadow:
    0 0 14px rgba(76, 175, 80, 0.45);

  font-weight: 800;
}

.signup-toast strong,
.signup-toast span {
  display: block;
}

.signup-toast strong {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
}

.signup-toast span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.signup-toast--success {
  border-color: rgba(78, 160, 91, 0.9);

  background: rgba(7, 28, 14, 0.94);

  box-shadow:
    0 0 12px rgba(60, 150, 80, 0.35),
    0 0 30px rgba(45, 130, 65, 0.18),
    0 12px 35px rgba(0, 0, 0, 0.35);
}

.signup-toast--error {
  border-color: rgba(220, 60, 60, 0.9);

  background: rgba(35, 8, 8, 0.94);

  box-shadow:
    0 0 10px rgba(255, 55, 55, 0.55),
    0 0 28px rgba(255, 30, 30, 0.3),
    0 0 55px rgba(190, 0, 0, 0.18),
    0 12px 35px rgba(0, 0, 0, 0.4);
}

.signup-toast--error .signup-toast__icon {
  background: #8f2525;

  box-shadow:
    0 0 10px rgba(255, 70, 70, 0.8),
    0 0 22px rgba(255, 40, 40, 0.4);
}


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

.signup-button {
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding:
    0
    26px;

  border: 0;

  border-radius:
    0
    999px
    999px
    0;

  color: #fff;
  width: 190px;

  background:
    linear-gradient(
      135deg,
      var(--ff-green),
      var(--ff-green-light)
    );

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 24px
    rgba(48, 127, 11, 0.26);

  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.signup-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 10px 30px
    rgba(48, 127, 11, 0.36);
}

.signup-button:active {
  transform: scale(0.985);
}

.signup-button svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.signup-button:hover svg {
  transform: translate(3px, -2px);
}

.signup-button:focus-visible,
.instagram-link:focus-visible {
  outline: 2px solid var(--ff-orange-bright);
  outline-offset: 4px;
}




.captcha-wrap {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 14px;
}

.signup-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   INSTAGRAM
--------------------------------------------------------- */

.social-row {
  margin-top: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1rem;
}

.instagram-link {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: white;

  border-radius: 12px;

  transition:
    transform 180ms ease,
    background 180ms ease,
    filter 180ms ease;
}

.instagram-link:hover {
  transform: translateY(-2px);

  background:
    rgba(255, 255, 255, 0.1);

  filter:
    drop-shadow(
      0 0 10px
      rgba(255, 158, 40, 0.55)
    );
}

.instagram-link svg {
  width: 34px;
  height: 34px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.8;
}


/* ---------------------------------------------------------
   NL ANIMATIONS
--------------------------------------------------------- */

@keyframes backgroundReveal {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nlPulse {

  0%,
  100% {
    filter:
      brightness(0.95);

    text-shadow:
      0 0 4px rgba(255, 151, 24, 0.85),
      0 0 10px rgba(255, 136, 0, 0.7),
      0 0 24px rgba(255, 116, 0, 0.55);
  }

  48% {
    filter:
      brightness(1.25);

    text-shadow:
      0 0 6px rgba(255, 181, 70, 1),
      0 0 14px rgba(255, 136, 0, 1),
      0 0 32px rgba(255, 100, 0, 0.9),
      0 0 60px rgba(255, 85, 0, 0.55);
  }
}


@keyframes nlFlicker {

  0%,
  7%,
  10%,
  46%,
  49%,
  81%,
  84%,
  100% {
    opacity: 1;
  }

  8% {
    opacity: 0.72;
  }

  9% {
    opacity: 0.96;
  }

  47% {
    opacity: 0.82;
  }

  48% {
    opacity: 1;
  }

  82% {
    opacity: 0.88;
  }

  83% {
    opacity: 0.68;
  }
}


@keyframes sparkFlicker {

  0%,
  20%,
  25%,
  62%,
  67%,
  100% {
    opacity: 0.85;
  }

  22%,
  65% {
    opacity: 0.2;
  }
}


/* ---------------------------------------------------------
   ACCESSIBILITY
--------------------------------------------------------- */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

@media (prefers-reduced-motion: reduce) {

  .hero-title__nl,
  .hero-title__nl::before,
  .hero-title__nl::after {
    animation: none;
  }

  .has-page-intro .coming-soon::before,
  .has-page-intro .hero-content,
  .signup-field__icon,
  .signup-button,
  .signup-button svg,
  .instagram-link {
    transition: none;
  }

  .has-page-intro .coming-soon.is-ready::before,
  .has-page-intro .is-ready .hero-content {
    animation: none;
  }

  .has-page-intro .coming-soon::before {
    opacity: 0;
  }

  .has-page-intro .hero-content {
    opacity: 1;
    transform: none;
  }

  .signup-button:hover,
  .signup-button:hover svg,
  .signup-field:focus-within .signup-field__icon,
  .instagram-link:hover {
    transform: none;
  }

}


/* ---------------------------------------------------------
   TABLET / SMALL DESKTOP
--------------------------------------------------------- */

@media (max-width: 1200px) {
  .coming-soon {
    align-items: flex-end;
    justify-content: center;

    padding:
      32px
      20px
      42px;

    background-position:
      36% center;
  }

  .hero-content {
    width: 80%;
  }


  .signup-form {
    justify-self: center;
  }
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 760px) {

  .coming-soon {
    align-items: flex-end;
    justify-content: center;

    padding:
      32px
      20px
      42px;

    background-position:
      36% center;
  }

  .coming-soon__shade {
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.46) 42%,
        rgba(0, 0, 0, 0.03) 74%
      );
  }

  .hero-content {
    width: 65%;
  }

  .signup-form {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .signup-field,
  .signup-button {
    border-radius: 999px;
  }

  .signup-button {
    width: 100%;
  }

}

@media (max-width: 520px) {

  .hero-content {
    width: 100%;
  }

  .hero-subtitle br {
    display: none;
  }

  .signup-form {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 420px);
  }

  .signup-field,
  .signup-button {
    width: 100%;
  }

  .social-row {
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
  }

}
