:root {
  --bg-primary: #07080b;
  --bg-secondary: #0c0e14;
  --bg-card: #0f121a;
  --bg-card-hover: #151924;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(16, 185, 129, 0.35);
  
  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-emerald-dim: rgba(16, 185, 129, 0.12);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.4);
}

/* Scroll Progress Bar at the top */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  z-index: 1000;
  transition: width 0.08s ease-out;
}

/* Ambient Radial Glow Grids */
.ambient-glow-1 {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 950px;
  left: 30%;
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

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

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: border-color 0.2s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.logo-text {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.version-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s, transform 0.15s;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-github {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: #ffffff;
  color: #07080b;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 38px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--accent-emerald);
  color: #03271e;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 9px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 9px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

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

/* ==========================================================================
   3D VIEWPORT & CLAMSHELL SIMULATION SECTION
   ========================================================================== */
.three-section {
  padding: 24px 0 64px;
}

.three-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
}

.three-header {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.three-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-3d {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.three-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hud-lid-state {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-emerald {
  color: var(--accent-emerald-bright);
  font-weight: 700;
}
.badge-amber {
  color: var(--accent-amber);
  font-weight: 700;
}
.badge-blue {
  color: var(--accent-cyan);
  font-weight: 700;
}

.three-viewport {
  width: 100%;
  height: 520px;
  position: relative;
  background: radial-gradient(circle at center, #121620 0%, #090b10 100%);
  cursor: grab;
  touch-action: none;
}

.three-viewport:active {
  cursor: grabbing;
}

/* Interactive Floating HUD Hotspots around 3D */
.three-hud-overlay {
  position: absolute;
  top: 16px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  z-index: 5;
}

.hud-pill {
  background: rgba(10, 13, 19, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-pill strong {
  color: #ffffff;
}

.hud-hint-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 13, 19, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.76rem;
  color: var(--text-dim);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}

/* 3D Control Bar (Lid Angle & Presets) */
.three-controls-bar {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.lid-presets {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-preset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-preset:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.slider-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 320px;
}

.slider-group span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.lid-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.lid-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-emerald);
  transition: transform 0.1s;
}

.lid-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.btn-engine-toggle {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald-bright);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.btn-engine-toggle:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   LIVE TELEMETRY CARD (MENU BAR LOCAL ENGINE)
   ========================================================================== */
.live-status-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

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

.status-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eye-badge {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.eye-svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s;
}

.status-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.status-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-toggle-engine {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-toggle-engine:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.telemetry-cell {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.telemetry-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.telemetry-val {
  font-size: 0.98rem;
  font-weight: 600;
}

/* ==========================================================================
   DOWNLOADS SECTION (UN-SLOPPED DUAL ARCHITECTURE)
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 52px;
}

.section-heading {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.download-card.featured {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.download-card.featured:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 16px 45px rgba(16, 185, 129, 0.18);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent-emerald);
  color: #042f24;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

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

.arch-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
}

.arch-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.arch-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
}

.download-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-download {
  background: var(--accent-emerald);
  color: #042f24;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.1s;
}

.btn-download:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

.btn-secondary-download {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
}

.btn-secondary-download:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.meta-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* Homebrew Box */
.terminal-install-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.cli-tab-bar {
  display: flex;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.tab-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-right: 16px;
}

.tab-label.inactive {
  color: var(--text-muted);
}

.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.command-row code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-emerald-bright);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   ARCHITECTURE & SAFETY SPEC CARDS
   ========================================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.spec-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 14px;
}

.spec-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.spec-body {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.spec-body code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Safety Section */
.safety-banner {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 18, 26, 0.7) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 44px;
  max-width: 960px;
  margin: 0 auto;
}

.safety-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.safety-desc {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.safety-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 10px;
}

.safety-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.safety-item strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.safety-item p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.safety-item code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 4px;
  border-radius: 3px;
}

/* CLI Terminal Window */
.terminal-window {
  background: #050608;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.term-title-bar {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border-color);
}

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

.term-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.term-content {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

.term-dim { color: var(--text-muted); }
.term-bold { font-weight: 700; color: #ffffff; }

.term-output {
  color: var(--text-dim);
  margin: 8px 0 18px;
  white-space: pre-wrap;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (AESTHETIC SCROLLING)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-title { font-size: 2.8rem; }
  .download-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .safety-features { grid-template-columns: 1fr; }
  .telemetry-grid { grid-template-columns: 1fr 1fr; }
  .three-viewport { height: 400px; }
  .three-controls-bar { flex-direction: column; align-items: stretch; }
  .slider-group { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .telemetry-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-row { flex-direction: column; text-align: center; }
}
