html{ scroll-behavior: smooth; }

/* zodat de titel niet onder je sticky nav valt */
:target{ scroll-margin-top: 90px; } /* pas 90px aan naar jouw nav hoogte */

:root{
      --bg:#0b0f14;
      --card:#111826;
      --muted:#93a4b7;
      --text:#eaf0f7;
      color-scheme: dark;
      /* ✅ REF Registratie brand (blauw/rood) */
      --brandBlue:#0a84ff;
      --brandRed:#ff3b30;

      --line:rgba(255,255,255,.08);
      --shadow: 0 18px 40px rgba(0,0,0,.45);
      --radius:12px;
    }

    *{box-sizing:border-box}
    html, body{ overflow-x:hidden; }

    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
      background: var(--bg);
      color:var(--text);
      line-height:1.55;
    }

	body::before{
      content:"";
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
		radial-gradient(1200px 1600px at 20% 0%, rgba(10,132,255,.22), transparent 60%),
        radial-gradient(1200px 1600px at 80% 80%, rgba(255,59,48,.16), transparent 60%),
        var(--bg)
    }

    a{color:inherit}
    .wrap{max-width:1080px;margin:0 auto;padding:16px 18px 70px}

    .brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
    .logoRing{
      width:38px;height:38px;border-radius:12px;padding:2px;flex:0 0 auto;
      background: linear-gradient(135deg, var(--brandBlue), var(--brandRed));
      box-shadow: 0 10px 25px rgba(0,0,0,.35);
      display:flex;align-items:center;justify-content:center;
    }
    .logoImg{
      width:34px;height:34px;border-radius:12px;object-fit:cover;display:block;
    }
    .brand span{
      font-weight:800;letter-spacing:.2px;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
      max-width:220px;
    }

#themeToggle {
    width: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

    .navlinks{
      display:flex;
      gap:6px;
      flex-wrap:wrap;
      justify-content:flex-end;
      width:auto;      /* ✅ niet 100% (anders wordt het te breed) */
      min-width:0;
    }
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;              /* was 8 */
  padding:8px 10px;     /* was 10px 12px */
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  text-decoration:none;
  font-weight:700;
  font-size:11px;       /* jouw fix */
  line-height:1;        /* voorkomt extra hoogte */
  white-space:nowrap;
  color:inherit;
}
    .pill:hover{border-color:rgba(10,132,255,.35); background:rgba(10,132,255,.08)}
    .pill.primary{
      border-color:rgba(10,132,255,.40); background:rgba(10,132,255,.12)
    }

    /* Hamburger (desktop uit) */
    .hamburger{
      display:none;
      border:1px solid var(--line);
      background:rgba(255,255,255,.04);
      border-radius:12px;
      padding:10px 12px;
      font-weight:900;
      cursor:pointer;
      flex:0 0 auto;
	  color: inherit;
    }

    .hamburger:hover{border-color:rgba(10,132,255,.35); background:rgba(10,132,255,.08)}

    /* Mobile dropdown menu */
    .mobileMenu{
      display:none;
      border:1px solid var(--line);
      border-radius:12px;
      box-shadow: var(--shadow);
      background:rgba(17,24,38,.65);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      overflow:hidden;
      width:100%;
    }
    .mobileMenu a{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:14px 14px;
      text-decoration:none;
      border-top:1px solid rgba(255,255,255,.06);
      font-weight:800;
      background:transparent;
      color:inherit;
    }
    .mobileMenu a:first-child{border-top:none}
    .mobileMenu .sub{color:var(--muted); font-weight:800; font-size:13px}
    .mobileMenu.open{display:block}

    /* ✅ Responsive topnav: voorkom wrap/rommel in header */
    @media (max-width: 980px){
      .navlinks{ display:none; }
      .hamburger{ display:inline-flex; }
      .brand span{ max-width:140px; }
    }
    @media (max-width: 520px){
      .brand span{ max-width:110px; }
     
    }

    /* ========= HERO ========= */
    header{
      display:grid;grid-template-columns: 1.2fr .8fr; gap:20px;
      margin-top:75px; align-items:stretch;
    }
    @media (max-width: 880px){ header{grid-template-columns:1fr} }

    .hero{
      border:1px solid var(--line); border-radius:12px;
      padding:26px; background:rgba(17,24,38,.6); backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      min-width:0;
    }
    h1{margin:0 0 8px;font-size:40px;line-height:1.1}
    @media (max-width: 520px){ h1{font-size:32px} }
    .sub{margin:0;color:var(--muted);font-size:16px}

    .ctaRow{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
    .btn{
      display:inline-flex;align-items:center;justify-content:center;gap:10px;
      padding:12px 14px;border-radius:12px;border:1px solid var(--line);
      background:rgba(255,255,255,.05); text-decoration:none; font-weight:900;
      min-width: 190px;
    }
    .btn:hover{border-color:rgba(255,255,255,.18)}
    .btn.primary{
      background: linear-gradient(135deg, var(--brandBlue), var(--brandRed));
      color:#061018;
    }
    .btn.primary:hover{filter:saturate(1.05) brightness(1.05)}
    .btn .tag{font-size:12px;font-weight:900;opacity:.9}
    .mini{font-size:13px;color:var(--muted);margin-top:14px}

    .heroAside{
      border:1px solid var(--line); border-radius:12px;
      padding:22px; background:rgba(17,24,38,.55); backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      display:flex;flex-direction:column;justify-content:space-between;gap:16px;
      min-width:0;
    }
    .stats{
      display:grid;grid-template-columns:1fr 1fr; gap:12px;
    }
    .stat{
      border:1px solid var(--line); border-radius:12px; padding:14px;
      background:rgba(255,255,255,.03)
    }
    .stat .k{font-size:12px;color:var(--muted);font-weight:800}
    .stat .v{font-size:18px;font-weight:900;margin-top:4px}
    .badge{
      display:inline-flex;align-items:center;gap:8px;
      padding:10px 12px;border-radius:12px;border:1px solid rgba(10,132,255,.35);
      background:rgba(10,132,255,.10); color:#dbeeff; font-weight:900; font-size:13px;
      width:fit-content;
    }

    section{margin-top:26px}
    .grid{
      display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
    }
    @media (max-width: 980px){ .grid{grid-template-columns:1fr 1fr} }
    @media (max-width: 620px){ .grid{grid-template-columns:1fr} }

    .card{
      border:1px solid var(--line); border-radius:12px;
      padding:18px; background:rgba(17,24,38,.55); backdrop-filter: blur(10px);
      box-shadow: 0 14px 34px rgba(0,0,0,.35);
      min-width:0;
    }
    .card h2, .card h3{margin:0 0 8px}
    .card h2{font-size:22px}
    .card h3{font-size:18px}
    .muted{color:var(--muted)}
    ul{margin:10px 0 0; padding-left:18px}
    li{margin:6px 0}
    .hr{height:1px;background:var(--line);margin:16px 0}

    .pricing{
      display:grid;grid-template-columns: repeat(3, 1fr); gap:14px;
    }
    @media (max-width: 980px){ .pricing{grid-template-columns:1fr} }

    .price{
      border:1px solid var(--line); border-radius:12px;
      padding:18px; background:rgba(17,24,38,.60); backdrop-filter: blur(10px);
      box-shadow: 0 14px 34px rgba(0,0,0,.35);
      position:relative; overflow:hidden;
      min-width:0;
    }
    .price.featured{
      border-color: rgba(10,132,255,.45);
      background: linear-gradient(180deg, rgba(10,132,255,.12), rgba(17,24,38,.58));
    }
    .ribbon{
      position:absolute; top:14px; right:-36px; transform: rotate(35deg);
      background: rgba(10,132,255,.25); border:1px solid rgba(10,132,255,.35);
      color:#dbeeff; font-weight:900; font-size:12px;
      padding:6px 40px;
    }
    .pTitle{display:flex;align-items:center;justify-content:space-between;gap:10px}
    .pTitle b{font-size:18px}
    .pPrice{font-size:34px;font-weight:950;margin:10px 0 2px}
    .pNote{color:var(--muted);font-size:13px;margin:0}
    .small{font-size:13px;color:var(--muted)}
    .ok{color:#c9f7d7}
    .warn{color:#ffd7a8}

    .form{
      display:grid; grid-template-columns: 1fr 1fr; gap:12px;
    }
    @media (max-width: 820px){ .form{grid-template-columns:1fr} }

    input, textarea, select{
      width:50%;
      padding:12px 12px;
      border-radius:12px;
      border:1px solid var(--line);
      background:rgba(255,255,255,.04);
      color:var(--text);
      outline:none;
      min-width:0;
    }
    textarea{min-height:120px;resize:vertical}
    label{font-size:13px;color:var(--muted);font-weight:900;display:block;margin:2px 0 8px}
    .formActions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
    .btn2{
      cursor:pointer;
      padding:12px 14px;border-radius:12px;border:1px solid var(--line);
      background:rgba(255,255,255,.05); color:var(--text); font-weight:900;
      display:inline-flex;align-items:center;justify-content:center;
      text-decoration:none;
      min-width:190px;
    }
    .btn2.primary{
      background: linear-gradient(135deg, var(--brandBlue), var(--brandRed));
      border-color:transparent; color:#061018;
    }
    .btn2:hover{border-color:rgba(255,255,255,.18)}
    .footer{
      margin-top:26px; padding-top:18px; border-top:1px solid var(--line);
      display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;
      color:var(--muted); font-size:13px;
    }
    .kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono"; font-size:12px}

    /* =========================================================
       ✅ HARD MOBILE OVERRIDES (hamburger dropdown)
       ========================================================= */
    @media (max-width: 1200px){
      .wrap{ padding:16px 12px 60px; }

      .nav{
        top:10px;
        padding:10px 12px;
        border-radius:12px;
        gap:10px;
        backdrop-filter: blur(8px);
        padding-bottom: 1px;
        flex-direction:column;
        align-items:stretch;
        max-width: 1055px;
      }

      .navTop{
        width:100%;
        justify-content:space-between;
      }


      /* Desktop navlinks: altijd uit op mobiel */
      .nav .navlinks{
        display:none !important;
      }

      /* Hamburger: altijd aan op mobiel */
      .nav .hamburger{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        gap:10px;
      }

      header{ grid-template-columns:1fr; }
      header .hero, header .heroAside{ padding:18px; }

      .ctaRow .btn{ min-width:0; }
      .btn2{ min-width:0; }
      .card{ padding:16px; }
    }
/* ========= SCREENSHOT SLIDER ========= */
.sliderWrap{
  position:relative;
}

.slider{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:6px 6px 10px;
  scrollbar-width:none; /* Firefox */
}
.slider::-webkit-scrollbar{display:none} /* Chrome/Safari */

.slide{
  flex:0 0 auto;
  width:min(330px, 82vw);
  scroll-snap-align:center;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
}

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

.slideCap{
  padding:12px 14px 14px;
}

.slideCap b{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}

.slideCap span{
  display:block;
  font-size:13px;
  color:var(--muted);
  font-weight:800;
  line-height:1.35;
}

.sliderHint{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
/* ========= DESKTOP PIJLEN ========= */
.sliderWrap{ position:relative; }

.sliderBtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(17,24,38,.75);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sliderBtn:hover{ border-color:rgba(10,132,255,.35); background:rgba(10,132,255,.10); }

.sliderBtn.left{ left:8px; }
.sliderBtn.right{ right:8px; }

/* Alleen tonen op desktop */
@media (max-width: 700px){
  .sliderBtn{ display:none; }
}

/* Geef wat ruimte zodat pijlen niet over tekst heen vallen */
@media (min-width: 701px){
  .slider{ padding-left:60px; padding-right:60px; }
}

/* =========================================================
   ✅ MIJN VERHAAL (quote stijl met brand accent)
   ========================================================= */
.storyGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 880px){
  .storyGrid{ grid-template-columns:1fr; }
}
.storyQuote{
  position:relative;
  padding-left:22px;
}
.storyQuote::before{
  content:"";
  position:absolute;
  left:0;
  top:14px;
  bottom:14px;
  width:4px;
  border-radius:12px;
  background: linear-gradient(180deg, var(--brandBlue), var(--brandRed));
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.storyQuoteMark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
  font-weight:950;
  letter-spacing:.5px;
}
  


/* =========================================================
   ✅ REF Chatbox (drop-in) — gebruikt jouw brand kleuren
   ========================================================= */
:root{
  --chatAccentA: var(--brandBlue);
  --chatAccentB: var(--brandRed);
  --chatBg: rgba(17,24,38,.72);
  --chatPanel: rgba(17,24,38,.88);
  --chatText: var(--text);
  --chatMuted: var(--muted);
  --chatLine: var(--line);
  --chatShadow: var(--shadow);
}

.refChatFab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:10000; /* boven jouw navbar (9999) */
  width:56px;
  height:56px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, var(--chatAccentA), var(--chatAccentB));
  color:#061018;
  cursor:pointer;
  box-shadow: var(--chatShadow);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
}

.refChatBox{
  position:fixed;
  right:18px;
  bottom:86px;
  z-index:10000;
  width:min(390px, calc(100vw - 36px));
  height:540px;
  max-height:72vh;
  border-radius:12px;
  border:1px solid var(--chatLine);
  background: var(--chatPanel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--chatShadow);
  overflow:hidden;
  display:none;
  flex-direction:column;
}

.refChatBox.open{ display:flex; }

.refChatHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-bottom:1px solid var(--chatLine);
  background: rgba(255,255,255,.03);
}

.refChatLeft{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0;
}

.refChatBadge{
  width:34px;
  height:34px;
  border-radius:12px;
  padding:2px;
  background: linear-gradient(135deg, var(--chatAccentA), var(--chatAccentB));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#061018;
  font-weight:950;
}

.refChatMeta{ min-width:0; }
.refChatTitle{
  font-weight:950;
  font-size:14px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
}
.refChatSub{
  font-size:12px;
  color: var(--chatMuted);
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:260px;
}

.refChatClose{
  border:1px solid var(--chatLine);
  background: rgba(255,255,255,.04);
  color: var(--chatText);
  cursor:pointer;
  padding:8px 10px;
  border-radius:12px;
  font-weight:950;
}
.refChatClose:hover{
  border-color: rgba(10,132,255,.35);
  background: rgba(10,132,255,.08);
}

.refChatLog{
  flex:1;
  overflow:auto;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.refMsg{
  max-width:86%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--chatLine);
  background: rgba(255,255,255,.03);
  color: var(--chatText);
  font-size:13.5px;
  line-height:1.35;
  white-space:pre-wrap;
  word-wrap:break-word;
}

.refMsg.user{
  margin-left:auto;
  background: rgba(10,132,255,.14);
  border-color: rgba(10,132,255,.30);
}

.refMsg.ai{
  margin-right:auto;
}

.refChips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:-4px;
}

.refChip{
  border:1px solid var(--chatLine);
  background: rgba(255,255,255,.03);
  color: var(--chatText);
  padding:7px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.refChip:hover{
  border-color: rgba(10,132,255,.35);
  background: rgba(10,132,255,.08);
}

.refChatFoot{
  border-top:1px solid var(--chatLine);
  padding:10px;
  display:flex;
  gap:10px;
  align-items:center;
  background: rgba(255,255,255,.02);
}

.refChatInput{
  flex:1;
  border-radius:12px;
  border:1px solid var(--chatLine);
  background: rgba(255,255,255,.03);
  color: var(--chatText);
  padding:10px 12px;
  outline:none;
  font-size:13.5px;
}
.refChatInput::placeholder{ color: rgba(147,164,183,.85); }

.refChatSend{
  border:0;
  cursor:pointer;
  border-radius:12px;
  padding:10px 12px;
  font-weight:950;
  background: linear-gradient(135deg, var(--chatAccentA), var(--chatAccentB));
  color:#061018;
}

.refChatNote{
  padding:0 12px 12px;
  color: var(--chatMuted);
  font-size:11.5px;
  font-weight:900;
}

@media (max-width: 420px){
  .refChatBox{ height:78vh; }
}

/* ===== Portal embed (Web Portal) ===== */
.portalCard{
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
}
.portalFrame{
  width:100%;
  height:760px;
  border:0;
  display:block;
  background:transparent;
}
@media (max-width:700px){
  .portalFrame{ height:720px; }
}

/* --- Footer Facebook logo --- */
.footerSocial{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}
.fbLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  text-decoration:none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.fbLink:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.fbIcon{
  width:22px;
  height:22px;
  fill: currentColor;
  color: #fff;
  opacity:.92;
}
/* ✅ Select dropdown (best effort) */
select{
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(17,24,38,.78); /* iets donkerder dan .04 */
}

/* ✅ Dropdown list items (werkt in sommige browsers) */
select option, select optgroup{
  background: #0b0f14;
  color: #eaf0f7;
}

/* ===== Portal filler card ===== */
.portalBadges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.portalBadges .pill{
  font-weight:900;
  opacity:.95;
}


/* Slider nav fix (avoid conflict with site .nav) */
.sliderWrap{ position:relative; }
.sNav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(17,24,38,.75);
  color: var(--text);
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.sNav:hover{ background: rgba(17,24,38,.88); border-color: rgba(255,255,255,.22); }
.sNav:active{ transform:translateY(-50%) scale(.98); }
.sNav.prev{ left:10px; }
.sNav.next{ right:10px; }

@media (max-width: 520px){
  .sNav{ width:40px; height:40px; }
  .sNav.prev{ left:6px; }
  .sNav.next{ right:6px; }
}


/* hamburgerBtn fix */
#hamburgerBtn{ position:relative; z-index:50; pointer-events:auto; }
#mobileMenu{ position:relative; z-index:40; }


/* Light theme overrides (toggle by adding .theme-light on <html>) */
html.theme-light{ color-scheme: light; }
html.theme-light body{
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(239,68,68,.08), transparent 55%),
    #f6f8fb !important;
  color:#0b1220 !important;
}

/* Core tokens */
html.theme-light{
  --bg:#f6f8fb;
  --card: rgba(255,255,255,.82);
  --card2: rgba(255,255,255,.66);
  --line: rgba(15,23,42,.14);
  --text: #0b1220;
  --muted: rgba(15,23,42,.72);
}

/* Global text */
html.theme-light, 
html.theme-light body,
html.theme-light h1, html.theme-light h2, html.theme-light h3, html.theme-light h4,
html.theme-light b, html.theme-light strong{
  color:#0b1220 !important;
}
html.theme-light .muted,
html.theme-light p, html.theme-light span, html.theme-light li{
  color: rgba(15,23,42,.78) !important;
}

/* Surfaces */
html.theme-light .card,
html.theme-light .price,
html.theme-light .pill:not(.primary),
html.theme-light .topbar,
html.theme-light .navpill,
html.theme-light .drawer,
html.theme-light .drawerCard,
html.theme-light .menuCard,
html.theme-light .glass,
html.theme-light .panel{
  background: rgba(255,255,255,.80) !important;
  border-color: rgba(15,23,42,.12) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
}

/* Buttons / pills */
html.theme-light .btn,
html.theme-light button,
html.theme-light a.btn{
  color:#0b1220 !important;
  border-color: rgba(15,23,42,.16) !important;
}
html.theme-light .langBtn,
html.theme-light .navpill{
  background: rgba(255,255,255,.82) !important;
  color:#0b1220 !important;
  border-color: rgba(15,23,42,.18) !important;
}

/* Inputs/selects */
html.theme-light input,
html.theme-light textarea,
html.theme-light select{
  background: rgba(255,255,255,.86) !important;
  color:#0b1220 !important;
  border-color: rgba(15,23,42,.18) !important;
}
html.theme-light input::placeholder,
html.theme-light textarea::placeholder{
  color: rgba(15,23,42,.55) !important;
}

/* Slider arrows */
html.theme-light .sNav{
  background: rgba(255,255,255,.90) !important;
  color:#0b1220 !important;
  border-color: rgba(15,23,42,.18) !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.12) !important;
}
html.theme-light .slideCap{
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(15,23,42,.12) !important;
}
html.theme-light .slideCap b{ color:#0b1220 !important; }
html.theme-light .slideCap span{ color: rgba(15,23,42,.78) !important; }

/* Dividers */
html.theme-light .hr{ background: rgba(15,23,42,.12) !important; }

/* Ensure toggle is visible in mobile menu too */
#themeToggleMobile{ display:inline-flex !important; }


  background: rgba(255,255,255,.86) !important;
  border-color: rgba(15,23,42,.14) !important;
}
html.theme-light #mobileMenu a{
  color:#0b1220 !important;
  background: rgba(255,255,255,.60) !important;
  border-bottom: 1px solid rgba(15,23,42,.10) !important;
}
html.theme-light #mobileMenu a .sub{
  color: rgba(15,23,42,.55) !important;
}
html.theme-light #mobileMenu .hr{
  background: rgba(15,23,42,.12) !important;
}

/* Ensure pills readable everywhere */
html.theme-light .pill:not(.primary){
  background: rgba(255,255,255,.82) !important;
  color:#0b1220 !important;
  border-color: rgba(15,23,42,.18) !important;
}


/* Light mode specific: top nav + hero blocks */
html.theme-light .nav,
html.theme-light .hero,
html.theme-light .heroAside{
  background: rgba(255,255,255,.82) !important;
  border-color: rgba(15,23,42,.14) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
}
html.theme-light .hero h1,
html.theme-light .hero #heroTitle{
  color:#0b1220 !important;
}
html.theme-light .hero .sub,
html.theme-light .hero #heroSub{
  color: rgba(15,23,42,.78) !important;
}
html.theme-light .heroAside .badge{
  background: rgba(59,130,246,.12) !important;
  border-color: rgba(59,130,246,.25) !important;
  color:#0b1220 !important;
}
html.theme-light .heroAside .miniCard,
html.theme-light .heroAside .mini{
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(15,23,42,.12) !important;
  color:#0b1220 !important;
}


/* Smooth theme transition */
html, body,
.card, .price, .pill, .navpill, .topbar, .nav, .hero, .heroAside,
.btn, button, a.btn,
input, textarea, select,
.sNav, .slideCap, .hr{
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    opacity .25s ease,
    filter .25s ease;
}

/* Body uses gradients; we can only smoothly fade background-color */
body{ transition: background-color .25s ease, color .25s ease; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html, body,
  .card, .price, .pill, .navpill, .topbar, .nav, .hero, .heroAside,
  .btn, button, a.btn,
  input, textarea, select,
  .sNav, .slideCap, .hr{
    transition: none !important;
  }
}


/* Light mode: REF Service Chat */
html.theme-light{
  --chatPanel: rgba(255,255,255,.88);
  --chatLine: rgba(15,23,42,.14);
  --chatText: #0b1220;
  --chatMuted: rgba(15,23,42,.70);
  --chatBubble: rgba(15,23,42,.06);
  --chatBubble2: rgba(10,132,255,.08);
  --chatInput: rgba(255,255,255,.92);
}

html.theme-light .refChatBox,
html.theme-light .refChatFab{
  color: var(--chatText) !important;
}

html.theme-light .refChatBox{
  background: var(--chatPanel) !important;
  border-color: var(--chatLine) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.12) !important;
}

html.theme-light .refChatHead{
  border-bottom: 1px solid var(--chatLine) !important;
}

html.theme-light .refChatHead b,
html.theme-light .refChatTitle{
  color: var(--chatText) !important;
}

html.theme-light .refChatHead .sub,
html.theme-light .refChatHead .muted{
  color: var(--chatMuted) !important;
}

html.theme-light .refChatMsg,
html.theme-light .refChatMsg *{
  color: var(--chatText) !important;
}

html.theme-light .refChatMsg.assistant{
  background: var(--chatBubble) !important;
  border-color: var(--chatLine) !important;
}

html.theme-light .refChatMsg.user{
  background: var(--chatBubble2) !important;
  border-color: rgba(10,132,255,.18) !important;
}

html.theme-light .refQuickBtn{
  background: rgba(255,255,255,.82) !important;
  color: var(--chatText) !important;
  border-color: var(--chatLine) !important;
}

html.theme-light .refChatInput{
  background: var(--chatInput) !important;
  border-color: var(--chatLine) !important;
  color: var(--chatText) !important;
}

html.theme-light .refChatInput::placeholder{
  color: rgba(15,23,42,.55) !important;
}

html.theme-light .refChatSend{
  color: #0b1220 !important;
}

html.theme-light .refChatClose{
  background: rgba(255,255,255,.75) !important;
  border-color: var(--chatLine) !important;
  color: var(--chatText) !important;
}


/* =========================
   FAQ + Kennisbank (v4.20)
   ========================= */
.faqGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 900px){
  .faqGrid{ grid-template-columns: 1fr; }
}
details.faqItem{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 12px 14px;
}
details.faqItem[open]{
  background: rgba(255,255,255,.045);
  border-color: rgba(91,160,255,.22);
}
details.faqItem summary{
  cursor:pointer;
  font-weight: 700;
  list-style: none;
}
details.faqItem summary::-webkit-details-marker{ display:none; }
details.faqItem summary:after{
  content: "▾";
  float: right;
  opacity: .75;
  transform: translateY(1px);
}
details.faqItem[open] summary:after{ content:"▴"; }
.faqAnswer{
  margin-top: 8px;
  line-height: 1.55;
}

.kbGrid{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 900px){
  .kbGrid{ grid-template-columns: 1fr; }
}

/* =========================
   Extra content blocks (v4.21)
   ========================= */
.casesGrid{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 900px){
  .casesGrid{ grid-template-columns: 1fr; }
}

.compareWrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compareTable{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.compareTable thead th{
  text-align: left;
  font-size: 13px;
  letter-spacing: .2px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.compareTable tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.compareTable tbody tr:last-child td{ border-bottom: 0; }
.cmpFeature{ font-weight: 650; }
.cmpYes{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.22);
}
.cmpNo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.22);
}
.cmpNa{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(148,163,184,.12);
  border: 1px solid rgba(148,163,184,.22);
}

.chGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 900px){
  .chGrid{ grid-template-columns: 1fr; }
}
.chTop{
  display:flex;
  align-items: center;
  gap: 10px;
}
.chDate{
  font-size: 12px;
  opacity: .8;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.chName{
  font-weight: 750;
}
/* =========================
   REF AI Chat refresh v4.4.0
   ========================= */
:root{
  --chatFabSize: 60px;
  --chatPanel: rgba(11,17,28,.88);
  --chatPanel2: rgba(255,255,255,.04);
  --chatBubbleAi: rgba(255,255,255,.05);
  --chatBubbleUser: rgba(10,132,255,.18);
  --chatInput: rgba(255,255,255,.04);
}
.refChatFab{
  width:var(--chatFabSize);
  height:var(--chatFabSize);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 34px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.04) inset;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.refChatFab:hover{ transform: translateY(-2px) scale(1.02); }
.refChatFab.is-open{ transform: scale(.96); }
.refChatFab::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:12px;
  background: radial-gradient(circle, rgba(10,132,255,.18), transparent 65%);
  z-index:-1;
}
.refChatBox{
  bottom:90px;
  width:min(420px, calc(100vw - 28px));
  height:600px;
  max-height:78vh;
  border-radius:12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--chatPanel);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  transform: translateY(14px) scale(.985);
  opacity:0;
  pointer-events:none;
}
.refChatBox.open{
  display:flex;
  opacity:1;
  pointer-events:auto;
  transform: translateY(0) scale(1);
  animation: refChatIn .18s ease-out;
}
@keyframes refChatIn{
  from{ opacity:0; transform: translateY(18px) scale(.975); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
.refChatHead{
  padding:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.refChatBadge{
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:13px;
  letter-spacing:.04em;
  box-shadow: 0 6px 20px rgba(10,132,255,.18);
}
.refChatTitle{ font-size:15px; }
.refChatSub{ font-size:12px; }
.refChatLog{
  padding:14px;
  gap:12px;
  background:
    radial-gradient(circle at top right, rgba(10,132,255,.10), transparent 28%),
    transparent;
}
.refMsg{ 
  max-width:90%;
  border:none;
  background:none;
  padding:0;
}
.refBubble{
  padding:11px 13px;
  border-radius:12px;
  border:1px solid var(--chatLine);
  background: var(--chatBubbleAi);
  color: var(--chatText);
  font-size:13.5px;
  line-height:1.42;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.refMsg.ai .refBubble{
  border-top-left-radius:12px;
}
.refMsg.user .refBubble{
  background: var(--chatBubbleUser);
  border-color: rgba(10,132,255,.28);
  border-top-right-radius:12px;
}
.refMetaTime{
  margin-top:5px;
  font-size:10.5px;
  opacity:.78;
  padding:0 4px;
}
.refMsg.user{ margin-left:auto; }
.refMsg.user .refMetaTime{ text-align:right; }
.refChips{ gap:7px; margin-top:-2px; }
.refChip{
  padding:8px 11px;
  background: rgba(255,255,255,.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.refChip:hover{
  transform: translateY(-1px);
}
.refChatFoot{
  padding:12px;
  background: linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.03));
}
.refChatInput{
  min-height:44px;
  background: var(--chatInput);
}
.refChatSend{ min-width:86px; }
.refTyping{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:18px;
}
.refTyping span{
  width:7px;
  height:7px;
  border-radius:12px;
  background: currentColor;
  opacity:.35;
  animation: refDot 1s infinite ease-in-out;
}
.refTyping span:nth-child(2){ animation-delay:.15s; }
.refTyping span:nth-child(3){ animation-delay:.30s; }
@keyframes refDot{
  0%, 80%, 100%{ transform: translateY(0); opacity:.25; }
  40%{ transform: translateY(-3px); opacity:.72; }
}
html.theme-light{
  --chatPanel: rgba(255,255,255,.92);
  --chatPanel2: rgba(15,23,42,.03);
  --chatLine: rgba(15,23,42,.10);
  --chatText: #0b1220;
  --chatMuted: rgba(15,23,42,.64);
  --chatBubbleAi: rgba(15,23,42,.04);
  --chatBubbleUser: rgba(10,132,255,.10);
  --chatInput: rgba(255,255,255,.96);
}
html.theme-light .refChatFab{
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 14px 34px rgba(15,23,42,.15);
}
html.theme-light .refChatBox{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.90));
  box-shadow: 0 24px 60px rgba(15,23,42,.15);
}
html.theme-light .refChatHead,
html.theme-light .refChatFoot{
  background: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.01));
}
html.theme-light .refBubble{
  box-shadow: 0 4px 12px rgba(15,23,42,.06);
}
@media (max-width: 640px){
  .refChatFab{ right:14px; bottom:14px; }
  .refChatBox{
    right:14px;
    bottom:84px;
    width:calc(100vw - 20px);
    max-height:80vh;
    border-radius:12px;
  }
}


