/* ============================================
   Observability Architect — .NL
   Blueprint theme: navy + teal
   Pure CSS, no framework.
   ============================================ */

/* --- Self-hosted Fonts --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Icon Base --- */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* --- Custom Properties --- */
:root {
  --bg: #0a192f;
  --bg-elevated: rgba(100, 200, 255, 0.02);
  --bg-card: rgba(100, 200, 255, 0.02);
  --border: rgba(100, 200, 255, 0.08);
  --border-accent: rgba(100, 255, 218, 0.1);
  --border-hover: rgba(100, 255, 218, 0.25);
  --accent: #64ffda;
  --accent-glow: rgba(100, 255, 218, 0.15);
  --red: #ff6b6b;
  --text: #ccd6f6;
  --text-muted: #8892b0;
  --text-dim: #5a6785;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1100px;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

img { max-width: 100%; display: block; }

/* --- Utilities --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-accent { color: var(--accent); }
.text-red { color: var(--red); }
.font-mono { font-family: var(--font-mono); }

/* --- Blueprint Grid Background --- */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0.5rem;
}

/* --- Language Toggle --- */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-nl] { display: none; }
html[lang="en"] [data-lang-en] { display: unset; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  text-decoration: none;
  color: var(--text);
}
.nav__brand:hover { opacity: 1; }
.nav__wordmark { line-height: 1.1; }
.nav__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
}
.nav__tld {
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav__link {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__link:hover {
  color: var(--accent);
  opacity: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn--accent {
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}
.btn--sm { padding: 0.375rem 0.875rem; font-size: 0.75rem; }
.btn--lg { padding: 0.625rem 1.5rem; font-size: 0.875rem; }

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  gap: 2px;
}
.lang-toggle__btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle__btn:first-child { border-radius: 3px 0 0 3px; }
.lang-toggle__btn:last-child { border-radius: 0 3px 3px 0; }
.lang-toggle__btn--active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(100, 255, 218, 0.2);
}

/* --- Mobile Nav Toggle --- */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    z-index: 99;
  }
  .nav__links--open { transform: translateX(0); }
  .nav__link { font-size: 1.125rem; }
  .no-scroll { overflow: hidden; }
}

/* Body padding for fixed nav */
body { padding-top: 3.5rem; }

/* --- Hero --- */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
}
.hero__content {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.hero__text { flex: 1; }
.hero__label {
  color: var(--accent);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero__badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
}
.hero__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Pipeline Diagram --- */
.pipeline {
  flex: 0 0 380px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.pipeline__label {
  color: var(--text-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.pipeline__inputs {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.pipeline__box {
  flex: 1;
  background: rgba(100, 255, 218, 0.04);
  border: 1px solid rgba(100, 255, 218, 0.15);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.pipeline__icon { font-size: 1.25rem; display: block; margin-bottom: 0.25rem; }
.pipeline__name {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}
.pipeline__arrows {
  text-align: center;
  color: rgba(100, 255, 218, 0.3);
  font-size: 0.875rem;
  padding: 0.375rem 0;
}
.pipeline__process {
  background: rgba(100, 255, 218, 0.04);
  border: 1px solid rgba(100, 255, 218, 0.15);
  border-radius: var(--radius);
  padding: 0.875rem;
  text-align: center;
  margin-bottom: 0.375rem;
}
.pipeline__process-title {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
}
.pipeline__process-tools {
  color: var(--text-muted);
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}
.pipeline__output {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: var(--radius);
  padding: 0.875rem;
  text-align: center;
}
.pipeline__output-title {
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 700;
}
.pipeline__output-sub {
  color: var(--text-muted);
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero__content { flex-direction: column; }
  .pipeline { flex: auto; width: 100%; }
}

/* --- Section Shared --- */
.section-label {
  color: var(--accent);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* --- Social Proof Bar --- */
.proof-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.proof-bar__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.proof-bar__stat { text-align: center; }
.proof-bar__number {
  font-size: 1.25rem;
  font-weight: 800;
}
.proof-bar__label {
  color: var(--text-muted);
  font-size: 0.6875rem;
}
.proof-bar__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

@media (max-width: 480px) {
  .proof-bar__inner { gap: 1.5rem; }
  .proof-bar__number { font-size: 1rem; }
}

/* --- Educational Section --- */
.education {
  padding: 3rem 0;
}
.education__intro {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.education__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.edu-card__label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.edu-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.edu-card__text {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .education__cards { grid-template-columns: 1fr; }
}

/* --- Diensten --- */
.diensten {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.diensten__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.service-card {
  background: rgba(100, 255, 218, 0.02);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.service-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.service-card__icon {
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.service-card__title {
  font-size: 0.875rem;
  font-weight: 700;
}
.service-card__text {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .diensten__grid { grid-template-columns: 1fr; }
}

/* --- Succesverhalen --- */
.cases {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.case-card__tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.5625rem;
  font-weight: 600;
  background: var(--accent-glow);
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
}
.case-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0.625rem 0 0.375rem;
}
.case-card__text {
  color: var(--text-muted);
  font-size: 0.6875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.case-card__metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.case-card__number {
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 800;
}
.case-card__metric-label {
  color: var(--text-muted);
  font-size: 0.6875rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .cases__grid { grid-template-columns: 1fr; }
}

/* --- Certificeringen --- */
.certs {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.certs__label {
  color: var(--text-muted);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.certs__grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cert-badge {
  background: rgba(100, 200, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- FAQ --- */
.faq {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.faq__list {
  max-width: 600px;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq__question {
  padding: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__question::after {
  content: '+';
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] .faq__question::after {
  content: '−';
}
.faq__question::-webkit-details-marker { display: none; }
.faq__answer {
  padding: 0 0.875rem 0.875rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* --- Peekmon Promo --- */
.peekmon-promo {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.peekmon-promo__card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.peekmon-promo__icon {
  font-size: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-glow);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.peekmon-promo__body { flex: 1; }
.peekmon-promo__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.peekmon-promo__text {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .peekmon-promo__card { flex-direction: column; text-align: center; }
}

/* --- CTA --- */
.cta {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(100, 255, 218, 0.02), rgba(100, 255, 218, 0.06));
  text-align: center;
}
.cta__title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta__subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.cta__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  color: var(--text-muted);
  font-size: 0.6875rem;
}
.footer__links {
  display: flex;
  gap: 0.75rem;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

@media (max-width: 480px) {
  .footer__inner { flex-direction: column; gap: 0.5rem; }
}
