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

:root {
  --accent: #388bfd;
  --accent-dark: #1f6feb;
  --bg: #0d1117;
  --bg2: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --text2: #8b949e;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Consolas', 'Menlo', monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }

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

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }
.nav-logo-img { height: 28px; display: block; }

.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--text2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text2); text-decoration: none; }

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

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(56,139,253,0.4);
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
  background: rgba(56,139,253,0.08);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 20px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
}

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

/* ── Screenshot ───────────────────────────────────────────────────────────── */
.screenshot-wrap {
  max-width: 1100px;
  margin: 0 auto 96px;
  padding: 0 24px;
}

.screenshot-frame {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.screenshot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #facc15; }
.dot-green { background: #4ade80; }

.screenshot-placeholder {
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 14px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.01) 20px,
    rgba(255,255,255,0.01) 40px
  );
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  max-width: 1100px;
  margin: 0 auto 96px;
  padding: 0 24px;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.15s;
}

.feature-card:hover { border-color: var(--accent); }

.feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

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

.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── Get Started ──────────────────────────────────────────────────────────── */
.get-started {
  max-width: 720px;
  margin: 0 auto 96px;
  padding: 0 24px;
  text-align: center;
}

.code-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  margin: 32px 0;
  overflow-x: auto;
}

.code-block pre {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

.code-block .comment { color: var(--text2); }
.code-block .cmd { color: #4ade80; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text2);
}

.footer-logo { font-weight: 700; color: var(--text); }
.footer-logo span { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 12px 20px; }
  .nav-links { gap: 16px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
