/* ═══════════════════════════════════════════
   BizDone Analytics — Design System
   Dark-themed SaaS platform
   ═══════════════════════════════════════════ */

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

/* ── Reset & Base ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg-primary: #08080d;
  --bg-secondary: #0f0f19;
  --bg-card: #141424;
  --bg-card-hover: #1a1a30;
  --bg-input: #0d0d18;
  --border-subtle: rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.15);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #606078;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --cyan: #06b6d4;
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.1);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.2);
  --red: #ef4444;
  --orange: #f59e0b;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img, svg { max-width: 100%; display: block; }

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--accent-light); }

/* ── Layout ──────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 100px 0; }

/* ── Navigation ──────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 13, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

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

.nav-cta {
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
}

/* ── Hero ────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: #2563eb; color: #fff; transform: translateY(-1px); box-shadow: 0 0 30px var(--accent-glow); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-sm { padding: 8px 16px; font-size: 0.825rem; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Hero Visual ─────────────────────────── */
.hero-visual {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.hero-visual .dashboard-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual .dashboard-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-glow), var(--purple-glow), var(--accent-glow));
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

.dashboard-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-dot.red { background: #ff5f57; }
.db-dot.yellow { background: #febc2e; }
.db-dot.green { background: #28c840; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.chart-placeholder {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.chart-placeholder .chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 600;
}

.chart-line {
  height: 2px;
  background: var(--border-subtle);
  border-radius: 1px;
  position: relative;
  margin-bottom: 8px;
}

.chart-line.filled {
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  height: 3px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 12px;
}

.chart-bar {
  flex: 1;
  background: var(--border-default);
  border-radius: 3px 3px 0 0;
  min-height: 12px;
}

.chart-bar.active {
  background: linear-gradient(180deg, var(--accent), var(--purple));
}

.stat-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stat-card .stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-card .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-card .stat-change {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}

.stream-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.stream-indicator .stream-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.data-flow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent);
  animation: flow 3s linear infinite;
  opacity: 0.5;
}

@keyframes flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Logos/Trust Bar ─────────────────────── */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-bar .container { text-align: center; }
.trust-bar-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.5;
  filter: grayscale(1);
}

/* ── Features Grid ───────────────────────── */
.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header h2 { margin-bottom: 16px; }
.features-header p { max-width: 560px; margin: 0 auto; }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(59,130,246,0.12); color: var(--accent-light); }
.feature-icon.cyan { background: rgba(6,182,212,0.12); color: var(--cyan); }
.feature-icon.purple { background: rgba(139,92,246,0.12); color: var(--purple); }
.feature-icon.green { background: rgba(16,185,129,0.12); color: var(--green); }
.feature-icon.orange { background: rgba(245,158,11,0.12); color: var(--orange); }
.feature-icon.red { background: rgba(239,68,68,0.12); color: var(--red); }

.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ── Code Block ──────────────────────────── */
.code-section {
  padding: 120px 0;
  position: relative;
}

.code-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.code-section h2 { margin-bottom: 16px; }
.code-section p { margin-bottom: 24px; }

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.code-block-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.code-block-header .file-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.code-block-content {
  padding: 20px;
  overflow-x: auto;
}

.code-block-content code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.code-keyword { color: var(--purple); }
.code-string { color: var(--green); }
.code-func { color: var(--accent-light); }
.code-comment { color: var(--text-muted); }
.code-url { color: var(--cyan); }

/* ── Stats ───────────────────────────────── */
.stats-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-big {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-big-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ── Integrations ────────────────────────── */
.integrations {
  text-align: center;
}

.integrations h2 { margin-bottom: 16px; }
.integrations > p { margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.integration-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.integration-item:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ── CTA Section ─────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Footer ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--text-secondary); text-decoration: none; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Utilities ───────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ── Page Header (for subpages) ──────────── */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p { max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb .sep { color: var(--text-muted); }

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
}

.card-header {
  margin-bottom: 20px;
}

/* ── Pricing Cards ───────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.pricing-card .plan-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.pricing-card .plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pricing-card .plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card .plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card .plan-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card .plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ── Blog Cards ──────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.blog-card-image {
  height: 180px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Docs Layout ─────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 80px;
}

.docs-sidebar h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.docs-sidebar ul { list-style: none; }
.docs-sidebar li { margin-bottom: 6px; }
.docs-sidebar a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  display: block;
  border-radius: 6px;
  transition: all 0.15s;
}
.docs-sidebar a:hover { color: var(--text-primary); background: var(--bg-card); }
.docs-sidebar a.active { color: var(--accent-light); background: rgba(59,130,246,0.1); }

.docs-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px; }
.docs-content p { margin-bottom: 16px; line-height: 1.7; }

.docs-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.825rem;
}

.docs-content :not(pre) > code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ── Form Elements ───────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-input { min-height: 120px; resize: vertical; }

/* ── Status Indicator ────────────────────── */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-indicator.online {
  background: var(--green-bg);
  color: var(--green);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .code-section .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .trust-logos { gap: 24px; }
  .nav-links { display: none; }
}
