:root {
  color-scheme: dark;
  --ink: #e6edf3;
  --muted: #8b949e;
  --line: #30363d;
  --paper: #0d1117;
  --panel: #161b22;
  --accent: #238636;
  --accent-dark: #2ea043;
  --code-bg: #010409;
  --terminal-bar: #21262d;
  --text-cyan: #79c0ff;
  --text-green: #7ee787;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px min(6vw, 100px);
}

h1 {
  margin: 0;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  background: linear-gradient(180deg, #fff 0%, #8b949e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin: 0 0 20px;
  font-size: 32px;
  color: var(--text-cyan);
}

h3 {
  margin: 24px 0 12px;
  font-size: 20px;
  color: var(--text-green);
}

.subtitle {
  max-width: 600px;
  color: var(--muted);
  font-size: 22px;
  margin: 24px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

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

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.secondary:hover {
  background: #21262d;
}

.terminal-shot {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
}

.band {
  border-top: 1px solid var(--line);
  padding: 80px min(6vw, 100px);
  background: var(--paper);
}

.content {
  max-width: 1000px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card h3 {
  margin-top: 0;
}

.requirements-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.requirements-list li::before {
  content: "✓";
  color: var(--text-green);
  margin-right: 12px;
  font-weight: bold;
}

/* Terminal Styling */
.terminal-window {
  margin: 24px 0;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-header {
  background: var(--terminal-bar);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
}

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

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

pre {
  margin: 0;
  padding: 20px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  overflow-x: auto;
  color: var(--ink);
}

code {
  font-family: inherit;
}

.cmd { color: var(--text-green); }
.comment { color: var(--muted); }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .actions {
    justify-content: center;
  }

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