/* ========================================================================== */
/* TOOLTIP-AI — 2026 LUXURY TECH & HORIZONTAL INTERNET STREAM DESIGN SYSTEM   */
/* ========================================================================== */

:root {
  /* High-End Deep Graphite & Midnight Obsidian */
  --bg-space: #070a13;
  --bg-card: rgba(11, 16, 30, 0.76);
  --bg-card-hover: rgba(16, 24, 46, 0.88);
  
  /* 2026 Luxury Tech Accents (Electric Cobalt, Ice Cyan, Liquid Platinum) */
  --accent-primary: #38bdf8;
  --accent-cobalt: #3b82f6;
  --accent-indigo: #818cf8;
  --accent-platinum: #f8fafc;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Transitions */
  --spring-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s var(--spring-ease);
}

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

html {
  scroll-behavior: smooth;
}

body.theme-obsidian {
  font-family: var(--font-main);
  background-color: var(--bg-space);
  color: #f1f5f9;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Fullscreen Background: Horizontal Code Canvas */
#codeRainCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  mix-blend-mode: screen;
}

.background-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

.radial-ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 25% 15%, rgba(56, 189, 248, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(129, 140, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
}

/* Laser Beam Connector */
.holographic-connector-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ======================================================== */
/* NAVBAR                                                   */
/* ======================================================== */
.app-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.84);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.brand-pulse-ring {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 1px solid var(--accent-primary);
  opacity: 0.6;
  animation: pulseRing 2.4s ease-in-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--accent-primary);
}

.brand-domain-pill {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-indigo);
  letter-spacing: 0.5px;
}

.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 992px) {
  .nav-center-menu {
    display: none;
  }
}

.nav-item {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover {
  color: #fff;
}

.badge-link {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tiny-chip {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-primary);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sound-switch-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.sound-switch-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-primary);
  border-color: rgba(56, 189, 248, 0.35);
}

.nav-cta-download {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4);
}

/* ======================================================== */
/* HERO STAGE                                               */
/* ======================================================== */
.hero-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 60px auto 40px auto;
  padding: 0 24px;
  text-align: center;
}

.hero-code-stream-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(11, 16, 30, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
  margin-bottom: 24px;
}

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

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

.code-stream-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-stream-file {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-primary);
}

.code-stream-hint {
  font-size: 11px;
  color: #64748b;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 10px;
}

@media (max-width: 768px) {
  .code-stream-hint { display: none; }
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 36px;
  }
}

.gradient-neon {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 820px;
  margin: 0 auto 36px auto;
  font-size: 17px;
  line-height: 1.65;
  color: #94a3b8;
}

/* KEYBOARD SHORTCUT DOCK */
.keyboard-dock-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.key-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(16, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--spring-ease);
}

.key-pill kbd {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-primary);
}

.key-pill:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.3);
}

/* HERO ACTIONS */
.hero-actions-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* TELEMETRY CARDS */
.hero-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  text-align: left;
  backdrop-filter: blur(24px);
  transition: all 0.25s var(--spring-ease);
  cursor: pointer;
}

.telemetry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
}

.telemetry-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.telemetry-val.emerald { color: var(--accent-primary); }
.telemetry-val.cyan { color: #60a5fa; }
.telemetry-val.violet { color: var(--accent-indigo); }
.telemetry-val.amber { color: var(--accent-amber); }

.telemetry-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.telemetry-sub {
  font-size: 11px;
  color: #64748b;
}

/* ======================================================== */
/* STAGE HEADER SHARED                                      */
/* ======================================================== */
.stage-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.stage-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.stage-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
}

/* ======================================================== */
/* SIMULATOR STAGE                                          */
/* ======================================================== */
.simulator-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.scenario-buttons-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.scenario-pill-btn {
  background: rgba(16, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.scenario-pill-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-primary);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.simulated-workspace-frame {
  background: rgba(11, 16, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(30px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .simulated-workspace-frame {
    grid-template-columns: 1fr;
  }
}

.sim-card {
  background: rgba(7, 10, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.sim-card-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.sim-card-header.error-bar {
  background: rgba(244, 63, 94, 0.15);
  color: #fca5a5;
  border-color: rgba(244, 63, 94, 0.3);
}

.sim-card-body {
  padding: 20px;
}

.sim-text {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.6;
}

.sim-inspectable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-inspectable-row:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-primary);
}

.sim-inspectable-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
  cursor: pointer;
}

.status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.status-pill.safe {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-primary);
}

.status-pill.alert {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.sim-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.sim-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-btn.primary {
  background: var(--accent-primary);
  color: #070a13;
  font-weight: 700;
  border: none;
}

.sim-btn:hover {
  transform: translateY(-1px);
}

.sim-error-heading {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #f43f5e;
  margin-bottom: 8px;
}

/* ======================================================== */
/* ECOSYSTEM STAGE                                          */
/* ======================================================== */
.ecosystem-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ecosystem-cards-grid {
    grid-template-columns: 1fr;
  }
}

.eco-module-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--spring-ease);
  cursor: pointer;
}

.eco-module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.eco-icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.eco-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.eco-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.eco-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.eco-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.eco-bullets li {
  font-size: 13px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-bullets li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 800;
}

.eco-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s;
}

.eco-action-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ======================================================== */
/* BENCHMARKS STAGE                                         */
/* ======================================================== */
.benchmarks-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.bench-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .bench-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.bench-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(24px);
}

.bench-card.winner {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.18);
}

.bench-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.bench-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.bench-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.bench-metric-row strong.emerald { color: var(--accent-primary); }
.bench-metric-row strong.rose { color: var(--accent-rose); }

.metric-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.metric-bar .fill {
  height: 100%;
  border-radius: 999px;
}

.metric-bar .fill.emerald { background: var(--accent-primary); }
.metric-bar .fill.rose { background: var(--accent-rose); }

/* ======================================================== */
/* DYNAMIC FLOATING TOOLTIP (FOLLOWS MOUSE/TARGET)          */
/* ======================================================== */
.dynamic-floating-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  width: 390px;
  background: rgba(10, 15, 28, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(28px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.2);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s var(--spring-ease), transform 0.2s var(--spring-ease);
}

.dynamic-floating-tooltip.active {
  opacity: 1;
  transform: scale(1);
}

.tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tooltip-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.tooltip-header-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  margin-left: 8px;
}

.tooltip-spec-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-indigo);
  background: rgba(129, 140, 248, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.tooltip-body-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 16px;
}

.tooltip-code-preview {
  background: #04060d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
}

.tooltip-code-preview pre code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #93c5fd;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* ======================================================== */
/* ENTERPRISE PACKAGES                                      */
/* ======================================================== */
.enterprise-stage {
  position: relative;
  z-index: 2;
  padding: 48px 24px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
  }
}

.ent-card {
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ent-card.ent-featured {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12), 0 20px 50px rgba(56, 189, 248, 0.08);
}

.ent-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.ent-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-primary);
  margin: 0;
}

.ent-price span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 4px;
}

.ent-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  flex: 1;
}

.ent-card li {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  padding: 6px 0 6px 16px;
  position: relative;
}

.ent-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.enterprise-note {
  margin-top: 22px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  text-align: center;
}

.enterprise-note a {
  color: #94a3b8;
}

/* ======================================================== */
/* SUPPORT / DONATE + ACCREDITATION                         */
/* ======================================================== */
.support-stage {
  position: relative;
  z-index: 2;
  padding: 40px 24px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.support-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(22px);
}

@media (max-width: 900px) {
  .support-card {
    grid-template-columns: 1fr;
  }
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00f5a0, #38bdf8);
  color: #041018;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s var(--spring-ease), box-shadow 0.2s;
  box-shadow: 0 10px 30px rgba(0, 245, 160, 0.22);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 245, 160, 0.32);
}

.btn-support-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-support-secondary:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
}

.support-accreditation {
  padding: 22px 20px;
  border-radius: 16px;
  background: rgba(7, 10, 19, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.support-accreditation h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.support-accreditation p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 12px;
}

.accreditation-disclaimer {
  font-size: 11.5px !important;
  color: #64748b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-bottom: 0 !important;
}

.footer-accreditation-strip {
  max-width: 1280px;
  margin: 0 auto 28px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 16, 30, 0.55);
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}

.footer-accreditation-strip strong {
  color: #94a3b8;
}

/* ======================================================== */
/* FOOTER                                                   */
/* ======================================================== */
.app-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04060c;
  padding: 60px 24px 30px 24px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-tagline {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 400px;
}

.footer-links-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links-col a {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}

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

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
}

/* ======================================================== */
/* EXTENSION HIGH-TECH ADDITIONS & SIMULATOR MODULES        */
/* ======================================================== */

/* SCAN BOX WITH GLOWING CORNERS (TRANSLATE) */
.scan-box-display {
  position: relative;
  background: rgba(4, 7, 16, 0.85);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(56, 189, 248, 0.05);
}

.scan-box-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent-primary);
  border-style: solid;
  pointer-events: none;
}
.scan-box-corner.tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.scan-box-corner.tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.scan-box-corner.bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.scan-box-corner.br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.scan-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.85) 50%, transparent 100%);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
  animation: scanLaserDrift 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanLaserDrift {
  0% { top: 10%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 88%; opacity: 0.3; }
}

/* DWELL RADAR CIRCULAR PROGRESS (AURA) */
.dwell-radar-target {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(16, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--spring-ease);
}

.dwell-radar-target:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.dwell-ring-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.dwell-ring-bg {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3;
  fill: none;
}

.dwell-ring-progress {
  stroke: var(--accent-primary);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.1s linear;
}

.dwell-radar-target:hover .dwell-ring-progress {
  stroke-dashoffset: 0;
}

/* AUDIO EQUALIZER FREQUENCY BARS (VOICE) */
.audio-visualizer-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 60px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-bar {
  width: 6px;
  background: linear-gradient(180deg, #38bdf8 0%, #3b82f6 100%);
  border-radius: 3px;
  height: 10px;
  transition: height 0.1s ease;
}

.audio-bar.playing {
  animation: barBounce 0.6s ease-in-out infinite alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.25s; }
.audio-bar:nth-child(4) { animation-delay: 0.15s; }
.audio-bar:nth-child(5) { animation-delay: 0.35s; }
.audio-bar:nth-child(6) { animation-delay: 0.05s; }
.audio-bar:nth-child(7) { animation-delay: 0.2s; }
.audio-bar:nth-child(8) { animation-delay: 0.4s; }

@keyframes barBounce {
  0% { height: 8px; }
  100% { height: 48px; }
}

/* LIVE C# CODE INSPECTION DRAWER */
.code-drawer-card {
  grid-column: 1 / -1;
  background: rgba(4, 7, 16, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 20px 24px;
  font-family: var(--font-mono);
}

.code-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-drawer-file {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-primary);
}

.code-drawer-status {
  font-size: 11px;
  color: #00f5a0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-drawer-content {
  font-size: 12px;
  line-height: 1.7;
  color: #cbd5e1;
  max-height: 140px;
  overflow-y: auto;
  margin: 0;
  white-space: pre-wrap;
}

/* FULL-WIDTH PRE-FOOTER CTA BANNER */
.cta-banner-stage {
  max-width: 1280px;
  margin: 100px auto 80px auto;
  padding: 0 24px;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(16, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 16px;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ======================================================== */
/* TRANSLATE: INTERACTIVE SPLIT-SCREEN OCR LENS             */
/* ======================================================== */
.lens-comparison-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.15);
  user-select: none;
  background: #070a13;
}

.lens-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  box-sizing: border-box;
}

.lens-layer-original {
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.95), rgba(4, 7, 16, 0.98));
  z-index: 1;
}

.lens-layer-translated {
  background: radial-gradient(circle at 70% 30%, rgba(30, 41, 59, 0.95), rgba(7, 10, 24, 0.98));
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transition: clip-path 0.05s ease-out;
}

.lens-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent-primary);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.9);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.lens-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.95);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  pointer-events: none;
}

.ocr-token-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  margin: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.ocr-token-tag:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.ocr-confidence-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-family: var(--font-mono);
}

/* ======================================================== */
/* AURA: RADAR SONAR DISPLAY & LIVE DESKTOP SANDBOX         */
/* ======================================================== */
.radar-sonar-display {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: radial-gradient(circle, rgba(15, 23, 42, 0.6) 0%, rgba(4, 7, 16, 0.95) 100%);
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.15), inset 0 0 30px rgba(56, 189, 248, 0.1);
}

.radar-sonar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.2);
}
.radar-sonar-circle.c1 { width: 30%; height: 30%; }
.radar-sonar-circle.c2 { width: 60%; height: 60%; }
.radar-sonar-circle.c3 { width: 90%; height: 90%; }

.radar-sweep-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg at 0% 0%, rgba(56, 189, 248, 0.4) 0deg, transparent 60deg);
  animation: radarRotateSweep 4s linear infinite;
  pointer-events: none;
}

@keyframes radarRotateSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: blipPulse 1.8s ease-in-out infinite;
}
.radar-blip.critical { background: #f43f5e; box-shadow: 0 0 12px #f43f5e; }
.radar-blip.caution { background: #f59e0b; box-shadow: 0 0 12px #f59e0b; }
.radar-blip.safe { background: #00f5a0; box-shadow: 0 0 12px #00f5a0; }

@keyframes blipPulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
}

/* THREAT GAUGE METER */
.threat-meter-container {
  background: rgba(16, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
}

.threat-meter-bar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #00f5a0 0%, #f59e0b 50%, #f43f5e 100%);
  position: relative;
  margin: 14px 0 10px 0;
}

.threat-meter-pointer {
  position: absolute;
  top: -6px;
  width: 6px;
  height: 22px;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  transition: left 0.4s var(--spring-ease);
  transform: translateX(-50%);
}

.threat-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
}

/* DWELL TIME SLIDER */
.dwell-slider-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  margin: 18px 0;
}

.dwell-slider-box input[type="range"] {
  accent-color: var(--accent-primary);
  cursor: pointer;
  width: 160px;
}

/* ======================================================== */
/* AURA: AMBIENT SENSORY CORE & RIPPLE PULSE                */
/* ======================================================== */
.aura-sensory-core {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aura-core-sphere {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #3b82f6 60%, #1e1b4b 100%);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 3;
  animation: coreBreathing 3s ease-in-out infinite alternate;
}

@keyframes coreBreathing {
  0% { transform: scale(0.92); box-shadow: 0 0 25px rgba(56, 189, 248, 0.6); }
  100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(56, 189, 248, 0.95); }
}

.aura-ripple-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  animation: auraRippleExpand 3.6s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.aura-ripple-ring:nth-child(2) { animation-delay: 1.2s; }
.aura-ripple-ring:nth-child(3) { animation-delay: 2.4s; }

@keyframes auraRippleExpand {
  0% { width: 56px; height: 56px; opacity: 0.9; }
  100% { width: 150px; height: 150px; opacity: 0; }
}

/* ======================================================== */
/* VOICE: FLUID AUDIO WAVEFORM & DUCKING ENGINE             */
/* ======================================================== */
.voice-studio-deck {
  background: rgba(8, 12, 24, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(56, 189, 248, 0.05);
}

.voice-cadence-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.voice-cadence-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.voice-cadence-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #fff;
}

.voice-cadence-pill.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.audio-ducking-graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ducking-track {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 14px;
  position: relative;
  overflow: hidden;
}

.ducking-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, #00f5a0 0%, #38bdf8 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}



