:root {
  --brand: #3B82F6;
  --brand-dark: #051642;
  --accent: #60A5FA;
  --bg: #030814;
  --bg-2: #0A1128;
  --surface: #0F1A38;
  --text: #F1F5F9;
  --text-muted: #8B9AAF;
  --border: rgba(255,255,255,0.08);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #FDFDFC;
    --bg-2: #F1F5F9;
    --surface: #FFFFFF;
    --text: #030814;
    --text-muted: #64748B;
    --border: rgba(0,0,0,0.08);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 24px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.accent {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.lead em { color: var(--text); font-style: normal; font-weight: 600; }

.download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  min-width: 180px;
  transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-store { font-size: 11px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-name { font-size: 18px; font-weight: 700; }

.btn-play  { background: #000; }
.btn-app   { background: #000; }
.btn-linux { background: var(--brand); }

/* FEATURES */
.features, .pricing {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
}
.features h2, .pricing h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
}
.card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  width: 56px; height: 56px;
  background: rgba(16,185,129,0.12);
  border-radius: 12px;
  display: grid; place-items: center;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* PRICING */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
}
.plan-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--surface));
  transform: scale(1.02);
}
.plan h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.plan .price { font-size: 44px; font-weight: 900; margin-bottom: 24px; }
.plan .price span { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.plan ul { list-style: none; text-align: left; padding: 0; }
.plan li { padding: 8px 0; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.plan li::before { content: '✓'; color: var(--brand); font-weight: 800; }
.note { text-align: center; margin-top: 30px; color: var(--text-muted); font-size: 14px; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .plan-featured { transform: none; }
}
