:root {
  --bg: #0b0a12;
  --bg-soft: #14121f;
  --bg-card: #191527;
  --border: #2a2440;
  --text: #ece9f5;
  --muted: #a39fb8;
  --gold: #e6b54a;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --cyan: #38bdf8;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -200px, #241b3d 0%, var(--bg) 60%);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Cinzel", Georgia, serif; line-height: 1.15; margin: 0 0 .4em; }

a { color: var(--purple-bright); text-decoration: none; }
a:hover { color: var(--gold); }

code {
  background: #221c36;
  border: 1px solid var(--border);
  padding: .1em .4em;
  border-radius: 6px;
  font-size: .9em;
  color: var(--gold);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11, 10, 18, .8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cinzel", serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: .5px;
}
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-big { padding: 16px 30px; font-size: 1.1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(139, 92, 246, .5); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--purple-bright); color: var(--text); }

/* HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -150px 0 auto 0;
  height: 500px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .35), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-logo {
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .5);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  background: linear-gradient(120deg, #fff 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}
.tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--text); margin: 0 auto .6em; max-width: 640px; }
.subtag { color: var(--muted); max-width: 600px; margin: 0 auto 1.8em; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.meta { color: var(--muted); font-size: .85rem; margin-top: 18px; }

/* SECTIONS */
.section { max-width: var(--maxw); margin: 0 auto; padding: 70px 24px; }
.section-alt { background: var(--bg-soft); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .2em; }
.section-sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 2em; }

/* FEATURE GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple); }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.25rem; color: var(--gold); }
.card p { color: var(--muted); margin: 0; }

/* DOWNLOAD */
.section-download { display: flex; justify-content: center; }
.download-box {
  background: linear-gradient(160deg, #1d1733, #14111f);
  border: 1px solid var(--purple);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.download-box h2 { font-size: 2rem; }
.download-box p { color: var(--muted); }
.download-box .btn { margin: 18px 0 6px; }

/* STEPS */
.steps { list-style: none; padding: 0; max-width: 720px; margin: 40px auto 0; display: grid; gap: 18px; }
.steps li {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  color: #fff;
  font-weight: 700;
  font-family: "Cinzel", serif;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .2em; color: var(--text); }
.steps p { margin: 0; color: var(--muted); }

/* LINK ROW */
.link-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer img { opacity: .7; border-radius: 6px; }
.footer p { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn) { display: none; }
}
