:root {
  --bg: #0b0d13;
  --bg-elev: #121621;
  --bg-card: rgba(20, 24, 36, 0.78);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f9;
  --text-muted: #98a2b3;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --emerald: #10b981;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: -200px auto auto 50%;
  width: 960px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(16, 185, 129, 0.08) 42%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 13, 19, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.hero-pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 18px auto 28px;
  max-width: 720px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-shot-wrap {
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card-accent {
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(20, 24, 36, 0.82));
}

.card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  margin-bottom: 12px;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #d0d7e2;
}

.check-list li::before {
  content: '✓ ';
  color: var(--emerald);
  font-weight: 700;
}

/* Download */
.dl-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.dl-cmd-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #090b10;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.dl-cmd-wrap pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  color: #e2e8f0;
  overflow-x: auto;
}

.dl-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
}

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

.small {
  font-size: 12.5px;
}

/* Sponsors */
.sponsor-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.06) 65%, rgba(20, 24, 36, 0.9));
}

.sponsor-copy {
  max-width: 640px;
}

.sponsor-copy h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.sponsor-copy p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.sponsor-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tier-chip {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 13, 19, 0.55);
  color: #dbeafe;
}

.sponsor-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .dl-pills {
    grid-template-columns: 1fr;
  }

  .sponsor-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsor-action {
    align-items: flex-start;
  }
}

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

  .hero {
    padding-top: 44px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
