:root {
  --bg: #070a0f;
  --panel: #101722;
  --text: #eef3fb;
  --muted: #93a4bc;
  --accent: #8ba86b;
  --accent-2: #5b8def;
  --amber: #e2a93b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.aurora-a {
  width: 50vw;
  height: 50vw;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(139, 168, 107, 0.5), transparent 70%);
}

.aurora-b {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.35), transparent 70%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 32px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  margin: 14px 0;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a3bf82, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 48ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #a3bf82, var(--accent), var(--accent-2));
  color: #0c0f14;
  box-shadow: 0 12px 32px rgba(139, 168, 107, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(139, 168, 107, 0.35);
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
}

.mock-window {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.mock-bar {
  height: 38px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mock-body {
  display: grid;
  grid-template-columns: 72px 1fr 140px;
  min-height: 260px;
}

.mock-sidebar {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.mock-editor {
  padding: 20px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-editor code {
  color: #b8d4a8;
}

.mock-editor code.dim {
  color: var(--muted);
}

.mock-chat {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: flex-end;
}

.features {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.features article {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.features h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--muted);
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .features {
    grid-template-columns: 1fr;
  }
}
