:root {
  --bg: #120d0a;
  --bg-soft: #1a1410;
  --panel: #111111;
  --panel-2: #0d0d0d;
  --text: #ffffff;
  --muted: #a1a1aa;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.22);
  --accent: #8fb7ff;
  --max: 1200px;
  --radius: 20px;
  --shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(143,183,255,0.08), transparent 25%),
    linear-gradient(180deg, #120d0a 0%, #1a1410 100%);
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(18,13,10,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.ghost-btn,
.solid-btn,
.bounty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.ghost-btn {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text);
  background: transparent;
  font-family: 'Fira Code', monospace;
  font-size: 0.92rem;
}

.ghost-btn:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
}

.solid-btn,
.bounty-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}

.solid-btn:hover,
.bounty-btn:hover {
  background: #eaeaea;
  border-color: #eaeaea;
}

.hero {
  padding: 92px 0 84px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.02);
}

h1 {
  margin: 0 auto;
  max-width: 1000px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-wrap: balance;
}

.hero p {
  max-width: 800px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.terminal {
  width: min(100%, 760px);
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.dot-close {
  background: #ff5f57;
}

.dot-minimize {
  background: #febc2e;
}

.dot-maximize {
  background: #28c840;
}

.terminal-label {
  color: var(--muted);
  font-family: 'Fira Code', monospace;
  font-size: 0.83rem;
  flex: 1;
  text-align: center;
}

.copy-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.18s ease;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

pre {
  margin: 0;
  padding: 26px 24px;
  overflow-x: auto;
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.8rem, 1.5vw, 0.92rem);
  color: #ffffff;
}

code {
  font-family: 'Fira Code', monospace;
}

.prompt {
  color: var(--accent);
}

.section {
  padding: 40px 0 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  padding-top: 76px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
}

.icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  margin-bottom: 0;
  font-family: 'Fira Code', monospace;
  color: var(--text);
  font-size: 1.05rem;
  background: rgba(255,255,255,0.02);
  transition: color 0.45s ease, border-color 0.45s ease, background-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}

.icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: inherit;
}

.card:hover .icon {
  color: #fbbf24;
  border-color: rgba(251,191,36,0.45);
  background: rgba(251,191,36,0.08);
  box-shadow: 0 0 24px rgba(251,191,36,0.18);
  transform: scale(1.08);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.card .kicker {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.62);
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bounty {
  margin: 10px 0 90px;
  padding: 72px 0;
  background: #1a1410;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bounty-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.bounty-copy {
  max-width: 760px;
}

.bounty h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.bounty p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: transparent;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.03);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 4px;
  }

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

  .bounty-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 72px 0 70px;
  }

  .section {
    padding-bottom: 72px;
  }

  .card {
    padding: 24px;
    padding-top: 72px;
    min-height: auto;
  }

  .icon {
    top: 18px;
    right: 18px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .ghost-btn,
  .solid-btn,
  .bounty-btn {
    width: 100%;
  }

  .terminal-bar {
    flex-wrap: wrap;
  }

  .terminal-label {
    order: 3;
    width: 100%;
    text-align: left;
  }
}
