/* SaaS Kortrijk — styles */
:root {
  --bg: #0b0f1a;
  --bg-2: #0f1424;
  --bg-3: #141a30;
  --panel: #131933;
  --panel-2: #181f3d;
  --line: #232a4e;
  --line-2: #2c3460;
  --text: #e6e9f5;
  --muted: #9aa3c7;
  --muted-2: #707aa1;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --good: #34d399;
  --shadow: 0 10px 40px -10px rgba(124, 92, 255, .35);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 12px; z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(11, 15, 26, .72);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; letter-spacing: -.01em; font-size: 18px;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-dot { color: var(--accent-2); }
.nav {
  display: flex; align-items: center; gap: 22px;
}
.nav a {
  color: var(--muted);
  font-size: 14.5px;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { padding: 8px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  color: #0b0f1a;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: var(--shadow);
}
.btn-primary:hover { color: #0b0f1a; }
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--panel); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { position: relative; z-index: 2; }
.hero-bg {
  position: absolute; inset: -10% -10% auto -10%;
  height: 600px; pointer-events: none; z-index: 1;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(124, 92, 255, .35), transparent 60%),
    radial-gradient(500px 240px at 85% 0%, rgba(34, 211, 238, .25), transparent 60%),
    radial-gradient(400px 220px at 50% 100%, rgba(244, 114, 182, .18), transparent 60%);
  filter: blur(10px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin: 0 0 14px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 8px 0 18px;
  font-weight: 800;
}
.grad {
  background: linear-gradient(135deg, #22d3ee, #7c5cff 55%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: #c8cee6; max-width: 780px; margin: 0 0 28px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; max-width: 640px;
}
.stat {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.stat-num {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
}
.stat-label { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 24px; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 6px; letter-spacing: -.01em;
}
.section-head p { color: var(--muted); margin: 0; }

/* Controls */
.controls {
  display: grid; gap: 14px; margin-bottom: 28px;
}
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 12px; color: var(--muted);
  transition: border-color .15s, background .15s;
}
.search:focus-within { border-color: var(--accent); background: var(--panel-2); }
.search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit;
}
.filter-group {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  appearance: none; cursor: pointer;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active {
  color: #0b0f1a; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: transparent; font-weight: 600;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .15s ease, border-color .15s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.5);
}
.card-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.logo {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-grid; place-items: center; flex: 0 0 44px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(34, 211, 238, .2));
  color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.02em;
  border: 1px solid var(--line-2);
}
.card h3 {
  margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.card .city {
  font-size: 12.5px; color: var(--muted);
}
.card p {
  margin: 8px 0 14px; color: #c8cee6; font-size: 14.5px; line-height: 1.5;
}
.card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.tag {
  font-size: 11.5px; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 6px;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.card-link {
  color: var(--accent-2); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { text-decoration: none; color: var(--text); }
.card-source {
  display: block; margin-top: 10px;
  font-size: 11.5px; color: var(--muted-2);
  letter-spacing: .02em;
}
.card-source:hover { color: var(--good); text-decoration: none; }
.chip-count {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px; min-width: 16px;
  font-size: 11px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  font-weight: 600;
}
.chip.is-active .chip-count { background: rgba(11,15,26,.18); color: #0b0f1a; }
.cat-pill {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 6px; font-weight: 700;
  color: #0b0f1a;
}
.cat-saas      { background: #22d3ee; }
.cat-agency    { background: #f472b6; }
.cat-hosting   { background: #34d399; }
.cat-martech   { background: #fbbf24; }
.cat-hrtech    { background: #a78bfa; }
.cat-ecommerce { background: #fb923c; }
.cat-hub       { background: #94a3b8; }
.cat-industry-tech { background: #60a5fa; }

.empty {
  text-align: center; padding: 36px; color: var(--muted);
  background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* Map */
.map {
  height: 520px; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.leaflet-popup-content-wrapper {
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 12px;
}
.leaflet-popup-tip { background: var(--panel-2); }
.leaflet-popup-content { margin: 12px 14px; font: inherit; }
.leaflet-popup-content strong { display: block; margin-bottom: 4px; }
.leaflet-popup-content a { color: var(--accent-2); }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.about-grid h2 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); }
.list { padding-left: 20px; }
.list li { margin-bottom: 6px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line); padding: 30px 0; margin-top: 20px;
  background: var(--bg-2);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start;
  font-size: 14px; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* Responsive */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .map { height: 420px; }
}
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
}
