/**
 * Embrace Design System — Huisstijl CSS
 * =========================================
 * Versie: 1.0 · april 2026
 * Auteur: Edwin Cnossen, Product Management
 *
 * Gebruik:
 *   <link rel="stylesheet" href="embrace-style.css">
 *
 * Bevat:
 *   1. Reset & base
 *   2. Achtergrond glows
 *   3. Layout (sidebar + content)
 *   4. Sidebar navigatie (sn-*)
 *   5. Taalswitch (lang-nl / lang-en)
 *   6. Logo-bar & version-badge
 *   7. Hero-componenten
 *   8. Typografie-hiërarchie (Poppins)
 *   9. Cards & badges
 *  10. Tabel-stijlen
 *  11. Sectiescheidingen
 *  12. Kleur-tokens
 */


/* ═══════════════════════════════════════════
   1. RESET & BASE
   ═══════════════════════════════════════════ */

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

body {
  font-family: 'Poppins', sans-serif;
  background: #07091a;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: #93c5fd; text-decoration: none; }
a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════
   2. ACHTERGROND GLOWS
   ═══════════════════════════════════════════ */

.bg-glow {
  position: fixed;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(12,87,225,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-right {
  position: fixed;
  top: 40%; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Variant voor pagina's zonder sidebar */
.bg-glow-1 {
  position: fixed; top: 5%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(12,87,225,0.13) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.bg-glow-2 {
  position: fixed; bottom: 10%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.09) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}


/* ═══════════════════════════════════════════
   3. LAYOUT
   ═══════════════════════════════════════════ */

/* Content naast sidebar */
.content {
  position: relative;
  z-index: 1;
  width: calc(100% - 220px);
  margin-left: 220px;
  max-width: 1100px;
  padding: 52px 32px 80px;
}

/* Content zonder sidebar (standalone pagina) */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 52px 32px 80px;
}

@media (max-width: 900px) {
  .content {
    margin-left: 0 !important;
    width: 100% !important;
  }
}


/* ═══════════════════════════════════════════
   4. SIDEBAR NAVIGATIE
   ═══════════════════════════════════════════ */

.side-nav {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 220px;
  background: rgba(7,9,26,0.97);
  border-right: 1px solid rgba(255,255,255,0.07);
  z-index: 500;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  padding: 20px 0 40px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.side-nav::-webkit-scrollbar { width: 3px; }
.side-nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

/* Logo blok bovenin sidebar (injecteerd door sidebar.js) */
.sn-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px; flex-shrink: 0;
}
.sn-logo-mark {
  width: 26px; height: 26px;
  background: #0C57E1; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: white; flex-shrink: 0;
}
.sn-logo-text {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75);
}

/* Groepslabels */
.sn-group-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
  padding: 12px 16px 4px 16px;
}

/* Navigatie-items */
.sn-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 16px;
  font-size: 11.5px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-left: 2px solid transparent;
}
.sn-item:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.sn-item.active {
  color: #93c5fd;
  border-left-color: #3b82f6;
  background: rgba(12,87,225,0.1);
  font-weight: 600;
}
.sn-item.done  { color: rgba(110,231,183,0.7); }
.sn-item.done:hover { color: #6ee7b7; }
.sn-item.future { color: rgba(255,255,255,0.25); }

.sn-item-icon {
  font-size: 13px; flex-shrink: 0; width: 16px; text-align: center;
}

/* Scheidingslijn */
.sn-divider {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 8px 16px;
}

/* Status-badges rechts in item */
.sn-badge {
  margin-left: auto; font-size: 8px; font-weight: 700;
  padding: 1px 6px; border-radius: 4px; flex-shrink: 0;
}
.sn-badge.todo { background: rgba(245,158,11,0.2); color: #fcd34d; }
.sn-badge.new  { background: rgba(12,87,225,0.25); color: #93c5fd; }

@media (max-width: 900px) {
  .side-nav { display: none; }
}


/* ═══════════════════════════════════════════
   5. TAALSWITCH
   ═══════════════════════════════════════════ */

/* Standaard: NL zichtbaar, EN verborgen */
.lang-en { display: none; }
html[lang="en"] .lang-nl { display: none; }
html[lang="en"] .lang-en { display: revert; }

/* Knop-widget (injecteerd door sidebar.js) */
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 3px;
}
.lang-btn {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 5px;
  border: none; cursor: pointer;
  background: transparent; color: rgba(255,255,255,0.35);
  transition: all 0.15s;
}
.lang-btn:hover { color: rgba(255,255,255,0.7); }
.lang-btn.active {
  background: rgba(12,87,225,0.5);
  color: white;
}


/* ═══════════════════════════════════════════
   6. LOGO-BAR & VERSION BADGE
   ═══════════════════════════════════════════ */

.logo-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.logo-embrace {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.logo-mark {
  width: 32px; height: 32px;
  background: #0C57E1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: white;
}

.version-badge,
.version-pill {
  font-size: 10px; color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 12px; border-radius: 20px;
  letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   7. HERO-COMPONENTEN
   ═══════════════════════════════════════════ */

.hero { margin-bottom: 52px; }
.hero.centered { text-align: center; }

.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #60a5fa; margin-bottom: 14px;
}

.hero-title {
  font-size: 48px; font-weight: 600;
  line-height: 1.07; letter-spacing: -0.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 60%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub,
.hero-lead {
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75; max-width: 660px;
  margin-bottom: 28px;
}
.hero.centered .hero-sub { margin-left: auto; margin-right: auto; }

.hero-lead strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,0.35);
}
.hero-meta-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}


/* ═══════════════════════════════════════════
   8. TYPOGRAFIE-HIËRARCHIE (Poppins v3)
   ═══════════════════════════════════════════ */

p, li, td,
.body-text, .lead, .hero-lead, .doc-subtitle,
.layer-desc, .aanleiding-body, .phase-desc,
.sn-item { font-weight: 300 !important; }

h1, .hero-title, .page-title { font-weight: 600 !important; letter-spacing: -0.5px; }
h2, .section-title           { font-weight: 500 !important; }
h3, .subsection-title, .card-title,
    .layer-title, .phase-title,
    .doc-title               { font-weight: 400 !important; }

strong, b                    { font-weight: 600 !important; }

.sn-group-label, .meta-label,
.topbar-title                { font-weight: 500 !important; }


/* ═══════════════════════════════════════════
   9. CARDS & BADGES
   ═══════════════════════════════════════════ */

/* Generieke info-card */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 22px;
}

/* Kleur-varianten */
.card.blue   { background: rgba(12,87,225,0.1);   border-color: rgba(12,87,225,0.3);   }
.card.purple { background: rgba(124,58,237,0.1);  border-color: rgba(124,58,237,0.3);  }
.card.green  { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); }
.card.amber  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); }

/* Chips / pills */
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.chip.blue   { background: rgba(12,87,225,0.25);  color: #93c5fd;  border: 1px solid rgba(12,87,225,0.4);  }
.chip.purple { background: rgba(124,58,237,0.15); color: #c4b5fd;  border: 1px solid rgba(124,58,237,0.3); }
.chip.green  { background: rgba(16,185,129,0.15); color: #6ee7b7;  border: 1px solid rgba(16,185,129,0.3); }
.chip.white  { background: rgba(255,255,255,0.08);color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }
.chip.amber  { background: rgba(245,158,11,0.15); color: #fcd34d;  border: 1px solid rgba(245,158,11,0.3); }

/* Status-badges */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 10px; letter-spacing: 0.3px;
}
.badge.embrace { background: #0C57E1; color: white; }
.badge.aareon  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15); }
.badge.concept { background: rgba(245,158,11,0.2);  color: #fcd34d; }
.badge.live    { background: rgba(16,185,129,0.2);  color: #6ee7b7; }


/* ═══════════════════════════════════════════
   10. TABEL-STIJLEN
   ═══════════════════════════════════════════ */

table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
td {
  padding: 11px 14px;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
tr:hover td { background: rgba(255,255,255,0.02); }

.table-wrap {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
  margin-bottom: 32px;
}


/* ═══════════════════════════════════════════
   11. SECTIESCHEIDINGEN
   ═══════════════════════════════════════════ */

.section-divider {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-divider-line {
  flex: 1; height: 1px;
  background: rgba(255,255,255,0.07);
}
.section-divider-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

hr.divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.07);
  margin: 40px 0;
}


/* ═══════════════════════════════════════════
   12. KLEUR-TOKENS (referentie)
   ═══════════════════════════════════════════ */
/*
  Achtergrond:   #07091a
  Embrace-blauw: #0C57E1
  Tekst hoofd:   white
  Tekst sub:     rgba(255,255,255,0.6)
  Tekst muted:   rgba(255,255,255,0.35)
  Accent blauw:  #93c5fd  (light)  / #3b82f6 (mid)
  Accent paars:  #c4b5fd
  Accent groen:  #6ee7b7
  Accent amber:  #fcd34d
  Border:        rgba(255,255,255,0.08)
  Border actief: rgba(255,255,255,0.15)
  Card BG:       rgba(255,255,255,0.04)
*/
