/* BuildKit-website — volgt het brandbook (buildkit-brandbook.html, v1.0):
   Ink #2A2A45 + Coral #FF5A5F (actie) + Lavender #F5F3FF (achtergrond),
   Baloo 2 voor koppen/knoppen, Inter voor leestekst, hoekradius 16-24px,
   zachte schaduwen (rgba(42,42,69,0.08-0.12)), alles "aanraakbaar". */
:root {
  --ink: #2a2a45;
  --ink-soft: #6b6b85;
  --ink-faint: #b0aec4;
  --accent: #ff5a5f;
  --bg: #f5f3ff;
  --card: #ffffff;
  --line: #ece9fb;
  --t-red: #ff5a5f;
  --t-teal: #2ec4b6;
  --t-yellow: #ffc53d;
  --t-blue: #5b7fff;
  --t-purple: #8b5cf6;
  --t-green: #4ade80;
  --shadow: 0 2px 10px rgba(42, 42, 69, 0.08);
  --shadow-deep: 0 10px 30px rgba(42, 42, 69, 0.12);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Baloo 2", sans-serif;
  line-height: 1.15;
  text-wrap: balance;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.brand span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 21px;
}

.site-nav {
  display: flex;
  gap: 18px;
  margin-right: 8px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
}

.lang-switch {
  display: flex;
  gap: 3px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
}

html[data-lang="nl"] .lang-switch [data-set="nl"],
html[data-lang="en"] .lang-switch [data-set="en"] {
  background: var(--ink);
  color: #fff;
}

html[data-lang="nl"] .en {
  display: none !important;
}

html[data-lang="en"] .nl {
  display: none !important;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #2a2a45, #3d3d63);
  color: #fff;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 56px);
  letter-spacing: -1px;
}

.hero .sub {
  margin-top: 14px;
  font-size: 17px;
  color: #c8c6e8;
  max-width: 46ch;
}

@media (max-width: 760px) {
  .hero .sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .hero-cta {
    justify-content: center;
  }
}

.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 16px;
  padding: 13px 24px;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 90, 95, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.soon-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: #b7b4ff;
}

/* ---------- Telefoon-frame met echte app-screenshot ---------- */
.phone {
  width: min(300px, 78vw);
  margin: 0 auto;
  background: #171730;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-deep);
  transform: rotate(2deg);
}

.phone__screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}

.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Secties ---------- */
section {
  padding: 68px 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 38px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.5px;
}

.section-head p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 12px;
  background: #f5f3ff;
}

.feature:nth-child(1) .icon {
  background: #ffeaea;
}

.feature:nth-child(2) .icon {
  background: #eef2ff;
}

.feature:nth-child(3) .icon {
  background: #fff6e0;
}

.feature:nth-child(4) .icon {
  background: #e9fbf0;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* De bouw-GIF boven de stappen: de echte app die de Raket bouwt, in een
   klein telefoonlijstje — zelfde stijl als de hero-telefoon. */
.howgif {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.howgif__frame {
  background: #171730;
  padding: 9px;
  border-radius: 30px;
  box-shadow: var(--shadow-deep);
  transform: rotate(-1.5deg);
  line-height: 0;
}

.howgif__frame img {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  border-radius: 23px;
}

/* Stappen */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: stap;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.step .num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Pro */
.pro {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 760px) {
  .pro-cols {
    grid-template-columns: 1fr;
  }
}

.pro-list {
  list-style: none;
}

.pro-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.pro-list li:last-child {
  border-bottom: none;
}

.pro-list .ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: linear-gradient(145deg, #fff6e0, #ffe3a8);
  box-shadow: 0 3px 8px rgba(255, 197, 61, 0.35);
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
}

.price-card--best {
  border-color: var(--accent);
  background: #fff5f5;
}

.price-card .tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #e9fbf0;
  color: #1b7a46;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 15px;
  color: var(--ink-soft);
}

.price-card .amount {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--accent);
  margin: 2px 0;
}

.price-card .per {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.pro-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* FAQ */
.faq {
  max-width: 680px;
  margin: 0 auto;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.faq summary {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Support */
.support-card {
  background: linear-gradient(160deg, #2a2a45, #3d3d63);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}

.support-card h2 {
  font-size: 26px;
}

.support-card p {
  margin-top: 8px;
  color: #c8c6e8;
  font-size: 15px;
}

.support-card .btn {
  margin-top: 18px;
}

/* ---------- Juridische pagina's ---------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px 20px 60px;
}

.legal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.legal h1 {
  font-size: 26px;
  margin-bottom: 2px;
}

.legal .updated {
  color: var(--ink-faint);
  font-size: 14px;
  margin-bottom: 18px;
}

.legal h3 {
  font-size: 17px;
  margin: 18px 0 4px;
}

.legal p {
  font-size: 15px;
  color: var(--ink-soft);
}

.legal a {
  color: var(--accent);
  font-weight: 600;
}

/* Kop op juridische pagina's (zonder sticky nav) */
.page .site-header {
  position: static;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.page .site-header .wrap {
  padding: 0 0 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer .powered {
  margin-top: 10px;
  color: var(--ink-faint);
}

.site-footer .powered b {
  font-family: "Baloo 2", sans-serif;
  color: var(--ink-soft);
}

/* ==========================================================================
   Moderniseringslaag (2026-08): Gladi prominent op de homepage + meer leven
   in de bestaande onderdelen (hovers, zwevende tegels, gloed). Bewust als
   losse laag onderaan: de brandbook-basis hierboven blijft onaangeroerd en
   de cascade laat deze regels waar nodig winnen.
   ========================================================================== */

/* "van Gladi.nl" naast het logo in de header. Let op de specificiteit:
   ".brand span" hierboven zet 21px op ALLE spans in het logo-anker, dus
   deze regels moeten met ".brand span.brand__by" winnen. */
.brand span.brand__by,
.brand .brand__by span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.brand span.brand__by {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
  align-self: center;
}

.brand__by b {
  color: var(--ink);
}

@media (max-width: 480px) {
  .brand span.brand__by {
    display: none;
  }
}

/* Navigatie: niet laten afbreken; op middelgrote schermen iets compacter en
   daaronder helemaal weg (was 640px, maar met 5 items + het Gladi-label in
   de header is 760px het eerlijke omslagpunt). */
.site-nav a {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
}

/* Powered-by-badge bovenaan de hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 18px;
  text-decoration: none;
  color: #dcdaf5;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.hero-badge svg {
  width: 22px;
  height: 22px;
}

.hero-badge b {
  font-family: "Baloo 2", sans-serif;
  color: #fff;
}

/* Zwevende tegeltjes in de hero, puur decor */
.hero {
  position: relative;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-tile {
  position: absolute;
  border-radius: 22%;
  opacity: 0.16;
  animation: tile-float 7s ease-in-out infinite;
}

.hero-tile--1 {
  width: 52px;
  height: 52px;
  background: var(--t-red);
  top: 12%;
  left: 4%;
  transform: rotate(-12deg);
}

.hero-tile--2 {
  width: 34px;
  height: 34px;
  background: var(--t-yellow);
  top: 68%;
  left: 10%;
  transform: rotate(14deg);
  animation-delay: -2.5s;
}

.hero-tile--3 {
  width: 42px;
  height: 42px;
  background: var(--t-blue);
  top: 14%;
  right: 6%;
  transform: rotate(10deg);
  animation-delay: -4s;
}

.hero-tile--4 {
  width: 26px;
  height: 26px;
  background: var(--t-purple);
  top: 78%;
  right: 12%;
  transform: rotate(-8deg);
  animation-delay: -1.2s;
}

@keyframes tile-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tile {
    animation: none;
  }
}

/* Zachte gloed achter de hero-telefoon + rechtop draaien bij hover */
.phone {
  position: relative;
  transition: transform 0.35s ease;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 95, 0.35), rgba(139, 92, 246, 0.18), transparent);
  filter: blur(18px);
}

.phone:hover {
  transform: rotate(0deg);
}

/* Kaarten reageren op aanraking: subtiel omhoog met diepere schaduw */
.btn,
.feature,
.step,
.price-card,
.faq details {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 90, 95, 0.45);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.feature:hover,
.step:hover,
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(91, 127, 255, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Gladi-sectie */
.eyebrow {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.gladi-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.gladi-card h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  letter-spacing: -0.5px;
}

.gladi-card__text > p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 54ch;
}

.gladi-card__art {
  display: flex;
  justify-content: center;
}

.gladi-card__art svg {
  width: min(190px, 40vw);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(42, 42, 69, 0.18));
  animation: tile-float 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .gladi-card__art svg {
    animation: none;
  }
}

@media (max-width: 700px) {
  .gladi-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 22px;
  }

  .gladi-card__text > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .gladi-card__art {
    order: -1;
  }

  .gladi-card__art svg {
    width: 110px;
  }
}

/* Footer-link naar Gladi.nl */
.site-footer .powered a {
  text-decoration: none;
}

.site-footer .powered a:hover b {
  color: var(--accent);
}
