:root {
  --bg: #06060a;
  --bg-2: #0c0c14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(168, 85, 247, 0.18);
  --text: #ececf3;
  --muted: #9a9ab0;
  --accent: #a855f7;
  --accent-2: #7c3aed;
  --accent-3: #6366f1;
  --grad: linear-gradient(100deg, #a855f7 0%, #7c3aed 45%, #6366f1 100%);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---------- Background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.orb {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: #7c3aed; top: -120px; left: -80px; }
.orb-2 { width: 460px; height: 460px; background: #6366f1; bottom: -140px; right: -60px; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: #a855f7; top: 40%; left: 55%; animation-delay: -12s; opacity: 0.3; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(6, 6, 10, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; }
.logo {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.7);
}
.brand-name { letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px;
  background: var(--grad); color: #fff; cursor: pointer;
  border: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 110px 6vw 60px;
  max-width: 980px; margin: 0 auto;
}
.tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 22px;
}
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.22rem); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges span {
  font-size: 0.85rem; color: var(--muted); padding: 8px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}

/* ---------- Trust ---------- */
.trust {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--muted); font-weight: 500; padding: 10px 6vw 30px; flex-wrap: wrap;
}
.stars { color: #f5b301; font-size: 1.1rem; letter-spacing: 2px; }

/* ---------- Sections ---------- */
.section { padding: 80px 6vw; max-width: 1180px; margin: 0 auto; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 14px auto 48px; max-width: 620px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .mode {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover, .mode:hover {
  transform: translateY(-4px); border-color: rgba(168, 85, 247, 0.5);
  background: var(--surface-2);
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3, .mode h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p, .mode p { color: var(--muted); font-size: 0.95rem; }
.mode h4 { color: var(--accent); }
.mode p { font-size: 0.85rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1000px; margin: 40px auto; padding: 40px 6vw;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.stat span { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Download ---------- */
.download { display: flex; justify-content: center; }
.download-box {
  width: 100%; max-width: 720px; text-align: center;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(6, 6, 10, 0.2));
  border: 1px solid var(--border); border-radius: 28px; padding: 56px 40px;
}
.download-box p { color: var(--muted); margin: 16px 0; }
.download-box code, .note code {
  background: var(--surface-2); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; color: var(--accent);
}
.reqs { list-style: none; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0 30px; }
.reqs li {
  font-size: 0.9rem; color: var(--muted); padding: 8px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.note { font-size: 0.82rem; margin-top: 18px; opacity: 0.75; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px 20px; transition: border-color 0.15s ease;
}
.faq details[open] { border-color: rgba(168, 85, 247, 0.5); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 0 16px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 50px 6vw; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.9rem;
}
.footer .brand { justify-content: center; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
