@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #0a0a0a;
  --fg: #e0e0e0;
  --accent: #ff6600;
  --accent-dim: #cc5200;
  --green: #00cc66;
  --yellow: #ffcc00;
  --red: #ff3333;
  --gray: #666666;
  --orange: #ff8c00;
  --border: #333333;
  --surface: #141414;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, .btn { font-family: var(--font-mono); cursor: pointer; display: inline-block; }

/* --- Nav --- */
.nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--fg); font-size: 13px; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* --- Buttons --- */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-dim); text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 14px;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--fg); text-decoration: none; }

/* --- Layout --- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

h1 { font-size: 28px; color: var(--fg); margin-bottom: 16px; }
h2 { font-size: 22px; color: var(--accent); margin-bottom: 16px; }
h3 { font-size: 16px; color: var(--fg); margin-bottom: 12px; }
p { margin-bottom: 12px; color: var(--fg); }

/* --- Terminal block --- */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 16px 0;
  overflow-x: auto;
}
.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--green); }

.prompt { color: var(--green); }
.prompt::before { content: '$ '; }
.output { color: var(--gray); margin-left: 16px; }
.error { color: var(--red); }
.success { color: var(--green); }
.dim { color: var(--gray); }

/* --- Cards / Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.card.highlight {
  border-color: var(--accent);
}

/* --- Pricing --- */
.price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.price-period {
  font-size: 14px;
  color: var(--gray);
}
.plan-features {
  list-style: none;
  margin: 16px 0;
}
.plan-features li {
  padding: 6px 0;
  color: var(--fg);
}
.plan-features li::before {
  content: '+ ';
  color: var(--green);
}

/* --- Service grid --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  font-weight: 500;
}
.service-item.coming-soon {
  border-style: dashed;
  color: var(--gray);
}

/* --- Table --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--accent);
  font-weight: 700;
}
td { color: var(--fg); }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.faq-a { color: var(--fg); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-links a { color: var(--gray); font-size: 12px; }
.footer-links a:hover { color: var(--accent); }

/* --- Hero cursor blink --- */
.cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* --- Steps --- */
.step {
  margin: 24px 0;
}
.step-number {
  color: var(--accent);
  font-weight: 700;
}

/* --- ASCII art --- */
.ascii-logo {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: pre;
}

/* --- Code block --- */
pre.code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 12px 0;
  font-size: 13px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .service-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 12px; }
  .ascii-logo { font-size: 8px; }
  section { padding: 40px 0; }
}
