:root {
  --bg: #090d14;
  --bg-alt: #0e141f;
  --card: #121a27;
  --border: #1f2b3d;
  --text: #e6edf7;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-dark: #052e16;
  --code-bg: #070a10;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 13, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.03em;
}

.tagline {
  margin: 10px 0 14px;
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--text);
  font-weight: 600;
}

.subcopy {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
}

.stamp-box {
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.stamp-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.stamp-box code {
  font-size: 14px;
  color: #ecfdf5;
  word-break: break-word;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.btn-full {
  width: 100%;
  margin-top: auto;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.section-intro {
  margin: 0 0 28px;
  color: var(--muted);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-header h3 {
  margin: 0;
}

.door-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.endpoint {
  margin: 0 0 10px;
  font-size: 14px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.code-block {
  position: relative;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  padding-right: 52px;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.price {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
}

.price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.pricing-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-card li + li {
  margin-top: 6px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}
