/* Bankcat — huisstijl
   Emerald #0F3B2F · Champagne #D8C49A · Ivory #F6F2EA */

:root {
  --emerald: #0F3B2F;
  --emerald-hover: #164C3D;
  --champagne: #D8C49A;
  --ivory: #F6F2EA;
  --white: #FFFFFF;
  --line: #E9E3D7;
  --muted: #5E6C66;
  --red: #9B2C1F;

  --pill-open-bg: #F3E6C8;
  --pill-open-text: #6B5320;
  --pill-overdue-bg: #F6DED9;
  --pill-overdue-text: #9B2C1F;
  --pill-paid-bg: #DDEDE3;
  --pill-paid-text: #1D5A3C;
  --pill-draft-bg: #ECE8DF;
  --pill-draft-text: #5E6C66;

  --radius-card: 16px;
  --radius-btn: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  color: var(--emerald);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

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

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.bg-ivory { background: var(--ivory); }
.bg-emerald { background: var(--emerald); color: var(--ivory); }
.bg-white { background: var(--white); }

.bg-emerald h1, .bg-emerald h2, .bg-emerald h3 { color: var(--ivory); }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1em;
}
.bg-emerald .eyebrow { color: var(--champagne); }

.muted { color: var(--muted); }
.bg-emerald .muted { color: #CBD6CF; }

.lede {
  font-size: 1.15rem;
  max-width: 640px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

.btn-primary {
  background: var(--emerald);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--emerald-hover); }

.btn-secondary {
  background: var(--white);
  color: var(--emerald);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--emerald); }

.bg-emerald .btn-primary {
  background: var(--champagne);
  color: var(--emerald);
}
.bg-emerald .btn-primary:hover { background: #e3d3ad; }

.bg-emerald .btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246,242,234,0.4);
}
.bg-emerald .btn-secondary:hover { border-color: var(--ivory); }

/* Header */
.site-header {
  background: var(--emerald);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.logo svg { width: 32px; height: 32px; }
.logo.on-light { color: var(--emerald); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: var(--ivory);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}
.main-nav a:hover { opacity: 1; }
.main-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom: 2px solid var(--champagne);
  padding-bottom: 4px;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--emerald);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    border-top: 1px solid rgba(246,242,234,0.15);
  }
  .main-nav.open { display: flex; }
  .nav-actions {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--emerald);
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px 24px;
    gap: 12px;
    display: none;
  }
  .nav-actions.open { display: flex; }
  .nav-actions .btn { width: 100%; justify-content: center; }
  .menu-toggle { display: inline-flex; }
}

/* Hero */
.hero {
  padding: 72px 0 96px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}
.hero h1 { color: var(--ivory); }
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Kernpunten strip */
.kernpunten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .kernpunten { grid-template-columns: 1fr; }
}
.kernpunt h3 { margin-bottom: 0.4em; }
.kernpunt .icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  color: var(--emerald);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(15,59,47,0.08);
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}
.card .icon {
  width: 32px; height: 32px;
  color: var(--emerald);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0; color: var(--muted); }

.grid-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-weight: 600;
  color: var(--emerald);
}
.grid-link:hover { text-decoration: underline; }

/* Collab / exact / dev sections */
.points-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.points-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--champagne);
}
.points-row span svg { width: 18px; height: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-visual { order: 1; }
@media (max-width: 900px) {
  .two-col.reverse .col-text,
  .two-col.reverse .col-visual { order: initial; }
}

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 640px;
}

/* CTA */
.cta {
  text-align: center;
}
.cta .lede { margin: 0 auto 32px; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--emerald);
  color: var(--ivory);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,242,234,0.15);
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-slogan {
  margin-top: 12px;
  color: var(--champagne);
  font-weight: 500;
}
.footer-col h4 {
  color: var(--ivory);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a {
  color: #CBD6CF;
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: #9FB0A7;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== App mock (nagemaakte schermen) ===== */
.app-mock {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
  box-shadow: 0 20px 60px rgba(15,59,47,0.18);
}
.app-mock-bar {
  background: var(--emerald);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.app-mock-bar .logo { font-size: 0.9rem; }
.app-mock-bar .logo svg { width: 24px; height: 24px; }
.app-mock-nav {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: center;
}
.app-mock-nav span {
  color: #CBD6CF;
  font-size: 0.78rem;
  font-weight: 500;
}
.app-mock-nav span.active { color: var(--champagne); }
.app-mock-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-mock-search {
  background: rgba(246,242,234,0.12);
  border-radius: 6px;
  width: 90px;
  height: 22px;
}
.app-mock-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--champagne);
}
.app-mock-body {
  padding: 24px;
}
.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 560px) {
  .app-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.app-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.app-stat .label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.app-stat .value {
  font-weight: 600;
  font-size: 1.05rem;
}
.app-stat .value.overdue { color: var(--red); }
.app-stat .sub {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}
.app-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.app-table h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 12px;
}
.app-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  align-items: center;
  white-space: nowrap;
}
.app-row:first-child { border-top: none; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  justify-self: start;
}
.pill-open { background: var(--pill-open-bg); color: var(--pill-open-text); }
.pill-overdue { background: var(--pill-overdue-bg); color: var(--pill-overdue-text); }
.pill-paid { background: var(--pill-paid-bg); color: var(--pill-paid-text); }
.pill-draft { background: var(--pill-draft-bg); color: var(--pill-draft-text); }

.app-renewals {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.app-renewals h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 12px;
}
.app-renewal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}
.app-renewal-row:first-child { border-top: none; }
.app-renewal-row .date { color: var(--muted); width: 50px; flex-shrink: 0; }
.app-renewal-row .amount { font-weight: 600; }

.mini-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}
.mini-mock h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 14px;
}

.screenshot-placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--white);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
}
.price-card.featured {
  border-color: var(--emerald);
  box-shadow: 0 8px 32px rgba(15,59,47,0.12);
}
.price-label {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--champagne);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}
.price-card .price {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 16px 0;
}
.price-card .price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}
.price-card ul { margin: 24px 0; }
.price-card ul li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.price-card ul li:first-child { border-top: none; }
.price-card .btn { width: 100%; justify-content: center; }

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--emerald);
}
.field textarea { resize: vertical; min-height: 120px; }
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.contact-details {
  margin-top: 8px;
}
.contact-details dt {
  font-weight: 600;
  margin-top: 16px;
}
.contact-details dd { margin: 4px 0 0; color: var(--muted); }

/* Placeholder page (privacy / voorwaarden) */
.legal-page .container { max-width: 760px; }

/* Thank-you page */
.thanks-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.thanks-box .icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  color: var(--emerald);
}
