:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --surface: #18181f;
  --surface2: #20202a;
  --border: #282833;
  --text: #eeeef4;
  --muted: #77778f;
  --accent: #7c5cfc;
  --accent-glow: rgba(124,92,252,.35);
  --accent-hover: #6e50e8;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Background gradient orbs ── */
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,.08) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float 16s ease-in-out infinite alternate-reverse;
}
@keyframes float {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,40px) scale(1.1); }
}

/* ── Nav ── */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.logo img { width: 28px; height: 28px; border-radius: 6px; }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px 40px;
  min-height: 90vh;
  justify-content: center;
}
.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 0 60px var(--accent-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px var(--accent-glow); }
  50% { box-shadow: 0 0 80px var(--accent-glow); }
}
.hero h1 {
  font-size: clamp(40px,6vw,64px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
}

/* ── Platform badges ── */
.platform-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .3s;
}
.badge.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(124,92,252,.1);
}

/* ── Download buttons ── */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
  max-width: 640px;
}
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  border: 1px solid transparent;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9b7cff);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn .sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}

/* ── Section ── */
section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px;
  width: 100%;
}
section h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
}

/* ── Features (cards) ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 14px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all .25s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Theme showcase ── */
.theme-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.theme-swatch {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all .25s;
  cursor: default;
}
.theme-swatch:hover { transform: scale(1.15); border-color: var(--accent); }
.theme-swatch[data-name="dark"] { background: #1a1a22; }
.theme-swatch[data-name="light"] { background: #f0f0f4; }
.theme-swatch[data-name="midnight"] { background: #0d111c; }
.theme-swatch[data-name="forest"] { background: #0f1f14; }
.theme-swatch[data-name="sunset"] { background: #2d1b1b; }
.theme-swatch[data-name="ocean"] { background: #0b1a2e; }

/* ── Downloads table ── */
.dl-table {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.dl-row:last-child { border-bottom: none; }
.dl-row .info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.dl-row .info small { color: var(--muted); font-weight: 400; }
.dl-row .size { font-size: 13px; color: var(--muted); }
.dl-row .btn-dl {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.dl-row .btn-dl:hover { background: var(--accent-hover); }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero { padding: 80px 16px 40px; min-height: auto; }
  .hero-icon { width: 72px; height: 72px; }
  .btn { min-width: 0; flex: 1 1 100%; }
  .dl-row { flex-wrap: wrap; }
  .dl-row .btn-dl { width: 100%; text-align: center; }
}
