:root {
  --bg: #07070c;
  --bg2: #0d0d16;
  --card: #12121d;
  --line: #1e1e2e;
  --text: #e6e6f0;
  --muted: #8a8aa0;
  --accent: #6c5cff;
  --accent2: #21d4fd;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  z-index: -1;
}

.accent { color: var(--accent); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 12, 0.7);
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 1px; }
.logo {
  color: var(--accent);
  font-size: 20px;
  filter: drop-shadow(0 0 8px var(--accent));
}
.brand-name { font-size: 16px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(108, 92, 255, 0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(108, 92, 255, 0.5); }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); }

/* Hero */
.hero {
  text-align: center;
  padding: 90px 6vw 60px;
  max-width: 860px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #fff, #b9b9d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 22px auto 34px;
}
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 26px; }
.stats span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Sections */
section { padding: 70px 6vw; max-width: 1100px; margin: 0 auto; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 36px; }

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .ic { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* Download */
.download .panel {
  background: linear-gradient(135deg, rgba(108,92,255,0.12), rgba(33,212,253,0.08));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  text-align: center;
}
.download p { color: var(--muted); margin-bottom: 26px; }
.download code { background: #000; padding: 2px 8px; border-radius: 6px; color: var(--accent2); }
.dl-row { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.ver { color: var(--muted); font-size: 13px; }
.steps { text-align: left; max-width: 460px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.steps li { margin: 8px 0; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--card);
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸ "; color: var(--accent); }
.faq details[open] summary::before { content: "▾ "; }
.faq p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 6vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.muted { color: var(--muted); }

@media (max-width: 600px) {
  .links { display: none; }
  .stats { gap: 26px; }
}
