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

:root {
  --bg:          #0a0a0f;
  --bg-2:        #0f0f1a;
  --bg-3:        #141428;
  --surface:     #161625;
  --surface-2:   #1e1e35;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(99,102,241,0.35);
  --accent:      #6366f1;
  --accent-2:    #a855f7;
  --neon:        #22d3ee;
  --neon-2:      #818cf8;
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --green:       #22c55e;
  --red:         #ef4444;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.2);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --nav-h:       64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ─── TYPOGRAPHY ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.logo-icon { font-size: 1.2rem; }
.logo-text { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.nav-github:hover { border-color: var(--border-glow) !important; background: var(--surface-2) !important; }

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

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--neon), transparent 70%);
  bottom: -100px; right: -100px;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

#hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-badges img { height: 20px; border-radius: 4px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fade-in 2s ease 1.5s both;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scroll-pulse 2s ease infinite;
}

/* ─── WHY SECTION ─── */
#why {
  padding: 100px 0;
  background: var(--bg-2);
}
#why .container { max-width: 860px; }

.comparison-table {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table thead tr {
  background: var(--surface);
}
.comparison-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.comparison-table th:last-child { color: var(--neon); }
.comparison-table td {
  padding: 14px 24px;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}
.comparison-table tbody tr { background: var(--bg-3); }
.comparison-table tbody tr:nth-child(even) { background: var(--surface); }
.comparison-table tbody tr:hover { background: var(--surface-2); transition: background 0.2s; }

.icon-bad { color: var(--red); margin-right: 6px; }
.icon-good { color: var(--green); margin-right: 6px; }

/* ─── FEATURES ─── */
#features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── PREVIEW ─── */
#preview {
  padding: 100px 0;
  background: var(--bg-2);
}

.preview-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--surface-2);
  border-color: var(--border-glow);
  color: var(--text);
}
.tab-btn.active {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: var(--neon-2);
}

.preview-panel { display: none; }
.preview-panel.active { display: block; }
.panel-desc {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
}

/* Mock Window */
.mock-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px rgba(99,102,241,0.1);
  background: var(--bg-3);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
}
.mock-dots span:first-child { background: #ef4444; }
.mock-dots span:nth-child(2) { background: #f59e0b; }
.mock-dots span:last-child { background: #22c55e; }
.mock-title { font-size: 0.8rem; color: var(--text-muted); }
.mock-body { padding: 28px; min-height: 220px; }

/* Monitor preview */
.mock-monitors { display: flex; flex-direction: column; gap: 24px; }
.mock-monitor-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.mock-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mock-monitor.active-monitor { opacity: 1; }
.mock-screen {
  width: 100px; height: 64px;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
  border: 2px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.mock-monitor.active-monitor .mock-screen {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2));
  box-shadow: 0 0 12px rgba(99,102,241,0.3);
}
.mock-stand {
  width: 24px; height: 8px;
  background: var(--border);
  border-radius: 0 0 4px 4px;
}
.mock-info { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.mock-detect-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--neon-2);
  cursor: pointer;
  text-align: center;
  align-self: flex-start;
}

/* Collage preview */
.mock-collage { display: flex; flex-direction: column; gap: 20px; }
.collage-grid {
  display: grid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  gap: 2px;
  background: var(--border);
}
.grid-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 80px 80px; }
.collage-cell { background: var(--surface-2); }
.collage-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.collage-controls span { font-size: 0.85rem; color: var(--text-muted); }
.num-btns { display: flex; gap: 6px; }
.num-btns button {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.num-btns button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Settings preview */
.mock-settings { display: flex; flex-direction: column; gap: 18px; }
.mock-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mock-setting-row:last-child { border-bottom: none; }
.mock-toggle-group {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.mock-toggle-group span {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
}
.mock-toggle-group .mock-active {
  background: var(--accent);
  color: #fff;
}
.mock-input-row { display: flex; align-items: center; gap: 8px; }
.mock-input {
  padding: 5px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  width: 60px;
  text-align: center;
}
.mock-btn {
  padding: 5px 12px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: var(--radius-sm);
  color: var(--neon);
  font-size: 0.8rem;
  cursor: pointer;
}
.mock-checkbox {
  width: 24px; height: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mock-checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Tray preview */
.mock-tray { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mock-taskbar {
  width: 100%;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
}
.taskbar-icons { display: flex; gap: 8px; margin-left: auto; }
.taskbar-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.app-icon { background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.3); }
.mock-context-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 200px;
  box-shadow: var(--shadow);
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  color: var(--text-muted);
}
.menu-item:hover { background: var(--surface-2); color: var(--text); }
.menu-header { font-weight: 700; color: var(--text); pointer-events: none; font-size: 0.8rem; letter-spacing: 0.04em; }
.menu-item.highlight { color: var(--neon); }
.menu-item.danger { color: var(--red); }
.menu-divider { height: 1px; background: var(--border); margin: 4px 0; }
.menu-icon { font-size: 0.9rem; }

/* ─── INSTALL ─── */
#install {
  padding: 100px 0;
}

.install-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.install-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}
.install-tab.active {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.4);
  color: var(--text);
}
.tab-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}
.tab-icon { font-size: 1.2rem; }

.install-panel { display: none; }
.install-panel.active { display: block; }

.install-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.install-step {
  display: flex;
  gap: 20px;
  padding: 28px 28px 28px 0;
  border-left: 2px solid var(--border);
  margin-left: 20px;
  padding-left: 28px;
  position: relative;
}
.install-step:last-child { border-left-color: transparent; }
.step-num {
  position: absolute;
  left: -18px;
  top: 24px;
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(99,102,241,0.4);
}
.step-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }

.install-req { margin-top: 0; }
.install-req h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.req-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.req-table { display: flex; flex-direction: column; gap: 8px; }
.req-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.req-name { font-weight: 600; min-width: 80px; }
.req-ver { color: var(--neon-2); flex: 1; }
.req-row a { color: var(--text-dim); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }

/* ─── CODE BLOCKS ─── */
.code-block-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--mono);
}
.copy-btn {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover { border-color: var(--border-glow); color: var(--text); }
.copy-btn.copied { color: var(--green); border-color: rgba(34,197,94,0.4); }

pre {
  padding: 20px;
  background: var(--bg-3);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
code { font-family: var(--mono); font-size: 0.875rem; }
pre code { font-size: inherit; }
.c { color: var(--text-dim); font-style: italic; }

/* Inline code */
p code, li code, td code {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.85em;
  color: var(--neon-2);
}

/* ─── CLI ─── */
#cli {
  padding: 100px 0;
  background: var(--bg-2);
}

.cli-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.cli-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.cli-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.cli-card-header {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.cli-card .code-block-wrapper {
  border: none;
  border-radius: 0;
  margin: 0;
}
.cli-card .code-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hotkeys-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hotkeys-section > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.hotkeys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.hotkey-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.hotkey-row:hover { border-color: var(--border-glow); }
.hotkey-keys { display: flex; gap: 4px; flex-shrink: 0; }
kbd {
  display: inline-block;
  padding: 4px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
}
.hotkey-row span { font-size: 0.9rem; color: var(--text-muted); }

/* ─── CHANGELOG ─── */
#changelog { padding: 100px 0; }

.timeline {
  margin-top: 56px;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 52px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px; height: 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
}
.timeline-item.current .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(99,102,241,0.5);
}

.timeline-version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.version-tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.current-label {
  font-size: 0.71rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid rgba(99,102,241,0.3);
  padding: 2px 10px;
  border-radius: 999px;
}

.change-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.change-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.change-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ─── CTA ─── */
#cta {
  padding: 100px 0;
  background: var(--bg-2);
}
.cta-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12), transparent 60%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.cta-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open li a { display: block; padding: 10px 14px; }
  .nav-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .comparison-table { overflow-x: auto; }
  .comparison-table table { min-width: 560px; }
  .cli-grid { grid-template-columns: 1fr; }
  .hotkeys-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  #hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .install-tabs { flex-direction: column; }
  .install-tab { justify-content: flex-start; }
  .cta-card { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}
