/* =========================
   TERMI.MAL+ Styles v3.0
   Chroma Design System
   ========================= */

/* =========================
   CSS Variables (Chroma)
   ========================= */
:root {
  /* Primary */
  --primary: #FF7800;
  --primary-light: #FF9A40;
  --primary-dark: #CC6000;

  /* Secondary (Cyan) */
  --secondary: #00BFFF;
  --secondary-light: #40D4FF;
  --secondary-dark: #0099CC;

  /* Backgrounds */
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --bg-input: #0d0d14;
  --bg-sidebar: #0c0c14;

  /* Borders */
  --border: #2a2a3a;
  --border-light: #3a3a4a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b4b4c4;
  --text-muted: #6a6a7a;

  /* Status */
  --success: #22c55e;
  --warning: #eab308;
  --error: #ef4444;
  --info: #3b82f6;

  /* Glows */
  --glow-primary: rgba(255, 120, 0, 0.4);
  --glow-secondary: rgba(0, 191, 255, 0.4);

  /* Layout */
  --nav-height: 56px;
  --sidebar-width: 260px;

  /* Category Colors */
  --cat-linux: #f97316;
  --cat-git: #f43f5e;
  --cat-docker: #0ea5e9;
  --cat-ffmpeg: #8b5cf6;
  --cat-network: #10b981;
  --cat-ssh: #eab308;
  --cat-files: #06b6d4;
  --cat-nginx: #22c55e;
  --cat-systemd: #a855f7;
  --cat-packages: #14b8a6;
  --cat-compression: #f59e0b;
  --cat-permissions: #ef4444;
  --cat-text: #6366f1;
  --cat-processes: #ec4899;
  --cat-disks: #84cc16;
  --cat-users: #f472b6;
  --cat-cron: #facc15;
  --cat-firewall: #fb923c;
  --cat-logs: #a3e635;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================
   Background Effects
   ========================= */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 120, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 191, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 120, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 120, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.scan-line {
  position: fixed;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  animation: scan 10s linear infinite;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(-10px, 10px); }
  75% { transform: translate(-20px, -10px); }
}

/* =========================
   Top Navigation
   ========================= */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.top-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.sidebar-toggle:hover {
  color: var(--primary);
  background: rgba(255, 120, 0, 0.1);
}

.sidebar-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.nav-logo-plus {
  color: var(--primary);
  text-shadow: 0 0 15px var(--glow-primary);
}

.nav-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255, 120, 0, 0.3);
  border-radius: 6px;
  color: var(--primary);
  background: rgba(255, 120, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-btn:hover {
  background: rgba(255, 120, 0, 0.15);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 120, 0, 0.2);
}

.nav-link-btn.cyan {
  border-color: rgba(0, 191, 255, 0.3);
  color: var(--secondary);
  background: rgba(0, 191, 255, 0.05);
}

.nav-link-btn.cyan:hover,
.nav-link-btn.cyan.active {
  background: rgba(0, 191, 255, 0.15);
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.nav-link-btn svg {
  width: 14px;
  height: 14px;
}

/* =========================
   Layout
   ========================= */
.layout {
  display: flex;
  padding-top: var(--nav-height);
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* =========================
   Sidebar
   ========================= */
.sidebar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: rgba(12, 12, 20, 0.92);
  backdrop-filter: blur(10px);
  border-right: 1px solid var(--border);
  z-index: 100;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  backdrop-filter: blur(2px);
}

/* Sidebar Search */
.sidebar-search {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  padding: 10px 36px 10px 34px;
  font-size: 0.8rem;
  transition: all 0.3s;
  border-radius: 8px;
  font-weight: 500;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 120, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: none;
  transition: all 0.2s;
}

.search-clear-btn:hover {
  color: var(--primary);
  background: rgba(255, 120, 0, 0.1);
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn svg {
  width: 14px;
  height: 14px;
}

.search-stats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

.search-stats span {
  color: var(--primary);
  font-weight: 600;
}

/* Sidebar Actions */
.sidebar-actions {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 120, 0, 0.06);
  border: 1px solid rgba(255, 120, 0, 0.15);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.sidebar-action-btn:hover {
  color: var(--primary);
  background: rgba(255, 120, 0, 0.12);
  border-color: rgba(255, 120, 0, 0.3);
}

.sidebar-action-btn.active {
  color: var(--bg-dark);
  background: var(--primary);
  border-color: var(--primary);
}

.sidebar-action-btn svg {
  width: 16px;
  height: 16px;
}

.fav-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--warning);
  color: var(--bg-dark);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  opacity: 0;
  transition: opacity 0.2s;
}

.fav-badge.visible {
  opacity: 1;
}

/* Sidebar Nav -- single scroll container */
.sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 12px;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 120, 0, 0.2);
  border-radius: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 120, 0, 0.4);
}

/* Collapsible Section Toggle */
.sidebar-section-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-top: 1px solid var(--border);
  cursor: pointer;
  color: inherit;
  transition: background 0.2s;
}

.sidebar-section-toggle:hover {
  background: rgba(255, 120, 0, 0.06);
}

.sidebar-section-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0.8;
}

.sidebar-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex: 1;
  text-align: left;
}

.sidebar-section-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 120, 0, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 24px;
  text-align: center;
}

.sidebar-section-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.sidebar-section-toggle.collapsed .sidebar-section-chevron {
  transform: rotate(-90deg);
}

.sidebar-section-toggle.collapsed .sidebar-section-count {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-section-body {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  max-height: 1200px;
  opacity: 1;
}

.sidebar-section-body.collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.sidebar-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
  position: relative;
  border-left: 3px solid transparent;
}

.sidebar-cat:hover {
  background: rgba(255, 120, 0, 0.06);
  color: var(--text-primary);
}

.sidebar-cat.active {
  background: rgba(255, 120, 0, 0.1);
  color: var(--primary);
  border-left-color: var(--primary);
}

.sidebar-cat.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--glow-primary);
}

.sidebar-cat svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.sidebar-cat.active svg {
  opacity: 1;
  color: var(--primary);
}

.sidebar-cat-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-cat-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 24px;
  text-align: center;
}

.sidebar-cat.active .sidebar-cat-count {
  color: var(--primary);
  background: rgba(255, 120, 0, 0.15);
}

/* Sidebar Support */
.sidebar-support {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.1), rgba(0, 191, 255, 0.1));
  border: 1px solid rgba(255, 120, 0, 0.25);
  border-radius: 8px;
  color: var(--primary-light);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.support-btn:hover {
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.2), rgba(0, 191, 255, 0.2));
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 120, 0, 0.15);
  transform: translateY(-1px);
}

.support-btn svg {
  width: 16px;
  height: 16px;
  color: var(--error);
}

/* =========================
   Main Content
   ========================= */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}

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

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.08); }
  50% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 120, 0, 0.2); }
}

.hero-plus {
  color: var(--primary);
  text-shadow: 0 0 20px var(--glow-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 28px;
  text-align: center;
  transition: all 0.3s;
  min-width: 120px;
}

.stat-box:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 120, 0, 0.15);
}

.stat-box.cyan:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.15);
}

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}

.stat-box.cyan .stat-number {
  color: var(--secondary);
}

.stat-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.hero-keyboard-hint {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.kbd {
  display: inline-block;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

/* =========================
   Landing Page
   ========================= */
.landing {
  padding: 0 32px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.landing-intro {
  text-align: center;
  margin-bottom: 40px;
}

.landing-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.landing-lead span {
  color: var(--primary);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 120, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 120, 0, 0.1);
}

.feature-card.cyan:hover {
  border-color: rgba(0, 191, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.1);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 120, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.feature-icon-wrap.cyan {
  background: rgba(0, 191, 255, 0.1);
}

.feature-icon-wrap.cyan svg {
  color: var(--secondary);
}

.feature-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

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

.feature-desc .kbd {
  vertical-align: 1px;
}

.landing-example {
  margin-bottom: 36px;
}

.landing-example-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.landing-example-label svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.landing-cta {
  text-align: center;
}

.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 120, 0, 0.3);
}

.landing-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 120, 0, 0.5);
}

.landing-cta-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .landing {
    padding: 0 16px 32px;
  }

  .landing-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }
}

/* =========================
   Commands Container
   ========================= */
.commands-container {
  padding: 0 24px 40px;
  flex: 1;
}

/* =========================
   Section Header
   ========================= */
.section-anchor {
  display: block;
  position: relative;
  top: calc(-1 * var(--nav-height) - 20px);
  visibility: hidden;
}

.section-block {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.08), rgba(0, 191, 255, 0.04));
  border: 1px solid rgba(255, 120, 0, 0.2);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  position: sticky;
  top: var(--nav-height);
  z-index: 10;
  backdrop-filter: blur(12px);
}

.section-header-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.section-header-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: 1;
}

.section-header-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 120, 0, 0.1);
  padding: 3px 10px;
  border-radius: 10px;
}

/* =========================
   Command Cards
   ========================= */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
  align-items: start;
}

.command-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.command-card:hover {
  border-color: rgba(255, 120, 0, 0.4);
  box-shadow: 0 4px 20px rgba(255, 120, 0, 0.1);
  transform: translateY(-2px);
}

.command-card.hidden {
  display: none;
}

.command-card.favorite {
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.1);
}

.command-card.highlighted {
  animation: highlightPulse 2s ease-out;
}

@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 4px rgba(255, 120, 0, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(255, 120, 0, 0.1); }
}

/* Card Header */
.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  transition: background 0.2s;
}

.command-header:hover {
  background: rgba(255, 120, 0, 0.04);
}

.command-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.command-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.command-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.command-category-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Badge colors */
.command-category-badge.linux { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.command-category-badge.git { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.command-category-badge.docker { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.command-category-badge.ffmpeg { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.command-category-badge.network { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.command-category-badge.ssh { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.command-category-badge.files { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.command-category-badge.nginx { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.command-category-badge.systemd { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.command-category-badge.packages { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.command-category-badge.compression { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.command-category-badge.permissions { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.command-category-badge.text { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.command-category-badge.processes { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.command-category-badge.disks { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
.command-category-badge.users { background: rgba(244, 114, 182, 0.15); color: #f9a8d4; }
.command-category-badge.cron { background: rgba(250, 204, 21, 0.15); color: #fde047; }
.command-category-badge.firewall { background: rgba(251, 146, 60, 0.15); color: #fdba74; }
.command-category-badge.logs { background: rgba(163, 230, 53, 0.15); color: #bef264; }

.link-btn,
.favorite-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.link-btn:hover {
  color: var(--secondary);
  background: rgba(0, 191, 255, 0.1);
}

.favorite-btn:hover {
  color: var(--warning);
  background: rgba(234, 179, 8, 0.1);
}

.favorite-btn.active {
  color: var(--warning);
}

.link-btn svg,
.favorite-btn svg {
  width: 14px;
  height: 14px;
}

.expand-indicator {
  color: var(--text-muted);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
}

.expand-indicator svg {
  width: 14px;
  height: 14px;
}

.command-card.expanded .expand-indicator {
  transform: rotate(180deg);
}

/* Card Face -- always visible */
.command-face {
  padding: 0 12px 12px;
}

/* Card Details -- expand only */
.command-details {
  display: none;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.command-card.expanded .command-details {
  display: block;
}

.command-description {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
  padding-top: 10px;
}

.command-code-wrapper {
  position: relative;
  background: var(--bg-darker);
  border: 1px solid rgba(0, 191, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.command-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--secondary-light);
  padding: 10px 40px 10px 12px;
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

.copy-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 191, 255, 0.15);
  border: 1px solid rgba(0, 191, 255, 0.2);
  color: var(--secondary);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0.7;
}

.copy-btn:hover {
  opacity: 1;
  background: rgba(0, 191, 255, 0.25);
  border-color: var(--secondary);
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--glow-secondary);
}

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--success);
  color: var(--success);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.command-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 191, 255, 0.04);
  border-left: 2px solid var(--secondary);
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

.command-note code {
  background: rgba(0, 191, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--secondary-light);
  font-size: 0.72rem;
}

.command-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.command-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* =========================
   No Results
   ========================= */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.no-results-icon {
  width: 64px;
  height: 64px;
  color: var(--secondary);
  opacity: 0.4;
  margin-bottom: 16px;
}

.no-results h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 0.9rem;
}

/* =========================
   Copy Notification
   ========================= */
.copy-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--bg-dark);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--glow-secondary);
  z-index: 10000;
  animation: notificationSlide 2s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes notificationSlide {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  85% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* =========================
   Back to Top
   ========================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--glow-primary);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  margin-top: auto;
  padding: 40px 24px 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer Donate */
.footer-donate {
  padding: 28px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.06), rgba(0, 191, 255, 0.04));
  border: 1px solid rgba(255, 120, 0, 0.15);
  border-radius: 12px;
}

.footer-donate-icon {
  width: 24px;
  height: 24px;
  color: var(--error);
  margin-bottom: 10px;
}

.footer-donate p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 120, 0, 0.25);
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 120, 0, 0.4);
}

.donate-btn svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-brand a {
  text-decoration: none;
  transition: all 0.3s;
}

.footer-mal {
  color: #ffffff;
  font-weight: 700;
}

.footer-plus {
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 10px var(--glow-primary);
}

.footer-brand a:hover .footer-mal {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.footer-brand a:hover .footer-plus {
  text-shadow: 0 0 20px var(--glow-primary);
}

.footer-stats-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-stats-line span {
  color: var(--primary);
  font-weight: 600;
}

.footer-links {
  margin-top: 12px;
}

.footer-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.25s;
}

.footer-source-link:hover {
  color: var(--secondary);
  border-color: rgba(0, 191, 255, 0.3);
  background: rgba(0, 191, 255, 0.05);
}

.footer-source-link svg {
  width: 14px;
  height: 14px;
}

/* =========================
   API Documentation
   ========================= */
.api-docs {
  padding: 0 24px 48px;
  flex: 1;
}

.api-docs-inner {
  max-width: 860px;
  margin: 0 auto;
}

.api-hero {
  text-align: center;
  margin-bottom: 40px;
}

.api-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.15), rgba(0, 191, 255, 0.1));
  border: 1px solid rgba(255, 120, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.api-hero-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.api-hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.api-hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.api-section {
  margin-bottom: 36px;
}

.api-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 120, 0, 0.2);
}

.api-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.api-sub-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 0 10px;
}

.api-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

.api-endpoint {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color 0.3s;
}

.api-endpoint:hover {
  border-color: rgba(255, 120, 0, 0.3);
}

.api-endpoint-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.api-method {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.api-path {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--secondary-light);
}

.api-endpoint-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.api-endpoint-desc code {
  background: rgba(0, 191, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--secondary-light);
  font-size: 0.78rem;
}

.api-code-block {
  position: relative;
  background: var(--bg-darker);
  border: 1px solid rgba(0, 191, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.api-code-block pre {
  margin: 0;
  padding: 14px 44px 14px 16px;
  overflow-x: auto;
}

.api-code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--secondary-light);
  line-height: 1.6;
}

.api-code-block.schema pre {
  padding: 16px;
}

.api-code-block .copy-btn {
  top: 8px;
  right: 8px;
}

.api-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.api-cat-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 4px 10px;
  background: rgba(255, 120, 0, 0.08);
  border: 1px solid rgba(255, 120, 0, 0.2);
  border-radius: 20px;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

.api-field-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.api-field-row {
  display: grid;
  grid-template-columns: 120px 100px 1fr;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}

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

.api-field-row.header {
  background: rgba(255, 120, 0, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.api-field-row code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--secondary-light);
  background: rgba(0, 191, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.api-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.api-notes-list li {
  position: relative;
  padding: 10px 16px 10px 28px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.api-notes-list li:last-child {
  border-bottom: none;
}

.api-notes-list li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.api-notes-list code {
  background: rgba(0, 191, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--secondary-light);
  font-size: 0.78rem;
}

/* Secondary CTA button */
.landing-cta-btn.secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 191, 255, 0.2);
  margin-left: 12px;
}

.landing-cta-btn.secondary:hover {
  background: rgba(0, 191, 255, 0.1);
  box-shadow: 0 8px 35px rgba(0, 191, 255, 0.4);
}

/* Sidebar API link */
.sidebar-api-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 191, 255, 0.2);
  background: rgba(0, 191, 255, 0.05);
  color: var(--secondary);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar-api-link:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.15);
}

.sidebar-api-link.active {
  background: rgba(0, 191, 255, 0.15);
  border-color: var(--secondary);
  color: var(--secondary-light);
}

.sidebar-api-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .api-docs {
    padding: 0 14px 32px;
  }

  .api-hero-title {
    font-size: 1.1rem;
  }

  .api-endpoint {
    padding: 14px;
  }

  .api-field-row {
    grid-template-columns: 90px 80px 1fr;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .landing-cta-btn.secondary {
    margin-left: 0;
    margin-top: 10px;
  }

  .landing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* =========================
   Scrollbar
   ========================= */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* =========================
   Focus States (Accessibility)
   ========================= */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* =========================
   Reduced Motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1024px) {
  .sidebar-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .sidebar-overlay.visible {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .nav-tagline {
    display: none;
  }

  .commands-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 32px 20px 24px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-box {
    padding: 12px 20px;
    min-width: 90px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .commands-container {
    padding: 0 14px 30px;
  }

  .commands-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-header {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .section-header-title {
    font-size: 0.75rem;
  }

  .nav-link-btn span {
    display: none;
  }

  .nav-link-btn {
    padding: 6px 10px;
  }

  .hero-keyboard-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: row;
    gap: 8px;
  }

  .stat-box {
    padding: 10px 14px;
    min-width: 0;
    flex: 1;
  }

  .stat-number {
    font-size: 0.95rem;
  }

  .command-title {
    font-size: 0.65rem;
  }

  .command-code {
    font-size: 0.72rem;
  }
}

/* =========================
   Print
   ========================= */
@media print {
  .bg-gradient, .bg-grid, .scan-line, .particles,
  .top-nav, .sidebar, .sidebar-overlay,
  .back-to-top, .copy-btn, .favorite-btn,
  .expand-indicator, .hero-keyboard-hint,
  .sidebar-support, .hero-stats {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .main-content {
    margin-left: 0;
  }

  .command-card {
    break-inside: avoid;
    border: 1px solid #ddd;
    background: white;
  }

  .command-card .command-body {
    display: block !important;
  }

  .command-code {
    background: #f5f5f5;
    color: #333;
  }
}
