/* ======================
   DESIGN TOKENS
   ====================== */
:root {
  --bg-deep:       #03050f;
  --bg-base:       #060b1a;
  --bg-surface:    #0c1428;
  --bg-card:       #0f1a30;
  --bg-card-hover: #142040;
  --border:        rgba(99, 179, 237, 0.12);
  --border-glow:   rgba(99, 179, 237, 0.35);

  --cyan:          #63b3ed;
  --cyan-bright:   #90cdf4;
  --purple:        #b794f4;
  --purple-bright: #d6bcfa;
  --blue:          #4299e1;
  --teal:          #38b2ac;
  --pink:          #f687b3;

  --text-primary:  #e2e8f0;
  --text-secondary:#a0aec0;
  --text-muted:    #718096;
  --text-accent:   #63b3ed;

  --font-sans:  'Space Grotesk', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-glow:  0 0 40px rgba(99,179,237,0.15), 0 0 80px rgba(99,179,237,0.06);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(99,179,237,0.08) inset;
  --shadow-npm:   0 8px 48px rgba(99,179,237,0.18), 0 2px 0 rgba(99,179,237,0.15) inset, 0 0 0 1px rgba(99,179,237,0.2);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ======================
   PARTICLE CANVAS
   ====================== */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ======================
   NEBULA BACKGROUNDS
   ====================== */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.nebula-1 {
  width: 800px; height: 800px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(99,179,237,0.06) 0%, transparent 70%);
  animation: nebula-drift 20s ease-in-out infinite alternate;
}
.nebula-2 {
  width: 600px; height: 600px;
  top: 40%; right: -150px;
  background: radial-gradient(circle, rgba(183,148,244,0.07) 0%, transparent 70%);
  animation: nebula-drift 25s ease-in-out infinite alternate-reverse;
}
.nebula-3 {
  width: 500px; height: 500px;
  bottom: 10%; left: 20%;
  background: radial-gradient(circle, rgba(56,178,172,0.05) 0%, transparent 70%);
  animation: nebula-drift 18s ease-in-out infinite alternate;
}
@keyframes nebula-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* ======================
   LAYOUT HELPERS
   ====================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ======================
   NAVBAR
   ====================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  background: rgba(3, 5, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(3, 5, 15, 0.92);
  border-bottom-color: var(--border-glow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo-bracket { color: var(--text-muted); }
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(99,179,237,0.08); }

.nav-github {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(99,179,237,0.1) !important;
  border: 1px solid var(--border) !important;
  color: var(--cyan) !important;
}
.nav-github:hover {
  background: rgba(99,179,237,0.18) !important;
  border-color: var(--border-glow) !important;
  color: var(--cyan-bright) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: rgba(6, 11, 26, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--cyan); background: rgba(99,179,237,0.08); }

/* ======================
   HERO
   ====================== */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.25);
  border-radius: 100px;
  padding: 5px 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fade-up 0.6s ease both;
}

.ascii-art {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 1.8vw, 1rem);
  line-height: 1.5;
  white-space: pre;
  text-align: center;
  margin-bottom: 28px;
  animation: fade-up 0.7s 0.1s ease both;
  filter: drop-shadow(0 0 20px rgba(99,179,237,0.3));
}
.ascii-cyan   { color: var(--cyan); }
.ascii-blue   { color: var(--blue); }
.ascii-purple { color: var(--purple); }
.ascii-dim    { color: var(--text-muted); }

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fade-up 0.7s 0.15s ease both;
}

.hero-description {
  max-width: 620px;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fade-up 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.7s 0.25s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2b6cb0, #4299e1);
  color: #fff;
  box-shadow: 0 4px 24px rgba(66,153,225,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(66,153,225,0.5);
}
.btn-secondary {
  background: rgba(99,179,237,0.08);
  color: var(--cyan);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(99,179,237,0.15);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 1s 0.6s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.1); }
}

/* ======================
   SECTIONS
   ====================== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e2e8f0 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 60px;
}

/* ======================
   NPM HERO CARD
   ====================== */
.npm-hero-card {
  background: var(--bg-card);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-npm);
  position: relative;
  overflow: hidden;
  animation: glow-pulse 4s ease-in-out infinite;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.npm-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,179,237,0.08) 0%, transparent 65%);
  pointer-events: none;
}
@keyframes glow-pulse {
  0%,100% { box-shadow: var(--shadow-npm); }
  50%      { box-shadow: 0 8px 64px rgba(99,179,237,0.28), 0 2px 0 rgba(99,179,237,0.18) inset, 0 0 0 1px rgba(99,179,237,0.28); }
}

.npm-card-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.npm-command-wrapper {
  background: rgba(3,5,15,0.8);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.npm-command-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  gap: 16px;
}

.prompt {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 500;
  user-select: none;
  white-space: nowrap;
}

.cmd-text {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  color: var(--text-primary);
  flex: 1;
  word-break: break-all;
}

.npm-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  font-family: var(--font-mono);
}

.copy-btn {
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.2);
  color: var(--cyan);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: rgba(99,179,237,0.2);
  border-color: var(--border-glow);
}
.copy-btn.copied {
  color: #68d391;
  border-color: rgba(104,211,145,0.4);
  background: rgba(104,211,145,0.1);
}
.inline-copy { padding: 5px 7px; }

/* ======================
   BINARY / OS TABS
   ====================== */
.binary-section {
  max-width: 780px;
  margin: 0 auto;
}

.binary-label { margin-bottom: 24px; }

.os-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.os-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  cursor: pointer;
  transition: var(--transition);
}
.os-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}
.os-tab.active {
  color: var(--cyan);
  background: rgba(99,179,237,0.1);
  border-color: rgba(99,179,237,0.35);
}

.os-panel { display: none; }
.os-panel.active { display: block; animation: fade-in 0.3s ease; }

.install-card {
  background: rgba(3,5,15,0.8);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.code-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.install-note {
  padding: 0 20px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.win-note { color: #fbd38d; }

.binary-download-card {
  display: flex;
  justify-content: flex-start;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
  background: rgba(183,148,244,0.08);
  border: 1px solid rgba(183,148,244,0.2);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.download-btn:hover {
  background: rgba(183,148,244,0.16);
  border-color: rgba(183,148,244,0.4);
  transform: translateY(-1px);
}

/* ======================
   FEATURES GRID
   ====================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, background var(--transition), border var(--transition), box-shadow var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,179,237,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 18px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(99,179,237,0.18);
  box-shadow: 0 0 20px rgba(99,179,237,0.2);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ======================
   USAGE SECTION
   ====================== */
.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

.usage-terminal {
  background: rgba(3,5,15,0.9);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.terminal-body {
  padding: 24px 20px;
  min-height: 120px;
}
.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.typed-text { color: var(--text-primary); }
.cursor-blink {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.flags-list h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.flags-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.flag-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.flag-item:last-child { border-bottom: none; }

.flag-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--cyan);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Modes */
.modes-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.mode-divider {
  width: 1px;
  background: var(--border);
}

.mode-card {
  padding: 32px 28px;
  transition: var(--transition);
}
.mode-card:hover {
  background: rgba(99,179,237,0.04);
}

.mode-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  font-weight: 700;
}
.mode-chat .mode-badge  { color: var(--cyan);   background: rgba(99,179,237,0.12);  border: 1px solid rgba(99,179,237,0.25);  }
.mode-exec .mode-badge  { color: var(--pink);   background: rgba(246,135,179,0.12); border: 1px solid rgba(246,135,179,0.25); }
.mode-quiz .mode-badge  { color: var(--purple); background: rgba(183,148,244,0.12); border: 1px solid rgba(183,148,244,0.25); }

.mode-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mode-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ======================
   COMMANDS TABLE
   ====================== */
.commands-table-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.commands-table thead {
  background: rgba(99,179,237,0.06);
  border-bottom: 1px solid var(--border);
}
.commands-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.commands-table td {
  padding: 14px 24px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.commands-table tr:last-child td { border-bottom: none; }
.commands-table tr:hover td { background: rgba(99,179,237,0.04); }
.commands-table code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: 4px;
  padding: 2px 8px;
}

/* ======================
   FOOTER
   ====================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: rgba(3,5,15,0.6);
  overflow: hidden;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 400px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover { color: var(--cyan); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ======================
   ANIMATIONS
   ====================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .usage-grid { grid-template-columns: 1fr; }

  .modes-section {
    grid-template-columns: 1fr;
  }
  .mode-divider {
    width: 100%; height: 1px;
  }

  .ascii-art { font-size: 0.42rem; }

  .npm-command-body { flex-direction: column; align-items: flex-start; }

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

  .commands-table { font-size: 0.82rem; }
  .commands-table th,
  .commands-table td { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .ascii-art { font-size: 0.36rem; }
  .section { padding: 70px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
}
