/* BPM Point — alleen homepage (los bestand: browser-cache van main.css omzeilen) */

/* ── HOME (landing) ── */
body.home-body {
  background:
    radial-gradient(ellipse 900px 480px at 50% -20%, rgba(53, 104, 243, 0.14), transparent 55%),
    radial-gradient(ellipse 700px 400px at 100% 30%, rgba(26, 46, 74, 0.08), transparent 45%),
    radial-gradient(ellipse 500px 320px at 0% 70%, rgba(37, 99, 235, 0.06), transparent 50%),
    var(--gray-100);
}

.home-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.home-hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0 2.5rem;
}

@media (min-width: 900px) {
  .home-hero-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem 3rem;
    padding: 2.75rem 0 3rem;
  }
}

.home-hero-copy {
  text-align: center;
}

@media (min-width: 900px) {
  .home-hero-copy {
    text-align: left;
  }
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.1rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #edf3ff 0%, #e0ebff 100%);
  border: 1px solid rgba(53, 104, 243, 0.22);
  color: #1e4db8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.home-hero-copy h1 .home-title-accent {
  display: block;
  margin-top: 0.2em;
  font-weight: 700;
  font-size: 0.82em;
  color: #2563eb;
}

.home-lead {
  color: var(--gray-600);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 900px) {
  .home-lead {
    margin: 0 0 1.6rem;
  }
}

.home-main .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 900px) {
  .home-hero-copy .hero-btns {
    justify-content: flex-start;
  }
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-top: 1.35rem;
  font-size: 12px;
  color: var(--gray-600);
}

@media (min-width: 900px) {
  .home-hero-meta {
    justify-content: flex-start;
  }
}

.home-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-hero-meta kbd {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}

/* Preview card */
.home-preview {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid var(--gray-200);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .home-preview {
    margin: 0;
    max-width: none;
  }
}

.home-preview-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-lt) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.home-preview-dots {
  display: flex;
  gap: 6px;
}

.home-preview-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.home-preview-dots i:first-child {
  background: #f87171;
}

.home-preview-dots i:nth-child(2) {
  background: #fbbf24;
}

.home-preview-dots i:nth-child(3) {
  background: #4ade80;
}

.home-preview-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-preview-body {
  padding: 1rem 1.1rem 1.25rem;
}

.home-preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  margin-bottom: 8px;
  font-size: 13px;
}

.home-preview-row:last-child {
  margin-bottom: 0;
  opacity: 0.72;
}

.home-preview-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-lt) 0%, #eff6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.home-preview-row strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

.home-preview-row small {
  display: block;
  color: var(--gray-400);
  font-size: 11px;
}

.home-preview-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--green-lt);
  color: #166534;
}

.home-preview-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(53, 104, 243, 0.12);
  filter: blur(40px);
  bottom: -60px;
  right: -40px;
  pointer-events: none;
}

/* Statistieken */
.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 2.5rem;
}

@media (min-width: 640px) {
  .home-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.home-stat {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.home-stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.home-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-top: 0.35rem;
}

/* Stappen */
.home-section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-section-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.home-section-head p {
  margin-top: 0.35rem;
  color: var(--gray-600);
  font-size: 14px;
}

.home-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 2.75rem;
}

@media (min-width: 720px) {
  .home-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.home-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
}

.home-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a73 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.home-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.home-step p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Features */
.home-features {
  display: grid;
  gap: 14px;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .home-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .home-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-feature {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow);
}

@supports (backdrop-filter: blur(8px)) {
  .home-feature {
    backdrop-filter: blur(8px);
  }
}

.home-feature-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.home-feature h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.home-feature p {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── Analytics (maandoverzicht) ── */
.home-analytics {
  margin-bottom: 2.75rem;
}

.home-analytics-summary {
  margin-bottom: 1.25rem;
}

.home-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 720px) {
  .home-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.home-kpi {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 0.9rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.home-kpi--accent {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}

.home-kpi-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.home-kpi--accent .home-kpi-val {
  color: #1d4ed8;
}

.home-kpi-lbl {
  display: block;
  margin-top: 0.35rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  line-height: 1.35;
}

.home-chart-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.home-chart-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.home-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  min-height: 160px;
  padding: 0.25rem 0 0;
  border-bottom: 1px solid var(--gray-200);
}

.home-chart-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.home-chart-bar-wrap {
  position: relative;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  margin-bottom: 4px;
}

.home-chart-bar {
  width: 100%;
  min-height: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1e40af 100%);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: height 0.25s ease;
}

.home-chart-col:last-child .home-chart-bar {
  background: linear-gradient(180deg, #34d399 0%, #16a34a 50%, #15803d 100%);
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.28);
}

.home-chart-val {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-chart-lbl {
  font-size: 9px;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .home-chart-lbl {
    font-size: 10px;
    white-space: normal;
    line-height: 1.25;
    min-height: 2.4em;
  }
}

.home-analytics-note {
  margin-top: 0.75rem;
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.45;
}

.home-analytics-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow);
}

.home-analytics-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.home-analytics-tbl th,
.home-analytics-tbl td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.home-analytics-tbl th {
  background: var(--gray-50);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}

.home-analytics-tbl tbody tr:last-child td {
  border-bottom: none;
}

.home-tbl-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.home-tbl-current {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.9) 0%, transparent 100%);
}

.home-tbl-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--green-lt);
  color: #166534;
  vertical-align: middle;
}

.home-tbl-empty {
  text-align: center;
  color: var(--gray-600);
  padding: 1.5rem 1rem !important;
}

/* CTA */
.home-cta {
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(125deg, var(--navy) 0%, #1e3a5f 48%, var(--navy-lt) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(26, 46, 74, 0.25);
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse 400px 200px at 80% 0%, rgba(96, 165, 250, 0.2), transparent 60%);
  pointer-events: none;
}

.home-cta-inner {
  position: relative;
  z-index: 1;
}

.home-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.home-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.15rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.home-cta .hero-btns {
  justify-content: center;
}

.home-cta .btn-primary {
  background: #fff;
  color: var(--navy);
}

.home-cta .btn-primary:hover {
  background: var(--gray-100);
}

.home-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.home-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Compat oude class */
.home-hero {
  max-width: 600px;
  margin: 4.5rem auto;
  text-align: center;
  padding: 2rem 1.5rem 2.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88));
  border: 1px solid #d9e5f7;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.home-hero h1 span {
  color: #3568f3;
}

.home-hero p {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 2rem;
}
