/* site/styles.css - Zero-Budget Modern Static CSS System */
:root {
  --bg-primary: #0B0B0F;
  --bg-surface: #14141E;
  --bg-card: #1A1A26;
  --border-subtle: #272738;
  --border-highlight: #3A3A52;
  
  --text-primary: #F4F4F8;
  --text-secondary: #9E9EB2;
  --text-muted: #6B6B80;
  
  --accent-ocr: #6366F1;
  --accent-regex: #A3E635;
  --accent-sql: #22D3EE;
  
  --font-display: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6366F1;
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #4F46E5;
  transform: translateY(-1px);
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.75rem 0;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  color: #A5B4FC;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Code & Tables */
pre, code {
  font-family: var(--font-mono);
}

pre {
  background: #0E0E14;
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  margin-top: 5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}
