:root {
  --primary: #16a34a;
  --primary-hover: #15803d;
  --primary-light: #f0fdf4;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border: #e2e8f0;
  --nav-bg: #1e293b;
  --nav-border-color: #334155;
  --nav-link: #94a3b8;
  --nav-link-hover: #f1f5f9;
  --nav-logo: #f1f5f9;
  --hero-title: #1e293b;
  --hero-sub: #64748b;
  --hero-demo-bg: #f1f5f9;
  --card-bg: #f8fafc;
  --card-title: #1e293b;
  --card-text: #64748b;
  --card-border: #e2e8f0;
  --card-icon: #475569;
  --section-bg: #1e293b;
  --section-title: #f1f5f9;
  --section-text: #94a3b8;
  --footer-bg: #0f172a;
  --footer-text: #64748b;
  --code-bg: #1e293b;
  --code-text: #e2e8f0;
  --success-bg: #f0fdf4;
  --success-text: #16a34a;
  --success-border: #16a34a;
  --error-bg: #fef2f2;
  --error-text: #dc2626;
  --error-border: #ef4444;
  --step-bg: #475569;
  --step-text: #94a3b8;
  --font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --radius: 0px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:disabled { background: var(--text-muted); cursor: not-allowed; }

.btn-secondary {
  background: var(--step-bg);
  color: #fff;
  margin-top: 24px;
}

.btn-secondary:hover { background: var(--text-muted); }

.nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border-color);
  padding: 16px 0;
}

.nav .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--nav-logo);
  text-decoration: none;
}

.nav-links { display: flex; gap: 24px; }

.nav-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

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

.hero {
  position: relative;
  text-align: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, transparent 20%, var(--primary-light) 20%, var(--primary-light) 22%, transparent 22%, transparent 35%, var(--bg-tertiary) 35%, var(--bg-tertiary) 37%, transparent 37%);
  background-size: 80px 80px;
}

.hero h1 { font-size: 40px; margin-bottom: 16px; color: var(--hero-title); }

.hero-sub {
  font-size: 18px;
  color: var(--hero-sub);
  max-width: 600px;
  margin: 0 auto 32px;
}

.demo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.demo-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--hero-demo-bg);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 15px;
}

.demo-input-wrapper {
  position: relative;
  display: inline-block;
  border-bottom: 2px solid var(--primary);
}

.demo-input-wrapper::after {
  content: '|';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  animation: blink 1s step-end infinite;
  font-weight: 700;
}

@keyframes blink {
  50% { opacity: 0; }
}

.demo-input {
  background: transparent;
  border: none;
  font-family: monospace;
  font-size: 15px;
  width: 110px;
  outline: none;
  text-align: center;
  color: var(--primary);
}

.demo-method {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 8px;
}

.demo-hint { margin-top: 12px; color: var(--text-muted); font-size: 14px; }

.features {
  padding: 60px 0;
  background: var(--section-bg);
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

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

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--card-icon);
}

.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--card-title); }
.feature-card p { color: var(--card-text); font-size: 14px; }

.contact {
  position: relative;
  text-align: center;
  padding: 80px 0;
  background: #334155;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, transparent 20%, rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.03) 22%, transparent 22%, transparent 35%, rgba(255,255,255,0.06) 35%, rgba(255,255,255,0.06) 37%, transparent 37%);
  background-size: 80px 80px;
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact h1 { font-size: 32px; margin-bottom: 12px; color: var(--section-title); }
.contact p { color: var(--section-text); margin-bottom: 24px; }

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
}

.page-header {
  text-align: center;
  padding: 60px 0 40px;
}

.page-header h1 { font-size: 36px; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); }

.pricing-table {
  padding: 0 0 40px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.pricing-table th, .pricing-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th:nth-child(2),
.pricing-table th:nth-child(3),
.pricing-table th:nth-child(4),
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4) {
  text-align: right;
}

.pricing-table th:nth-child(5),
.pricing-table th:nth-child(6),
.pricing-table td:nth-child(5),
.pricing-table td:nth-child(6) {
  text-align: center;
}

.pricing-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table td { font-size: 16px; }

.pricing-footnote {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
}

.pricing-cta {
  text-align: center;
  padding: 60px 0;
  background: var(--section-bg);
}

.pricing-cta h2 { margin-bottom: 16px; color: var(--section-title); }

.walkthrough { padding: 40px 0; }

.walkthrough h1 { font-size: 28px; margin-bottom: 32px; }

.step-indicators {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  background: var(--step-bg);
  color: var(--step-text);
}

.step-indicator.active { background: var(--primary); color: #fff; }
.step-indicator.done { background: var(--success-text); color: #fff; }

.step {
  margin-bottom: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step h2 { font-size: 20px; margin-bottom: 8px; }
.step > p { color: var(--text-secondary); margin-bottom: 16px; font-size: 14px; }

.code-block {
  background: var(--code-bg);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.code-block pre {
  color: var(--code-text);
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
}

.response-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.response-block.error {
  border-color: var(--error-border);
  background: var(--error-bg);
  color: var(--error-text);
}

.response-block.success {
  border-color: var(--success-border);
  background: var(--success-bg);
}

.api-host { color: #38bdf8; }

.walkthrough-complete {
  text-align: center;
  padding: 32px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.walkthrough-complete h2 { color: var(--success-text); margin-bottom: 8px; }
.walkthrough-complete a { color: var(--primary); }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .nav-links { gap: 12px; }
  .demo-bar { display: none; }
}
