/* === NOC AI OPERATOR - OPERATIONS CENTER THEME === */
/* Color palette inspired by monitoring dashboards and control rooms */

/* === CSS VARIABLES === */
:root {
  /* Primary Colors - NOC Theme */
  --noc-green: #00ff88;        /* Healthy/OK status */
  --noc-green-dim: #00cc6a;
  --noc-amber: #ffaa00;        /* Warning */
  --noc-red: #ff4444;          /* Critical/Alert */
  --noc-cyan: #00e5ff;         /* Info/Secondary */

  /* Backgrounds */
  --bg-dark: #0a0c10;
  --bg-darker: #060709;
  --bg-panel: rgba(10, 15, 20, 0.95);
  --bg-card: rgba(15, 20, 28, 0.8);

  /* Grid/Lines */
  --grid-color: rgba(0, 255, 136, 0.03);
  --border-color: rgba(0, 255, 136, 0.15);
  --border-dim: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-primary: #e8f0f8;
  --text-secondary: #7a8999;
  --text-dim: #4a5568;
}

/* === BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scanline effect overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--noc-green), var(--noc-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-red { color: var(--noc-red); }
.text-cyan { color: var(--noc-cyan); }
.text-green { color: var(--noc-green); }
.text-amber { color: var(--noc-amber); }
.text-dim { color: var(--text-dim); }

/* Status indicators */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  animation: statusPulse 2s ease-in-out infinite;
}
.status-dot.ok { background: var(--noc-green); box-shadow: 0 0 10px var(--noc-green); }
.status-dot.warning { background: var(--noc-amber); box-shadow: 0 0 10px var(--noc-amber); }
.status-dot.critical { background: var(--noc-red); box-shadow: 0 0 10px var(--noc-red); }

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* === NAV === */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6, 7, 9, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(6, 7, 9, 0.98);
  box-shadow: 0 4px 30px rgba(0, 255, 136, 0.05);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 800; color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.logo-icon {
  color: var(--noc-green);
  font-size: 1.3rem;
  text-shadow: 0 0 10px var(--noc-green);
  animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--noc-green); }
  50% { opacity: 0.8; text-shadow: 0 0 20px var(--noc-green), 0 0 30px var(--noc-green); }
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--noc-green); }
.nav-cta {
  padding: 8px 20px !important;
  background: linear-gradient(135deg, var(--noc-green), var(--noc-cyan)) !important;
  color: var(--bg-dark) !important;
  border-radius: 6px;
  font-weight: 700 !important;
  font-family: 'JetBrains Mono', monospace !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  letter-spacing: 1px;
}
.nav-lang {
  padding: 4px 12px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  color: var(--text-dim) !important;
  transition: all 0.2s;
  font-family: 'JetBrains Mono', monospace !important;
}
.nav-lang:hover {
  border-color: var(--noc-green) !important;
  color: var(--noc-green) !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu span {
  display: block; width: 24px; height: 2px;
  background: var(--text-secondary); margin: 5px 0; transition: 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; font-size: 0.9rem; font-weight: 600;
  border-radius: 6px; text-decoration: none;
  font-family: 'JetBrains Mono', monospace; cursor: pointer;
  transition: all 0.2s; border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--noc-green), var(--noc-cyan));
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  border-color: var(--noc-green);
  color: var(--noc-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}
.btn-sm { padding: 8px 20px; font-size: 0.75rem; }
.btn-lg { padding: 18px 48px; font-size: 1rem; }

/* === HERO === */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; text-align: center;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; filter: blur(180px); opacity: 0.08;
}
.bg-glow.blue { background: var(--noc-cyan); top: -200px; right: -150px; }
.bg-glow.purple { background: var(--noc-green); bottom: -200px; left: -150px; }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Radar sweep effect */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  margin: -400px 0 0 -400px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 255, 136, 0.03) 30deg,
    transparent 60deg
  );
  animation: radarSweep 8s linear infinite;
  opacity: 0.5;
}
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--noc-green);
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--noc-green);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 10px var(--noc-green);
  animation: statusPulse 2s ease-in-out infinite;
}
#hero h1 {
  font-size: 3.8rem; font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 600px;
  margin: 0 auto 32px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  position: relative;
}

/* Stats with monitoring style */
.hero-stat { text-align: center; position: relative; }
.hero-stat::before {
  content: '';
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--noc-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--noc-green);
}
.hero-stat-num {
  display: block; font-size: 2.2rem; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--noc-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid var(--noc-green);
  border-bottom: 2px solid var(--noc-green); transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
  opacity: 0.6;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* === SECTIONS === */
section { padding: 100px 0; position: relative; }
section:nth-child(even) {
  background: rgba(0, 255, 136, 0.01);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--noc-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.section-badge::before {
  content: '//';
  margin-right: 8px;
  opacity: 0.5;
}
section h2 {
  font-size: 2.5rem; font-weight: 800; color: #fff;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-dim); max-width: 600px;
  margin-bottom: 48px; line-height: 1.7;
}

/* === PROBLEM === */
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 80px;
}
.problem-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 8px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--noc-red), transparent);
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 68, 68, 0.4);
  box-shadow: 0 10px 40px rgba(255, 68, 68, 0.1);
}
.problem-num {
  font-size: 2.8rem; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}
.problem-label {
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
  margin: 8px 0 12px;
  font-family: 'JetBrains Mono', monospace;
}
.problem-card p { font-size: 0.85rem; color: var(--text-dim); }

/* Bar chart */
.storm-viz { max-width: 700px; }
.storm-viz h3 {
  font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.storm-sub { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 24px; }
.bar-chart { margin-bottom: 16px; }
.bar-row { display: flex; align-items: center; margin: 10px 0; gap: 16px; }
.bar-row.highlight { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.bar-label {
  width: 120px; font-size: 0.75rem; color: var(--text-dim);
  text-align: right; font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}
.bar-track {
  flex: 1; height: 28px;
  background: rgba(255, 68, 68, 0.05);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 68, 68, 0.1);
}
.bar-row.highlight .bar-track {
  background: rgba(0, 255, 136, 0.05);
  border-color: rgba(0, 255, 136, 0.1);
}
.bar-fill {
  height: 100%; width: 0; border-radius: 4px;
  display: flex; align-items: center; padding-left: 12px;
  font-size: 0.7rem; font-weight: 600; color: #fff;
  font-family: 'JetBrains Mono', monospace;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-fill.red {
  background: linear-gradient(90deg, var(--noc-red), #ff6666);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}
.bar-fill.green {
  background: linear-gradient(90deg, var(--noc-green), var(--noc-cyan));
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
.storm-caption {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

/* === DEMO === */
.demo-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.demo-tab {
  padding: 10px 24px; font-size: 0.8rem; font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px; color: var(--text-dim); cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.demo-tab.active {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--noc-green);
  color: var(--noc-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-controls {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.demo-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem; font-weight: 700;
  color: var(--noc-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}
.demo-alert-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; color: var(--noc-red);
}

/* Split demo */
.split-demo {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  height: 480px;
  background: var(--bg-darker);
}
.split-panel { flex: 1; display: flex; flex-direction: column; }
.split-panel.trad { border-right: 1px solid var(--border-color); }
.split-header {
  padding: 12px 16px; display: flex;
  justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-panel);
}
.split-title {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
}
.split-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
}
.split-title.text-red::before {
  background: var(--noc-red);
  box-shadow: 0 0 8px var(--noc-red);
}
.split-title.text-cyan::before {
  background: var(--noc-green);
  box-shadow: 0 0 8px var(--noc-green);
  animation: statusPulse 2s ease-in-out infinite;
}
.split-stats {
  display: flex; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; color: var(--text-dim);
}
.split-stats b { color: var(--text-primary); }
.split-feed {
  flex: 1; overflow-y: auto; padding: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border-color) var(--bg-dark);
}
.split-feed::-webkit-scrollbar { width: 4px; }
.split-feed::-webkit-scrollbar-track { background: transparent; }
.split-feed::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.split-status {
  padding: 8px 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; color: var(--noc-red);
  border-top: 1px solid var(--border-color);
  background: var(--bg-panel);
  display: flex;
  align-items: center;
}
.split-status::before {
  content: '>';
  margin-right: 8px;
  opacity: 0.5;
}
.split-status.ai-status { color: var(--noc-green); }
.split-divider {
  width: 1px; background: var(--border-color); display: flex;
  align-items: center; justify-content: center;
  position: relative;
}
.split-divider span {
  position: absolute;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 36px; height: 36px; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* Alert items in demo */
.alert-item {
  padding: 8px 12px; margin-bottom: 3px;
  border-radius: 4px; font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  display: flex; justify-content: space-between;
  align-items: center; gap: 8px;
  animation: alertSlide 0.25s ease;
  border-left: 3px solid;
}
@keyframes alertSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.alert-item.critical {
  background: rgba(255, 68, 68, 0.08);
  border-left-color: var(--noc-red);
}
.alert-item.warning {
  background: rgba(255, 170, 0, 0.08);
  border-left-color: var(--noc-amber);
}
.alert-item.info {
  background: rgba(0, 229, 255, 0.08);
  border-left-color: var(--noc-cyan);
}
.alert-item.grouped {
  background: rgba(0, 255, 136, 0.06);
  border-left-color: var(--noc-green);
}
.alert-item.resolved {
  background: rgba(0, 255, 136, 0.06);
  border-left-color: var(--noc-green);
}
.alert-item.ticket {
  background: rgba(0, 229, 255, 0.06);
  border-left-color: var(--noc-cyan);
}
.alert-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-badge {
  font-size: 0.55rem; padding: 2px 8px; border-radius: 3px;
  white-space: nowrap; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-crit { background: rgba(255, 68, 68, 0.2); color: var(--noc-red); }
.badge-warn { background: rgba(255, 170, 0, 0.2); color: var(--noc-amber); }
.badge-info { background: rgba(0, 229, 255, 0.2); color: var(--noc-cyan); }
.badge-corr { background: rgba(0, 255, 136, 0.2); color: var(--noc-green); }
.badge-resolved { background: rgba(0, 255, 136, 0.2); color: var(--noc-green); }
.badge-ticket { background: rgba(0, 229, 255, 0.2); color: var(--noc-cyan); }

/* Triage cards */
.triage-card {
  margin: 6px 4px; padding: 12px;
  background: rgba(0, 255, 136, 0.04);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 6px; animation: alertSlide 0.4s ease;
}
.triage-card h4 {
  font-size: 0.7rem; color: var(--noc-green);
  margin-bottom: 6px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.triage-card p {
  font-size: 0.65rem; color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace; line-height: 1.4;
}
.triage-action {
  margin-top: 6px; padding: 4px 10px;
  background: rgba(0, 229, 255, 0.1); border-radius: 3px;
  font-size: 0.6rem; color: var(--noc-cyan);
  font-family: 'JetBrains Mono', monospace;
}

/* Stress indicator */
.stress-bar {
  padding: 8px 12px; margin: 4px 8px;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.25);
  border-radius: 4px; font-size: 0.65rem;
  color: var(--noc-amber); font-family: 'JetBrains Mono', monospace;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* Terminal demo */
.terminal-wrapper {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden; height: 480px; display: flex; flex-direction: column;
  background: var(--bg-darker);
}
.term-bar {
  height: 36px;
  background: #0d0f12;
  display: flex; align-items: center;
  padding: 0 14px; gap: 8px;
  border-bottom: 1px solid var(--border-color);
}
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #28c840; }
.term-title {
  flex: 1; text-align: center; font-size: 0.65rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
}
.term-body {
  flex: 1; padding: 14px; overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; line-height: 1.55;
  scrollbar-width: thin; scrollbar-color: var(--border-color) var(--bg-darker);
  background: #050607;
}
.term-body::-webkit-scrollbar { width: 4px; }
.term-body::-webkit-scrollbar-track { background: var(--bg-darker); }
.term-body::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.term-line { white-space: pre-wrap; word-break: break-all; animation: alertSlide 0.1s ease; }
.t-prompt { color: var(--noc-green); }
.t-cmd { color: var(--text-primary); }
.t-dim { color: var(--text-dim); }
.t-red { color: var(--noc-red); font-weight: 600; }
.t-orange { color: var(--noc-amber); }
.t-yellow { color: #f1fa8c; }
.t-green { color: var(--noc-green); }
.t-cyan { color: var(--noc-cyan); }
.t-purple { color: #bd93f9; }
.t-white { color: var(--text-primary); font-weight: 600; }
.t-sep { color: var(--border-color); }
.cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--noc-green); animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  box-shadow: 0 0 10px var(--noc-green);
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* === STEPS === */
.steps-grid {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: wrap; justify-content: center;
}
.step-card {
  flex: 1; min-width: 200px; max-width: 240px;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--noc-green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card:hover::before { opacity: 1; }
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}
.step-num {
  font-size: 1.8rem; font-weight: 800;
  color: var(--noc-green); opacity: 0.4;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 12px;
}
.step-card h3 {
  font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.step-card p { font-size: 0.85rem; color: var(--text-dim); }
.step-arrow {
  font-size: 1.5rem; color: var(--noc-green); padding: 0 8px;
  align-self: center; margin-top: 20px;
  opacity: 0.3;
}

/* === COMPARISON === */
.compare-wrapper { overflow-x: auto; }
.compare-table {
  border-collapse: collapse; width: 100%; max-width: 800px; font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}
.compare-table th {
  padding: 14px 24px; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.7rem; font-weight: 700;
  border-bottom: 2px solid var(--border-color); text-align: left;
  color: var(--text-dim);
}
.compare-table td {
  padding: 12px 24px; border-bottom: 1px solid var(--border-dim);
}
.compare-table td:first-child { color: var(--text-secondary); font-weight: 500; }
.compare-table td:nth-child(2) { color: var(--noc-red); }
.compare-table td:nth-child(3) { color: var(--noc-green); }
.compare-table tbody tr { transition: background 0.2s; }
.compare-table tbody tr:hover { background: rgba(0, 255, 136, 0.03); }

/* === ROI === */
.roi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.roi-card {
  padding: 32px 24px; text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.roi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--noc-green), var(--noc-cyan));
}
.roi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}
.roi-num {
  font-size: 3rem; font-weight: 800;
  font-family: 'JetBrains Mono', monospace; line-height: 1;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}
.roi-label {
  font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 2px;
  margin: 8px 0 12px;
  font-family: 'JetBrains Mono', monospace;
}
.roi-card p { font-size: 0.8rem; color: var(--text-dim); }

/* === INTEGRATIONS === */
.integrations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.integration-group {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.integration-group h4 {
  font-size: 0.8rem; font-weight: 700; color: #fff;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.integration-group h4::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--noc-green);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 8px var(--noc-green);
}
.integration-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.integration-tags span {
  padding: 6px 14px; font-size: 0.75rem;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 4px; color: var(--text-secondary); font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.integration-tags span:hover {
  border-color: var(--noc-green);
  color: var(--noc-green);
  background: rgba(0, 255, 136, 0.1);
}

/* === CTA === */
#cta { padding: 80px 0 100px; }
.cta-box {
  text-align: center; padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative; overflow: hidden;
}
.cta-box .bg-glow {
  opacity: 0.05;
}
.cta-box h2 { font-size: 2.8rem; }
.cta-box p { font-size: 1.05rem; color: var(--text-dim); margin: 16px 0 32px; line-height: 1.7; }
.cta-sub {
  margin-top: 16px; color: var(--noc-green); font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.7;
}

/* === FOOTER === */
footer {
  padding: 24px 0; border-top: 1px solid var(--border-color);
  background: var(--bg-darker);
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 0.85rem; font-weight: 700; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.footer-links {
  display: flex; gap: 16px; font-size: 0.75rem; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* === VIDEO SHOWCASE === */
#videos { padding: 100px 0; }
.video-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.carousel-hint {
  display: none;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.1);
}
.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-darker);
  overflow: hidden;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s, opacity 0.3s;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.video-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0.3);
}
.video-card.playing .video-overlay {
  display: none;
}
.video-card.loading .video-play-btn {
  animation: btnPulse 1s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.95); opacity: 0.7; }
}
.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--noc-green), var(--noc-cyan));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
  position: relative;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1 !important;
  visibility: visible !important;
}
.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.45);
}
.video-play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--bg-dark);
  margin-left: 4px;
}
.video-info {
  padding: 16px;
  border-top: 1px solid var(--border-dim);
}
.video-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.video-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .steps-grid { gap: 16px; }
  .video-carousel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Disable scanlines on mobile for performance */
  body::before { display: none; }

  .nav-links { display: none; }
  .mobile-menu { display: block; }
  #hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr 1fr; }
  .split-demo { flex-direction: column; height: auto; }
  .split-panel { height: 320px; min-height: 320px; max-height: 320px; }
  .split-panel.trad { border-right: none; border-bottom: 1px solid var(--border-color); }
  .split-divider { width: 100%; height: 40px; flex-shrink: 0; }
  .split-divider span { top: 50%; transform: translateY(-50%); }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; }
  /* Video carousel mobile */
  #videos { padding: 50px 0; }
  #videos .container { padding: 0; }
  #videos .section-badge,
  #videos h2,
  #videos .section-sub { padding: 0 24px; }
  .video-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 24px 16px;
    margin-top: 24px;
    scrollbar-width: none;
  }
  .video-carousel::-webkit-scrollbar { display: none; }
  .video-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 8px;
  }
  .video-wrapper { aspect-ratio: 16/9; }
  .video-play-btn {
    width: 56px;
    height: 56px;
    min-width: 44px;
    min-height: 44px;
  }
  .video-play-btn svg { width: 22px; height: 22px; }
  .video-overlay {
    cursor: pointer;
  }
  .video-info { padding: 12px; }
  .video-info h4 { font-size: 0.9rem; margin-bottom: 2px; }
  .video-info p { font-size: 0.75rem; }
  .carousel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 0.7rem;
    padding: 8px 0 0;
    animation: hintPulse 2s ease-in-out infinite;
    font-family: 'JetBrains Mono', monospace;
  }
  .carousel-hint svg { fill: var(--text-dim); }
  @keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
}
@media (max-width: 480px) {
  #hero h1 { font-size: 2rem; }
  section h2 { font-size: 1.8rem; }
  .roi-grid { grid-template-columns: 1fr; }
  /* Video carousel small mobile */
  #videos { padding: 40px 0; }
  #videos h2 { font-size: 1.5rem; }
  .video-carousel { padding: 0 16px 12px; gap: 10px; }
  .video-card { flex: 0 0 240px; }
  .video-play-btn {
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
  }
  .video-play-btn svg { width: 20px; height: 20px; }
  .video-info { padding: 10px; }
  .video-info h4 { font-size: 0.85rem; }
  .video-info p { font-size: 0.7rem; }
}
