/* ══════════════════════════════════════════════════════════════════════════
   MOBILE-FIRST PERFORMANCE CSS
   - Touch targets ≥44px
   - Compositor-only animations
   - Content-visibility for off-screen sections
   - Backdrop-filter only where necessary
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Mono:wght@400;500&display=swap');

/* ═══ DESIGN TOKENS ══════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --bg:          #060b06;
  --bg-2:        #0d160d;
  --bg-3:        #131f13;
  --bg-card:     #0f1a0f;
  --bg-elevated: #172417;
  --border:      #1f3320;
  --border-2:    #2e5030;
  --green:       #4ade80;
  --green-dim:   #34c265;
  --green-soft:  rgba(74,222,128,0.08);
  --gold:        #f59e0b;
  --cyan:        #06b6d4;
  --text:        #e2f0e2;
  --text-2:      #a8c8a8;
  --text-3:      #7a9e7a;

  /* Typography */
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'DM Mono', monospace;
  --pixel: 'Press Start 2P', cursive;

  /* Spacing & Sizing */
  --radius:    6px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --header-h:  56px;               /* mobile-first height */
  --touch-min: 44px;               /* minimum touch target */

  /* Motion */
  --dur-fast: 0.15s;
  --dur-base: 0.22s;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

/* ═══ RESET & BASE (MOBILE FIRST) ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(74,222,128,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.012) 1px, transparent 1px);
  background-size: 32px 32px;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;              /* smaller padding on mobile */
  width: 100%;
}

/* ═══ UTILITIES ═════════════════════════════════════════════════════════ */
.pixel { font-family: var(--pixel); }

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--green);
  color: var(--bg);
  padding: 10px 20px;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ═══ HEADER (MOBILE) ═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(6,11,6,0.94);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  /* Will be disabled on mobile via media query */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch-min);   /* touch target */
  padding: 0 0.25rem;
}

.logo-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
}

.logo-text {
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-shadow: 0 0 18px rgba(74,222,128,0.55);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: background 0.18s;
}

/* Main Navigation (hidden by default on mobile) */
.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(6,11,6,0.98);
  backdrop-filter: blur(16px);
  padding: 1.25rem 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  border-bottom: 1px solid var(--border);
  z-index: 199;
}
.main-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.main-nav li {
  border-bottom: 1px solid var(--border);
}
.main-nav li:last-child {
  border-bottom: none;
}
.main-nav a {
  display: block;
  padding: 0.85rem 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  min-height: var(--touch-min);
  transition: color 0.18s;
}
.main-nav a.active {
  color: var(--green);
}
.nav-cta {
  background: var(--green-soft) !important;
  border: 1px solid var(--border-2) !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.2rem !important;
  color: var(--green) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: rgba(74,222,128,0.14) !important;
}

/* ═══ HERO SECTION (MOBILE) ═════════════════════════════════════════════ */
.dl-hero {
  padding: 2rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.dl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,222,128,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-content {
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-soft);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--pixel);
  font-size: clamp(0.6rem, 4vw, 0.9rem);
  color: var(--green);
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-shadow: 0 0 32px rgba(74,222,128,0.3);
  margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-2);
  font-family: var(--mono);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--green);
  color: var(--bg);
  font-family: var(--pixel);
  font-size: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: var(--touch-min);
  box-shadow: 0 4px 24px rgba(74,222,128,0.25);
  transition: transform var(--dur-fast), box-shadow var(--dur-base);
  will-change: transform;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,222,128,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  cursor: pointer;
  text-decoration: none;
  min-height: var(--touch-min);
  transition: color var(--dur-base), border-color var(--dur-base), background var(--dur-base);
}
.btn-secondary:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
}

/* Hero Visual (always visible, scaled on mobile) */
.hero-visual {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.hero-img-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(74,222,128,0.06);
  position: relative;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,222,128,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-version-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6,11,6,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
}

/* ═══ STATS STRIP (MOBILE) ══════════════════════════════════════════════ */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid var(--border);
}
.stat-item:nth-child(2n) {
  border-right: none;
}
.stat-num {
  font-family: var(--pixel);
  font-size: 0.65rem;
  color: var(--green);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
}

/* ═══ MAIN LAYOUT (MOBILE) ══════════════════════════════════════════════ */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
}
.content-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ═══ SECTION BLOCKS (MOBILE) ═══════════════════════════════════════════ */
.section-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  content-visibility: auto;       /* performance: paint only when near viewport */
  contain-intrinsic-size: auto 500px;
}
.section-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(74,222,128,0.04) 0%, transparent 100%);
}
.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-soft);
  border: 1px solid rgba(74,222,128,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.section-title {
  font-family: var(--pixel);
  font-size: 0.46rem;
  color: var(--text);
  letter-spacing: 0.06em;
}
.section-body {
  padding: 1.25rem;
}

/* ═══ PLATFORM CARDS (MOBILE) ═══════════════════════════════════════════ */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color var(--dur-base);
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.platform-card.android::before  { background: linear-gradient(90deg, #34c265, #06b6d4); }
.platform-card.ios::before      { background: linear-gradient(90deg, #a78bfa, #06b6d4); }
.platform-card.windows::before  { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.platform-card.console::before  { background: linear-gradient(90deg, #f59e0b, #f87171); }
.platform-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.platform-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.platform-name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
.platform-os {
  font-size: 0.8rem;
  color: var(--text-3);
}
.platform-price {
  display: inline-flex;
  align-items: center;
  background: var(--gold-soft);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius);
  padding: 0.2rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
}
.platform-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}
.platform-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.platform-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid rgba(74,222,128,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--green);
}

/* ═══ FEATURE GRID (MOBILE) ═════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.feature-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.feature-desc {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ═══ COMPARISON TABLE (SCROLL ON MOBILE) ═══════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table th {
  text-align: left;
  padding: 0.6rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  border-bottom: 1px solid var(--border-2);
  font-family: var(--mono);
  white-space: nowrap;
}
.compare-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.td-yes { color: var(--green); font-weight: 500; }
.td-no  { color: var(--text-3); }

/* ═══ SYSREQ GRID (MOBILE) ══════════════════════════════════════════════ */
.sysreq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.sysreq-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}
.sysreq-platform {
  font-family: var(--pixel);
  font-size: 0.4rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.sysreq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sysreq-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  display: flex;
  gap: 0.5rem;
}
.sysreq-list li::before {
  content: '›';
  color: var(--green);
  flex-shrink: 0;
}

/* ═══ FAQ (MOBILE) ══════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.18s, background 0.18s;
  min-height: var(--touch-min);
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-3);
}
details[open] > .faq-q {
  color: var(--green);
  background: var(--green-soft);
}
details[open] > .faq-q::after {
  content: '−';
  color: var(--green);
}
.faq-a {
  padding: 0.75rem 1.25rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.75;
}
.faq-a a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══ SIDEBAR (MOBILE) ══════════════════════════════════════════════════ */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.sidebar-card-hd {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--pixel);
  font-size: 0.4rem;
  color: var(--text-3);
  letter-spacing: 0.14em;
  background: var(--bg-3);
}
.sidebar-card-body {
  padding: 1.1rem;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.info-key {
  color: var(--text-3);
}
.info-val {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.sidebar-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1rem;
  background: var(--green);
  color: var(--bg);
  font-family: var(--pixel);
  font-size: 0.45rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 1rem;
  min-height: var(--touch-min);
  box-shadow: 0 4px 20px rgba(74,222,128,0.2);
  transition: transform var(--dur-fast), box-shadow var(--dur-base);
  will-change: transform;
}
.sidebar-dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(74,222,128,0.3);
}
.notice-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-2);
}
.notice-box strong {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.check-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.dl-counter-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  color: var(--text-2);
  font-family: var(--mono);
}
.dl-counter-chip span {
  color: var(--green);
  font-weight: 600;
}
.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.warning-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ═══ FOOTER (MOBILE) ═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.footer-logo {
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--green);
  letter-spacing: 0.1em;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-3);
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--pixel);
  font-size: 0.45rem;
  color: var(--text-2);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-3);
  padding: 0.25rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--green);
}
.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-bottom-inner small {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ═══ DESKTOP ENHANCEMENTS (MIN-WIDTH MEDIA QUERIES) ════════════════════ */
@media (min-width: 641px) {
  :root {
    --header-h: 68px;
  }
  .container {
    padding: 0 1.5rem;
  }
  .logo-text {
    font-size: 0.6rem;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: center;
  }
  .hero-content {
    text-align: left;
  }
  .hero-meta-row {
    justify-content: flex-start;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-visual {
    max-width: 300px;
    margin: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-item {
    border-right: 1px solid var(--border);
    padding: 0.5rem 1rem;
  }
  .stat-item:last-child {
    border-right: none;
  }
  .page-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
  }
  .dl-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sysreq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
  }
  .footer-brand {
    align-items: flex-start;
  }
  .footer-col ul {
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 861px) {
  .mobile-menu-toggle {
    display: none;
  }
  .main-nav {
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    border-bottom: none;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }
  .main-nav li {
    border-bottom: none;
  }
  .main-nav a {
    padding: 0 0 2px 0;
    font-size: 0.875rem;
    min-height: auto;
    position: relative;
  }
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
    transition: width 0.18s;
  }
  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 100%;
  }
  .nav-cta {
    padding: 0.38rem 1rem !important;
    font-size: 0.82rem !important;
  }
}

/* ═══ PERFORMANCE TWEAKS ════════════════════════════════════════════════ */
/* Disable expensive backdrop-filter on mobile */
@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
  }
  .main-nav {
    backdrop-filter: none;
  }
  .hero-version-pill {
    backdrop-filter: none;
    background: rgba(6,11,6,0.95);
  }
}

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

/* Prevent body scroll when menu open */
body.menu-open {
  overflow: hidden;
}
