:root {
  --bg: #1a1410;
  --panel: #2a1f1a;
  --text: #f5f0eb;
  --muted: #b8a89d;
  --primary: #e87d5e;
  --primary-600: #d66b4f;
  --accent: #f4a88a;
  --border: #3d2f28;
  --pill: #342520;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #1a1410 0%, #2d1f18 50%, #1a1410 100%);
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  background: rgba(26,20,16,0.85);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark { font-size: 20px; }
.brand-text { letter-spacing: 0.2px; }
.nav { display: none; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; background: transparent; color: var(--text); border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; }

@media (min-width: 900px) {
  .nav { display: inline-flex; }
  .nav-toggle { display: none; }
}

.hero { padding: 64px 0 24px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hero-copy h1 { margin: 0 0 8px; font-size: 48px; font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-copy .subtitle { margin: 0 0 16px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin: 18px 0; }
.hero-badges { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.hero-card { }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.card-header { padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 600; }
.card-body { padding: 16px; display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.split { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: end; gap: 10px; }
textarea { width: 100%; min-height: 96px; resize: vertical; border-radius: 10px; border: 1px solid var(--border); padding: 10px 12px; background: #0f0f16; color: var(--text); }
select, input[type="number"] { width: 100%; border-radius: 10px; border: 1px solid var(--border); padding: 10px 12px; background: #0f0f16; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 10px 14px; font-weight: 600; border: 1px solid var(--border); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; border-color: transparent; }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-block { width: 100%; }
.result { 
  background: #0f0f16; 
  border: 1px solid var(--border); 
  padding: 16px; 
  border-radius: 10px; 
  max-height: 400px; 
  overflow: auto; 
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.result:empty::before {
  content: 'Response will appear here...';
  color: var(--muted);
  font-style: italic;
}
.result.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: var(--muted);
}
.result.error {
  color: #ff6b6b;
  border-color: #ff6b6b44;
}
.result.success {
  border-color: var(--primary);
}

@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.section { padding: 56px 0; }
.section.alt { background: rgba(255,255,255,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { margin: 0 0 20px; font-size: 28px; }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.feature .icon { font-size: 18px; margin-bottom: 6px; }

@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; list-style: none; }

.pricing { display: grid; place-items: center; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.price { font-size: 40px; font-weight: 800; }
.per { color: var(--muted); margin-top: 4px; }
.muted { color: var(--muted); }

.market-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 14px; }
.market-item { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.pill { background: var(--pill); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; font-weight: 600; }

@media (min-width: 900px) {
  .market-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }


