/* Verlangen Finance - Pas op, dit boek maakt je rijk - Tools
   Huisstijl: zwart/wit + goud accent, Inter font */

:root {
  --bg: #FFFFFF;
  --fg: #000000;
  --muted-bg: #F5F5F5;
  --muted-fg: #666666;
  --border: #E5E5E5;
  --gold: #F7CD45;
  --gold-deep: #E5B62F;
  --gold-tint-5: rgba(247, 205, 69, 0.05);
  --gold-tint-10: rgba(247, 205, 69, 0.10);
  --gold-tint-20: rgba(247, 205, 69, 0.20);
  --gold-glow: 0 10px 40px -10px rgba(247, 205, 69, 0.35);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px -4px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px -20px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.025em;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

p { margin: 0 0 1rem; }

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--gold-deep); }

.gold-text {
  background: linear-gradient(to right, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #000;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: var(--transition);
}

.nav a:hover, .nav a.active { color: var(--fg); }

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

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-tint-5) 0%, transparent 100%);
}

.hero .eyebrow {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--gold-tint-10);
  border: 1px solid var(--gold-tint-20);
  border-radius: 9999px;
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 1rem;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-fg);
  font-size: 1.125rem;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep), var(--gold));
  color: #000;
}
.btn-gold:hover {
  opacity: 0.92;
  box-shadow: var(--gold-glow);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--fg); }

/* Tools grid */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--muted-fg); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: var(--fg);
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
  color: var(--fg);
}

.tool-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.tool-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.tool-card p {
  color: var(--muted-fg);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tool-card .arrow {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tool page */
.tool-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.tool-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted-fg);
  margin-bottom: 1rem;
  font-weight: 500;
}

.tool-header .back-link:hover { color: var(--fg); }

.tool-header h1 { margin-bottom: 0.5rem; }
.tool-header .lede { color: var(--muted-fg); max-width: 640px; }

.tool-body { padding: 2.5rem 0 5rem; }

.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.card h3 { font-size: 1.1rem; margin-bottom: 1.25rem; }

/* Form */
.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.field .help {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-fg);
  margin-top: 0.35rem;
}

.input-wrap {
  position: relative;
}

.input-wrap .prefix,
.input-wrap .suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-fg);
  font-size: 0.95rem;
  pointer-events: none;
}
.input-wrap .prefix { left: 0.9rem; }
.input-wrap .suffix { right: 0.9rem; }
.input-wrap.has-prefix input { padding-left: 1.85rem; }
.input-wrap.has-suffix input { padding-right: 2.5rem; }

input[type="text"], input[type="number"], select {
  width: 100%;
  height: 48px;
  padding: 0 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint-20);
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}

.radio-group {
  display: grid;
  gap: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.radio-option:hover { border-color: var(--gold); }

.radio-option input[type="radio"] {
  margin: 0;
  accent-color: var(--gold-deep);
}

.radio-option.checked {
  border-color: var(--gold);
  background: var(--gold-tint-5);
}

/* Result */
.result {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.result h3 { color: #fff; margin-bottom: 1.25rem; }

.result-main {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1rem;
}

.result-main .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.result-main .value {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}
.result-row .label { color: rgba(255,255,255,0.7); }
.result-row .value { font-weight: 600; }

.result-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* Info box */
.info-box {
  background: var(--gold-tint-5);
  border: 1px solid var(--gold-tint-20);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--fg);
  margin-top: 1.25rem;
}

.info-box strong { color: var(--gold-deep); }

/* Breakdown */
.breakdown {
  margin-top: 1rem;
  font-size: 0.88rem;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .label { color: rgba(255,255,255,0.7); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
  color: var(--muted-fg);
  font-size: 0.9rem;
  text-align: center;
}

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

.disclaimer {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
