/* =========================
   CLOTHER – STYLE.CSS
   ========================= */

:root{
  /* Brand colors */
  --blue:#4f5bd5;              /* primary brand blue */
  --blue-dark:#3C4472;         /* logo dark blue */
  --blue-dark-soft:#3B4277;    /* logo dark blue (soft) */
  --yellow:#f7c744;            /* accent */
  --white:#e5e5e5;             /* text highlight only */

  /* Layout */
  --bg:#262c66;                /* MAIN background (richer blue) */
  --card:rgba(60,68,114,.92);  /* cards (clear separation) */
  --surface:rgba(79,91,213,.14); /* inner surfaces */

  /* Text */
  --text:#e5e5e5;              /* main text */
  --muted:rgba(229,229,229,.86);

  /* Lines */
  --line:rgba(79,91,213,.42);
  --line-yellow:rgba(247,199,68,.40);
  --blue-tint:rgba(79,91,213,.22);
  --shadow:0 14px 34px rgba(0,0,0,.28);
  --shadow-soft:0 10px 22px rgba(0,0,0,.20);

  --radius:20px;
}

/* RESET */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{color:inherit;text-decoration:none}

/* WRAP */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px 64px;
}

/* =========================
   NAVIGATION
   ========================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(79,91,213,.55);
  background:linear-gradient(180deg, rgba(60,68,114,.90), rgba(79,91,213,.22));
  position:sticky;
  top:14px;
  z-index:50;
  box-shadow:var(--shadow-soft);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
}
.brand-logo{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:12px;
  background:var(--bg);
  padding:6px;
  border:1px solid rgba(79,91,213,.55);
}
.brand-name{
  font-size:18px;
  letter-spacing:.2px;
}

.navlinks{
  display:flex;
  gap:8px;
  align-items:center;
}
.navlinks a{
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  color:rgba(229,229,229,.75);
  border:1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.navlinks a:hover{
  color:var(--white);
  background:rgba(247,199,68,.22);
  border-color:rgba(247,199,68,.55);
  transform:translateY(-1px);
}
.navlinks a::after{
  content:"";
  display:block;
  height:2px;
  width:0;
  background:var(--yellow);
  margin-top:4px;
  transition:width .2s ease;
}
.navlinks a:hover::after{
  width:100%;
}
.navlinks a:focus-visible{
  outline:none;
  border-color:rgba(247,199,68,.75);
  box-shadow:0 0 0 3px rgba(247,199,68,.18);
}
.cta{
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  color:#fff;
  font-weight:900;
  padding:10px 16px;
  border-radius:999px;
  box-shadow:0 10px 28px rgba(79,91,213,.24);
  border:1px solid var(--yellow);
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  background-image:
    linear-gradient(135deg, var(--blue), var(--blue-dark)),
    linear-gradient(135deg, rgba(247,199,68,.35), rgba(247,199,68,.15));
  background-origin:border-box;
  background-clip:padding-box, border-box;
}
.cta:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(247,199,68,.10);
}

/* =========================
   HERO
   ========================= */
.hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  margin-top:22px;
}
@media(max-width:900px){
  .hero{grid-template-columns:1fr}
}

.card{
  background:linear-gradient(180deg, rgba(60,68,114,.96), rgba(79,91,213,.22));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border-top:2px solid rgba(247,199,68,.65);
}
.heroMain{
  padding:36px 30px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:800;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 14px;
  background:linear-gradient(135deg, rgba(247,199,68,.20), rgba(79,91,213,.18));
}
.badge{
  font-size:12px;
  font-weight:900;
  padding:4px 8px;
  border-radius:999px;
  background:var(--yellow);
  color:#1a1a1a;
  border:1px solid rgba(247,199,68,.65);
}

h1{
  font-size:44px;
  line-height:1.05;
  margin:16px 0 12px;
}
@media(max-width:520px){
  h1{font-size:36px}
}
.lead{
  font-size:16.5px;
  line-height:1.55;
  color:var(--muted);
}

.accentline{
  height:2px;
  margin:20px 0;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(247,199,68,1),
    rgba(247,199,68,.85),
    transparent
  );
}

/* PILL FEATURES */
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}
.pill{
  font-size:13px;
  font-weight:800;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(247,199,68,.22), rgba(79,91,213,.14));
  border-color:rgba(247,199,68,.70);
  color:rgba(229,229,229,.92);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  box-shadow: inset 0 0 0 1px rgba(247,199,68,.35);
}
.pill:hover{
  background:linear-gradient(135deg, rgba(247,199,68,.34), rgba(79,91,213,.16));
  border-color:rgba(247,199,68,.85);
  transform:translateY(-1px);
}

/* MINI BLOCKS */
.mini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}
@media(max-width:520px){
  .mini{grid-template-columns:1fr}
}
.mini .box{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(79,91,213,.22);
}
.k{
  font-size:14px;
  font-weight:900;
}
.v{
  font-size:13.5px;
  color:var(--muted);
  line-height:1.45;
}

/* =========================
   FORM
   ========================= */
.formCard{
  padding:26px 24px;
}
.formCard h2{
  margin:0 0 6px;
}
.formCard p{
  margin:0 0 14px;
  color:var(--muted);
}
label{
  display:block;
  margin:10px 0 6px;
  font-size:13px;
  font-weight:900;
}
input,select,textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(247,199,68,.35);
  background:rgba(79,91,213,.22);
  color:var(--text);
  transition: border-color .18s ease, background .18s ease;
}
textarea{min-height:92px}

input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:rgba(247,199,68,.85);
  background:rgba(247,199,68,.10);
}

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

.btn{
  margin-top:14px;
  width:100%;
  padding:14px;
  border-radius:14px;
  font-size:15px;
  font-weight:900;
  color:#fff;
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow:0 8px 24px rgba(79,91,213,.35);
  border:1px solid var(--yellow);
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  background-image:
    linear-gradient(135deg, var(--blue), var(--blue-dark)),
    linear-gradient(135deg, rgba(247,199,68,.35), rgba(247,199,68,.15));
  background-origin:border-box;
  background-clip:padding-box, border-box;
}
.btn:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(247,199,68,.10);
}

.toast{
  display:none;
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  background:linear-gradient(
    135deg,
    rgba(79,91,213,.25),
    rgba(247,199,68,.25)
  );
  font-weight:800;
}
.fine{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
}

/* =========================
   SECTIONS
   ========================= */
.section{
  margin-top:18px;
  padding:26px;
  border-top:2px solid rgba(247,199,68,.45);
}
.section h3{
  margin:0 0 10px;
}
.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media(max-width:900px){
  .grid3{grid-template-columns:1fr}
}
.feature{
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(79,91,213,.42);
  background:linear-gradient(180deg, rgba(79,91,213,.22), rgba(60,68,114,.18));
  box-shadow:none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
  position:relative;
}
.feature:hover{
  border-color:rgba(247,199,68,.90);
  transform:translateY(-2px);
}
.feature::before,
.step::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:18px;
  height:18px;
  border-top:3px solid var(--yellow);
  border-right:3px solid var(--yellow);
  opacity:0;
  transition:opacity .2s ease;
}
.feature:hover::before,
.step:hover::before{
  opacity:1;
}
.muted{color:var(--muted)}

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media(max-width:900px){
  .steps{grid-template-columns:1fr}
}
.step{
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(79,91,213,.42);
  background:linear-gradient(180deg, rgba(79,91,213,.22), rgba(60,68,114,.18));
  box-shadow:none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
  position:relative;
}
.step:hover{
  border-color:rgba(247,199,68,.90);
  transform:translateY(-2px);
}
.num{
  width:30px;
  height:30px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  background:rgba(79,91,213,.18);
  margin-bottom:10px;
  border:1px solid rgba(247,199,68,.35);
  color:var(--white);
}

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

/* FOOTER */
footer{
  margin-top:24px;
  text-align:center;
  font-size:12.5px;
  color:var(--muted);
}
footer::before{
  content:"";
  display:block;
  width:120px;
  height:2px;
  margin:0 auto 12px;
  background:rgba(247,199,68,.7);
}
.smalllink{
  border-bottom:1px dashed rgba(79,91,213,.35);
}

h1, h2, h3, .brand-name{
  color:var(--white);
}
.lead, .muted{
  color:rgba(229,229,229,.8);
}

h2{font-size:22px; margin:0 0 8px}
h3{letter-spacing:.2px}

/* Yellow emphasis for key highlights */
h1 span.highlight,
h2 span.highlight,
h3 span.highlight {
  color:var(--yellow);
}

/* =========================
   FIX: SELECT / DROPDOWN CONTRAST (Windows)
   ========================= */

/* Laat browsers weten dat dit een dark UI is */
:root{
  color-scheme: dark;
}

/* Select: forceer leesbare tekst (ook op Windows) */
select{
  color:#ffffff;
  background-color:rgba(79,91,213,.26);
  border-color:rgba(247,199,68,.55);

  /* Windows/Chrome/Edge: voorkomt vaak "fletse" tekst */
  text-shadow:0 0 0 #fff;
}

/* Dropdown lijst (de opties) */
select option{
  color:#111;
  background:#f3f4ff;
}

/* Placeholder/disabled opties */
select option:disabled{
  color:#666;
}

/* Hover/selected (niet overal, maar helpt waar wel) */
select option:hover,
select option:checked{
  background:#d9dbff;
  color:#111;
}

/* JURIDISCHE DOCUMENTEN */
.legal-page{min-height:100vh;margin:0;background:var(--bg);color:var(--text)}
.legal-shell{width:min(920px, calc(100% - 32px));margin:0 auto;padding:32px 0 72px}
.legal-back{display:inline-block;margin-bottom:20px;color:var(--yellow);font-weight:800}
.legal-document{padding:clamp(22px, 4vw, 52px);border:1px solid rgba(247,199,68,.35);border-radius:22px;background:rgba(16,20,45,.92);box-shadow:0 18px 55px rgba(0,0,0,.25)}
.legal-document h1{margin-top:0;font-size:clamp(30px, 5vw, 48px)}
.legal-document h2{margin-top:32px;color:var(--yellow)}
.legal-document h3{margin-top:24px}
.legal-document p,.legal-document li{line-height:1.75;color:rgba(229,229,229,.88)}
.legal-document li + li{margin-top:8px}
.legal-document a,.legal-fallback a{color:var(--yellow);text-decoration:underline}
.legal-document table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}
.legal-document th,.legal-document td{padding:12px;border:1px solid rgba(229,229,229,.2);text-align:left;vertical-align:top}
.legal-document th{color:var(--yellow);background:rgba(79,91,213,.22)}
@media(max-width:700px){
  .legal-shell{width:min(100% - 20px, 920px);padding-top:18px}
  .legal-document{padding:20px;border-radius:16px}
  .legal-document table{display:block;overflow-x:auto}
}
