/* Minimal, clean stylesheet with dark(default)/light toggle */

#sib-container input,
#sib-container textarea {
  color: #1e293b !important;  /* normale donkere tekst */
  opacity: 1 !important;      /* Brevo override fix */
}

#sib-container input::placeholder,
#sib-container textarea::placeholder {
  color: #64748b !important;  /* beter leesbaar */
  opacity: 1 !important;
}


:root{
  --bg:#0f172a;
  --panel:#111827;
  --card:#0b1220;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --accent:#22c55e;
  --accent-contrast:#0b2d15;
  --ring:#334155;
}

/* Basis layout */
*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  background:linear-gradient(180deg,#0b1220 0%,#0f172a 100%);
  color:var(--text);
  font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6;
  transition:background .35s ease,color .35s ease,filter .35s ease;
}

.container{
  max-width:1280px;
  margin:0 auto;
  padding:24px;
}

/* Header + branding */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:28px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.logo{
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:var(--accent-contrast);
  color:var(--accent);
  font-weight:800;
  font-size:22px;
  border:1px solid #1b4d2b;
  box-shadow:
    0 8px 20px rgba(0,0,0,.35),
    inset 0 0 12px rgba(34,197,94,.15);
}

.brand-title{
  font-weight:700;
  letter-spacing:.2px;
}

.brand-sub{
  color:var(--muted);
  font-size:12px;
  margin-top:-4px;
}

/* Language + theme controls */
.lang .lang-btn{
  background:transparent;
  border:1px solid var(--ring);
  color:var(--text);
  padding:6px 10px;
  border-radius:8px;
  margin-left:6px;
  cursor:pointer;
  font-size:12px;
  transition:border-color .2s ease,background-color .2s ease,transform .05s ease;
}

.lang .lang-btn:hover{
  transform:translateY(-1px);
  border-color:#64748b;
}

.lang .lang-btn.active{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

/* Theme toggle button */
.theme-toggle{
  background:transparent;
  border:1px solid var(--ring);
  color:var(--text);
  padding:6px 10px;
  border-radius:999px;
  margin-right:8px;
  cursor:pointer;
  margin-left:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:0; /* verberg eventuele tekst/emoji in HTML */
  transition:border-color .2s ease,background-color .2s ease,transform .25s ease,color .25s ease;
  position:relative;
}

/* icoon via ::before, zodat we makkelijk kunnen wisselen */
.theme-toggle::before{
  content:"🌙";
  font-size:14px;
  line-height:1;
}

.theme-toggle:hover{
  border-color:#64748b;
}

/* Light mode: andere icon + draai */
[data-theme="light"] #theme-toggle{
  transform:rotate(180deg);
}

[data-theme="light"] #theme-toggle::before{
  content:"☀️";
}

/* Hero */
.hero{
  padding-top:36px;
  text-align:center;
}

.hero h1{
  font-size:36px;
  margin:0 0 10px 0;
}

.lead{
  color:#d1d5db;
  font-size:18px;
  margin:0 auto 18px;
  max-width:740px;
}

/* CTA knoppen */
.cta{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.cta.smallgap{
  justify-content:flex-start;
}

.btn{
  border:1px solid var(--ring);
  padding:12px 16px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  transition:transform .05s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:#64748b;
}

.btn.primary{
  background:var(--accent);
  color:#05210f;
  border-color:#16a34a;
  font-weight:700;
}

.btn.primary:hover{
  filter:brightness(1.03);
}

.disclaimer.small{
  color:var(--muted);
  font-size:12px;
  margin-top:8px;
}

/* Layout cards */
.grid.two{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:28px;
}

@media(min-width:840px){
  .grid.two{
    grid-template-columns:1fr 1fr;
  }
}

.card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(148,163,184,.2);
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.card h2{
  margin-top:0;
}

.checks,
.bullets{
  padding-left:18px;
}

.steps{
  padding-left:18px;
}

.notice{
  border-left:4px solid var(--accent);
  background:rgba(34,197,94,.06);
  padding:12px 16px;
  border-radius:8px;
}

/* Footer */
.footer{
  padding-bottom:48px;
  text-align:center;
}

.muted{
  color:var(--muted);
  font-size:12px;
}

.small{
  font-size:12px;
  color:var(--muted);
}

a{
  color:#a7f3d0;
}

a:hover{
  text-decoration:underline;
}

/* Results block */
.results-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:18px;
}

.results-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.results-updated{
  color:var(--muted);
  font-size:12px;
}

.results-body{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.results-value{
  font-size:42px;
  font-weight:800;
  letter-spacing:.5px;
  background:linear-gradient(90deg,#86efac,#22c55e);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.results-note{
  max-width:560px;
}

/* Footer with eToro logo */
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-items:center;
}

@media(min-width:780px){
  .footer-grid{
    grid-template-columns:1fr auto;
  }
}

.brandline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.etoro{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}

.etoro-logo{
  height:28px;
  width:auto;
  display:block;
  filter:drop-shadow(0 4px 18px rgba(32,191,85,.25));
}

/* Light theme variables */
:root[data-theme="light"]{
  --bg:#f8fafc;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --accent:#16a34a;          /* iets zachter groen in light mode */
  --accent-contrast:#eafff1;
  --ring:#cbd5e1;
}

/* Light achtergrond + tekst */
html[data-theme="light"],
html[data-theme="light"] body{
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
  color:var(--text);
}

/* Light varianten van componenten */
:root[data-theme="light"] .card{
  background:#ffffff;
  border-color:#e2e8f0;
  box-shadow:
    0 1px 2px rgba(0,0,0,.06),
    0 4px 12px rgba(0,0,0,.05);
}

:root[data-theme="light"] .btn{
  color:#0f172a;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

:root[data-theme="light"] .btn.primary{
  color:#05210f;
}

:root[data-theme="light"] a{
  color:#166534;
}

:root[data-theme="light"] .lead{
  color:#475569;
}

/* Klein*
/* Tiles subscription form */
.tiles-form {
  margin-top: 12px;
}

.tiles-field {
  margin-bottom: 12px;
  text-align: left;
}

.tiles-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--muted);
}

.tiles-field input[type="email"],
.tiles-field input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--ring);
  background-color: #ffffff;
  font: inherit;
  box-sizing: border-box;
}

:root[data-theme="dark"] .tiles-field input[type="email"],
:root[data-theme="dark"] .tiles-field input[type="text"] {
  background-color: #020617;
  color: var(--text);
  border-color: #1e293b;
}

.tiles-field input::placeholder {
  color: #9ca3af;
}

.tiles-submit {
  margin-top: 8px;
  text-align: left;
}
/* Centreer de hero-sectie volledig */
.hero {
    text-align: center !important;
}

.hero .cta-buttons {
    justify-content: center !important;
}

