/* Styles for the daily budget calculator pages (EN, NL, DE). Same tokens as the landing. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #FAFAFC;
  --surface: #FFFFFF;
  --surface2:#F0F3F8;
  --border:  rgba(15,23,48,0.07);
  --border2: rgba(15,23,48,0.12);
  --blue:    #3B6EF5;
  --blue-soft:#6690FF;
  --ink:     #0F1730;
  --text:    rgba(15,23,48,0.92);
  --muted:   rgba(15,23,48,0.60);
  --muted2:  rgba(15,23,48,0.40);
  --copper:  #B5713F;
  --copper-bg: rgba(181,113,63,0.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7%; height: 62px;
  background: rgba(250,250,252,0.90);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 19px; font-weight: 800; color: var(--ink); text-decoration: none; }
.lang-toggle {
  display: flex; gap: 2px; padding: 2px;
  border: 1px solid var(--border2); background: rgba(15,23,48,0.05); border-radius: 8px;
}
.lang-opt {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 3px 8px; border-radius: 6px;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(15,23,48,0.10); }

.wrap { max-width: 760px; margin: 0 auto; padding: 104px 7% 80px; }
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--blue-soft); margin-bottom: 18px;
}
.overline::before {
  content: ''; display: block; width: 22px; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, #3B6EF5 0%, #7A5CFF 100%);
}
h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 900;
  letter-spacing: -1.6px; line-height: 1.08; color: var(--ink); margin-bottom: 16px;
}
.intro { font-size: 17px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; }

/* CALCULATOR */
.calc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(15,23,48,0.05);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.field .hint { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.input-wrap { display: flex; align-items: center; gap: 8px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface2); border: 1px solid var(--border2); border-radius: 11px; outline: none;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus { border-color: var(--blue-soft); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.result {
  margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--border);
}
.result-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.per-day { font-size: clamp(40px, 8vw, 56px); font-weight: 900; letter-spacing: -2px; color: var(--ink); }
.per-day-label { font-size: 16px; font-weight: 600; color: var(--muted); }
.until { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.rows { background: var(--surface2); border-radius: 12px; padding: 6px 16px; }
.row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.row:last-child { border-bottom: none; }
.row.total { font-weight: 700; color: var(--ink); }
.row.soft { color: var(--muted); }
.notice {
  margin-top: 14px; padding: 12px 14px; border-radius: 11px;
  background: var(--copper-bg); color: var(--copper); font-size: 14px; line-height: 1.55;
}
.privacy-note { font-size: 12px; color: var(--muted2); margin-top: 16px; }

/* CONTENT */
section { margin-top: 64px; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 14px; }
section p, section li { font-size: 16px; line-height: 1.75; color: var(--muted); }
section p + p { margin-top: 12px; }
section ol, section ul { padding-left: 22px; margin-top: 8px; }
section li + li { margin-top: 6px; }
.formula {
  margin: 16px 0; padding: 16px 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 10px;
}
.faq summary { font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--muted2); font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; font-size: 15px; }

/* APP CTA */
.app-cta {
  margin-top: 64px; padding: 32px 28px; border-radius: 20px; text-align: center;
  background: linear-gradient(160deg, rgba(59,110,245,0.07), rgba(122,92,255,0.06));
  border: 1px solid var(--border);
}
.app-cta h2 { margin-bottom: 10px; }
.app-cta p { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px 13px 18px; background: #000; color: #fff;
  border-radius: 13px; text-decoration: none; font-weight: 600;
  box-shadow: 0 5px 16px rgba(0,0,0,0.18); transition: transform .15s, background .2s;
}
.app-store-btn:hover { transform: translateY(-2px); background: #1a1a1a; }
.app-store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-small { font-size: 10px; font-weight: 500; opacity: 0.85; }
.btn-big { font-size: 18px; }
/* Needs .app-cta in the selector to beat the margin of .app-cta p. */
.app-cta .cta-note { font-size: 12px; color: var(--muted2); margin: 16px auto 0; }

footer {
  border-top: 1px solid var(--border); padding: 32px 7%;
  text-align: center; font-size: 13px; color: var(--muted2);
}
footer a { color: var(--muted); text-decoration: none; margin: 0 10px; display: inline-block; }
footer a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .calc { padding: 22px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .app-cta { padding: 28px 18px; }
}
