/* =============================================
   NEO-BRUTALIST / EDITORIAL TECH DESIGN
   Target: DACH / Benelux (Precision meets Quirky Innovation)
   Concept: "The Data Pipeline"
   ============================================= */
:root {
  /* High-Contrast Neo-Brutalist Palette */
  --bg: #09090b;
  --surface: #18181b;
  --surface-hover: #27272a;
  
  --text: #ffffff;
  --text-muted: #a1a1aa;
  
  /* The "Dutch Tech / German Precision" Accent - Vibrant Amber/Orange */
  --accent: #FF5C00;
  --accent-light: #FF8A3D;
  --accent-dark: #CC4A00;
  
  /* Borders are aggressive and visible */
  --border: #3f3f46;
  --border-focus: #FF5C00;
  
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', monospace;
  
  --nav-h: 90px;
  --section-pad: 120px;
  
  /* Hard, snappy easing */
  --ease-brutal: cubic-bezier(0.77, 0, 0.175, 1);
  --transition: 0.4s var(--ease-brutal);
}

/* =============================================
   BASE & RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Let JS handle smooth scroll for better control */
  font-size: 16px;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

/* Custom Cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-dot.hovering {
  width: 40px; height: 40px;
  background: #fff;
}

/* =============================================
   DATA PIPELINE (The Scroll Hook)
   ============================================= */
.pipeline-container {
  position: fixed;
  top: 0; left: 40px; bottom: 0;
  width: 2px;
  background: var(--surface);
  z-index: 50;
  mix-blend-mode: difference;
}

.pipeline-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  transition: height 0.1s linear;
}

/* =============================================
   REVEAL ANIMATIONS (Glitchy / Snappy)
   ============================================= */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px) skewY(2deg);
  transition: opacity 0.8s var(--ease-brutal), transform 0.8s var(--ease-brutal);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0) skewY(0);
}

/* =============================================
   NAVIGATION (Terminal Style)
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px 0 80px; /* Offset for pipeline */
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo::before {
  content: '>';
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-brutal);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0 !important; /* Brutalist sharp edges */
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: #fff !important;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

/* =============================================
   HERO (Massive Editorial Typography)
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) 40px 0 100px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 80% 20%, rgba(255, 92, 0, 0.08) 0%, transparent 50%);
}

.container {
  max-width: 1200px;
  width: 100%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 3rem;
}

.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.hero-name span.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  transition: -webkit-text-stroke 0.3s;
}

.hero-name:hover span.outline {
  -webkit-text-stroke: 1px var(--accent);
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 4rem;
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.btn {
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: 1px solid var(--accent);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 92, 0, 0.1);
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--border);
}

/* =============================================
   SECTIONS & TYPOGRAPHY
   ============================================= */
.section { padding: var(--section-pad) 40px var(--section-pad) 100px; border-bottom: 1px solid var(--border); }
.section-dark { background: var(--surface); }

.section-header {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  line-height: 0.8;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

/* =============================================
   ABOUT (Data Grid)
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-text strong { color: var(--text); background: rgba(255, 92, 0, 0.1); padding: 0 0.2rem; }

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-box {
  background: var(--bg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: var(--transition);
}

.stat-box:hover { background: var(--accent); }
.stat-box:hover * { color: #000 !important; }

.stat-val {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-desc {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  font-weight: 600;
}

/* =============================================
   TIMELINE (Engineering Specs)
   ============================================= */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  position: relative;
}

.timeline-meta {
  border-right: 1px solid var(--border);
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2rem;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}

.timeline-logo img {
  max-width: 120px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1) invert(1);
  opacity: 0.5;
  transition: var(--transition);
}

.timeline-item:hover .timeline-logo img {
  filter: grayscale(0) invert(0);
  opacity: 1;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-company {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 2rem;
  font-family: var(--font-display);
}

.impact-list {
  list-style: none;
  margin-bottom: 2rem;
}

.impact-list li {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.impact-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: bold;
}

.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.tag:hover { background: var(--text); color: var(--bg); }

/* =============================================
   BENTO GRID (Server Racks)
   ============================================= */
.bento-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-brutal);
}

.bento-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(255, 92, 0, 0.2);
  border-color: var(--border-focus);
}

.bento-card:hover::before { transform: scaleX(1); }

.cert-icon {
  width: 50px; height: 50px;
  margin-bottom: 1.5rem;
}
.cert-icon img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(2); transition: 0.3s; }
.bento-card:hover .cert-icon img { filter: grayscale(0) brightness(1); }

.icon-pmi {
  width: 100%; height: 100%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: bold; font-size: 1.5rem;
}

/* =============================================
   CONTACT (Huge Impact)
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-link {
  background: var(--bg);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 1.5rem;
  transition: all 0.3s;
}

.contact-link:hover {
  background: var(--accent);
}

.contact-link:hover * { color: #000 !important; fill: #000 !important;}

.contact-icon {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--text);
}
.contact-icon svg { width: 48px; height: 48px; fill: var(--text); }

.contact-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   MOBILE ADAPTATIONS
   ============================================= */
@media (max-width: 1024px) {
  .pipeline-container { display: none; }
  .nav { padding: 0 24px; }
  .hero { padding: calc(var(--nav-h) + 40px) 24px 80px 24px; }
  .section { padding: 80px 24px; }
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
  .timeline-item::before { display: none; }
  .timeline-meta { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 1.5rem; align-items: center; text-align: left; flex-direction: row; justify-content: space-between; gap: 1rem; }
  .timeline-content { padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .hero-name { font-size: clamp(2.8rem, 12vw, 4rem); margin-bottom: 1rem; }
  .hero-tagline { font-size: 1.1rem; border-left: 2px solid var(--accent); padding-left: 1rem; margin-bottom: 2.5rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-header { margin-bottom: 3rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-label { font-size: 2.5rem; margin-bottom: 0; }
  .section-label::after { display: none; }
  .section-title { font-size: 2rem; margin-bottom: 2rem; }
  .timeline-meta { flex-direction: column-reverse; align-items: flex-start; }
  .timeline-role { font-size: 1.8rem; }
  .timeline-company { font-size: 1rem; margin-bottom: 1.5rem; }
  .impact-list li { font-size: 0.95rem; }
  .timeline-logo img { max-width: 90px; height: 30px; }
  .bento-card { padding: 1.5rem; }
  .stats-container { grid-template-columns: 1fr; }
  .stat-box { padding: 2rem 1.5rem; }
  .stat-val { font-size: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1px; }
  .contact-link { padding: 2rem 1.5rem; flex-direction: row; justify-content: flex-start; gap: 1.5rem; }
  .contact-icon { font-size: 2rem; }
  .contact-icon svg { width: 32px; height: 32px; }
  .contact-label { font-size: 1rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
}

