:root{
  --bg: #f4f6fb;
  --card: #ffffff;
  --card2: #ffffff;
  --text: #111318;
  --muted: #5b6270;
  --line: rgba(17,19,24,.10);

  --primary: #6d7cff;
  --primary2: #93a0ff;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(17,19,24,.10);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(109,124,255,.12), transparent 60%),
    radial-gradient(1000px 600px at 80% 20%, rgba(147,160,255,.08), transparent 55%),
    var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
.container{ width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{ display:flex; align-items:center; gap: 10px; font-weight: 700; }

.brand__icon{
  width: 34px;
  height: auto;
  display: block;
}

.brand__wordmark{
  height: 16px;
  width: auto;
  display: block;
}

.topnav{
  display:flex;
  gap: 18px;
  color: var(--muted);
}
.topnav a{ padding: 8px 10px; border-radius: 10px; }
.topnav a:hover{ background: rgba(255,255,255,.06); color: var(--text); }

.topcta{ display:flex; gap: 10px; align-items:center; }

/* Buttons — gelijk aan app/login styling (style.css) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.9rem 1rem;
  border:1px solid var(--line);
  border-radius:12px;
  font-weight:700;
  letter-spacing:.3px;
  cursor:pointer;
  transition: background .18s, opacity .18s, box-shadow .18s, transform .04s;
  background:#e3e7fa;          /* zoals .btn-secondary */
  color:#3f51b5;
}

.btn:hover{
  background:#dbe0f6;
}

.btn--primary{
  background:#3f51b5;          /* zoals .btn-primary */
  color:#fff;
  border:0;
}

.btn--primary:hover{
  background:#273271;          /* zoals hover in app */
}

.btn--ghost{
  background:transparent;
  color:#3f51b5;
  border:1px solid #e3e7fa;
}

.btn--ghost:hover{
  background:#eef1ff;
}

.btn--lg{ padding:1rem 1.15rem; border-radius:12px; } /* mag gelijk blijven */

.hero{
  padding: 48px 0 18px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
.hero h1{
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin: 0 0 12px;
}
.hero p{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.hero__actions{ display:flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 16px; }
.hero__badges{ display:flex; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.badge{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card__title{ font-weight: 750; margin-bottom: 10px; }
.card__row{
  display:flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.card__row:last-of-type{ border-bottom: 0; }
.card__note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section{ padding: 42px 0; }
.section--alt{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
h2{
  font-size: 26px;
  margin: 0 0 18px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(17,19,24,.06);
}
.feature h3{ margin: 0 0 8px; font-size: 16px; }
.feature p{ margin: 0; color: var(--muted); line-height: 1.55; }

.feature--note{
  background: linear-gradient(135deg, rgba(109,124,255,.10), rgba(147,160,255,.06));
  border: 1px solid rgba(109,124,255,.22);
}
.feature--note h3{ margin: 0 0 8px; }
.feature--note p{ margin: 0; }

/* 2x2 grid voor “Voor wie” (en evt. andere 4-cards secties) */
.grid4{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 900px){
  .grid4{ grid-template-columns: 1fr; }
}

.steps{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.steps li{ margin: 10px 0; }
.steps strong{ color: var(--text); display:block; margin-bottom: 2px; }

.callout{
  margin-top: 18px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
}
.callout__title{ font-weight: 750; margin-bottom: 6px; }
.callout__text{ color: var(--muted); line-height: 1.6; }

.pricing{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pricecard{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 18px;
}
.pricecard--muted{
  background: rgba(255,255,255,.02);
}
.pricecard__top{ margin-bottom: 12px; }
.pricecard__name{ font-weight: 800; }
.pricecard__price{
  font-size: 34px;
  font-weight: 900;
  margin: 6px 0 2px;
}
.pricecard__price span{ font-size: 14px; font-weight: 650; color: var(--muted); }
.pricecard__sub{ color: var(--muted); }

.list{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.fineprint{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.faq{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  margin: 10px 0;
}
.faq summary{
  cursor: pointer;
  font-weight: 750;
}
.faq p{ color: var(--muted); line-height: 1.55; margin: 10px 0 0; }

.cta{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(109,124,255,.14), rgba(147,160,255,.08));
  border-radius: var(--radius);
  padding: 16px;
}
.cta__title{ font-weight: 900; }
.cta__text{ color: var(--muted); margin-top: 4px; }

.footer{
  padding: 26px 0;
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 18px;
}
.footer__links{ display:flex; gap: 14px; }
.footer__links a:hover{ color: var(--text); }

/* Link-look buttons (zoals op login.html) */
.link-btn{
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;              /* gebruikt de footer kleur */
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.link-btn:hover{
  text-decoration: none;
}

.workout-preview{
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .topnav{ display:none; }
  .grid3{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .cta{ flex-direction: column; align-items: stretch; }
}

/* ---------- Modals (landing) ---------- */
.modal-open { overflow: hidden; }

.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 9999;
  padding: 18px;
}

.modal{
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Workout preview = telefoon-screenshot, dus bewust minder breed */
.modal--wide{ max-width: 480px; }
@media (max-width: 520px){
  .modal--wide{ max-width: 92vw; }
}

.modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal__title{ margin:0; font-size: 18px; }

.modal__body{
  padding: 14px 16px;
  overflow: auto;
}

.modal__footer{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}

.icon-btn{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 10px;
}

.preview-full{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 12px;
}

/* ---------- Preview crop (hero) ---------- */
.preview{
  width: 100%;
  border: 0;
  padding: 0;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;

  /* “afkappen” zodat desktop niet zo’n lange lap wordt */
  max-height: 360px;
}

.preview img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
}

.preview__hint{
  position:absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}