/* ==========================================================================
   Nexus Official Website Stylesheet
   Theme: Futuristic OS × Developer Infrastructure × Industrial Cyber
   Colors: Deep Graphite Black (#05070a / #0a0e17), Electric Cyan (#38bdf8), 
           Cyber Blue (#3b82f6), Cyber Violet (#818cf8 / #a855f7),
           Telemetry Emerald (#10b981), Amber Alert (#f59e0b)
   ========================================================================== */

:root {
  /* Surface & Background */
  --bg-primary: #05070a;
  --bg-secondary: #090d15;
  --bg-card: rgba(12, 17, 26, 0.78);
  --bg-card-hover: rgba(18, 25, 38, 0.92);
  --bg-terminal: #040609;
  --bg-input: rgba(8, 12, 18, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-hover: rgba(56, 189, 248, 0.4);
  --border-glow: rgba(56, 189, 248, 0.35);
  --border-cyber: rgba(129, 140, 248, 0.3);
  
  /* Accents */
  --brand-cyan: #38bdf8;
  --brand-cyan-glow: rgba(56, 189, 248, 0.28);
  --brand-blue: #3b82f6;
  --brand-blue-glow: rgba(59, 130, 246, 0.25);
  --brand-purple: #a855f7;
  --brand-purple-glow: rgba(168, 85, 247, 0.25);
  --brand-indigo: #6366f1;
  --brand-emerald: #10b981;
  --brand-emerald-glow: rgba(16, 185, 129, 0.28);
  --brand-amber: #f59e0b;
  --brand-red: #ef4444;

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-cyan: #7dd3fc;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Fira Code", monospace;

  /* Geometry & Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.85);
  --shadow-cyan-glow: 0 0 35px -5px rgba(56, 189, 248, 0.25);
  --shadow-purple-glow: 0 0 35px -5px rgba(168, 85, 247, 0.2);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Background Atmosphere Grid & Glows */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 15%, #000 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 15%, #000 45%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-1 {
  position: fixed;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 75%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 7, 10, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version-pill {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.04em;
}

/* Navigation Links & Dropdowns */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--brand-cyan);
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  color: var(--text-dim);
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-cyan);
}

.nav-item-dropdown:hover .nav-link {
  color: #ffffff;
}

/* Dropdown Menu Container */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 25px 65px -10px rgba(0, 0, 0, 0.95),
    0 0 40px -5px rgba(56, 189, 248, 0.15);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

/* Invisible bridge so cursor never drops hover when moving into menu */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

/* Specific Menu Widths */
.mega-menu-arch {
  width: 580px;
}

.mega-menu-caps, .mega-menu-dev {
  width: 440px;
}

/* Dropdown Grids & Cards */
.dropdown-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-card:hover .dropdown-icon {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.dropdown-desc {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.dropdown-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  text-align: right;
}

.dropdown-footer-link {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}

.dropdown-footer-link:hover {
  text-decoration: underline;
}

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

.btn-github {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #040609;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 6px 26px rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Section Headers & UI Atoms
   ========================================================================== */
section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--brand-cyan);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 65%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  display: inline-block;
  box-shadow: 0 0 10px var(--brand-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ==========================================================================
   1. HERO SECTION (Split: Left Positioning / Right Live Execution Console)
   ========================================================================== */
.hero {
  padding: 70px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-full);
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
}

.hero-title {
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--text-cyan);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-taglines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 34px;
  padding-left: 14px;
  border-left: 2px solid var(--brand-cyan);
}

.hero-tagline-item {
  font-size: 0.98rem;
  color: #e2e8f0;
  font-weight: 600;
  font-family: var(--font-mono);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #040609;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(56, 189, 248, 0.45);
  transition: all 0.25s ease;
}

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

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Right Side: Real-Time Execution Console */
.hero-console-window {
  background: var(--bg-terminal);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -10px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
}

.console-topbar {
  background: rgba(15, 23, 42, 0.8);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

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

.console-telemetry-badge {
  font-size: 0.72rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Console Pipeline Diagram */
.console-pipeline-bar {
  background: rgba(10, 15, 24, 0.9);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.pipe-node {
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.pipe-node.highlight {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.pipe-arrow {
  color: var(--text-dim);
  font-weight: bold;
}

/* Console Body & Interactive Selector */
.console-tasks-nav {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(14, 20, 32, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

.task-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.task-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.console-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  background: #040609;
}

.console-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}

.console-key {
  width: 110px;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.console-val {
  color: #e2e8f0;
  word-break: break-all;
}

.console-val.val-cyan { color: var(--brand-cyan); }
.console-val.val-green { color: #34d399; font-weight: 700; }
.console-val.val-amber { color: #fbbf24; }
.console-val.val-purple { color: #c084fc; }

.console-footer-banner {
  background: rgba(16, 185, 129, 0.08);
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-footer-text {
  font-size: 0.78rem;
  color: #6ee7b7;
  font-weight: 600;
}

.btn-simulate-pulse {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--brand-cyan);
  color: var(--brand-cyan);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-simulate-pulse:hover {
  background: var(--brand-cyan);
  color: #040609;
}

/* ==========================================================================
   2. WHY NEXUS (The Real-World Execution Gap)
   ========================================================================== */
.why-nexus-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #090e18 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.gap-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;
}

.gap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.gap-card.card-ai {
  border-top: 3px solid #818cf8;
}

.gap-card.card-nexus {
  border-top: 3px solid var(--brand-cyan);
  background: rgba(14, 22, 36, 0.85);
  box-shadow: var(--shadow-cyan-glow);
}

.gap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.badge-ai {
  background: rgba(129, 140, 248, 0.15);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.badge-nexus {
  background: rgba(56, 189, 248, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.gap-card-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: #fff;
}

.gap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gap-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gap-list-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.gap-bridge-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
}

.bridge-pipe {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(180deg, #818cf8 0%, var(--brand-cyan) 100%);
  opacity: 0.4;
}

.bridge-pill {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 12px 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xs);
  color: var(--brand-cyan);
}

/* Visual Comparison Pipeline */
.why-pipeline-visual {
  margin-top: 40px;
  background: rgba(10, 14, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.why-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.why-step-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.why-step-sub {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.why-arrow {
  color: var(--brand-cyan);
  font-size: 1.2rem;
  font-weight: bold;
}

/* ==========================================================================
   3. ARCHITECTURE SECTION (Full 3-Tier Visual Diagram)
   ========================================================================== */
.arch-visual-container {
  background: var(--bg-terminal);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-cyan-glow);
  position: relative;
}

.arch-tier-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
}

.arch-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.arch-tier-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arch-tier-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

/* Tier 1 WebAI */
.tier-webai {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(23, 23, 48, 0.4);
}

.webai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.webai-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.webai-chip-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
}

.webai-chip-role {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Protocol Connector Belt */
.arch-protocol-belt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--brand-cyan);
}

.protocol-line {
  height: 2px;
  flex-grow: 1;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
}

.protocol-badge {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* Tier 2: Nexus Universal Execution Bridge */
.tier-nexus-bridge {
  border: 2px solid rgba(56, 189, 248, 0.5);
  background: rgba(14, 24, 40, 0.7);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.nexus-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.arch-module-node {
  background: rgba(8, 14, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.arch-module-node:hover {
  border-color: var(--brand-cyan);
  background: rgba(18, 30, 50, 0.95);
  transform: translateY(-2px);
}

.arch-node-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.arch-node-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tier 3: Windows Local OS Ground Truth */
.tier-windows-os {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(10, 26, 20, 0.4);
}

.windows-targets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.os-target-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  text-align: center;
}

.os-target-node h5 {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.os-target-node span {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ==========================================================================
   4. EXECUTION INFRASTRUCTURE SECTION (6 Core Pillars)
   ========================================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.infra-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan-glow);
}

.infra-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.infra-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
}

.infra-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
}

.infra-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.infra-specs {
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-cyan);
}

/* ==========================================================================
   5. CAPABILITIES SECTION (7 Categories, No tool-count bragging)
   ========================================================================== */
.cap-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cap-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.cap-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.cap-display-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 380px;
}

.cap-panel {
  display: none;
}

.cap-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cap-info-col h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cap-info-col p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cap-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cap-item-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cap-schema-col {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.cap-schema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
}

.cap-schema-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a5f3fc;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.5;
}

/* ==========================================================================
   6. REAL-WORLD DEMONSTRATIONS (Interactive Studio)
   ========================================================================== */
.demo-studio {
  background: var(--bg-terminal);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-cyan-glow);
  overflow: hidden;
}

.demo-selector-bar {
  display: flex;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-tab-item {
  flex: 1;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.demo-tab-item:last-child {
  border-right: none;
}

.demo-tab-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.demo-tab-item.active {
  background: rgba(56, 189, 248, 0.1);
  color: var(--brand-cyan);
  border-bottom: 2px solid var(--brand-cyan);
}

.demo-tab-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.demo-tab-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
}

.demo-workspace-body {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.demo-timeline-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-prompt-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.demo-steps-stepper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(14, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.demo-step-row.completed {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.demo-step-row.active {
  border-color: var(--brand-cyan);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-step-row.completed .step-num {
  background: var(--brand-emerald);
  color: #040609;
}

.demo-step-row.active .step-num {
  background: var(--brand-cyan);
  color: #040609;
}

.demo-step-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-inspector-panel {
  background: #030508;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.inspector-header {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.inspector-logs {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.6;
  flex-grow: 1;
}

.inspector-result-card {
  margin-top: 14px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--brand-emerald);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inspector-result-badge {
  font-weight: 800;
  color: #34d399;
}

/* ==========================================================================
   7. ACTION LEDGER SECTION (Every Action Leaves Evidence)
   ========================================================================== */
.ledger-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.ledger-philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ledger-formula-box {
  background: rgba(14, 20, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: var(--font-mono);
}

.formula-strike {
  color: #ef4444;
  text-decoration: line-through;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.formula-truth {
  color: #34d399;
  font-weight: 700;
  font-size: 1rem;
}

/* Realistic Action Ledger Receipt Card */
.action-receipt-card {
  background: #06090f;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(56, 189, 248, 0.15);
  overflow: hidden;
  font-family: var(--font-mono);
}

.receipt-header-row {
  background: rgba(18, 26, 42, 0.9);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-id-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.receipt-stamp-pass {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--brand-emerald);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
}

.receipt-table-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.82rem;
}

.receipt-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.receipt-label {
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.receipt-code-snippet {
  background: rgba(2, 4, 8, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  color: #cbd5e1;
  word-break: break-all;
}

/* ==========================================================================
   8. DURABLE EXECUTION SECTION (Execution That Survives Failure)
   ========================================================================== */
.durable-state-machine-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  margin-top: 30px;
  box-shadow: var(--shadow-card);
}

.sm-flow-canvas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow-x: auto;
  padding: 20px 0;
  gap: 12px;
}

.sm-node {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 120px;
}

.sm-node:hover {
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
}

.sm-node.node-crash {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.sm-node.node-unknown {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.sm-node.node-committed {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.sm-node.active-node {
  box-shadow: 0 0 20px var(--brand-cyan-glow);
  border-color: var(--brand-cyan);
  color: #fff;
}

.sm-arrow {
  color: var(--text-dim);
  font-size: 1.1rem;
}

.sm-detail-inspector {
  margin-top: 24px;
  background: rgba(10, 16, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.sm-detail-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-detail-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   9. COMPUTER STATE / VERIFICATION SECTION
   ========================================================================== */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.verify-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}

.verify-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-cyan);
  display: inline-block;
  margin-bottom: 12px;
}

.verify-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 10px;
}

.verify-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.verify-ground-truth {
  background: rgba(4, 6, 10, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #93c5fd;
}

/* ==========================================================================
   10. MEMORY / SKILLS / KNOWLEDGE / CONTEXT SECTION
   ========================================================================== */
.intel-pipeline-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 30px;
}

.intel-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 16px;
  background: rgba(14, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.intel-node {
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
}

.intel-node.highlight {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--brand-purple);
  color: #d8b4fe;
}

.intel-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.intel-pillar-card {
  background: rgba(15, 22, 35, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
}

.pillar-name {
  font-size: 0.98rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   11. MCP DEVELOPER INFRASTRUCTURE SECTION
   ========================================================================== */
.mcp-spec-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mcp-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.mcp-box-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 12px;
}

.mcp-box-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.mcp-wire-code {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a5f3fc;
  overflow-x: auto;
  line-height: 1.5;
}

/* ==========================================================================
   12. SECURITY / PERMISSIONS SECTION
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}

.security-tier-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.security-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 10px;
}

.security-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   13. DEVELOPER / INTEGRATION SECTION
   ========================================================================== */
.integration-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tab-header {
  display: flex;
  background: rgba(10, 15, 24, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 14px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.tab-btn.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-cyan);
  border-bottom: 2px solid var(--brand-cyan);
}

.tab-content {
  position: relative;
  padding: 24px;
  background: #040609;
}

.btn-copy-code {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--border-hover);
}

.code-block {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre;
}

/* ==========================================================================
   14. DOWNLOAD / GET STARTED & FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 65%);
  padding: 110px 0 100px;
  border-top: 1px solid var(--border-subtle);
}

.final-cta-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.final-cta-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 38px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-cta-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #040609;
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 28px rgba(56, 189, 248, 0.5);
  transition: all 0.25s ease;
}

.btn-cta-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(56, 189, 248, 0.7);
}

/* Download Platform Cards Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  text-align: left;
}

.download-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.download-card.recommended {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: var(--shadow-cyan-glow);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.card-badge.badge-hot {
  background: rgba(56, 189, 248, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.card-arch {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-card-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #040609;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-download:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-card-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-alt:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.checksum-box {
  margin-top: 14px;
  padding: 8px 10px;
  background: rgba(4, 6, 10, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.checksum-hash {
  color: #94a3b8;
  user-select: all;
}

.btn-copy-hash {
  background: transparent;
  border: none;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-copy-hash:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
}

.footer-content { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }

.footer-brand { flex: 0 0 320px; }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 14px;
}

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; flex: 1; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 0.84rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(14, 22, 36, 0.95);
  border: 1px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .gap-container {
    grid-template-columns: 1fr;
  }
  .bridge-pipe {
    display: none;
  }
  .bridge-pill {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .nexus-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infra-grid, .verify-grid, .security-grid, .download-grid {
    grid-template-columns: 1fr 1fr;
  }
  .intel-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-workspace-body {
    grid-template-columns: 1fr;
  }
  .ledger-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border-top: 1px solid var(--border-subtle);
  }

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

  .nav-item-dropdown .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 100% !important;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
    display: none;
  }

  .nav-item-dropdown.active-mobile .dropdown-menu {
    display: block;
  }

  .dropdown-grid-2col {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: block;
  }

  .btn-github {
    display: none;
  }
}

@media (max-width: 768px) {
  .infra-grid, .verify-grid, .security-grid, .download-grid, .intel-pillars-grid {
    grid-template-columns: 1fr;
  }
  .mcp-spec-container {
    grid-template-columns: 1fr;
  }
  .cap-panel.active {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ==========================================================================
   Flagship Homepage Layout & Component Styles
   ========================================================================== */

/* Gap Comparison Grid */
.gap-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 36px;
}

.gap-card-ai {
  border-top: 3px solid #818cf8;
  background: rgba(15, 23, 42, 0.7);
}

.gap-card-nexus {
  border-top: 3px solid var(--brand-cyan);
  background: rgba(14, 22, 36, 0.85);
  box-shadow: var(--shadow-cyan-glow);
}

.gap-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.gap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gap-icon.ai {
  background: rgba(129, 140, 248, 0.15);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.gap-icon.nexus {
  background: rgba(56, 189, 248, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.gap-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.gap-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.gap-footer-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.gap-vs-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.vs-text {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.vs-divider {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.4), transparent);
  margin: 12px 0;
}

/* Evidence Banner */
.evidence-quote-banner {
  margin-top: 40px;
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.95), rgba(14, 26, 44, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.12);
}

.evidence-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.evidence-pill {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--brand-cyan);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.06em;
}

.evidence-text {
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.5;
  flex: 1;
}

.evidence-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

.btn-outline-cyan {
  background: transparent;
  border: 1px solid var(--brand-cyan);
  color: var(--brand-cyan);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outline-cyan:hover {
  background: var(--brand-cyan);
  color: #040609;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* 3-Tier Architecture Grid */
.arch-topology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.arch-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.25s ease;
}

.arch-tier-card.featured {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(14, 22, 38, 0.85);
  box-shadow: var(--shadow-cyan-glow);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: #fff;
  margin: 0;
}

.tier-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.tier-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tier-tags .tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* 7-Dimension Capability Grid */
.caps-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.cap-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cap-card-span {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(14, 22, 38, 0.9), rgba(10, 16, 28, 0.9));
  border-color: rgba(56, 189, 248, 0.35);
}

.cap-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-name {
  font-size: 1.1rem;
  font-weight: 750;
  color: #fff;
  margin: 0;
}

.cap-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyan);
}

.cap-info {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.cap-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cap-badge {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* Reliability Highlights (Action Ledger & State Machine) */
.reliability-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.reliability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reliability-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reliability-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reliability-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
  margin: 0 0 4px;
}

.reliability-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #6ee7b7;
}

.reliability-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.receipt-mini-preview {
  background: #04060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.receipt-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.status-stamp {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--brand-emerald);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.receipt-mini-code {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #94a3b8;
}

.receipt-mini-code strong {
  color: var(--brand-cyan);
}

.state-mini-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #04060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  overflow-x: auto;
}

.mini-flow-node {
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  white-space: nowrap;
}

.mini-flow-node.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.mini-flow-node.warn {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
}

.mini-flow-node.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--brand-emerald);
  color: #34d399;
}

.mini-flow-arrow {
  color: #64748b;
  font-size: 0.8rem;
}

/* Download CTA Box */
.download-cta-box {
  background: linear-gradient(135deg, rgba(14, 22, 38, 0.95), rgba(8, 12, 20, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.15);
  text-align: left;
}

.download-cta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.os-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.os-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.download-cta-sha {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #04060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.sha-label {
  color: #64748b;
  font-weight: 700;
}

.sha-code {
  color: var(--brand-cyan);
  flex: 1;
  word-break: break-all;
}

.platform-alt-links {
  margin-top: 24px;
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-alt-links a {
  color: var(--brand-cyan);
  text-decoration: none;
}

.platform-alt-links a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .gap-comparison-grid {
    grid-template-columns: 1fr;
  }
  .gap-vs-pillar {
    flex-direction: row;
    padding: 10px 0;
  }
  .vs-divider {
    height: 1px;
    width: 100%;
  }
  .arch-topology-grid {
    grid-template-columns: 1fr;
  }
  .caps-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cap-card-span {
    grid-column: span 2;
  }
  .reliability-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .caps-preview-grid {
    grid-template-columns: 1fr;
  }
  .cap-card-span {
    grid-column: span 1;
  }
  .download-cta-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Stunning Styles for Nexus Infrastructure Pages (Appended) */

/* Global Utilities */
.section { padding: 100px 0; position: relative; border-bottom: 1px solid var(--border-subtle); }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-cyan { color: var(--brand-cyan) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-yellow { color: #facc15 !important; }
.text-blue { color: #3b82f6 !important; }
.text-purple { color: #a855f7 !important; }
.text-emerald { color: #10b981 !important; }
.tag-bold { font-weight: 700; color: #fff; }

/* Index - Hero & Console */
.hero-quote-box { margin: 20px 0; padding: 16px 24px; border-left: 4px solid var(--brand-cyan); background: rgba(0, 240, 255, 0.05); border-radius: 0 8px 8px 0; display: inline-block; }
.hero-quote-text { font-size: 1.25rem; font-weight: 500; color: #e2e8f0; margin: 0; letter-spacing: 0.5px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-secondary { background: transparent; border: 1px solid var(--border-subtle); color: #e2e8f0; padding: 12px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-secondary:hover { border-color: #64748b; background: rgba(255, 255, 255, 0.05); }
.hero-metrics { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.metric-item { display: flex; flex-direction: column; }
.metric-val { font-size: 2rem; font-weight: 800; color: var(--brand-cyan); font-family: var(--font-mono); }
.metric-lbl { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Console */
.hero-console-wrapper { background: #020408; border: 1px solid var(--border-subtle); border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7), 0 0 40px rgba(0,240,255,0.1); overflow: hidden; position: relative; transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s ease; }
.hero-console-wrapper:hover { transform: perspective(1000px) rotateY(0deg); }
.console-card { display: flex; flex-direction: column; height: 100%; }
.console-header { background: #0a0e17; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-subtle); }
.console-traffic-lights { display: flex; gap: 8px; }
.light { width: 12px; height: 12px; border-radius: 50%; }
.light.red { background: #ef4444; }
.light.yellow { background: #f59e0b; }
.light.green { background: #10b981; }
.console-tag { font-family: var(--font-mono); font-size: 0.75rem; color: #64748b; background: #1e293b; padding: 4px 8px; border-radius: 4px; }
.task-tabs-row { display: flex; background: #060913; border-bottom: 1px solid var(--border-subtle); }
.pipeline-flow-viz { padding: 24px; display: flex; gap: 16px; background: #020408; flex-wrap: wrap; }
.pipe-label { font-size: 0.8rem; font-family: var(--font-mono); font-weight: bold; }
.pipe-sub { font-size: 0.7rem; color: var(--text-muted); }
.console-data-row { padding: 12px 24px; font-family: var(--font-mono); font-size: 0.85rem; border-bottom: 1px dashed #1e293b; display: flex; align-items: flex-start; gap: 16px; }
.c-key { color: var(--brand-cyan); min-width: 140px; }
.c-val { color: #e2e8f0; flex: 1; line-height: 1.5; }
.console-footer { padding: 12px 24px; background: #0a0e17; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; }
.console-footer-status { display: flex; align-items: center; gap: 8px; color: var(--brand-cyan); }
.pulse-dot { width: 8px; height: 8px; background: var(--brand-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--brand-cyan); animation: pulse 2s infinite; }
.btn-console-pulse { background: rgba(0,240,255,0.1); border: 1px solid var(--brand-cyan); color: var(--brand-cyan); padding: 4px 12px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.btn-console-pulse:hover { background: var(--brand-cyan); color: #000; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* Badges & Cards */
.section-badge { display: inline-block; padding: 6px 12px; background: rgba(0, 240, 255, 0.1); color: var(--brand-cyan); border: 1px solid var(--brand-cyan); border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.check-icon { color: var(--brand-cyan); margin-right: 8px; }
.infra-card-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.infra-card-subtitle { font-size: 0.9rem; color: var(--brand-cyan); font-family: var(--font-mono); margin-bottom: 16px; display: block; }
.infra-card-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.infra-card-link { display: inline-block; margin-top: 16px; color: var(--brand-cyan); text-decoration: none; font-weight: 600; }
.infra-card-link:hover { text-decoration: underline; }

/* Footer components */
.footer-tagline { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-principle { font-size: 0.9rem; color: var(--text-muted); }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; flex: 1; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 12px; }
.footer-list a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-list a:hover { color: var(--brand-cyan); }
.footer-legal-badge { font-family: var(--font-mono); font-size: 0.75rem; color: #475569; }
.footer-meta-links { display: flex; gap: 16px; font-size: 0.8rem; }
.footer-meta-links a { color: #64748b; text-decoration: none; }
.footer-meta-links a:hover { color: #e2e8f0; }

/* Toasts */
.toast-container { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.toast-inner { background: #0f172a; border: 1px solid var(--brand-cyan); border-left: 4px solid var(--brand-cyan); padding: 16px; border-radius: 8px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); font-family: var(--font-mono); font-size: 0.85rem; color: #e2e8f0; }
.toast-icon { color: var(--brand-cyan); font-size: 1.2rem; }

/* Missing Specific Page Sections */
.arch-section, .infra-section, .ledger-section, .durable-section { padding-top: 60px; }
.receipt-select-btn { background: #1e293b; color: #e2e8f0; border: 1px solid #334155; padding: 8px 16px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.receipt-select-btn:hover { background: #334155; border-color: #475569; }
.capabilities-section, .demo-section, .intel-section { padding-top: 60px; }

/* Download Page */
.download-hero { text-align: center; padding: 80px 0 40px; }
.hero-pill { display: inline-block; padding: 6px 16px; background: #1e293b; color: #e2e8f0; border-radius: 20px; font-size: 0.85rem; font-family: var(--font-mono); margin-bottom: 24px; border: 1px solid var(--border-subtle); }
.hero-quick-links { display: flex; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.link-scroll { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; transition: all 0.2s; }
.link-scroll:hover { border-color: var(--border-subtle); background: rgba(255,255,255,0.02); color: #fff; }

.download-section { margin-bottom: 80px; }
.smart-download-card { background: linear-gradient(145deg, #0f172a, #020408); border: 1px solid var(--brand-cyan); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 32px; box-shadow: 0 0 30px rgba(0, 240, 255, 0.1); position: relative; overflow: hidden; }
.smart-download-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-cyan); }
.smart-card-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.smart-card-icon { font-size: 4rem; color: var(--brand-cyan); }
.smart-card-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.smart-card-title { font-size: 2rem; font-weight: 800; margin: 0; color: #fff; }
.badge-smart-rec { background: var(--brand-cyan); color: #000; font-size: 0.75rem; font-weight: bold; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; }
.smart-card-meta { display: flex; gap: 24px; color: var(--text-muted); font-size: 0.95rem; }
.smart-card-actions { display: flex; flex-direction: column; gap: 16px; }
.btn-smart-download { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--brand-cyan); color: #000; padding: 20px; border-radius: 12px; font-size: 1.25rem; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-smart-download:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2); }
.btn-smart-mirror { display: block; text-align: center; color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.btn-smart-mirror:hover { color: #fff; text-decoration: underline; }
.smart-checksum-row { background: #000; border: 1px solid #1e293b; border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.85rem; }
.checksum-label { color: #64748b; }
.checksum-code { color: var(--brand-cyan); word-break: break-all; }

/* Card Meta Items */
.card-meta { display: flex; flex-direction: column; gap: 8px; }
.meta-row { display: flex; gap: 12px; font-size: 0.85rem; }
.meta-val { color: #e2e8f0; font-family: var(--font-mono); }
.card-actions-group { display: flex; gap: 12px; }

/* Packages grid */
.package-item { background: #0a0e17; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px; transition: transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; gap: 16px; }
.package-item:hover { border-color: #334155; transform: translateY(-2px); }
.package-header { display: flex; justify-content: space-between; align-items: flex-start; }
.pkg-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px 0; color: #fff; }
.pkg-size { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-mono); }
.pkg-tag { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; margin-bottom: 16px; align-self: flex-start; }
.tag-primary { background: rgba(0, 240, 255, 0.1); color: var(--brand-cyan); border: 1px solid var(--brand-cyan); }
.tag-secondary { background: rgba(255, 255, 255, 0.05); color: #94a3b8; border: 1px solid #334155; }
.pkg-btns { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.terminal-cmd-box { background: #000; border: 1px solid #1e293b; border-radius: 8px; padding: 12px; font-family: var(--font-mono); font-size: 0.85rem; position: relative; color: #10b981; }
.cmd-label { display: block; font-size: 0.7rem; color: #64748b; margin-bottom: 8px; text-transform: uppercase; }
.btn-copy-code-inline { position: absolute; right: 8px; top: 8px; background: transparent; border: none; color: #64748b; cursor: pointer; padding: 4px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.btn-copy-code-inline:hover { color: #fff; background: #1e293b; }

/* SHA Verifier */
.hash-verifier-section { margin-top: 60px; }
.verifier-card { background: #060913; border: 1px solid #1e293b; border-radius: 12px; display: flex; overflow: hidden; flex-wrap: wrap; }
.verifier-header { background: #0a0e17; padding: 32px; border-right: 1px solid #1e293b; width: 300px; display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.verifier-icon { font-size: 2.5rem; color: var(--brand-cyan); }
.verifier-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: #fff; }
.verifier-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.verifier-body { padding: 32px; flex: 1; display: flex; flex-direction: column; gap: 24px; min-width: 300px; }
.verifier-input-group { display: flex; flex-direction: column; gap: 8px; }
.verifier-input-group label { font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
.verifier-input { background: #020408; border: 1px solid #334155; color: #e2e8f0; padding: 12px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.9rem; width: 100%; transition: border-color 0.2s; }
.verifier-input:focus { outline: none; border-color: var(--brand-cyan); }
.btn-verify { background: #1e293b; border: 1px solid #334155; color: #e2e8f0; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.2s; align-self: flex-start; }
.btn-verify:hover { background: #334155; border-color: #475569; color: #fff; }
.verifier-result { padding: 16px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.9rem; display: none; margin-top: 16px; }
.verifier-result.match { display: block; background: rgba(16, 185, 129, 0.1); border: 1px solid #10b981; color: #10b981; }
.verifier-result.mismatch { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; }

/* Setup & Troubleshoot */
.quickstart-section, .troubleshoot-section, .changelog-section, .faq-section { margin-top: 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 32px; }
.step-card { background: #0a0e17; border: 1px solid #1e293b; padding: 24px; border-radius: 12px; position: relative; margin-top: 16px; }
.step-number { position: absolute; top: -16px; left: 24px; width: 32px; height: 32px; background: var(--brand-cyan); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-family: var(--font-mono); }
.step-title { font-size: 1.1rem; font-weight: 700; margin: 16px 0 8px; color: #fff; }
.step-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.troubleshoot-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.troubleshoot-card { background: #0a0e17; border-left: 3px solid #f59e0b; padding: 20px; border-radius: 0 8px 8px 0; }
.troubleshoot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.troubleshoot-header h4 { margin: 0; font-size: 1rem; font-weight: 600; color: #fff; }
.platform-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; font-weight: bold; text-transform: uppercase; }
.badge-win { background: #0078d720; color: #60a5fa; border: 1px solid #0078d7; }
.badge-mac { background: #ffffff20; color: #e2e8f0; border: 1px solid #94a3b8; }
.badge-linux { background: #f59e0b20; color: #fcd34d; border: 1px solid #f59e0b; }
.troubleshoot-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.solution-box { background: #000; padding: 12px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.85rem; color: #e2e8f0; display: flex; justify-content: space-between; align-items: center; border: 1px solid #1e293b; }
.code-line-copy { cursor: pointer; color: #64748b; background: transparent; border: none; padding: 4px; border-radius: 4px; }
.code-line-copy:hover { color: #fff; background: #1e293b; }

/* Changelog */
.changelog-card { background: #060913; border: 1px solid #1e293b; border-radius: 12px; padding: 32px; margin-top: 32px; }
.changelog-header-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid #1e293b; padding-bottom: 16px; flex-wrap: wrap; }
.version-tag { font-size: 1.5rem; color: var(--brand-cyan); font-family: var(--font-mono); font-weight: bold; }
.tag-date { color: #64748b; font-size: 0.9rem; }
.badge-status-stable { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid #10b981; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.changelog-list { list-style: none; padding: 0; margin: 0; }
.changelog-list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 0.95rem; color: #e2e8f0; }
.changelog-list li::before { content: '→'; position: absolute; left: 0; color: var(--brand-cyan); }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.faq-item { background: #0a0e17; border: 1px solid #1e293b; border-radius: 8px; overflow: hidden; }
.faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: #e2e8f0; user-select: none; transition: background 0.2s; margin: 0; }
.faq-question:hover { background: #0f172a; }
.faq-arrow-icon { color: #64748b; transition: transform 0.3s; }
.faq-item.open .faq-arrow-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-item.open .faq-answer { padding: 0 20px 20px 20px; max-height: 500px; }

@media (max-width: 768px) {
    .verifier-header { width: 100%; border-right: none; border-bottom: 1px solid #1e293b; }
}


/* Interactive Defense Simulator */
.defense-simulator { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: stretch; margin-top: 40px; }
.sim-controls { display: flex; flex-direction: column; gap: 16px; background: #0a0e17; padding: 24px; border-radius: 12px; border: 1px solid #1e293b; }
.btn-sim { display: flex; align-items: center; gap: 16px; background: #020408; border: 1px solid #1e293b; padding: 16px; border-radius: 8px; cursor: pointer; text-align: left; transition: all 0.2s; color: #e2e8f0; }
.btn-sim:hover, .btn-sim.active { background: #0f172a; border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.1); }
.sim-icon { font-size: 1.5rem; }
.sim-btn-text strong { display: block; font-size: 1rem; color: #fff; margin-bottom: 4px; }
.sim-btn-text span { font-size: 0.8rem; color: #64748b; }
.sim-line { margin-bottom: 8px; line-height: 1.5; word-break: break-all; }
@media (max-width: 992px) { .defense-simulator { grid-template-columns: 1fr; } }


.toast-msg { margin: 0; padding: 0; line-height: 1.5; }
.defense-sim-section { padding-top: 60px; }
.sim-title { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.sim-console { border: 1px solid var(--border-subtle); border-radius: 12px; background: #020408; overflow: hidden; }
.sim-console-body { padding: 24px; font-family: var(--font-mono); font-size: 0.85rem; overflow-y: auto; height: 350px; background: #020408; }


/* MCP Wire Frame Inspector */
.wire-inspector { margin-top: 40px; background: #060913; border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; box-shadow: 0 0 40px rgba(0, 240, 255, 0.05); }
.wire-controls { display: flex; border-bottom: 1px solid #1e293b; background: #020408; }
.wire-btn { flex: 1; padding: 16px; background: transparent; border: none; border-right: 1px solid #1e293b; color: #64748b; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font-mono); font-size: 0.9rem; }
.wire-btn:last-child { border-right: none; }
.wire-btn:hover { color: #e2e8f0; background: #0a0e17; }
.wire-btn.active { color: var(--brand-cyan); background: rgba(0, 240, 255, 0.05); box-shadow: inset 0 -2px 0 var(--brand-cyan); }
.wire-view { display: flex; align-items: stretch; }
.wire-pane { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.wire-pane-header { padding: 12px 24px; background: #0a0e17; border-bottom: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: bold; color: #94a3b8; }
.wire-badge { padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-family: var(--font-mono); text-transform: uppercase; background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid #a855f7; }
.wire-badge.in { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: #10b981; }
.wire-pane pre { margin: 0; padding: 24px; flex: 1; background: transparent; overflow-y: auto; font-family: var(--font-mono); font-size: 0.85rem; color: #e2e8f0; }
.wire-transfer-anim { width: 40px; background: #020408; border-left: 1px dashed #1e293b; border-right: 1px dashed #1e293b; display: flex; justify-content: center; align-items: center; position: relative; }
.packet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 10px var(--brand-cyan); animation: packetMove 1s infinite linear; position: absolute; }
@keyframes packetMove {
  0% { transform: translateY(-50px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(50px); opacity: 0; }
}
@media (max-width: 768px) {
  .wire-controls { flex-direction: column; }
  .wire-btn { border-right: none; border-bottom: 1px solid #1e293b; }
  .wire-view { flex-direction: column; }
  .wire-transfer-anim { width: 100%; height: 40px; border-left: none; border-right: none; border-top: 1px dashed #1e293b; border-bottom: 1px dashed #1e293b; }
  @keyframes packetMove {
    0% { transform: translateX(-50px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(50px); opacity: 0; }
  }
}


/* Topology Map */
.topology-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; }
.topology-graph { background: #060913; border: 1px solid #1e293b; border-radius: 12px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.topo-layer { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; width: 100%; position: relative; z-index: 2; }
.topo-connections { font-family: var(--font-mono); font-size: 0.8rem; color: #475569; margin: 24px 0; text-align: center; }
.topo-node { padding: 12px 24px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; border: 1px solid transparent; text-align: center; user-select: none; }
.ai-node { background: rgba(59, 130, 246, 0.1); border-color: #3b82f6; color: #60a5fa; }
.os-node { background: rgba(16, 185, 129, 0.1); border-color: #10b981; color: #34d399; }
.core-node { background: #0a0e17; border-color: #334155; color: #e2e8f0; }
.core-node:hover { background: #1e293b; border-color: #64748b; }
.core-node.active { background: rgba(0, 240, 255, 0.1); border-color: var(--brand-cyan); color: #fff; box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); transform: scale(1.05); }

.topology-detail { background: #020408; border: 1px solid var(--brand-cyan); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(0, 240, 255, 0.05); }
.topo-detail-header { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.topo-detail-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; flex: 1; }
.topo-specs { display: flex; flex-direction: column; gap: 12px; }
.topo-spec-item { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.85rem; padding-bottom: 8px; border-bottom: 1px dashed #1e293b; }
.spec-k { color: #64748b; text-transform: uppercase; }
.spec-v { color: var(--brand-cyan); }

@media (max-width: 992px) {
  .topology-container { grid-template-columns: 1fr; }
}


/* Interactive OS Selector */
.os-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.os-tab-btn { background: #060913; border: 1px solid #1e293b; color: #64748b; padding: 16px 32px; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.os-tab-btn:hover { background: #0a0e17; color: #e2e8f0; border-color: #334155; transform: translateY(-2px); }
.os-tab-btn.active { background: linear-gradient(180deg, rgba(0, 240, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%); border-color: var(--brand-cyan); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.3); }

.os-content-area { position: relative; min-height: 400px; }
.os-pane { display: none; opacity: 0; animation: fadeIn 0.4s ease forwards; background: linear-gradient(145deg, #0a0e17, #020408); border: 1px solid #1e293b; border-radius: 20px; padding: 48px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.os-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.os-pane-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.spec-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px dashed #1e293b; }
.spec-item { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.9rem; }
.spec-lbl { color: #64748b; text-transform: uppercase; }
.spec-val { color: var(--brand-cyan); font-weight: 600; }

.download-action-card { background: #060913; border: 1px solid #1e293b; border-radius: 12px; padding: 24px; transition: border-color 0.2s; }
.download-action-card:hover { border-color: #334155; }
.download-action-card.primary-dl { border-color: var(--brand-cyan); box-shadow: 0 0 20px rgba(0, 240, 255, 0.05); }

.dl-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dl-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.dl-tag { font-size: 0.75rem; background: rgba(255,255,255,0.05); padding: 4px 8px; border-radius: 4px; color: #94a3b8; font-family: var(--font-mono); }
.primary-dl .dl-tag { background: rgba(0,240,255,0.1); color: var(--brand-cyan); border: 1px solid var(--brand-cyan); }

.dl-buttons { display: flex; gap: 12px; }
.btn-dl-main { flex: 2; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand-cyan); color: #000; padding: 14px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: transform 0.2s; }
.btn-dl-main:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 240, 255, 0.25); }
.btn-dl-sub { flex: 2; display: flex; align-items: center; justify-content: center; background: #1e293b; color: #e2e8f0; padding: 14px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background 0.2s; border: 1px solid #334155; }
.btn-dl-sub:hover { background: #334155; }
.btn-dl-alt { flex: 1; display: flex; align-items: center; justify-content: center; background: transparent; color: #64748b; padding: 14px; border-radius: 8px; font-size: 0.9rem; text-decoration: none; border: 1px dashed #334155; transition: all 0.2s; }
.btn-dl-alt:hover { color: #fff; border-color: #64748b; }

@media (max-width: 992px) {
  .os-pane-layout { grid-template-columns: 1fr; gap: 32px; }
  .os-tabs { flex-direction: column; }
  .os-pane { padding: 24px; }
  .dl-buttons { flex-direction: column; }
}
/* Deep Mobile Optimization for Download Page */
@media (max-width: 768px) {
  /* Hero area compacting */
  .download-hero { padding: 40px 0 20px; }
  .download-hero .hero-title { font-size: 2rem; line-height: 1.2; }
  .download-hero .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  
  /* OS Tabs: Segmented control style instead of giant vertical buttons */
  .os-tabs { 
    flex-direction: row; 
    overflow-x: auto; 
    padding-bottom: 8px; 
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    /* Hide scrollbar */
    scrollbar-width: none;
    margin-bottom: 24px;
  }
  .os-tabs::-webkit-scrollbar { display: none; }
  
  .os-tab-btn { 
    padding: 12px 16px; 
    font-size: 0.9rem; 
    white-space: nowrap; 
    flex: 1 0 auto; 
    justify-content: center;
  }
  .os-tab-btn svg { width: 16px; height: 16px; }
  
  /* Pane content mobile spacing */
  .os-pane { padding: 20px; border-radius: 16px; }
  .os-pane-layout { gap: 24px; }
  .os-pane-info h2 { font-size: 1.5rem !important; }
  .spec-grid { margin-top: 16px; padding-top: 16px; gap: 12px; }
  
  /* Download Cards mobile */
  .download-action-card { padding: 16px; }
  .dl-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
  .dl-title { font-size: 1rem; }
  .dl-tag { align-self: flex-start; }
  
  .btn-dl-main, .btn-dl-sub, .btn-dl-alt { padding: 12px; font-size: 0.95rem; }
  
  /* Terminal command box responsive text */
  .terminal-cmd-box { padding: 12px; }
  .terminal-cmd-box code { font-size: 0.75rem; word-break: break-all; white-space: pre-wrap; }
}


/* Deep FAQ Accordion Upgrade */
.faq-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.faq-item {
  background: linear-gradient(145deg, #0a0e17, #020408);
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.faq-item:hover {
  border-color: #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.faq-item.open {
  border-color: var(--brand-cyan);
  background: linear-gradient(145deg, #0a0e17, rgba(0, 240, 255, 0.02));
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}
.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  user-select: none;
  transition: color 0.2s;
  margin: 0;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-item.open .faq-question {
  color: #fff;
}
.faq-question:hover {
  color: var(--brand-cyan);
}
.faq-arrow-icon {
  color: #64748b;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item:hover .faq-arrow-icon {
  color: #e2e8f0;
}
.faq-item.open .faq-arrow-icon {
  transform: rotate(180deg);
  color: var(--brand-cyan);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  padding: 0 24px 24px 24px;
  max-height: 500px;
  opacity: 1;
}

/* Footer Responsive Overrides */
@media (max-width: 992px) {
  .footer-links, .footer-links-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px; }
  .footer-brand { flex: 1 1 100% !important; margin-bottom: 32px; max-width: none !important; }
}
@media (max-width: 576px) {
  .footer-links, .footer-links-grid { grid-template-columns: 1fr !important; }
}
/* Mobile Nav Button Fix */
@media (max-width: 992px) {
  .nav-actions .btn-primary {
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 6px;
  }
}
/* Emergency Mobile Nav Fix */
@media (max-width: 992px) {
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5, 7, 10, 1) !important;
  }
  .nav-actions .btn-primary {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    height: auto !important;
    transform: scale(0.95);
    transform-origin: right center;
  }
}
