/* Snappie Engine — State-of-the-Art Dark Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ===== Core palette (light-first) ===== */
  --bg: hsl(270, 30%, 98%);
  --bg-2: hsl(270, 25%, 96.5%);
  --surface: hsl(0, 0%, 100%);
  --surface-2: hsl(270, 25%, 97%);
  --surface-3: hsl(270, 20%, 93%);

  --border: hsla(270, 25%, 15%, 0.08);
  --border-strong: hsla(270, 25%, 15%, 0.14);
  --border-accent: hsla(278, 80%, 50%, 0.35);

  --text: hsl(276, 30%, 12%);
  --text-secondary: hsl(275, 14%, 28%);
  --text-muted: hsl(275, 10%, 45%);
  --text-dim: hsl(275, 8%, 62%);

  /* Brand purple (slightly deeper for light-bg contrast) */
  --accent: hsl(278, 85%, 50%);
  --accent-bright: hsl(272, 90%, 58%);
  --accent-soft: hsl(278, 70%, 70%);
  --accent-glow: hsla(278, 95%, 55%, 0.35);
  --accent-glow-soft: hsla(278, 95%, 55%, 0.12);

  /* Semantic */
  --danger: hsl(0, 75%, 52%);
  --danger-glow: hsla(0, 75%, 52%, 0.3);
  --success: hsl(142, 60%, 42%);

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Shape */
  --radius-xs: 0.375rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;

  /* Rhythm */
  --section-y: 5rem;
  --section-y-sm: 4rem;
  --container-px: 1.5rem;

  /* Shadows (visible on light) */
  --shadow-sm: 0 1px 2px rgba(16, 8, 32, 0.05);
  --shadow-md: 0 4px 14px -4px rgba(16, 8, 32, 0.08);
  --shadow-lg: 0 18px 40px -12px rgba(16, 8, 32, 0.12);
  --shadow-glow: 0 0 40px hsla(278, 95%, 55%, 0.18);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Global decorative layers ===== */
.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, hsla(270, 25%, 15%, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, hsla(270, 25%, 15%, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: hsla(0, 0%, 100%, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s ease;
}

header.scrolled {
  background: hsla(0, 0%, 100%, 0.92);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.logo img {
  height: 28px;
  opacity: 0.95;
}

nav ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-heading);
  transition: all 0.15s ease;
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xs);
}

nav a:hover { color: var(--text); background: var(--surface-2); }
nav a.active { color: var(--text); background: var(--surface-2); }

.header-right { display: flex; align-items: center; gap: 1rem; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.825rem; }

.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: 0 1px 2px rgba(16, 8, 32, 0.1);
}

.btn-primary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-accent);
}

/* ===== CHIPS ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

.chip-link:hover {
  border-color: var(--border-accent);
  color: var(--text);
  background: var(--surface-2);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
  position: relative;
}

.chip-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-bright);
  opacity: 0.4;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

.chip-danger { border-color: hsla(0, 80%, 65%, 0.3); background: hsla(0, 80%, 40%, 0.08); color: hsl(0, 80%, 80%); }
.chip-dot-danger { background: var(--danger); box-shadow: 0 0 8px var(--danger-glow); }
.chip-dot-danger::after { background: var(--danger); }

.chip-light { border-color: hsla(0, 0%, 100%, 0.22); background: hsla(0, 0%, 100%, 0.08); color: white; }
.chip-dot-light { background: white; box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.chip-dot-light::after { background: white; }

/* ===== SECTIONS ===== */
.section { padding: var(--section-y) 0; position: relative; }
.section-default { background: var(--bg); }

.section-head {
  max-width: 680px;
  margin-bottom: 4rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-title .text-muted { color: var(--text-muted); font-weight: 700; }

.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, hsla(278, 90%, 70%, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 40%, hsla(250, 80%, 70%, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

.hero-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, hsla(278, 90%, 70%, 0.38) 0%, transparent 70%);
  top: -20%;
  right: -10%;
}

.hero-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, hsla(250, 85%, 72%, 0.3) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -4s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-beam {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, hsla(278, 95%, 55%, 0.4), transparent);
  opacity: 0.35;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 50%, hsl(240, 80%, 70%) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 6s ease-in-out infinite;
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 620px;
}

.hero-meta {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.meta-item svg { color: var(--accent-bright); }

.meta-item-eu {
  background: hsla(220, 80%, 55%, 0.1);
  border: 1px solid hsla(220, 80%, 55%, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  color: hsl(220, 80%, 72%);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===== KPI GRIDS ===== */
.kpi-grid { display: grid; gap: 1rem; }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.kpi-grid-6 { grid-template-columns: repeat(3, 1fr); }

.kpi-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
  background-image: radial-gradient(320px circle at var(--spot-x) var(--spot-y), hsla(278, 90%, 65%, 0), transparent 40%);
}

.kpi-card:hover {
  background-image: radial-gradient(320px circle at var(--spot-x) var(--spot-y), hsla(278, 90%, 65%, 0.12), transparent 45%);
}

.kpi-danger:hover {
  background-image: radial-gradient(320px circle at var(--spot-x) var(--spot-y), hsla(0, 80%, 65%, 0.14), transparent 45%);
}

.kpi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.kpi-card:hover { transform: translateY(-3px); background: var(--surface-2); }
.kpi-card:hover::before { opacity: 1; }

.kpi-card .kpi-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kpi-card .kpi-number-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.kpi-card .kpi-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  color: var(--text);
}

.kpi-card .kpi-trend { color: var(--danger); opacity: 0.7; flex-shrink: 0; }

.kpi-card .kpi-description {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

/* Danger KPIs */
.kpi-danger { box-shadow: var(--shadow-sm); }
.kpi-danger:hover { border-color: hsla(0, 75%, 52%, 0.4); box-shadow: 0 0 0 1px hsla(0, 75%, 52%, 0.15), 0 18px 40px -16px hsla(0, 75%, 42%, 0.2); }
.kpi-danger:hover::before { background: linear-gradient(135deg, hsla(0, 75%, 52%, 0.35), transparent 60%); }
.kpi-danger .kpi-number { background: linear-gradient(135deg, hsl(0, 75%, 48%), hsl(15, 80%, 52%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Proof KPIs */
.kpi-proof { box-shadow: var(--shadow-sm); }
.kpi-proof:hover { border-color: var(--border-accent); box-shadow: 0 0 0 1px hsla(278, 80%, 50%, 0.12), var(--shadow-glow); }
.kpi-proof:hover::before { background: linear-gradient(135deg, var(--accent-glow), transparent 60%); }
.kpi-proof .kpi-number { background: linear-gradient(135deg, var(--accent), var(--accent-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== IMMERSIVE QUOTE ===== */
.section-quote {
  padding: var(--section-y-sm) 0;
  position: relative;
  overflow: hidden;
  background: hsl(270, 35%, 10%);
}

.quote-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, hsla(278, 95%, 45%, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, transparent, hsla(278, 80%, 30%, 0.15), transparent);
  pointer-events: none;
}

.section-quote::before {
  content: 'Faciliteer';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 900;
  font-family: var(--font-heading);
  color: transparent;
  -webkit-text-stroke: 1px hsla(278, 80%, 70%, 0.12);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.quote-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: hsl(280, 20%, 96%);
  margin-bottom: 1.5rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.quote-body {
  font-size: 1.15rem;
  color: hsl(275, 12%, 75%);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.quote-body em {
  color: hsl(280, 20%, 96%);
  font-style: normal;
  font-weight: 600;
  position: relative;
}

/* ===== BENTO GRID (Features) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --spot-x: 50%;
  --spot-y: 50%;
  background-image: radial-gradient(480px circle at var(--spot-x) var(--spot-y), hsla(278, 90%, 65%, 0), transparent 40%);
  transition: background-image 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  background-image: radial-gradient(480px circle at var(--spot-x) var(--spot-y), hsla(278, 90%, 55%, 0.08), transparent 45%);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--border-accent), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card::after {
  content: attr(data-step);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  z-index: 2;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 60px -20px var(--accent-glow);
}

.bento-card:hover::before { opacity: 1; }

.bento-visual {
  flex: 1;
  position: relative;
  padding: 0 2rem 2rem;
  min-height: 180px;
  overflow: hidden;
  order: 2;
}

.bento-body {
  padding: 2rem 2rem 1.25rem;
  position: relative;
  z-index: 2;
  order: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.6rem;
  align-items: start;
}

.bento-icon {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bento-icon svg {
  width: 1rem;
  height: 1rem;
}

.bento-card:hover .bento-icon {
  border-color: var(--border-accent);
  background: hsla(278, 80%, 50%, 0.15);
  color: var(--accent-bright);
  box-shadow: 0 0 16px var(--accent-glow-soft);
}

.bento-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

.bento-body p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  grid-column: 1 / -1;
  margin: 0;
}

/* ========== BENTO VISUALS (business-friendly) ========== */

/* Visual 1: EU Sovereignty — European infra & AI models */
.bento-visual-eu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.eu-sovereignty-flow {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eu-region {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: hsla(220, 80%, 55%, 0.08);
  border: 1px solid hsla(220, 80%, 55%, 0.2);
  border-radius: var(--radius-sm);
  align-self: center;
}

.eu-region-flag {
  font-size: 1.3rem;
  line-height: 1;
}

.eu-region-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(220, 80%, 72%);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eu-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.eu-pillar {
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eu-pillar-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
}

.eu-pillar-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.eu-pillar-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.eu-pillar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
}

.eu-pillar-item-active {
  color: var(--text);
}

.eu-pillar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.eu-pillar-item-active .eu-pillar-dot {
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
}

.eu-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding-top: 0.25rem;
}

/* Visual 2: Privacy — Before/after redaction */
.bento-visual-privacy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.redact-card {
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.redact-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.redact-text {
  font-size: 0.825rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.redact-before .redact-text { color: var(--text-secondary); }

.redact-mark {
  background: hsla(0, 75%, 55%, 0.14);
  color: hsl(0, 75%, 40%);
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.redact-mask {
  display: inline-block;
  background: var(--surface-3);
  color: var(--accent);
  padding: 0.05rem 0.4rem;
  border-radius: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.redact-after { border-color: var(--border-accent); background: hsla(278, 80%, 60%, 0.06); }

.redact-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent-bright);
  opacity: 0.7;
  animation: bounceY 2s ease-in-out infinite;
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Visual 3: Audit — Human activity feed */
.bento-visual-audit {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.activity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.activity-avatar-m { background: linear-gradient(135deg, hsl(280, 75%, 58%), hsl(260, 75%, 52%)); }
.activity-avatar-t { background: linear-gradient(135deg, hsl(200, 75%, 52%), hsl(220, 75%, 48%)); }
.activity-avatar-sys { background: hsla(142, 60%, 42%, 0.1); color: var(--success); border: 1px solid hsla(142, 60%, 42%, 0.3); }

.activity-body { flex: 1; min-width: 0; }

.activity-main {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.activity-main strong { color: var(--text); font-weight: 600; }

.activity-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
  font-family: var(--font-heading);
}

/* Visual 4: Agents — Department teams */
.bento-visual-agents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.team-card {
  padding: 0.7rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: all 0.2s ease;
}

.team-card:hover {
  border-color: var(--border-accent);
  background: hsla(278, 80%, 60%, 0.06);
}

.team-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  margin-bottom: 0.3rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.team-assist {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.team-assist::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px hsla(142, 70%, 55%, 0.5);
}

/* Visual 5: RAG — Chat with source citation */
.bento-visual-rag {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.chat-bubble {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.chat-bubble-q { justify-content: flex-start; }
.chat-bubble-a { justify-content: flex-start; }

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(280, 75%, 58%), hsl(260, 75%, 52%));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-avatar-ai {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 12px var(--accent-glow-soft);
}

.chat-bubble-q .chat-text {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  font-size: 0.825rem;
  line-height: 1.45;
  max-width: 85%;
}

.chat-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.chat-bubble-a .chat-text {
  background: hsla(278, 80%, 60%, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 1rem 1rem 0.25rem 1rem;
  font-size: 0.825rem;
  line-height: 1.45;
}

.chat-bubble-a .chat-text strong {
  color: var(--accent);
  font-weight: 600;
}

.chat-source {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-heading);
  text-decoration: none;
}

.chat-source svg { color: var(--accent-bright); flex-shrink: 0; }

/* Visual 6: RBAC — Role-based access cards */
.bento-visual-rbac {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.role-card {
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.role-header { display: flex; align-items: center; justify-content: space-between; }

.role-name {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
}

.role-access {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border: 1px solid var(--border);
}

.role-chip-ok {
  background: hsla(142, 60%, 40%, 0.1);
  color: hsl(142, 65%, 28%);
  border-color: hsla(142, 60%, 40%, 0.25);
}

.role-chip-ok::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 700;
}

.role-chip-no {
  background: var(--surface-3);
  color: var(--text-dim);
  text-decoration: line-through;
  opacity: 0.6;
}

.role-chip-no::before {
  content: '✕';
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* ===== COMPLIANCE ===== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.compliance-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.compliance-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-glow-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.compliance-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  background: var(--surface-2);
}

.compliance-item:hover::before { opacity: 1; }

.compliance-icon {
  width: 32px;
  height: 32px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
}

.compliance-icon svg { width: 16px; height: 16px; }

.compliance-item > div:last-child { position: relative; z-index: 1; }

.compliance-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.compliance-item p {
  color: var(--text-muted);
  font-size: 0.825rem;
  line-height: 1.45;
}

/* ===== CTA ===== */
.section-cta {
  padding: var(--section-y) 0 5rem;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, hsl(270, 35%, 10%) 0%, hsl(275, 45%, 14%) 100%);
  border: 1px solid hsla(278, 80%, 65%, 0.25);
  border-radius: var(--radius-2xl);
  padding: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, hsla(278, 95%, 55%, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: hsl(280, 20%, 96%);
  margin: 0.5rem 0 1rem;
  line-height: 1.05;
}

.cta-lead {
  font-size: 1.1rem;
  color: hsl(275, 12%, 75%);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-meta { display: flex; justify-content: center; }

.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(275, 12%, 75%);
  font-size: 0.875rem;
  transition: color 0.2s;
  font-family: var(--font-heading);
}

.cta-mail:hover { color: hsl(280, 20%, 96%); }

.cta-sectie .btn-primary,
.section-cta .btn-primary {
  background: hsl(280, 20%, 96%);
  color: hsl(276, 30%, 12%);
}

.cta-sectie .btn-primary:hover,
.section-cta .btn-primary:hover {
  background: var(--accent-bright);
  color: white;
}

/* ===== FOOTER ===== */
footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 24px;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-links h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .kpi-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --section-y: 4rem; --section-y-sm: 3rem; }

  nav a { font-size: 0.9rem; padding: 0.5rem 0; }

  .hero { padding: 3rem 0 5rem; min-height: auto; }

  .section-head { margin-bottom: 2.5rem; }

  .kpi-grid-3, .kpi-grid-6 { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .compliance-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .cta-card { padding: 3rem 1.5rem; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 860px) {
  .mobile-menu-toggle { display: block; margin-left: auto; }

  nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: hsla(0, 0%, 100%, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem var(--container-px);
    display: none;
  }

  nav.active { display: block; }
  nav ul { flex-direction: column; gap: 0.25rem; }
  nav a { display: block; padding: 0.6rem 0.85rem; }
}

@media (max-width: 480px) {
  :root { --container-px: 1rem; }
  .hero-headline { font-size: 2.5rem; }
  .section-title { font-size: 1.85rem; }
  .quote-title { font-size: 2.5rem; }
  .kpi-card .kpi-number { font-size: 2.25rem; }
  .bento-body, .bento-visual { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in-up { opacity: 1; transform: none; }
}
