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

:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #888;
  --border: #e5e5e5;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --code-bg: #1e1e2e;
  --code-fg: #cdd6f4;
  --card-bg: #fff;
  --radius: 12px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.9em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--fg);
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.subtitle code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.install-cmd {
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
}

/* Code block */
.code-section {
  max-width: 680px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.code-block {
  background: var(--code-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.code-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
}

.code-block pre {
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--code-fg);
}

.code-block .kw { color: #cba6f7; }
.code-block .str { color: #a6e3a1; }
.code-block .fn { color: #89b4fa; }
.code-block .tag { color: #89dceb; }
.code-block .attr { color: #f9e2af; }
.code-block .num { color: #fab387; }

.code-caption {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

/* Features */
.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.feature p code {
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 13px;
}

.feature .example {
  display: block;
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

/* Hosting */
.hosting {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hosting h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.hosting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hosting-option {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.hosting-option.cloud {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.hosting-option h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hosting-option p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.hosting-option p code {
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 13px;
}

.hosting-option pre {
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.hosting-option .kw { color: #cba6f7; }
.hosting-option .str { color: #a6e3a1; }
.hosting-option .tag { color: #89dceb; }
.hosting-option .attr { color: #f9e2af; }

/* Get started */
.get-started {
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.get-started h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

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

.step-content code {
  font-size: 13px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-text {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--fg);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .subtitle {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}
