/* =============================================
   Finance & Tax Wizard — Design System
   Kleur: #205e63 | Font: Plus Jakarta Sans + Inter
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111827;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Design tokens --- */
:root {
  --primary: #205e63;
  --primary-dark: #174850;
  --primary-light: #e8f4f5;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #fff;
  --bg-alt: #f8fafb;
  --border: #e5e7eb;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 32px rgba(0,0,0,.10);
  --max-w: 1100px;
  --section-py: 4.5rem;
  --transition: .2s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-muted); }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  height: 68px;
}
.nav__logo {
  display: flex; align-items: center;
  line-height: 1;
}
.nav__logo-badge {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav__links a {
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--primary); }
.nav__cta {
  display: flex; align-items: center; gap: 1rem;
}
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 24px; padding: 4px 0;
}
.nav__hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.nav__mobile {
  display: none; flex-direction: column; gap: 0;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: .65rem 0; font-weight: 500; font-size: .95rem;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.5rem; border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: .9rem;
  transition: all var(--transition); white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-white {
  background: #fff; color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--primary-light); }
.btn-ghost-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

/* --- Badges / pills --- */
.badge {
  display: inline-block; padding: .3rem .85rem;
  background: var(--primary-light); color: var(--primary);
  font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  border-radius: var(--radius-full); font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Section layout --- */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--primary); }
.section--dark h2, .section--dark h3, .section--dark p { color: #fff; }
.section--dark p { opacity: .85; }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__header .badge { margin-bottom: 1rem; }
.section__header p { margin-top: .75rem; }

/* --- Cards --- */
.card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1.25rem; flex-shrink: 0;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .92rem; }

/* --- Grid helpers --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Hero --- */
.hero {
  background: var(--primary);
  position: relative; overflow: hidden;
  padding: 5rem 0 4.5rem;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--accent); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 500px; margin-bottom: 2rem; }
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.hero__card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .8rem;
  color: rgba(255,255,255,.7); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero__row:last-child { border-bottom: none; }
.hero__row-label { font-size: .85rem; color: rgba(255,255,255,.75); }
.hero__row-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .95rem; color: #fff;
}
.hero__row-value.positive { color: #4ade80; }
.hero__row-value.negative { color: #f87171; }

/* --- Page header (inner pages) --- */
.page-header {
  background: var(--primary);
  padding: 3.5rem 0;
  color: #fff;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* --- Feature list --- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .92rem; color: var(--text-muted);
}
.feature-list li::before {
  content: '✓';
  color: var(--primary); font-weight: 700; font-size: .85rem;
  margin-top: .1rem; flex-shrink: 0;
}

/* --- Stat block --- */
.stat { text-align: center; }
.stat__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem; font-weight: 800; color: var(--primary);
  line-height: 1;
}
.stat__label { font-size: .88rem; color: var(--text-muted); margin-top: .3rem; }

/* --- CTA banner --- */
.cta-banner {
  background: var(--primary); padding: 4rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.06) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner__btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- Contact form --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 500; font-size: .88rem;
  color: var(--text); margin-bottom: .4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .95rem;
  font-family: inherit; color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(32,94,99,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* --- Calculator --- */
.calc-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.calc-panel {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.calc-panel h3 {
  font-size: 1rem; margin-bottom: 1.5rem;
  color: var(--primary); border-bottom: 2px solid var(--primary-light); padding-bottom: .75rem;
}
.calc-group { margin-bottom: 1.5rem; }
.calc-group label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; font-weight: 500; color: var(--text); margin-bottom: .5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.calc-group label span { font-weight: 700; color: var(--primary); }
.calc-group input[type=range] {
  width: 100%; -webkit-appearance: none; height: 6px;
  background: var(--border); border-radius: 3px; outline: none;
}
.calc-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  box-shadow: 0 2px 6px rgba(32,94,99,.3);
}
.calc-group select {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: inherit; color: var(--text);
  background: #fff; outline: none; cursor: pointer;
  transition: border-color var(--transition);
}
.calc-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(32,94,99,.12); }
.calc-result {
  background: var(--primary-light);
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-top: 1.5rem;
}
.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0; border-bottom: 1px solid rgba(32,94,99,.12);
  font-size: .9rem;
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-row .label { color: var(--text-muted); }
.calc-result-row .value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--text); }
.calc-result-row.highlight .value { color: var(--primary); font-size: 1.1rem; }
.calc-result-row.positive .value { color: #059669; }
.calc-cta-box {
  background: var(--primary); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center; margin-top: 1.5rem;
}
.calc-cta-box p {
  color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 1rem;
}
.calc-cta-box strong { display: block; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; margin-bottom: .5rem; }

/* --- Disclaimer --- */
.disclaimer {
  font-size: .78rem; color: var(--text-light);
  background: var(--bg-alt); border-radius: var(--radius);
  padding: .75rem 1rem; margin-top: 1rem; line-height: 1.5;
}

/* --- Contact info block --- */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 {
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-light); margin-bottom: .2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.contact-item p { font-size: .95rem; color: var(--text); }
.contact-item a { color: var(--primary); }
.contact-item a:hover { text-decoration: underline; }

/* --- Footer --- */
.footer {
  background: #0f2d31;
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer__brand .nav__logo { margin-bottom: 1rem; color: #fff; }
.footer__brand .nav__logo-badge { background: rgba(255,255,255,.15); }
.footer__brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 280px; }
.footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer__links a {
  font-size: .9rem; color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: rgba(255,255,255,.4);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-py: 3rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .cta-banner { padding: 3rem 0; }
  .hero__btns { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.hidden { display: none; }
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); }
