/*
Theme Name: AI-IDLE
Theme URI: https://ai-idle.nl
Author: AI-IDLE
Author URI: https://ai-idle.nl
Description: Officieel WordPress-theme voor AI-IDLE — Intelligent Industrieel IoT Energiemanagement Platform. Dark mode, tweetalig (NL/EN), interactief met particle effects, cybersecurity showcase en Energy Manager mini-game.
Version: 2.0.0
License: Proprietary
License URI: https://ai-idle.nl/licentie
Text Domain: ai-idle
Tags: energy, industrial, iot, ai, sustainability, green-tech, dark, one-page, bilingual
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
*/

/* =================================================================
   AI-IDLE v2.0 — DARK MODE ONLY DESIGN SYSTEM
   ================================================================= */

:root {
  /* Background layers */
  --bg-deep: #060a14;
  --bg: #0a0e1a;
  --bg-surface: #111827;
  --bg-surface-2: #1e293b;
  --bg-surface-3: #283548;
  --bg-elevated: #1a2332;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-active: rgba(11,127,219,0.4);

  /* Text */
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Brand */
  --blue: #0b7fdb;
  --blue-light: #3b9fe8;
  --blue-dark: #0960a8;
  --blue-glow: rgba(11,127,219,0.15);
  --blue-glow-strong: rgba(11,127,219,0.3);

  /* Accents */
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-glow: rgba(124,58,237,0.15);
  --green: #10b981;
  --green-light: #34d399;
  --green-glow: rgba(16,185,129,0.15);
  --red: #ef4444;
  --red-light: #f87171;
  --red-glow: rgba(239,68,68,0.15);
  --orange: #f59e0b;
  --orange-light: #fbbf24;
  --orange-glow: rgba(245,158,11,0.15);
  --teal: #06b6d4;
  --teal-glow: rgba(6,182,212,0.15);
  --cyan: #22d3ee;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-green: linear-gradient(135deg, #064e3b, #065f46, #047857);
  --gradient-glow: radial-gradient(ellipse at center, var(--blue-glow) 0%, transparent 70%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.3s var(--ease);
  --transition-slow: all 0.5s var(--ease);

  /* Shadows (dark mode - glow based) */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 30px var(--blue-glow);
  --shadow-glow-strong: 0 0 50px var(--blue-glow-strong);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 100px;
}

/* ================================================================= */
/* RESET & BASE                                                       */
/* ================================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--blue);
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: white;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================================= */
/* TYPOGRAPHY                                                         */
/* ================================================================= */

h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); }

.mono { font-family: var(--font-mono); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================= */
/* SECTION SHARED                                                     */
/* ================================================================= */

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-surface);
}

.section--deep {
  background: var(--bg-deep);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: var(--blue-glow);
  border: 1px solid rgba(11,127,219,0.2);
  border-radius: var(--radius-full);
}

.section-label--green {
  color: var(--green-light);
  background: var(--green-glow);
  border-color: rgba(16,185,129,0.2);
}

.section-label--red {
  color: var(--red-light);
  background: var(--red-glow);
  border-color: rgba(239,68,68,0.2);
}

.section-label--purple {
  color: var(--purple-light);
  background: var(--purple-glow);
  border-color: rgba(124,58,237,0.2);
}

.section-label--orange {
  color: var(--orange-light);
  background: var(--orange-glow);
  border-color: rgba(245,158,11,0.2);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================================= */
/* BUTTONS                                                            */
/* ================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 20px rgba(11,127,219,0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11,127,219,0.5);
  color: white;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1.15rem 2.75rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn--github {
  background: var(--bg-surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--github:hover {
  background: var(--bg-surface-3);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--coffee {
  background: #FF813F;
  color: white;
}

.btn--coffee:hover {
  background: #e0722f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,129,63,0.35);
}

.btn--game {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn--game:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.45);
  color: white;
}

/* ================================================================= */
/* NAVIGATION                                                         */
/* ================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav--scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  background: rgba(10,14,26,0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-left: 0.5rem;
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--blue);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* Nav CTA */
.nav-cta {
  padding: 0.45rem 1.1rem !important;
  background: var(--gradient-brand) !important;
  border-radius: var(--radius-sm) !important;
  color: white !important;
  font-size: 0.8rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(11,127,219,0.35);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================= */
/* HERO                                                               */
/* ================================================================= */

.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow--1 {
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11,127,219,0.18) 0%, transparent 70%);
}

.hero-glow--2 {
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge--nl {
  background: rgba(255,107,53,0.12);
  color: #FF6B35;
  border: 1px solid rgba(255,107,53,0.2);
}

.badge--iot {
  background: var(--blue-glow);
  color: var(--blue-light);
  border: 1px solid rgba(11,127,219,0.2);
}

.badge--ai {
  background: var(--purple-glow);
  color: var(--purple-light);
  border: 1px solid rgba(124,58,237,0.2);
}

.badge--green {
  background: var(--green-glow);
  color: var(--green-light);
  border: 1px solid rgba(16,185,129,0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-typing {
  display: block;
  min-height: 1.5em;
  color: var(--blue-light);
}

.hero-typing .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--blue);
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ================================================================= */
/* PROBLEM SECTION                                                    */
/* ================================================================= */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-card--without {
  border-color: rgba(239,68,68,0.15);
}

.comparison-card--without .comparison-card-header svg {
  color: var(--red);
}

.comparison-card--with {
  border-color: rgba(16,185,129,0.2);
  box-shadow: inset 0 0 60px var(--green-glow);
}

.comparison-card--with .comparison-card-header svg {
  color: var(--green);
}

.comparison-list li {
  padding: 0.55rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-card--without .comparison-list li::before {
  content: '\00d7';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-card--with .comparison-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ================================================================= */
/* HOW IT WORKS                                                       */
/* ================================================================= */

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 300px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 30px var(--blue-glow);
}

.step-icon {
  color: var(--blue-light);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.step-card p {
  font-size: 0.92rem;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 3rem;
}

/* Architecture Diagram */
.architecture-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.arch-column {
  text-align: center;
}

.arch-column h4 {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.arch-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.arch-item {
  padding: 0.6rem 1.25rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: var(--transition);
}

.arch-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-3);
}

.arch-item--highlight {
  background: var(--gradient-brand);
  color: white;
  border-color: transparent;
}

.arch-item--highlight:hover {
  background: var(--gradient-brand);
  transform: scale(1.02);
}

.arch-item--green {
  background: var(--green-glow);
  color: var(--green-light);
  border-color: rgba(16,185,129,0.15);
}

.arch-arrows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.arch-arrow {
  width: 40px;
  height: 2px;
  background: var(--blue);
  position: relative;
}

.arch-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--blue);
}

/* ================================================================= */
/* FEATURES                                                           */
/* ================================================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon--blue { background: var(--blue-glow); color: var(--blue-light); }
.feature-icon--purple { background: var(--purple-glow); color: var(--purple-light); }
.feature-icon--teal { background: var(--teal-glow); color: var(--teal); }
.feature-icon--orange { background: var(--orange-glow); color: var(--orange-light); }
.feature-icon--red { background: var(--red-glow); color: var(--red-light); }
.feature-icon--dark { background: rgba(255,255,255,0.05); color: var(--text-secondary); }

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.feature-list li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ================================================================= */
/* AI AGENTS                                                          */
/* ================================================================= */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.agent-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.agent-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.agent-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.agent-icon--energy { background: var(--blue-glow); color: var(--blue-light); }
.agent-icon--cost { background: var(--green-glow); color: var(--green-light); }
.agent-icon--anomaly { background: var(--red-glow); color: var(--red-light); }
.agent-icon--maintenance { background: var(--purple-glow); color: var(--purple-light); }

.agent-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.agent-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.agent-card > p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.agent-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.agent-tool {
  padding: 0.2rem 0.55rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.agent-example {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
}

.agent-example-label {
  font-style: normal;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Chat Demo */
.agents-chat-demo {
  max-width: 620px;
  margin: 0 auto;
}

.chat-window {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
}

.chat-messages {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 85%;
}

.chat-msg--user {
  background: rgba(11,127,219,0.12);
  border: 1px solid rgba(11,127,219,0.2);
  color: #93c5fd;
  align-self: flex-end;
}

.chat-msg--agent {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-self: flex-start;
}

.chat-agent-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--green-glow);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.875rem 1.25rem;
  align-self: flex-start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ================================================================= */
/* CYBERSECURITY SECTION                                              */
/* ================================================================= */

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.security-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.security-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.security-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.security-card:hover::after {
  opacity: 1;
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.security-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-glow);
  color: var(--blue-light);
  flex-shrink: 0;
}

.security-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.security-card .tech-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.security-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.security-extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.security-extra {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.security-extra:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

.security-extra-icon {
  color: var(--blue-light);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.security-extra h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.security-extra p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ================================================================= */
/* SUSTAINABILITY                                                     */
/* ================================================================= */

.section--sustainability {
  background: linear-gradient(135deg, rgba(4,30,21,0.8) 0%, rgba(6,46,34,0.8) 50%, rgba(5,80,60,0.6) 100%);
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sustainability-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.sustainability-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.sustainability-icon {
  color: var(--green-light);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.sustainability-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.sustainability-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

/* ================================================================= */
/* NUMBERS / STATS                                                    */
/* ================================================================= */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.number-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.number-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.number-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1.2;
}

.number-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

/* ================================================================= */
/* TECH STACK                                                         */
/* ================================================================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.tech-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.tech-name {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.tech-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ================================================================= */
/* PILOT SECTION                                                      */
/* ================================================================= */

.pilot-content {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.pilot-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: var(--gradient-brand);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.pilot-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.pilot-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.pilot-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.pilot-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.pilot-card--get h3 svg { color: var(--green); }
.pilot-card--give h3 svg { color: var(--blue); }

.pilot-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pilot-card--get ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pilot-card--give ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.pilot-after {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
  text-align: left;
}

.pilot-after h4 {
  margin-bottom: 0.5rem;
  color: var(--blue-light);
}

.pilot-cta {
  margin-top: 2rem;
}

.pilot-cta-sub {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================================================================= */
/* GAME SECTION                                                       */
/* ================================================================= */

.game-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.game-container {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.game-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-scores {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
}

.game-score-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.game-score-value {
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-mono);
}

.game-timer {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--orange);
}

.game-board {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  min-height: 320px;
}

.game-machine {
  background: var(--bg-surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.game-machine:hover {
  transform: scale(1.03);
}

.game-machine--active {
  border-color: rgba(16,185,129,0.3);
  box-shadow: inset 0 0 20px var(--green-glow);
}

.game-machine--idle {
  border-color: rgba(245,158,11,0.3);
  box-shadow: inset 0 0 20px var(--orange-glow);
  animation: idlePulse 2s ease-in-out infinite;
}

.game-machine--anomaly {
  border-color: rgba(239,68,68,0.3);
  box-shadow: inset 0 0 20px var(--red-glow);
  animation: anomalyPulse 1s ease-in-out infinite;
}

.game-machine--off {
  opacity: 0.4;
  border-style: dashed;
}

@keyframes idlePulse {
  0%, 100% { box-shadow: inset 0 0 20px var(--orange-glow); }
  50% { box-shadow: inset 0 0 35px rgba(245,158,11,0.25); }
}

@keyframes anomalyPulse {
  0%, 100% { box-shadow: inset 0 0 20px var(--red-glow); }
  50% { box-shadow: inset 0 0 35px rgba(239,68,68,0.3); }
}

.game-machine-name {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.game-machine-status {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.game-machine--active .game-machine-status { color: var(--green-light); }
.game-machine--idle .game-machine-status { color: var(--orange-light); }
.game-machine--anomaly .game-machine-status { color: var(--red-light); }
.game-machine--off .game-machine-status { color: var(--text-muted); }

.game-power-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.game-power-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s var(--ease);
}

.game-machine--active .game-power-fill { background: var(--green); }
.game-machine--idle .game-power-fill { background: var(--orange); }
.game-machine--anomaly .game-power-fill { background: var(--red); }

.game-power-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.game-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.game-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.game-start-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.game-start-overlay p {
  max-width: 400px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.92rem;
}

.game-result {
  padding: 2rem;
  text-align: center;
}

.game-result h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.game-result-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.game-result-stat {
  text-align: center;
}

.game-result-stat .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-mono);
}

.game-result-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.game-result-message {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--blue-glow);
  border: 1px solid rgba(11,127,219,0.2);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.game-highscore {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--orange-light);
  font-weight: 700;
}

/* ================================================================= */
/* SUPPORT SECTION                                                    */
/* ================================================================= */

.support-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.support-content h2 {
  margin-bottom: 1rem;
}

.support-content > p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.support-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.support-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================================================================= */
/* FOOTER                                                             */
/* ================================================================= */

.footer {
  background: var(--bg-deep);
  color: var(--text-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-badge--nl {
  background: rgba(255,107,53,0.12);
  color: #FF6B35;
}

.footer-badge--green {
  background: var(--green-glow);
  color: var(--green-light);
}

.footer-badge--solo {
  background: rgba(239,68,68,0.12);
  color: var(--red-light);
}

.footer-links-group h4 {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links-group ul li {
  margin-bottom: 0.6rem;
}

.footer-links-group ul a {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
}

.footer-tagline {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--text-dim);
}

/* ================================================================= */
/* SCROLL ANIMATIONS                                                  */
/* ================================================================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
[data-animate].animated .feature-card,
[data-animate].animated .agent-card,
[data-animate].animated .sustainability-card,
[data-animate].animated .number-card,
[data-animate].animated .step-card,
[data-animate].animated .tech-item,
[data-animate].animated .security-card,
[data-animate].animated .security-extra {
  animation: fadeInUp 0.5s var(--ease) forwards;
  opacity: 0;
}

[data-animate].animated > :nth-child(1) { animation-delay: 0.05s; }
[data-animate].animated > :nth-child(2) { animation-delay: 0.1s; }
[data-animate].animated > :nth-child(3) { animation-delay: 0.15s; }
[data-animate].animated > :nth-child(4) { animation-delay: 0.2s; }
[data-animate].animated > :nth-child(5) { animation-delay: 0.25s; }
[data-animate].animated > :nth-child(6) { animation-delay: 0.3s; }
[data-animate].animated > :nth-child(7) { animation-delay: 0.35s; }
[data-animate].animated > :nth-child(8) { animation-delay: 0.4s; }
[data-animate].animated > :nth-child(9) { animation-delay: 0.45s; }
[data-animate].animated > :nth-child(10) { animation-delay: 0.5s; }
[data-animate].animated > :nth-child(11) { animation-delay: 0.55s; }
[data-animate].animated > :nth-child(12) { animation-delay: 0.6s; }

/* ================================================================= */
/* RESPONSIVE                                                         */
/* ================================================================= */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .sustainability-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .security-extras { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }

  .architecture-diagram {
    flex-direction: column;
    gap: 1rem;
  }

  .arch-arrows {
    flex-direction: row;
  }

  .arch-arrow {
    width: 2px;
    height: 30px;
  }

  .arch-arrow::after {
    right: auto;
    top: auto;
    bottom: -1px;
    left: -4px;
    border: 5px solid transparent;
    border-top-color: var(--blue);
    border-left-color: transparent;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: flex; }

  .hero { padding: 8rem 0 4rem; min-height: auto; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat-divider { display: none; }
  .hero-stat { flex: 0 0 40%; }

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .features-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .security-extras { grid-template-columns: repeat(2, 1fr); }
  .sustainability-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .pilot-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .support-actions { flex-direction: column; align-items: center; }
  .game-board { grid-template-columns: repeat(2, 1fr); }
  .game-result-stats { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-badges { gap: 0.3rem; }
  .badge { font-size: 0.65rem; padding: 0.2rem 0.6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .security-extras { grid-template-columns: 1fr 1fr; }
  .hero-stat { flex: 0 0 40%; }
  .game-scores { gap: 0.75rem; font-size: 0.72rem; }
  .game-board { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* ================================================================= */
/* UTILITY & WORDPRESS                                                */
/* ================================================================= */

.main-content {
  padding: 8rem 0 4rem;
  min-height: 60vh;
}

.entry-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.entry-content h1 {
  margin-bottom: 2rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* WordPress admin bar offset */
.admin-bar .nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nav {
    top: 46px;
  }
}
