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

:root {
  --bg: #0a0a0c;
  --bg-elevated: #131316;
  --bg-hover: #1a1a1e;
  --border: #24242a;
  --border-strong: #34343a;
  --text: #f4f4f6;
  --text-dim: #a0a0a8;
  --text-mute: #6a6a72;
  --accent: #b8a4ff;
  --accent-2: #7ecfff;
  --accent-glow: rgba(184, 164, 255, 0.18);
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Ambient glow */
.ambient {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.nav-logo {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #0a0a0c;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 40px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.02;
  background: linear-gradient(180deg, #fff 0%, #a5a5b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #fff, #d8d8e0);
  color: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.12);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

/* Preview */
.preview {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 20px 40px rgba(184,164,255,0.08);
}
.preview-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.3;
  filter: blur(30px);
  z-index: -1;
}
.preview img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff, #b0b0b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
}
.feature:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Install */
.install-section { padding-top: 40px; }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
}

.step-n {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  font-family: ui-monospace, SFMono-Regular, monospace;
  letter-spacing: 0.5px;
  padding-top: 2px;
}

.step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.step code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--accent);
}

.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.compat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
  color: var(--text-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compat-list {
  display: flex;
  gap: 24px;
  color: var(--text-dim);
  font-weight: 500;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-note {
  font-size: 12px;
  color: var(--text-mute);
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; font-size: 12px; }
  .nav-links a:first-child { display: none; }
  .hero { padding: 50px 20px 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .section { padding: 60px 20px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .compat { flex-direction: column; gap: 8px; }
}