/* ==========================================================================
   AeroGit - Next-Gen Lightweight Git Client
   High-End Dark Aesthetic Design System (Optimized with Modern Web Guidance)
   Pure SVG · Zero Emoji · Full Responsive Navigation & Color Scheme
   ========================================================================== */

:root {
  /* High-Tech Luminous Aerospace Color Palette (Brightened & High-Contrast) */
  --bg-primary: #0a0f1d;
  --bg-secondary: #10172a;
  --bg-tertiary: #17223b;
  --bg-card: rgba(22, 32, 54, 0.78);
  --bg-card-hover: rgba(30, 43, 72, 0.9);
  --bg-glass: rgba(16, 24, 42, 0.85);
  --bg-drawer: rgba(14, 20, 36, 0.98);

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.25);
  --border-glow: rgba(56, 189, 248, 0.55);
  --border-accent: rgba(129, 140, 248, 0.45);

  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-indigo: #818cf8;
  --accent-purple: #a78bfa;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;

  --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --gradient-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(129, 140, 248, 0.18) 100%);
  --gradient-title: linear-gradient(135deg, #ffffff 30%, #f1f5f9 60%, #cbd5e1 100%);

  /* High Legibility Text Contrast */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-elevation: 0 25px 60px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --shadow-glow: 0 0 50px rgba(56, 189, 248, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

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

body {
  background-color: var(--bg-primary);
  /* Luminous Aurora Dome + Subtle Precision Grid Lines */
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(56, 189, 248, 0.24), transparent 75%),
    radial-gradient(ellipse 70% 45% at 90% 35%, rgba(129, 140, 248, 0.18), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Canvas & Ambient Gradients */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.52;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  top: -6%;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0.05) 70%, transparent 85%);
}

.orb-2 {
  top: 35%;
  right: -5%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, #818cf8 0%, rgba(129, 140, 248, 0.05) 70%, transparent 85%);
  animation-duration: 22s;
}

.orb-3 {
  bottom: 5%;
  left: 12%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #22d3ee 0%, rgba(34, 211, 238, 0.05) 70%, transparent 85%);
  animation-duration: 16s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 35px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Modern Responsive Navigation & Mobile Drawer
   ========================================================================== */
.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
}

.nav-pill {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.nav-pill:hover {
  border-color: var(--border-hover);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon-wrapper {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.45);
}

.brand-icon-wrapper svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: #ffffff;
}

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

/* Mobile Hamburger Toggle Button */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .hamburger-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  max-width: 1060px;
  margin: 0 auto;
  background: var(--bg-drawer);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  pointer-events: none;
}

.mobile-drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-links a:hover, .mobile-nav-links a:active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
}

.mobile-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #030712;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.55);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

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

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent-cyan);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  max-width: 100%;
}

.pill-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 150px 0 90px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 0 auto 20px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.platform-support-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.825rem;
  flex-wrap: wrap;
}

.platform-support-text span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-support-text svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* ==========================================================================
   App Mockup Preview - High-Fidelity Real AeroGit Architecture
   ========================================================================== */
.mockup-container {
  margin: 50px auto 0;
  max-width: 1180px;
  perspective: 1200px;
}

.app-window {
  background: #0e1424;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.25);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  text-align: left;
}

.app-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 110px -20px rgba(0, 0, 0, 0.95), 0 0 70px rgba(56, 189, 248, 0.35);
}

/* 1. Window Titlebar with Multi-Repo Tabs */
.mock-titlebar-tabs {
  background: #141c33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 12px;
  user-select: none;
}

.mock-titlebar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.mock-app-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #fff;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mock-app-brand svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2.2;
}

.mock-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mock-tabs-scroll::-webkit-scrollbar { display: none; }

.mock-tab-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.775rem;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  border: 1px solid transparent;
}

.mock-tab-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mock-tab-pill.active {
  background: #192440;
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-weight: 600;
}

.mock-tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.mock-tab-close {
  color: var(--text-muted);
  margin-left: 2px;
  font-size: 0.85rem;
  line-height: 1;
}
.mock-tab-close:hover { color: #fff; }

.mock-tab-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  color: var(--text-muted);
  cursor: pointer;
}
.mock-tab-add:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.mock-titlebar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-platform-pills {
  display: flex;
  gap: 6px;
}
.mock-platform-pill {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
}

.mock-window-controls {
  display: flex;
  gap: 6px;
  margin-left: 6px;
}
.mock-win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

/* 2. Sub-Toolbar with Mode Capsules & Branch Switcher */
.mock-sub-toolbar {
  background: #11182c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mock-branch-sync-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-branch-select-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.mock-branch-select-box svg { width: 13px; height: 13px; stroke: var(--accent-cyan); fill: none; stroke-width: 2; }

.mock-tool-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.15s;
}
.mock-tool-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mock-tool-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.mock-modes-pillbox {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-mode-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.mock-mode-pill:hover { color: #fff; }
.mock-mode-pill.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.mock-mode-pill svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

.mock-search-quickbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 170px;
}
.mock-search-quickbar svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.mock-shortcut-kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.68rem;
}

/* 3. Three-Column Main Working Area */
.mock-workspace-body {
  display: grid;
  grid-template-columns: 210px 1fr 340px;
  height: 480px;
  background: #0b1120;
}

/* Left Column: Git Tree Sidebar */
.mock-tree-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  font-size: 0.775rem;
}

.mock-tree-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 6px;
  text-transform: uppercase;
}
.mock-tree-count {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.68rem;
}

.mock-tree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.mock-tree-row:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mock-tree-row.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-weight: 600;
}
.mock-tree-row svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.mock-tag-capsule {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 2px 7px;
  border-radius: 12px;
}
.mock-tag-capsule svg { width: 11px; height: 11px; stroke: #fbbf24; fill: none; stroke-width: 2; }

.mock-local-path-bar {
  margin-top: auto;
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.4;
}

/* Center Column: Vertical Commit Topology Graph */
.mock-graph-feed {
  display: flex;
  flex-direction: column;
  background: #0c1222;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-graph-feed-header {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mock-head-branch-tag {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.725rem;
  font-weight: 700;
}

.mock-commit-list {
  flex: 1;
  padding: 12px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-commit-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  gap: 12px;
}
.mock-commit-entry:hover { background: rgba(255, 255, 255, 0.06); }
.mock-commit-entry.active {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.mock-commit-node-track {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}

.mock-graph-node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  flex-shrink: 0;
}
.mock-graph-node-dot.purple { background: #818cf8; box-shadow: 0 0 10px #818cf8; }
.mock-graph-node-dot.emerald { background: #34d399; box-shadow: 0 0 10px #34d399; }
.mock-graph-node-dot.amber { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }

.mock-commit-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.mock-commit-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-commit-meta-line {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.mock-commit-hash-pill {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mock-commit-entry.active .mock-commit-hash-pill {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
}

/* Right Column: Commit Inspector */
.mock-inspector-panel {
  background: #0f1629;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.mock-selected-commit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px;
}

.mock-selected-commit-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.4;
}

.mock-selected-commit-author {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-files-changed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mock-diff-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
}

.mock-diff-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: #e2e8f0;
}

.mock-file-tag-m {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 6px;
}

.mock-file-tag-a {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 6px;
}

.mock-file-diff-stats {
  color: #34d399;
  font-size: 0.7rem;
}

.mock-shortcut-tip-card {
  margin-top: auto;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.725rem;
  color: #e0f2fe;
}
.mock-shortcut-tip-card svg { width: 14px; height: 14px; stroke: var(--accent-cyan); fill: none; stroke-width: 2; }

/* 4. Bottom Status Bar */
.mock-app-statusbar {
  background: #111728;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.725rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.mock-engine-status-tag {
  color: #34d399;
  font-weight: 600;
}

/* ==========================================================================
   Metrics Section
   ========================================================================== */
.metrics-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 16, 26, 0.55);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

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

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

.metric-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.metric-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.metric-number {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  color: #ffffff;
}

.metric-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--accent-cyan);
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-item {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}

/* App Internal Layout Mockup */
.window-body {
  display: grid;
  grid-template-columns: 230px 1fr 320px;
  height: 460px;
  background: #0f1627;
  text-align: left;
}

.mock-sidebar {
  border-right: 1px solid var(--border-subtle);
  background: #121b30;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.mock-repo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mock-repo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.825rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.mock-repo-item:hover, .mock-repo-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mock-repo-item.active {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.mock-repo-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

.mock-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
}

.mock-content-main {
  display: flex;
  flex-direction: column;
  background: #0d1424;
  overflow: hidden;
}

.mock-toolbar {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.mock-tab {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.mock-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mock-tab svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.mock-graph-area {
  flex: 1;
  padding: 14px;
  overflow: hidden;
  position: relative;
}

.mock-inspector {
  border-left: 1px solid var(--border-subtle);
  background: #111a2e;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-diff-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  overflow-x: auto;
}

.diff-line {
  padding: 2px 4px;
  border-radius: 3px;
  white-space: nowrap;
}

.diff-add {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.diff-del {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

.diff-ctx {
  color: var(--text-muted);
}

/* ==========================================================================
   Topology & Interactive Playground
   ========================================================================== */
.interactive-section {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 24, 42, 0.85) 50%, transparent 100%);
}

.interactive-box {
  background: #11182c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
}

.interactive-toolbar {
  padding: 14px 20px;
  background: #162038;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.branch-selector {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.branch-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.825rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.branch-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

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

.branch-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.topology-canvas-container {
  height: 360px;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #151e33 0%, #0d1424 100%);
  overflow: hidden;
}

#topology-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.topology-info-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  background: rgba(20, 28, 48, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 8px;
}

.commit-detail-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.commit-hash {
  font-family: var(--font-mono);
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.775rem;
}

/* ==========================================================================
   3-Way Merge Showcase
   ========================================================================== */
.merge-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.merge-column {
  background: #11182c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.merge-col-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.775rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merge-col-header.local { color: var(--accent-cyan); background: rgba(56, 189, 248, 0.12); }
.merge-col-header.base { color: var(--text-muted); background: rgba(255, 255, 255, 0.05); }
.merge-col-header.remote { color: var(--accent-purple); background: rgba(167, 139, 250, 0.12); }

.merge-code-box {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-highlight {
  display: block;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 2px 0;
}

.code-local { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; border-left: 2px solid var(--accent-cyan); }
.code-remote { background: rgba(167, 139, 250, 0.18); color: #c4b5fd; border-left: 2px solid var(--accent-purple); }

.conflict-resolution-bar {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.resolution-text {
  font-size: 0.85rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-elevation);
  -webkit-overflow-scrolling: touch;
}

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

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
  background: rgba(34, 211, 238, 0.06);
  border-left: 1px solid rgba(34, 211, 238, 0.2);
  border-right: 1px solid rgba(34, 211, 238, 0.2);
  color: #fff;
  font-weight: 600;
}

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

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.check-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.cross-icon {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
}

/* ==========================================================================
   Download Section
   ========================================================================== */
.download-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.15);
}

.platform-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #ffffff;
}

.platform-logo-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.download-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-card-meta {
  color: var(--text-secondary);
  font-size: 0.825rem;
  margin-bottom: 20px;
}

.download-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.dl-link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--accent-cyan);
}

.dl-link-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.cli-install-box {
  background: #11182c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cli-code-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: nowrap;
}

.cli-prompt {
  color: var(--accent-cyan);
  margin-right: 8px;
  user-select: none;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.775rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

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

.copy-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.faq-icon-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
  stroke: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  background: #0b1120;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

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

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

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.775rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   High Luminous Dynamic Theme Overlay
   ========================================================================== */
body.luminous-mode {
  --bg-primary: #0f1629;
  --bg-secondary: #16203a;
  --bg-tertiary: #1c2a4d;
  --bg-card: rgba(28, 41, 71, 0.85);
  --bg-card-hover: rgba(36, 52, 90, 0.95);
  --bg-glass: rgba(22, 33, 58, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.18);
  --border-hover: rgba(255, 255, 255, 0.35);
  --border-glow: rgba(56, 189, 248, 0.7);
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
}

body.luminous-mode .ambient-glow-orb {
  opacity: 0.72;
}

body.luminous-mode .app-window {
  background: #141e35;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6), 0 0 70px rgba(56, 189, 248, 0.45);
}

body.luminous-mode .window-body {
  background: #121a2d;
}

body.luminous-mode .mock-sidebar {
  background: #152038;
}

body.luminous-mode .interactive-box,
body.luminous-mode .merge-column {
  background: #141e35;
}

/* Brightness Toggle Button */
.brightness-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.brightness-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.brightness-toggle-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-workspace-body {
    grid-template-columns: 180px 1fr;
  }
  .mock-inspector-panel {
    display: none;
  }
  .merge-preview-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 12px;
    top: 10px;
  }

  .nav-pill {
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .nav-gh-btn,
  .nav-actions .nav-dl-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding: 100px 0 50px;
  }

  .pill-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .platform-support-text {
    flex-direction: column;
    gap: 8px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .download-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Real Mockup Responsive Handling */
  .mock-workspace-body {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 360px;
  }

  .mock-tree-sidebar {
    display: none;
  }

  .mock-inspector-panel {
    display: none;
  }

  .mock-titlebar-right {
    display: none;
  }

  .mock-search-quickbar {
    display: none;
  }

  .mock-modes-pillbox {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .mock-modes-pillbox::-webkit-scrollbar { display: none; }

  .interactive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topology-canvas-container {
    height: 280px;
  }

  .cli-install-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .copy-btn {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-logo span {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .metric-card {
    padding: 20px 16px;
  }

  .feature-card {
    padding: 24px 18px;
  }
}
