/* ── Design tokens (zelfde als datapartner365.nl) ── */
:root {
  --primary-color:   #1B2232;
  --nav-hover:       #252F47;
  --nav-active:      #2D3A56;
  --nav-text:        #9BA8BC;
  --secondary-color: #2563eb;
  --accent:          #2563eb;
  --accent-hover:    #1d4ed8;
  --accent-light:    #eef4fd;
  --light-blue:      #F4F5F7;
  --light-color:     #F8F9FA;
  --card-bg:         #FFFFFF;
  --hover-bg:        #F0F6FF;
  --dark-color:      #1B2232;
  --text-color:      #111827;
  --text-light:      #6B7280;
  --text-muted:      #9CA3AF;
  --border:          #E5E7EB;
  --success-color:   #10B981;
  --radius:          12px;
  --radius-sm:       8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--accent-light);
  padding-top: 52px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* ========== NAVBAR ========== */
.navbar {
  background: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 16px;
}

.nav-brand {
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-brand:hover { color: #fff; }

.nav-separator {
  color: rgba(255,255,255,0.35);
  font-size: 1rem;
  font-weight: 300;
  user-select: none;
}

.nav-active-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

.nav-active-name span { color: var(--secondary-color); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.82rem;
  color: var(--nav-text);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--nav-hover);
  color: #D0D8E8;
}

.nav-cta {
  background: var(--secondary-color);
  color: #fff !important;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a6e 100%);
  color: white;
  padding: 80px 24px 72px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero h1 span { color: #60a5fa; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ========== FILTERBALK ========== */
.filter-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 52px;
  z-index: 100;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar { display: none; }

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-light);
  white-space: nowrap;
  transition: all 0.18s;
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.filter-pill.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

/* ========== DASHBOARD GRID ========== */
.dashboard-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 32px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.dashboard-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.dashboard-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.12);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.card-header {
  padding: 18px 20px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-woning   { background: #eff6ff; color: #1d4ed8; }
.badge-auto     { background: #f0fdf4; color: #15803d; }
.badge-arbeid   { background: #faf5ff; color: #7e22ce; }
.badge-energie  { background: #fffbeb; color: #b45309; }
.badge-aandelen { background: #fff1f2; color: #be123c; }
.badge-retail   { background: #ecfdf5; color: #065f46; }

.card-body {
  padding: 0 20px 12px;
  flex: 1;
}

.card-body h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.card-body p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.5;
}

.chart-wrapper {
  padding: 0 16px;
  height: 120px;
  position: relative;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.card-footer-date {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-footer-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.dashboard-card:hover .card-footer-link { gap: 8px; }

/* ========== OVER SECTIE ========== */
.about-section {
  background: #fff;
  padding: 64px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.about-inner > p {
  color: var(--text-light);
  font-size: 0.97rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 680px) {
  .about-blocks { grid-template-columns: 1fr; }
}

.about-block {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid #dbeafe;
  text-align: center;
}

.about-block-icon {
  width: 52px;
  height: 52px;
  background: var(--secondary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: #fff;
}

.about-block h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.about-block p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ========== BLOG CTA ========== */
.blog-cta {
  background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
  padding: 64px 24px;
  text-align: center;
  border-bottom: 1px solid #bfdbfe;
}

.blog-cta h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-cta p {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-bottom: 28px;
}

.btn-cta {
  background: var(--secondary-color);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1em;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-column p,
.footer-column a {
  color: #bdc3c7;
  margin-bottom: 10px;
  display: block;
  transition: color 0.2s;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-column a:hover { color: white; }

.footer-column p i,
.footer-column a i {
  margin-right: 7px;
  opacity: 0.7;
  width: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #bdc3c7 !important;
  font-size: 0.95rem;
  transition: all 0.2s;
  margin-bottom: 0;
}

.social-links a:hover {
  background: var(--secondary-color);
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-initiative {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.55) !important;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: #bdc3c7;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #bdc3c7;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #fff; }

/* ========== HIDDEN CARDS ========== */
.dashboard-card.hidden { display: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .nav-right { display: none; }
  .hero { padding: 56px 20px 52px; }
  .hero h1 { font-size: 1.75rem; }
}
