/* ==========================================================================
   NEW BRAIN - Sovereign Multimodal AI Engine Landing Page Styles
   Theme: Dark Obsidian Glassmorphism with Dynamic Neon Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Tokens */
  --bg-dark: #07090e;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);

  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --purple-accent: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --pink-accent: #ff007a;
  --green-accent: #10b981;
  --orange-accent: #f97316;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, #00f0ff 70%, #a78bfa 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0,240,255,0.4), rgba(124,58,237,0.1));

  /* Spacing & Layout */
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmospheric Glows */
.bg-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 122, 0.08) 0%, rgba(124, 58, 237, 0.05) 60%, transparent 80%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 14, 0.75);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--cyan-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-nav-github:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: var(--radius-full);
  color: #c4b5fd;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero h1 {
  font-size: 3.75rem;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

/* Hero CTA Container */
.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.btn-primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 440px;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.4);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.6);
}

.btn-primary-download svg {
  width: 24px;
  height: 24px;
}

/* CLI Box */
.cli-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  background: rgba(13, 17, 26, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.cli-command {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: nowrap;
}

.cli-prompt {
  color: var(--cyan-primary);
  font-weight: 700;
}

.btn-copy-cli {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy-cli:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

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

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

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Showcase Section */
.showcase-section {
  padding: 5rem 0;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
}

.showcase-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.showcase-tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.showcase-tab.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
}

.showcase-display {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #07090e;
  border: 1px solid var(--border-glass);
  min-height: 480px;
  position: relative;
}

.showcase-panel {
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.showcase-panel.active {
  display: block;
  opacity: 1;
}

.showcase-panel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom Interactive Visualizer Components */
.viz-container {
  padding: 1.5rem;
  background: rgba(11, 15, 25, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.viz-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
}

.status-dot.green { background: var(--green-accent); box-shadow: 0 0 10px var(--green-accent); }
.status-dot.purple { background: var(--purple-accent); box-shadow: 0 0 10px var(--purple-accent); }

.viz-badge {
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

#meshCanvas {
  width: 100%;
  height: 380px;
  background: #05070a;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  display: block;
}

.viz-footer-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.85rem 1rem;
  background: rgba(18, 24, 38, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.viz-stat {
  font-size: 0.88rem;
}

.viz-stat .lbl { color: var(--text-muted); }
.viz-stat .val { color: var(--cyan-primary); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

/* Weight Streaming Engine Visualizer */
.streaming-viz-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
}

.stream-source-box, .stream-target-box {
  background: rgba(15, 20, 32, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.stream-source-box h4, .stream-target-box h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #fff;
}

.layers-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.layer-block {
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.layer-block.streaming {
  background: rgba(0, 240, 255, 0.3);
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transform: scale(1.1);
}

.layer-block.done {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.4);
}

.stream-pipeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.pulse-arrow {
  font-size: 1.5rem;
  color: var(--cyan-primary);
  animation: floatArrow 1.2s infinite ease-in-out alternate;
}

@keyframes floatArrow {
  from { transform: translateX(-6px); }
  to { transform: translateX(6px); }
}

.vram-meter-bar {
  width: 100%;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  margin-bottom: 1rem;
}

.vram-fill-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--green-accent), var(--cyan-primary));
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s ease;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.active-layer-card {
  padding: 0.85rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

/* Multimodal Voice & Vision Visualizer */
.multimodal-viz-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  padding: 1rem 0;
}

.webcam-sim-box {
  width: 100%;
  height: 240px;
  background: radial-gradient(circle at center, #1a2336 0%, #080c14 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cam-overlay-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 0, 122, 0.4);
  color: var(--pink-accent);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
}

.bounding-box {
  position: absolute;
  border: 2px solid var(--cyan-primary);
  border-radius: 6px;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.face-box {
  top: 40px;
  left: 80px;
  width: 110px;
  height: 120px;
}

.object-box {
  bottom: 25px;
  right: 50px;
  width: 140px;
  height: 90px;
  border-color: var(--purple-accent);
}

.bbox-label {
  position: absolute;
  top: -20px;
  left: -2px;
  background: var(--cyan-primary);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.object-box .bbox-label { background: var(--purple-accent); color: #fff; }

.audio-wave-box {
  margin-top: 1rem;
  background: rgba(15, 20, 32, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
}

.wave-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  margin-top: 0.5rem;
}

.wave-bars span {
  width: 4px;
  height: 20%;
  background: var(--cyan-primary);
  border-radius: 2px;
  animation: waveAnim 1s infinite ease-in-out alternate;
}

.wave-bars span:nth-child(2n) { animation-delay: 0.2s; background: var(--purple-accent); }
.wave-bars span:nth-child(3n) { animation-delay: 0.4s; background: var(--pink-accent); }

@keyframes waveAnim {
  0% { height: 15%; }
  100% { height: 95%; }
}

.terminal-sim-box {
  background: #080b12;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  height: 100%;
}

.term-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
}

.term-body {
  padding: 1rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.term-line.prompt { color: var(--cyan-primary); font-weight: 600; }
.term-line.info { color: var(--purple-accent); }
.term-line.success { color: var(--green-accent); }

/* Calculator Section */
.calculator-section {
  padding: 5rem 0;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.6rem;
}

.btn-option {
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-option.selected {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.calc-outputs {
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-header {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.result-row:last-child {
  border-bottom: none;
}

.result-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.result-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.val-highlight {
  color: var(--cyan-primary);
}

.val-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-accent);
  font-size: 0.85rem;
}

/* Comparison Section */
.comparison-section {
  padding: 5rem 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  background: rgba(15, 20, 32, 0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: #fff;
}

.comparison-table th.col-nb {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan-primary);
  border-left: 2px solid var(--cyan-primary);
  border-right: 2px solid var(--cyan-primary);
}

.comparison-table td.col-nb {
  background: rgba(0, 240, 255, 0.03);
  border-left: 2px solid rgba(0, 240, 255, 0.3);
  border-right: 2px solid rgba(0, 240, 255, 0.3);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.status-check {
  color: var(--green-accent);
  font-weight: 800;
  font-size: 1.2rem;
}

.status-cross {
  color: var(--pink-accent);
  opacity: 0.7;
}

/* Features Grid Section */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Roadmap Section */
.roadmap-section {
  padding: 5rem 0;
  position: relative;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.roadmap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 122, 0.4);
  box-shadow: 0 15px 35px rgba(255, 0, 122, 0.15);
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-red { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-grey { background: rgba(156, 163, 175, 0.15); color: #d1d5db; border: 1px solid rgba(156, 163, 175, 0.3); }
.badge-black { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }
.badge-pentest { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

.roadmap-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.roadmap-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.roadmap-card .status-pill {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--cyan-primary);
  font-weight: 600;
}

/* Feedback Section */
.feedback-section {
  padding: 5rem 0;
  position: relative;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input[type="text"], .form-group textarea {
  padding: 0.85rem 1rem;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input[type="text"]:focus, .form-group textarea:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.checkbox-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--cyan-primary);
  width: 16px;
  height: 16px;
}

.feedback-toast {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

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

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad-primary);
  width: 0%;
  z-index: 1000;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Hero Particle Canvas Background */
.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Interactive Terminal Playground Section */
.playground-section {
  padding: 4rem 0 5rem 0;
  position: relative;
}

.interactive-terminal-card {
  background: #080b12;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}

.term-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-glass);
}

.term-dots {
  display: flex;
  gap: 6px;
}

.term-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.term-dots .dot.red { background: #ef4444; }
.term-dots .dot.yellow { background: #f59e0b; }
.term-dots .dot.green { background: #10b981; }

.term-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.term-chips {
  display: flex;
  gap: 0.4rem;
}

.chip-btn {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-btn:hover {
  background: rgba(0, 240, 255, 0.25);
  transform: translateY(-1px);
}

.interactive-term-body {
  padding: 1.25rem;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  background: #05070c;
}

.interactive-term-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 20, 32, 0.9);
  border-top: 1px solid var(--border-glass);
}

.interactive-term-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.btn-send-cmd {
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--cyan-primary);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-send-cmd:hover {
  background: #38bdf8;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Floating Back To Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  z-index: 99;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: var(--cyan-primary);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-3px);
}

.nav-version-tag {
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-primary);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.btn-nav-download {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transition: var(--transition-fast);
}

.btn-nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.bg-glow-3 {
  position: absolute;
  top: 3200px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(124, 58, 237, 0.05) 60%, transparent 80%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Benchmarks Section */
.benchmarks-section {
  padding: 5rem 0;
  position: relative;
}

.benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.benchmark-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.bm-tab {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.bm-tab:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.bm-tab.active { background: rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.4); color: var(--cyan-primary); }

.bm-display-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bm-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bm-bar-group.opacity-low { opacity: 0.65; }

.bm-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
}

.bm-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-primary);
  font-weight: 700;
}

.bm-bar-track {
  width: 100%;
  height: 18px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.bm-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-bar-fill.cyan { background: linear-gradient(90deg, #00f0ff, #38bdf8); box-shadow: 0 0 12px var(--cyan-glow); }
.bm-bar-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); box-shadow: 0 0 12px var(--purple-glow); }
.bm-bar-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }
.bm-bar-fill.red { background: linear-gradient(90deg, #ef4444, #f87171); }

/* FAQ Accordion Section */
.faq-section {
  padding: 5rem 0;
  position: relative;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover { border-color: rgba(0, 240, 255, 0.3); }

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  color: var(--cyan-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(0, 240, 255, 0.15) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-banner-box h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-banner-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(5, 7, 10, 0.95);
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--cyan-primary);
}

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

/* Comprehensive Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }
  .hero h1 { font-size: 3rem; }
  .calculator-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-version-tag { display: none; }
  .navbar { padding: 0.75rem 0; }
  .nav-logo-text { font-size: 1.2rem; }
  
  .hero { padding: 3rem 0 2.5rem 0; }
  .hero h1 { font-size: 2.2rem; line-height: 1.2; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-badge { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
  
  .hero-cta-box { width: 100%; max-width: 100%; gap: 1rem; }
  .btn-primary-download { width: 100%; max-width: 100%; padding: 0.95rem 1.25rem; font-size: 1.02rem; }
  
  .cli-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem;
    width: 100%;
    max-width: 100%;
  }
  
  .cli-command {
    font-size: 0.78rem;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
  }
  
  .btn-copy-cli { width: 100%; justify-content: center; }

  .hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.78rem; }

  /* Showcase Panels Mobile */
  .showcase-card { padding: 0.85rem; }
  .showcase-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .showcase-tab { flex-shrink: 0; font-size: 0.8rem; padding: 0.5rem 0.85rem; }
  
  .viz-container { padding: 1rem; gap: 1rem; }
  .viz-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .viz-badge { font-size: 0.75rem; }
  
  #meshCanvas { height: 260px; }

  .viz-footer-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem;
  }

  .streaming-viz-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
  }

  .layers-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .layer-block { height: 24px; font-size: 0.65rem; }
  .stream-pipeline-arrow { margin: 0.4rem 0; }

  .multimodal-viz-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .webcam-sim-box { height: 180px; }

  /* Playground Mobile */
  .term-toolbar { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .term-chips { overflow-x: auto; width: 100%; white-space: nowrap; padding-bottom: 0.25rem; }
  .chip-btn { flex-shrink: 0; }
  .interactive-term-body { font-size: 0.78rem; padding: 0.85rem; min-height: 180px; }

  /* Calculator & Option Grid Mobile */
  .calculator-wrapper { padding: 1.25rem; gap: 1.5rem; }
  .option-grid { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 0.5rem; }
  .btn-option { padding: 0.6rem 0.4rem; font-size: 0.82rem; }
  .calc-outputs { padding: 1.15rem; }

  /* Benchmarks Mobile */
  .benchmark-card { padding: 1.25rem; }
  .benchmark-tabs { overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; padding-bottom: 0.5rem; }
  .bm-tab { flex-shrink: 0; font-size: 0.82rem; padding: 0.55rem 0.85rem; }
  .bm-bar-label { font-size: 0.82rem; }

  /* FAQ Accordion Mobile */
  .faq-question { font-size: 0.98rem; padding: 1rem 1.15rem; }
  .faq-answer { padding: 0 1.15rem; }
  .faq-item.active .faq-answer { padding: 0 1.15rem 1.15rem 1.15rem; }

  /* Features & Roadmap Mobile */
  .features-grid, .roadmap-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature-card, .roadmap-card { padding: 1.5rem; }

  /* Feedback Form Mobile */
  .feedback-card { padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .checkbox-grid { grid-template-columns: 1fr; }

  /* Footer & CTA Mobile */
  .cta-banner-box { padding: 2.5rem 1.25rem; }
  .cta-banner-box h2 { font-size: 1.85rem; }
  .cta-banner-box p { font-size: 0.98rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 0.92rem; }
  .section-header h2 { font-size: 1.75rem; }
  
  .hero-stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .stat-num { font-size: 1.45rem; }

  .option-grid { grid-template-columns: 1fr 1fr; }
  .result-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }

  .back-to-top-btn { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
}

