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

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0A0A0A;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===========================
   VARIABLES
=========================== */
:root {
  --purple: #7C3AED;
  --purple-d: #5B21B6;
  --orange: #E8590C;
  --dark: #0A0A0A;
  --mid: #3D3D3D;
  --muted: #767676;
  --border: #E5E5E5;
  --surface: #F5F5F5;
  --white: #FFFFFF;
  --max: 1200px;
  --ease: 0.2s ease;
}

/* ===========================
   LAYOUT
=========================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ===========================
   TOP BAR (disclaimer)
=========================== */
.topbar {
  background: #0A0A0A;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 0;
  text-align: center;
}
.topbar a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.topbar strong { color: rgba(255,255,255,0.9); }

/* ===========================
   NAVIGATION
=========================== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.logo-name em { font-style: normal; color: var(--purple); }
.logo-sub {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--ease);
}
.nav-links a:hover { color: var(--dark); background: var(--surface); }
.nav-links a.active { color: var(--purple); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--purple);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--purple-d); }
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.ham span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--ease); }
.mob-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mob-nav.open { display: flex; }
.mob-close {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--mid);
  background: none;
  border: none;
  margin-bottom: 16px;
}
.mob-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

/* ===========================
   BADGES / TAGS
=========================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-cat { background: #EDE9FE; color: var(--purple); }
.tag-new { background: #FEF3C7; color: #92400E; }
.tag-hot { background: #FEE2E2; color: #B91C1C; }
.tag-free { background: #DCFCE7; color: #166534; }

/* ===========================
   HOMEPAGE — FEATURED ARTICLE
=========================== */
.featured {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: start;
}
.featured-img {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  position: relative;
}
.featured-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.img-grad-1 { background: linear-gradient(135deg, #1a0533 0%, #7C3AED 60%, #c084fc 100%); }
.img-grad-2 { background: linear-gradient(135deg, #0f0f0f 0%, #3D3D3D 100%); }
.img-grad-3 { background: linear-gradient(135deg, #1e1b4b 0%, #7C3AED 100%); }
.img-grad-4 { background: linear-gradient(135deg, #0c0c0c 0%, #374151 100%); }
.img-grad-5 { background: linear-gradient(135deg, #1a0533 0%, #5B21B6 100%); }

.featured-content { display: flex; flex-direction: column; gap: 16px; }
.featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}
.featured-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.featured-title a:hover { color: var(--purple); }
.featured-excerpt {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.7;
}
.featured-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--purple);
  margin-top: 4px;
  transition: gap var(--ease);
}
.featured-readmore:hover { gap: 10px; }

/* ===========================
   SECTION HEADERS
=========================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 20px;
}
.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header h2::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}
.see-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover { text-decoration: underline; }

/* ===========================
   ARTICLE GRID (cards)
=========================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--ease), transform var(--ease);
}
.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.card-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--dark);
  flex: 1;
}
.article-card:hover .card-title { color: var(--purple); }
.card-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.card-footer {
  padding: 0 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}
.read-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===========================
   ARTICLES — LIST STYLE
=========================== */
.articles-list { display: flex; flex-direction: column; }
.list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.list-item:last-child { border-bottom: none; }
.list-thumb {
  width: 100px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.list-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.list-content { display: flex; flex-direction: column; gap: 6px; }
.list-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}
.list-item:hover .list-title { color: var(--purple); }
.list-meta { font-size: 0.75rem; color: var(--muted); }

/* ===========================
   EBOOK BANNER
=========================== */
.ebook-banner {
  background: #0A0A0A;
  border-radius: 12px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.ebook-banner h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 8px;
}
.ebook-banner p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.ebook-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(124,58,237,0.3);
  border: 1px solid rgba(124,58,237,0.5);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C4B5FD;
  margin-bottom: 12px;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-white:hover { background: #F5F5F5; }
.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--purple);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-purple:hover { background: var(--purple-d); }
.btn-purple-lg {
  padding: 15px 30px;
  font-size: 1rem;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* ===========================
   NEWSLETTER
=========================== */
.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  margin: 40px 0 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.newsletter-text p { color: var(--muted); font-size: 0.95rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  background: white;
  transition: border-color var(--ease);
}
.nl-input:focus { border-color: var(--purple); }
.nl-note { font-size: 0.75rem; color: var(--muted); }
.nl-success { display: none; padding: 16px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 8px; color: #166534; font-size: 0.9rem; font-weight: 600; }

/* ===========================
   FOOTER
=========================== */
.footer { background: #0A0A0A; padding: 56px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand .logo-name { color: white; font-size: 1.2rem; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 16px; }
.footer-disc {
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: color var(--ease); }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ===========================
   ARTICLE PAGE
=========================== */
.article-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--purple); }
.breadcrumb span { color: var(--border); }
.article-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 20px;
  max-width: 820px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.article-meta strong { color: var(--dark); font-weight: 600; }
.meta-sep { color: var(--border); }
.article-cover {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1A1A1A;
}
.article-body p { margin-bottom: 1.6rem; }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 2.8rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.6rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { font-weight: 700; color: var(--dark); }
.article-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  background: #F5F3FF;
  border-left: 3px solid var(--purple);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.callout p { color: var(--mid); margin: 0; font-size: 0.97rem; }
.callout strong { color: var(--purple); }
.article-ebook-cta {
  background: #0A0A0A;
  border-radius: 12px;
  padding: 32px;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.article-ebook-cta-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.article-ebook-cta-text p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
}
.article-ebook-icon { font-size: 2.5rem; flex-shrink: 0; }

/* Related articles */
.related { padding: 48px 0; border-top: 1px solid var(--border); margin-top: 32px; }
.related h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related h2::after { content: ''; display: inline-block; width: 24px; height: 3px; background: var(--purple); border-radius: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .featured-inner { grid-template-columns: 1fr; gap: 24px; }
  .featured-img { height: 240px; order: -1; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .ham { display: flex; }
  .articles-grid { grid-template-columns: 1fr; }
  .ebook-banner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .article-title { font-size: 1.8rem; }
  .article-cover { height: 240px; }
  .article-ebook-cta { flex-direction: column; gap: 16px; }
  .nl-row { flex-direction: column; }
}

/* ===========================
   ARTIKEL OVERZICHT GRID
=========================== */
.compact-section {
  background: var(--g50);
  padding: 56px 0 64px;
  border-top: 1px solid var(--border);
}
.compact-section .section-header { padding-top: 0; padding-bottom: 28px; }

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ctile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ctile:hover {
  box-shadow: 0 6px 28px rgba(124,58,237,.13);
  transform: translateY(-2px);
  border-color: rgba(124,58,237,.25);
}
/* coloured accent strip on left */
.ctile-accent {
  width: 5px;
  flex-shrink: 0;
}
.ca-hot  { background: linear-gradient(180deg,#EF4444,#DC2626); }
.ca-cat  { background: linear-gradient(180deg,#7C3AED,#5B21B6); }
.ca-live { background: linear-gradient(180deg,#EF4444,#DC2626); }
.ca-ana  { background: linear-gradient(180deg,#FF6B35,#E85A28); }
.ca-reg  { background: linear-gradient(180deg,#22C55E,#16A34A); }

.ctile-thumb {
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.ctile-thumb svg { display: block; width: 100%; height: 100%; }

.ctile-body {
  flex: 1;
  min-width: 0;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ctile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}
.cb-hot  { background: #FEE2E2; color: #B91C1C; }
.cb-cat  { background: #EDE9FE; color: #5B21B6; }
.cb-live { background: #FEE2E2; color: #B91C1C; }
.cb-ana  { background: #FFF0EB; color: #C2410C; }
.cb-reg  { background: #DCFCE7; color: #15803D; }

.ctile-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
  transition: color .18s ease;
}
.ctile:hover .ctile-title { color: var(--purple); }

.ctile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ctile-date {
  font-size: .72rem;
  color: var(--muted);
}
.ctile-arrow {
  font-size: .8rem;
  font-weight: 700;
  color: var(--purple);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.ctile:hover .ctile-arrow { opacity: 1; transform: translateX(0); }

@media(max-width:768px){
  .compact-grid { grid-template-columns: 1fr; }
  .ctile-thumb { width: 88px; }
}
