/* Landing page — BlokjeKaas */

[data-theme="light"] .bg-orbs span {
  opacity: 0.2;
}

/* Stats showcase */
.stats-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 32px auto 0;
}

.stat-item {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.why-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: 0.2s ease;
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .stats-showcase { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orb-drift 20s ease-in-out infinite;
}

.bg-orbs span:nth-child(1) {
  width: 480px;
  height: 480px;
  top: -10%;
  left: -8%;
  background: rgba(88, 101, 242, 0.3);
}

.bg-orbs span:nth-child(2) {
  width: 360px;
  height: 360px;
  top: 20%;
  right: -6%;
  background: rgba(0, 212, 170, 0.2);
  animation-delay: -7s;
  animation-duration: 24s;
}

.bg-orbs span:nth-child(3) {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: 30%;
  background: rgba(88, 101, 242, 0.2);
  animation-delay: -14s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.bk-nav.is-scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .bk-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.bk-hero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: 72px 0;
}

.hero-left h1 {
  max-width: 640px;
  margin-top: 20px;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-left h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5865F2, #00D4AA);
}

.hero-text {
  max-width: 540px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.glow-button, .quiet-button {
  min-height: 50px;
  min-width: 150px;
  border-radius: var(--radius);
  font-size: 15px;
}

.mini-metrics {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.mini-metrics div {
  min-width: 100px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.mini-metrics strong {
  display: block;
  color: var(--teal);
  font-size: 22px;
  font-weight: 900;
}

.mini-metrics span {
  color: var(--text-muted);
  font-size: 12px;
}

.hero-right {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.scan-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(88, 101, 242, 0.12);
}

.main-scan-card {
  width: min(480px, 100%);
  overflow: hidden;
}

.scan-top {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.scan-top div { display: flex; gap: 7px; }

.scan-top i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5865F2;
}

.scan-top i:nth-child(2) { background: #00D4AA; }
.scan-top i:nth-child(3) { background: #22c55e; }

.scan-top span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scan-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 10px;
  font-weight: 800;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.15);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(0, 212, 170, 0.05); }
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 20px 16px;
}

.scan-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.scan-grid small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.scan-grid b { display: block; margin-top: 4px; font-size: 13px; }

.scan-lines {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-family: Consolas, monospace;
  font-size: 13px;
  line-height: 1.9;
}

.scan-lines p { margin: 0; color: var(--text-dim); }
.scan-lines span { display: inline-flex; min-width: 32px; font-weight: 800; }
.line-ok { color: var(--success); }
.line-warn { color: var(--warning); }
.line-err { color: var(--error); }

.verdict-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px 20px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.15), rgba(0, 212, 170, 0.08));
  border: 1px solid rgba(88, 101, 242, 0.2);
}

.verdict-bar strong {
  color: var(--warning);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.floating-card {
  position: absolute;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.floating-card span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.floating-card strong { display: block; margin-top: 2px; font-size: 20px; }
.card-a { left: 0; bottom: 60px; }
.card-b { right: 0; top: 60px; }

.ticker-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.ticker-track {
  display: flex;
  gap: 48px;
  padding: 14px 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bk-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.bento-card {
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.bento-card.large { grid-row: span 2; }
.bento-card.wide { grid-column: span 2; }

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.25), rgba(0, 212, 170, 0.12));
  color: #a5b4fc;
  font-weight: 900;
  font-size: 14px;
}

.bento-card h3 { margin-top: 20px; font-size: 18px; font-weight: 800; }
.bento-card p { margin-top: 10px; color: var(--text-dim); line-height: 1.6; font-size: 14px; }

.progress-line {
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5865F2, #00D4AA);
}

.workflow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.workflow-row span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  background: var(--surface-2);
}

.pricing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-card span { color: var(--text-dim); font-weight: 700; }
.price-card strong { font-size: 22px; }

.price-card a {
  padding: 9px 14px;
  border-radius: var(--radius);
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
}

.price-card.featured {
  border-color: rgba(0, 212, 170, 0.35);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), var(--surface));
}

.download-panel {
  min-height: 400px;
  display: grid;
  place-items: center;
}

.section-head.compact { margin-bottom: 28px; }

.pin-component {
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pin-dot {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5865F2, #3b45a8);
  position: relative;
}

.pin-dot::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--teal);
}

.pin-component input {
  height: 48px;
  font-family: Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.pin-component button {
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.pin-component button:hover { background: var(--accent-hover); }
.pin-component button:disabled { opacity: 0.6; cursor: not-allowed; }

.bk-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
}

.bk-footer p { max-width: 420px; font-size: 14px; }
.bk-footer div { display: flex; gap: 16px; }
.bk-footer a { color: var(--text-dim); font-weight: 700; font-size: 14px; }
.bk-footer a:hover { color: var(--text); }

.page-hero { padding: 56px 0 32px; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 600px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 17px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: translateY(0); }
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Toast */
.bk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.bk-toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.bk-toast.is-error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card .review-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-card .review-content {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-card .review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.review-card .review-name {
  font-weight: 700;
  font-size: 14px;
}

.review-card .review-role {
  color: var(--text-muted);
  font-size: 12px;
}

@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .bk-hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-right { min-height: 380px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.large, .bento-card.wide { grid-column: auto; grid-row: auto; }
  .pricing-strip { grid-template-columns: 1fr; }
  .bk-footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bk-nav { flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 12px; }
  .bk-links { width: 100%; overflow-x: auto; }
  .hero-left h1 { font-size: 36px; }
  .hero-buttons, .mini-metrics { flex-direction: column; }
  .glow-button, .quiet-button { width: 100%; }
  .floating-card { display: none; }
  .scan-grid, .bento-grid, .workflow-row, .pin-component { grid-template-columns: 1fr; }
  .pin-component { padding: 24px; }
  .pin-dot { display: none; }
  .price-card { flex-direction: column; align-items: flex-start; }
}
