:root {
  --bg: #0d0618;
  --bg2: #130a22;
  --bg3: #1a0f2e;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --text: #f5f3ff;
  --muted: #a39bb8;
  --line: #2a1f3d;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  background: rgba(13, 6, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.btn-nav {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--purple-light) !important; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, transparent 70%);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.hero h1 span {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: .25s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 22px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-light);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* SECTIONS */
.section { padding: 90px 0; }
.section-alt { background: var(--bg2); }
.container { width: min(1000px, 90%); margin: 0 auto; }
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: .25s;
}
.feature-card:hover {
  border-color: #3d2a5c;
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 22px;
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* CTA */
.cta {
  text-align: center;
}
.cta-box {
  background: linear-gradient(160deg, #1a0f2e, #130a22);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 32px;
}
.cta h2 {
  margin-bottom: 12px;
}
.cta p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 16px;
}
.cta small {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #7a7190;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: #0a0414;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.footer p {
  font-size: 13px;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav a:not(.btn-nav) { display: none; }
}

@media (max-width: 500px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  }
