/* ================= Site-brede layout ================= */
html { scroll-behavior: smooth; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #eef3ff; }
.success { color: var(--ok); font-size: 14px; }

/* Navigatie */
.topbar { gap: 16px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.nav > a:not(.btn):hover, .nav > a.active { background: #eef3ff; color: var(--brand); }
.nav-auth { margin-left: 8px; }
.nav .btn-primary { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.brand small { font-size: .6em; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,30,50,.08); }
  .topbar.open .nav { display: flex; }
  .nav-auth, .nav .btn-primary { margin: 6px 0 0; }
  .nav-auth .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f9ff 0%, var(--bg) 100%); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 72px 24px 88px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.hl { background: linear-gradient(120deg, #2453d6, #2ec5b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; height: 520px; }
.mini { position: relative; overflow: hidden; background: #fff; }
.mini-scale { position: absolute; top: 0; left: 0; transform-origin: top left; width: 210mm; pointer-events: none; }
.tpl-card, .example > * { min-width: 0; }
.hero-visual .mini { position: absolute; width: 300px; border-radius: 6px; box-shadow: 0 24px 60px rgba(20, 30, 60, .2); }
.mini-back { right: 0; top: 0; transform: rotate(6deg); opacity: .9; }
.mini-mid { right: 120px; top: 40px; transform: rotate(-4deg); }
.mini-front { right: 50px; top: 90px; z-index: 2; }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(20,30,60,.16); display: flex; flex-direction: column; font-size: 13px; color: var(--muted); animation: bob 5s ease-in-out infinite; }
.float-card b { color: var(--ink); font-size: 15px; }
.fc-1 { left: 0; bottom: 70px; }
.fc-2 { right: 0; bottom: 10px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* Secties */
.section { padding: 84px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; color: var(--brand); margin: 0 0 8px; text-align: center; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; text-align: center; }
.section-lead { text-align: center; color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 40px; }
.left { text-align: left !important; margin-left: 0 !important; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.steps3 article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: relative; }
.illu { width: 120px; height: 100px; display: block; margin-bottom: 12px; }
.num { position: absolute; top: 22px; right: 24px; width: 34px; height: 34px; border-radius: 50%; background: #eef3ff; color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.steps3 h3 { margin: 0 0 6px; font-size: 19px; }
.steps3 p { margin: 0; color: var(--muted); }

.tpl-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tpl-card { text-decoration: none; color: var(--ink); }
.tpl-card .mini { border-radius: 8px; box-shadow: 0 10px 34px rgba(20,30,60,.13); transition: transform .2s, box-shadow .2s; }
.tpl-card:hover .mini { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20,30,60,.2); }
.tpl-card h3 { margin: 18px 0 4px; }
.tpl-card p { margin: 0; color: var(--muted); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ficon { width: 48px; height: 48px; border-radius: 12px; background: #eef3ff; display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 30px; position: relative; display: flex; flex-direction: column; }
.price-card.featured { background: #fff; border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(36,83,214,.15); }
.price-card h3 { margin: 0; }
.price-big { font-size: 44px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -0.02em; }
.price-big small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card .checks { flex: 1; }
.badge { position: absolute; top: -13px; right: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

.tips-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tips-teaser .eyebrow { text-align: left; }
.tip-list { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; gap: 12px; }
.tip-list li { counter-increment: t; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 62px; position: relative; display: flex; flex-direction: column; }
.tip-list li::before { content: counter(t); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.tip-list span { color: var(--muted); font-size: 14px; }

.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.faq a { color: var(--brand); }

.cta-band { background: linear-gradient(120deg, #1a3fa8, #2453d6 55%, #1f8f9c); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 8px; }
.cta-band p { opacity: .85; margin: 0 0 24px; font-size: 17px; }

.footer { background: #0f1724; color: #aab4c3; padding: 56px 0 24px; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #aab4c3; }
.footer p { font-size: 14px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.footer a:not(.brand) { display: block; color: #aab4c3; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-copy { text-align: center; margin: 40px 0 0; font-size: 13px; opacity: .7; }

/* Inhoudspagina's */
.page-hero { background: linear-gradient(180deg, #f7f9ff, var(--bg)); padding: 64px 0 32px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.page-hero .eyebrow { margin-bottom: 10px; }
.prose { padding-bottom: 72px; font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.prose a { color: var(--brand); }
.prose code { background: #eef3ff; padding: 2px 6px; border-radius: 5px; font-size: 14px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.toc a { color: var(--brand); text-decoration: none; font-size: 15px; }
.numbered li { margin-bottom: 6px; }
.callout { background: #fff8e8; border: 1px solid #ffe0a3; border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.compare > div { border-radius: 12px; padding: 14px 18px; }
.compare p { margin: 6px 0 0; font-size: 15px; }
.compare .bad { background: #fff3f2; border: 1px solid #f6c9c4; }
.compare .bad b { color: var(--danger); }
.compare .good { background: #effaf3; border: 1px solid #bfe6cd; }
.compare .good b { color: var(--ok); }
.grid-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.grid-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; font-size: 15px; }
.grid-tiles span { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 4px; }
.x-list, .check-list { list-style: none; padding: 0; }
.x-list li, .check-list li { padding-left: 30px; position: relative; margin: 8px 0; }
.x-list li::before { content: "✗"; position: absolute; left: 4px; color: var(--danger); font-weight: 800; }
.check-list li::before { content: "☐"; position: absolute; left: 2px; color: var(--brand); }
.cta-inline { background: #fff; border: 2px solid var(--brand); border-radius: 18px; padding: 30px; text-align: center; margin-top: 48px; }
.cta-inline h3 { margin: 0 0 6px; font-size: 22px; }

.examples { padding: 24px 24px 80px; display: grid; gap: 64px; }
.example { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.example.reverse .mini { order: 2; }
.example .mini { border-radius: 8px; box-shadow: 0 16px 44px rgba(20,30,60,.16); }
.example h2 { font-size: 28px; margin: 4px 0 10px; letter-spacing: -0.01em; }
.example p { color: var(--muted); }

/* Login */
.auth-page { max-width: 980px; margin: 0 auto; padding: 56px 24px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 18px 50px rgba(20,30,60,.08); }
.auth-card h1 { font-size: 26px; margin: 0 0 6px; }
.auth-card .muted { margin: 0 0 20px; }
.auth-card a { color: var(--brand); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { border: 0; background: none; padding: 10px; border-radius: 9px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.auth-side h2 { font-size: 24px; margin: 0 0 8px; }
.auth-card .btn-link { margin-top: 8px; padding-left: 0; }

/* Account */
.account { padding: 40px 24px 80px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.account-head h1 { margin: 0; font-size: 30px; }
.account-head p { margin: 4px 0 0; }
.account-sub { margin: 48px 0 14px; font-size: 22px; }
.cv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.cv-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.cv-thumb { display: block; aspect-ratio: 210 / 170; overflow: hidden; background: #eef1f5; border-bottom: 1px solid var(--line); position: relative; }
.cv-card-body { padding: 14px 16px 16px; }
.cv-card-body h3 { margin: 0; font-size: 16px; }
.cv-card-body p { margin: 2px 0 12px; }
.cv-card-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.empty { grid-column: 1 / -1; background: #fff; border: 2px dashed var(--line); border-radius: 16px; padding: 40px; text-align: center; }
.orders { display: grid; gap: 10px; }
.order-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.status { padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.s-open { background: #fff4d6; color: #8a5a00; } .s-betaald { background: #dbe8ff; color: #1a3fa8; } .s-verstuurd { background: #d9f2e3; color: #1e6b3d; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Maker: opslaanbalk */
.save-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.cv-title-input { font-weight: 700; font-size: 17px; border: 1px solid transparent; padding: 6px 8px; margin-left: -8px; max-width: 260px; }
.cv-title-input:hover { border-color: var(--line); }
.save-status { font-size: 13px; color: var(--ok); white-space: nowrap; }
.save-status.bad { color: var(--danger); }
.login-hint { background: #eef3ff; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.login-hint a { color: var(--brand); font-weight: 600; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual .mini { width: 240px; }
  .steps3, .tpl-showcase { grid-template-columns: 1fr; }
  .tpl-showcase { max-width: 380px; margin: 0 auto; }
  .tips-teaser, .auth-page, .example { grid-template-columns: 1fr; }
  .example.reverse .mini { order: 0; }
  .example .mini { max-width: 420px; }
  .pricing { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .features, .compare, .grid-tiles { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .hero-visual .mini { width: 200px; }
  .mini-mid { right: 90px; }
  .order-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Delen in Discord */
.share-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 4px; margin: 4px 0 14px; background: #fafbfe; }
.share-box legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.share-box legend small { font-weight: 400; color: var(--muted); }
.share-opts { padding-left: 22px; }
.share-opts label.check { margin-bottom: 6px; }
