/* Bollex - Fortune 500 Enterprise Design System */
:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-50: #eff6ff;
  --slate-50: #f8fafc;
  --border: #e2e8f0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #475569;
  background-color: var(--slate-50);
}

/* Surfaces */
.surface {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.surface-elevated {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
}

.surface-hover:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Subtle texture */
.grid-texture {
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-band {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--slate-50) 100%);
  border-bottom: 1px solid var(--border);
}

.page-band {
  background: var(--blue-50);
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn-primary {
  background: var(--blue-700);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--blue-800);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--blue-800);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}

.btn-ghost {
  color: var(--blue-700);
  font-weight: 500;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--blue-900);
}

/* Navigation */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.nav-link {
  position: relative;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue-800);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-700);
  border-radius: 1px;
}

@media (max-width: 767px) {
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--blue-700); font-weight: 600; }
}

/* Brand text */
.text-brand { color: var(--blue-700); }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Product cards */
.product-card {
  transition: all 0.2s ease;
}

.product-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.1);
}

.badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-featured {
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15), 0 8px 30px rgba(30, 64, 175, 0.1);
}

/* Comparison table */
.compare-table th, .compare-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: var(--slate-50);
}

.compare-table tbody tr:hover {
  background: var(--blue-50);
}

/* Breadcrumb */
.breadcrumb a {
  color: #64748b;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--blue-700); }

/* Filter pills */
.filter-pill {
  border: 1px solid var(--border);
  color: #64748b;
  background: #ffffff;
  transition: all 0.2s;
}

.filter-pill:hover, .filter-pill.active {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--blue-50);
}

/* Code block */
.code-accent {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  background: #ffffff;
  border: 1px solid var(--border);
  color: #334155;
}

.stat-value {
  font-variant-numeric: tabular-nums;
}

/* Icon container */
.icon-box {
  background: var(--blue-50);
  border: 1px solid #bfdbfe;
  color: var(--blue-700);
}

/* Light Footer Overrides */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  color: #64748b;
}
.site-footer a:hover { color: var(--blue-700); }
.site-footer h4 { color: #0f172a; }