/* ═══════════════════════════════════════════════════════════════
   BATTLEFACTORY — Neural Interface Design System
   Based on Vorlage 2: "The Neural Interface"
   Fonts: Space Grotesk (Headlines) + Manrope (Body)
   Colors: Deep dark + Purple (#d095ff) + Cyan (#5ddbff)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;900&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── Design Tokens ── */
:root {
  --bg: #100e0f;
  --surface: #100e0f;
  --surface-low: #151314;
  --surface-container: #1c191a;
  --surface-high: #221f20;
  --surface-highest: #282526;
  --surface-bright: #2f2b2d;
  --surface-black: #000000;

  --primary: #d095ff;
  --primary-dim: #c57eff;
  --primary-container: #c782ff;
  --tertiary: #5ddbff;
  --tertiary-dim: #28c0e4;
  --tertiary-container: #40cef3;
  --secondary: #cea9f5;
  --error: #ff6e84;

  --on-surface: #ffffff;
  --on-surface-variant: #afaaab;
  --on-primary: #490078;
  --on-primary-fixed: #000000;
  --outline: #797475;
  --outline-variant: #4b4748;

  --text-secondary: #afaaab;
  --text-muted: #797475;
  --text-dim: rgba(255,255,255,0.35);

  --gradient-accent: linear-gradient(135deg, var(--primary), var(--tertiary));
  --gradient-accent-h: linear-gradient(90deg, var(--primary), var(--tertiary));

  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --gap: clamp(1rem, 3vw, 3rem);
  --section-pad: clamp(3rem, 8vw, 6rem);
  --content-max: 1280px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(93, 219, 255, 0.3); }

a { color: var(--tertiary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ══════════════════════════════════════════════════════════════
   HUD FRAME & SCANLINES
   ══════════════════════════════════════════════════════════════ */
.hud-frame {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100; padding: 1rem;
}
.hud-frame-inner {
  width: 100%; height: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  box-shadow: inset 0 0 60px rgba(93, 219, 255, 0.02);
}
.hud-corner { position: absolute; width: 2.5rem; height: 2.5rem; }
.hud-corner--tl { top: 0; left: 0; border-top: 2px solid var(--tertiary); border-left: 2px solid var(--tertiary); box-shadow: -2px -2px 8px rgba(93,219,255,0.15); }
.hud-corner--tr { top: 0; right: 0; border-top: 2px solid var(--tertiary); border-right: 2px solid var(--tertiary); box-shadow: 2px -2px 8px rgba(93,219,255,0.15); }
.hud-corner--bl { bottom: 0; left: 0; border-bottom: 2px solid var(--tertiary); border-left: 2px solid var(--tertiary); box-shadow: -2px 2px 8px rgba(93,219,255,0.15); }
.hud-corner--br { bottom: 0; right: 0; border-bottom: 2px solid var(--tertiary); border-right: 2px solid var(--tertiary); box-shadow: 2px 2px 8px rgba(93,219,255,0.15); }

.hud-readout {
  position: absolute;
  font-family: var(--font-body);
  font-size: 8px; letter-spacing: 0.4em;
  text-transform: uppercase; opacity: 0.35;
}
.hud-readout--left  { top: 50%; left: -0.5rem; transform: rotate(90deg); color: var(--tertiary); }
.hud-readout--right { top: 50%; right: -1rem;  transform: rotate(-90deg); color: var(--primary); }

.scanline-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(93, 219, 255, 0.012) 2px, rgba(93, 219, 255, 0.012) 4px
  );
  opacity: 0.6;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════════ */
.main-panel { position: relative; z-index: 1; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1.5rem; }

.accent {
  background: var(--gradient-accent-h);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(208, 149, 255, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--content-max); margin: 0 auto;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: transparent !important;
  font-family: var(--font-headline); font-weight: 900;
  font-size: 1.25rem; letter-spacing: -0.03em;
  background: var(--gradient-accent-h);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; text-decoration: none;
}
.nav-logo:hover { color: transparent !important; -webkit-text-fill-color: transparent; }
.nav-logo-img { height: 2.5rem; width: auto; max-width: 240px; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  font-family: var(--font-headline);
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem;
}
.nav-links > a,
.nav-dropdown > a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 0.3s; padding: 0.25rem 0;
}
.nav-links > a:hover,
.nav-dropdown > a:hover { color: var(--on-surface); }

.nav-dropdown { position: relative; }
.nav-dropdown-content {
  display: none; position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 220px;
  background: rgba(16, 14, 15, 0.97);
  backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0; z-index: 60;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  padding-top: 1rem;
}
/* Invisible bridge between trigger and dropdown to keep hover alive */
.nav-dropdown-content::before {
  content: ''; position: absolute;
  top: -1rem; left: 0; right: 0; height: 1rem;
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-content a {
  display: block; padding: 0.625rem 1.5rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body); font-size: 0.8125rem;
  text-transform: none; letter-spacing: 0.02em;
  transition: all 0.2s;
}
.nav-dropdown-content a:hover {
  color: var(--tertiary); background: rgba(93, 219, 255, 0.06);
  padding-left: 1.75rem;
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  position: relative; z-index: 60;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--tertiary); transition: 0.3s;
  transform-origin: center;
}
/* Burger → X animation when menu is open */
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem 2.5rem;
  font-family: var(--font-headline); font-weight: 900;
  font-size: 0.875rem; letter-spacing: -0.02em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.3s;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  position: relative;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #1a0030;
  text-shadow: none;
  box-shadow: 0 0 30px rgba(208, 149, 255, 0.4), 0 0 60px rgba(208, 149, 255, 0.15);
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 0 40px rgba(208, 149, 255, 0.6), 0 0 80px rgba(208, 149, 255, 0.25);
  color: var(--on-primary-fixed);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--tertiary);
  color: var(--tertiary);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: 0 0 15px rgba(93, 219, 255, 0.1);
}
.btn-secondary:hover {
  background: rgba(93, 219, 255, 0.08);
  box-shadow: 0 0 25px rgba(93, 219, 255, 0.25);
  color: var(--tertiary);
}

.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.75rem; }

/* Nav-specific button: no clip-path, cleaner look */
.nav-links .btn.btn-primary.btn-sm {
  clip-path: none;
  border-radius: 2px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 0 15px rgba(208, 149, 255, 0.25);
}
.nav-links .btn.btn-primary.btn-sm:hover {
  box-shadow: 0 0 25px rgba(208, 149, 255, 0.45);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex; align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 100vh;
  padding: 8rem clamp(1.5rem, 4vw, 3rem) 4rem;
  max-width: var(--content-max); margin: 0 auto;
  overflow: visible;
}
/* Atmospheric background behind entire hero area */
.hero::before {
  content: ''; position: absolute;
  inset: -8rem -20vw -4rem -20vw;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.42), rgba(8,8,10,0.58)),
    url('/img/hero-bg-starfield.jpg') center/cover no-repeat;
  opacity: 0.7; pointer-events: none; z-index: 0;
}

/* Atmospheric Glow Orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.hero-glow--purple {
  width: 600px; height: 600px;
  top: -100px; right: -200px;
  background: rgba(208, 149, 255, 0.1);
}
.hero-glow--cyan {
  width: 400px; height: 400px;
  bottom: 0; left: -150px;
  background: rgba(93, 219, 255, 0.06);
}

.hero-text { flex: 1; position: relative; z-index: 2; }

.hero-label {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--tertiary);
  font-family: var(--font-body);
  font-size: 0.6875rem; letter-spacing: 0.5em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-label::before {
  content: ''; display: block;
  width: 3rem; height: 1px;
  background: rgba(93, 219, 255, 0.5);
}

.hero h1 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(93, 219, 255, 0.15), 0 0 60px rgba(93, 219, 255, 0.04);
  margin-bottom: 1.75rem;
}

.hero p {
  max-width: 540px;
  font-size: 1.0625rem;
  color: var(--on-surface-variant); font-weight: 300;
  line-height: 1.8;
  border-left: 2px solid rgba(208, 149, 255, 0.3);
  padding-left: 2rem; margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }

.hero-social {
  margin-top: 3rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-social-label {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.hero-social-icons { display: flex; gap: 0.75rem; }
.hero-social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; transition: all 0.3s; text-decoration: none;
}
.hero-social-icons a:hover {
  border-color: var(--tertiary);
  box-shadow: 0 0 12px rgba(93, 219, 255, 0.2);
}

/* Hero Figure */
.hero-figure { flex: 1; position: relative; z-index: 1; }
.hero-line { display: none; }
.hero-figure-img {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(208, 149, 255, 0.06);
}
.hero-figure-placeholder {
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(135deg, rgba(208,149,255,0.06), rgba(93,219,255,0.06));
  position: relative;
}
.hero-figure-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 2px,
    rgba(93, 219, 255, 0.025) 2px, rgba(93, 219, 255, 0.025) 4px
  );
}
.hero-figure-placeholder .icon { font-size: 3rem; opacity: 0.5; position: relative; z-index: 1; }
.hero-figure-placeholder .label {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); text-align: center;
  position: relative; z-index: 1;
}

/* Hero Tags */
.hero-tag {
  position: absolute;
  padding: 0.375rem 0.875rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(93, 219, 255, 0.25);
  font-family: var(--font-body); font-size: 0.5625rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tertiary);
  box-shadow: 0 0 15px rgba(93, 219, 255, 0.08);
}
.hero-tag-1 { top: 1rem; left: -2rem; }
.hero-tag-2 { top: 50%; right: -1.5rem; }
.hero-tag-3 { bottom: 1.5rem; left: 1rem; }

/* ══════════════════════════════════════════════════════════════
   STATS BAR (replaces Marquee)
   ══════════════════════════════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--surface-black);
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(208,149,255,0.03), transparent 30%, transparent 70%, rgba(93,219,255,0.03));
  pointer-events: none;
}

.stats-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
  max-width: var(--content-max); margin: 0 auto;
}

.stat-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(75, 71, 72, 0.25);
  font-family: var(--font-body);
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.stat-chip:hover {
  border-color: rgba(93, 219, 255, 0.3);
  background: rgba(93, 219, 255, 0.04);
}
.stat-chip-icon {
  color: var(--tertiary); font-size: 0.75rem;
}
.stat-chip-value {
  font-family: var(--font-headline); font-weight: 900;
  font-size: 0.875rem; color: var(--on-surface);
  letter-spacing: -0.02em;
}
.stat-chip-label { color: rgba(255,255,255,0.4); }
.stat-chip--wide { flex-grow: 0; }
.stat-chip--wide .stat-chip-label { letter-spacing: 0.08em; }

/* Legacy marquee (hidden) */
.marquee { display: none; }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad) clamp(1.5rem, 4vw, 3rem);
  max-width: var(--content-max); margin: 0 auto;
  position: relative;
}
/* Subtle atmospheric glow on regular sections — alternating position */
.section:nth-of-type(odd)::after {
  content: ''; position: absolute;
  top: -100px; left: -200px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(93, 219, 255, 0.03), transparent 65%);
  pointer-events: none; z-index: 0;
}
.section:nth-of-type(even)::after {
  content: ''; position: absolute;
  bottom: -100px; right: -200px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(208, 149, 255, 0.03), transparent 65%);
  pointer-events: none; z-index: 0;
}
/* Ensure section content stays above glow */
.section > * { position: relative; z-index: 1; }

/* Section background image system */
.section-bg {
  overflow: hidden;
}
.section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.section-bg::after {
  z-index: 0;
}
.section-bg > * {
  position: relative;
  z-index: 1;
}
.section-bg--tech-grid::before {
  background-image:
    linear-gradient(180deg, rgba(16,14,15,0.55), rgba(16,14,15,0.75)),
    url('/img/bg-section-tech-grid.jpg');
}
.section-bg--soft-glow::before {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
    url('/img/bg-section-soft-glow.jpg');
}
.section-bg--neon-haze::before {
  background-image:
    linear-gradient(180deg, rgba(16,14,15,0.5), rgba(16,14,15,0.7)),
    url('/img/bg-section-neon-haze.jpg');
}
.section-bg--panel-lines::before {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url('/img/bg-section-panel-lines.jpg');
}
.section-bg--streaks::before {
  background-image:
    linear-gradient(180deg, rgba(16,14,15,0.55), rgba(16,14,15,0.75)),
    url('/img/bg-section-streaks.jpg');
}
.section-bg--starfield::before {
  background-image:
    linear-gradient(180deg, rgba(8,8,12,0.5), rgba(8,8,12,0.7)),
    url('/img/bg-section-starfield.jpg');
}
.section-bg--space-nebula::before {
  background-image:
    linear-gradient(180deg, rgba(10,10,14,0.45), rgba(10,10,14,0.7)),
    url('/img/bg-section-space-nebula.jpg');
}

.section-alt {
  max-width: 100%;
  padding: var(--section-pad) clamp(1.5rem, 4vw, 3rem);
  background: var(--surface-black);
  position: relative; overflow: hidden;
}
/* Asymmetric glow orbs on alt sections */
.section-alt::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(208, 149, 255, 0.07), transparent 65%);
  pointer-events: none;
}
.section-alt::after {
  content: ''; position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(93, 219, 255, 0.04), transparent 65%);
  pointer-events: none;
}
.section-alt > .container,
.section-alt > .section-header,
.section-alt > .features,
.section-alt > .categories,
.section-alt > .use-cases,
.section-alt > .steps {
  max-width: var(--content-max);
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}

.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-header h2::after {
  content: ''; display: block;
  width: 6rem; height: 3px;
  background: var(--gradient-accent-h);
  margin-top: 0.75rem;
}
.section-header p {
  color: var(--on-surface-variant);
  font-size: 1.0625rem; max-width: 640px;
  font-weight: 300; margin-top: 1rem;
}

.text-center .section-header h2::after { margin-left: auto; margin-right: auto; }
.text-center h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(208, 149, 255, 0.25);
}
.text-center p { color: var(--on-surface-variant); font-weight: 300; }

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (Subpages)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 10rem clamp(1.5rem, 4vw, 3rem) 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(208, 149, 255, 0.1), transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(93, 219, 255, 0.06), transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  max-width: var(--content-max); margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-content h1 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  text-shadow: 0 0 15px rgba(208, 149, 255, 0.25), 0 0 40px rgba(208, 149, 255, 0.08);
  margin-bottom: 1rem;
}
.page-hero-content p {
  color: var(--on-surface-variant); font-size: 1.125rem;
  max-width: 640px; font-weight: 300; line-height: 1.7;
  border-left: 2px solid rgba(93, 219, 255, 0.3);
  padding-left: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════════════════════ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  counter-reset: feature;
}

.feature-card {
  position: relative; padding: 2rem;
  background: var(--surface-low);
  border: 1px solid rgba(75, 71, 72, 0.2);
  transition: all 0.4s ease; overflow: hidden;
  counter-increment: feature;
}
/* Ghost number in corner (like Vorlage 2) */
.feature-card::after {
  content: "0" counter(feature);
  position: absolute; right: -0.25rem; bottom: -0.75rem;
  font-family: var(--font-headline); font-weight: 900;
  font-size: 5rem; color: rgba(255,255,255,0.02);
  transition: color 0.4s; line-height: 1;
  pointer-events: none;
}
.feature-card:nth-child(odd):hover {
  border-color: rgba(93, 219, 255, 0.35);
  box-shadow: 0 0 25px rgba(93, 219, 255, 0.06);
}
.feature-card:nth-child(odd):hover::after { color: rgba(93, 219, 255, 0.06); }
.feature-card:nth-child(even):hover {
  border-color: rgba(208, 149, 255, 0.35);
  box-shadow: 0 0 25px rgba(208, 149, 255, 0.06);
}
.feature-card:nth-child(even):hover::after { color: rgba(208, 149, 255, 0.06); }

.feature-card h2 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.125rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.875rem; color: var(--on-surface-variant);
  font-weight: 300; line-height: 1.7;
}
.feature-card ul { list-style: none; }
.feature-card ul li { padding: 0.25rem 0; color: var(--on-surface-variant); font-size: 0.9375rem; }

.feature-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(208, 149, 255, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: inset 0 0 18px rgba(208, 149, 255, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.feature-icon img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
}
.feature-card:hover .feature-icon {
  border-color: rgba(208, 149, 255, 0.4);
  box-shadow: 0 0 18px rgba(208, 149, 255, 0.08), inset 0 0 18px rgba(208, 149, 255, 0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  transform: translateY(-1px);
}

/* Image Card Placeholder */
.img-card {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(208,149,255,0.05), rgba(93,219,255,0.05));
  border: 1px solid rgba(75, 71, 72, 0.12);
  margin-bottom: 1.25rem; position: relative; overflow: hidden;
}
.img-card::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 3px,
    rgba(93, 219, 255, 0.015) 3px, rgba(93, 219, 255, 0.015) 6px
  );
}
.img-card-icon { font-size: 2rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.img-card-label {
  font-family: var(--font-body); font-size: 0.5625rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ══════════════════════════════════════════════════════════════ */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.category-card {
  position: relative; padding: 2rem;
  background: var(--surface-low);
  border: 1px solid rgba(75, 71, 72, 0.2);
  overflow: hidden; transition: all 0.4s;
}
.category-card:nth-child(odd):hover { border-color: rgba(93, 219, 255, 0.4); box-shadow: 0 0 20px rgba(93, 219, 255, 0.06); }
.category-card:nth-child(even):hover { border-color: rgba(208, 149, 255, 0.4); box-shadow: 0 0 20px rgba(208, 149, 255, 0.06); }

.cat-visual { font-size: 2.5rem; margin-bottom: 1.25rem; overflow: hidden; }
.cat-img {
  width: 100%; height: 80px; object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.7) saturate(0.8);
  transition: all 0.4s;
}
.category-card:hover .cat-img {
  filter: brightness(0.85) saturate(1);
  transform: scale(1.05);
}

.category-number {
  position: absolute; right: -0.25rem; bottom: -0.5rem;
  font-family: var(--font-headline); font-weight: 900;
  font-size: 4rem; color: rgba(255,255,255,0.025);
  transition: color 0.4s; line-height: 1;
}
.category-card:nth-child(odd):hover .category-number { color: rgba(93, 219, 255, 0.07); }
.category-card:nth-child(even):hover .category-number { color: rgba(208, 149, 255, 0.07); }

.category-card h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.25rem; text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 0.5rem;
}
.category-card p { font-size: 0.875rem; color: var(--on-surface-variant); font-weight: 300; }

/* ══════════════════════════════════════════════════════════════
   STEPS
   ══════════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.step {
  position: relative; padding: 2rem;
  background: var(--surface-low);
  border: 1px solid rgba(75, 71, 72, 0.15);
  transition: all 0.4s;
}
.step:hover { border-color: rgba(93, 219, 255, 0.3); box-shadow: 0 0 20px rgba(93, 219, 255, 0.05); }

.step-number {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--tertiary); margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.125rem; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.step p { font-size: 0.875rem; color: var(--on-surface-variant); font-weight: 300; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   USE CASES
   ══════════════════════════════════════════════════════════════ */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.use-case {
  position: relative;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem; transition: all 0.4s;
}
.use-case:hover {
  border-color: rgba(93, 219, 255, 0.2);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 25px rgba(93, 219, 255, 0.05);
}

.use-case-img {
  width: 3.9rem; height: 3.9rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(93, 219, 255, 0.2);
  margin-bottom: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: inset 0 0 18px rgba(93, 219, 255, 0.03);
}
.use-case-img img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
}
.use-case:hover .use-case-img {
  border-color: rgba(93, 219, 255, 0.5);
  box-shadow: 0 0 18px rgba(93, 219, 255, 0.08), inset 0 0 18px rgba(93, 219, 255, 0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  transform: translateY(-1px);
}

.use-case-tag {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.5625rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  background: rgba(208, 149, 255, 0.06);
  border: 1px solid rgba(208, 149, 255, 0.12);
  margin-bottom: 0.75rem;
}

.use-case h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.125rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.625rem;
}
.use-case p {
  font-size: 0.875rem; color: var(--on-surface-variant);
  font-weight: 300; line-height: 1.7; margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  position: relative;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem; transition: all 0.4s;
}
/* Ambient underglow */
.testimonial::before {
  content: ''; position: absolute; inset: -1px;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none; z-index: -1;
  filter: blur(25px);
}
.testimonial:nth-child(odd)::before { background: rgba(93, 219, 255, 0.08); }
.testimonial:nth-child(even)::before { background: rgba(208, 149, 255, 0.08); }
.testimonial:hover::before { opacity: 1; }
.testimonial:hover { border-color: rgba(255,255,255,0.12); }

.testimonial-stars {
  font-size: 0.875rem; color: var(--tertiary);
  letter-spacing: 0.15em; margin-bottom: 1.25rem;
}
.testimonial blockquote {
  font-size: 0.875rem; color: var(--on-surface-variant);
  font-weight: 300; font-style: italic;
  line-height: 1.8; margin-bottom: 1.25rem;
}
.testimonial-author {
  font-family: var(--font-headline); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase;
}
.testimonial:nth-child(odd) .testimonial-author { color: var(--tertiary); }
.testimonial:nth-child(even) .testimonial-author { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative; padding: 4rem;
  border: 1px solid rgba(93, 219, 255, 0.15);
  overflow: hidden; text-align: center;
}
/* HUD-style top bar */
.cta-banner::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2rem;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
/* Glow orb */
.cta-banner::after {
  content: ''; position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(208, 149, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 1rem; position: relative; z-index: 1;
  text-shadow: 0 0 15px rgba(208, 149, 255, 0.3), 0 0 40px rgba(208, 149, 255, 0.1);
}
.cta-banner p {
  color: var(--on-surface-variant); font-weight: 300;
  max-width: 560px; margin: 0 auto 2rem;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto;
}

.pricing-card {
  background: var(--surface-container);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 3rem; display: flex; flex-direction: column;
  transition: all 0.4s;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.12); box-shadow: 0 0 30px rgba(0,0,0,0.3); }

.pricing-card.featured {
  border: 2px solid rgba(208, 149, 255, 0.4);
  position: relative;
  box-shadow: 0 0 50px rgba(208, 149, 255, 0.12), 0 0 100px rgba(208, 149, 255, 0.05);
}
.pricing-card.featured::before {
  content: 'EMPFOHLEN'; position: absolute;
  top: -0.875rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--on-primary);
  font-family: var(--font-body); font-size: 0.5625rem;
  font-weight: 900; letter-spacing: 0.2em;
  padding: 0.25rem 1rem;
}

.pricing-card h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.75rem;
}

.price {
  font-family: var(--font-headline); font-weight: 900;
  font-size: 2.25rem; margin-bottom: 2rem;
}
.pricing-card.featured .price { color: var(--primary); }
.pricing-card:not(.featured) .price { color: var(--tertiary); }
.price small { font-size: 0.875rem; font-weight: 400; color: rgba(255,255,255,0.3); }

.pricing-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.pricing-table th, .pricing-table td {
  padding: 0.5rem 0; font-size: 0.875rem; text-align: left;
  border-bottom: 1px solid rgba(75, 71, 72, 0.2);
}
.pricing-table th {
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.pricing-table td { color: var(--on-surface-variant); }

.pricing-includes { margin-bottom: 2rem; flex: 1; }
.pricing-includes li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.375rem 0; font-size: 0.8125rem;
  color: var(--on-surface-variant);
  font-family: var(--font-body); letter-spacing: 0.05em;
}
.pricing-includes li::before {
  content: '>'; color: var(--tertiary);
  font-weight: 700; font-family: var(--font-headline);
}
.pricing-card.featured .pricing-includes li::before { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(75, 71, 72, 0.2); }

.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none;
  font-family: var(--font-headline); font-size: 1rem; font-weight: 600;
  text-align: left; color: var(--on-surface); cursor: pointer;
  letter-spacing: 0.02em; transition: color 0.3s;
}
.faq-question:hover { color: var(--tertiary); }
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--tertiary);
  font-weight: 300; transition: transform 0.3s;
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.25rem; }
.faq-answer p {
  color: var(--on-surface-variant); font-size: 0.9375rem;
  font-weight: 300; line-height: 1.8;
  border-left: 2px solid rgba(208, 149, 255, 0.2);
  padding-left: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.contact-card {
  padding: 2rem; background: var(--surface-low);
  border: 1px solid rgba(75, 71, 72, 0.2);
  transition: all 0.4s;
}
.contact-card:hover { border-color: rgba(93, 219, 255, 0.25); box-shadow: 0 0 20px rgba(93, 219, 255, 0.04); }

.contact-card h3 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 1.125rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1rem;
}
.contact-card p { color: var(--on-surface-variant); font-size: 0.9375rem; line-height: 1.7; }
.contact-card a { color: var(--tertiary); }
.contact-card table { width: 100%; }
.contact-card table td { padding: 0.375rem 0; font-size: 0.9375rem; color: var(--on-surface-variant); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface-black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem clamp(1.5rem, 4vw, 3rem) 2rem;
  position: relative;
}
.footer::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,149,255,0.15), rgba(93,219,255,0.15), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem; max-width: var(--content-max);
  margin: 0 auto 3rem;
}
.footer-col h4 {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.2);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; padding: 0.25rem 0;
  color: rgba(255,255,255,0.45); font-size: 0.8125rem;
  transition: all 0.3s;
}
.footer-col a:hover { color: var(--tertiary); padding-left: 0.25rem; }
.footer-col p { color: rgba(255,255,255,0.3); font-size: 0.8125rem; line-height: 1.6; }
.footer-col p a { display: inline; padding: 0; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--content-max); margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-body); font-size: 0.625rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}
.footer-bottom a { color: rgba(255,255,255,0.15); font-size: 0.625rem; }
.footer-bottom a:hover { color: var(--tertiary); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    background-color: #000000;
    z-index: 9999;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-burger {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    z-index: 10000;
  }

  .nav {
    padding: 1rem 1.25rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #000000;
  }

  .nav-dropdown {
    position: static;
    text-align: center;
  }
  .nav-dropdown-content {
    position: static !important;
    transform: none !important;
    display: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    min-width: 0;
    padding: 0.5rem 0 0;
  }
  .nav-dropdown-content::before { display: none; }
  .nav-dropdown.open .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .nav-dropdown-content a {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    text-align: center;
  }
  .nav-dropdown:hover .nav-dropdown-content { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero {
    flex-direction: column; padding-top: 6rem; min-height: auto;
    overflow: hidden; gap: 2rem;
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .hero::before { inset: -4rem -5vw -2rem -5vw; }
  .hero-figure { order: 1; width: 100%; max-width: 100%; }
  .hero-figure-img img { aspect-ratio: 16/9; max-height: 50vh; }
  .hero-tag { display: none; }
  .hero-text { width: 100%; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 3rem); }
  .hero p { padding-left: 1rem; font-size: 0.9375rem; }
  .hero-glow--purple { width: 250px; height: 250px; top: -50px; right: -80px; }
  .hero-glow--cyan { width: 180px; height: 180px; bottom: -50px; left: -80px; }
  .hero-label { font-size: 0.5625rem; letter-spacing: 0.3em; }
  .hero-social { margin-top: 1.5rem; }

  .stats-bar-inner { justify-content: flex-start; gap: 0.375rem; }
  .stat-chip { font-size: 0.6rem; padding: 0.375rem 0.75rem; }
  .stat-chip--wide { display: none; }

  .use-cases { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hud-frame, .hud-readout { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .categories { grid-template-columns: 1fr 1fr; }
  .btn { clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); padding: 0.75rem 1.5rem; }
  .stats-bar-inner { justify-content: center; }
}
