@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('/assets/solaimanlipi-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('/assets/solaimanlipi-bold.woff2') format('woff2');
}

:root {
  --bg-page: #0b0f17;
  --bg-card: #111827;
  --bg-code: #080c14;
  --border-subtle: #1f2937;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --accent: #0ea5e9;
}

html, body {
  background-color: var(--bg-page) !important;
  background-image: none !important;
  color: var(--text-main) !important;
  font-family: 'SolaimanLipi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.7;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  -webkit-font-smoothing: antialiased;
}

.hero-bg { background: var(--bg-page) !important; }

.navbar {
  background: #0f172a !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  backdrop-filter: none !important;
}

.glass, .card, .stat-box {
  background: var(--bg-card) !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.glass-hover:hover {
  transform: translateY(-2px);
  border-color: #38bdf8 !important;
}

.text-secondary, small.text-secondary, p.text-secondary {
  color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.grad {
  background: none !important;
  -webkit-text-fill-color: #38bdf8 !important;
  color: #38bdf8 !important;
}

pre {
  background: var(--bg-code) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  color: #e2e8f0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  color: #38bdf8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  word-break: break-word;
}

.form-control, .form-select {
  background-color: #080c14 !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

.form-control:focus, .form-select:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25) !important;
}

.table-dark {
  --bs-table-bg: #111827;
  --bs-table-border-color: #1f2937;
}

@media (max-width: 768px) {
  .display-5 { font-size: 1.85rem !important; }
  .lead { font-size: 1rem !important; }
  .container { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 768px) {
  .hero-cta-row { flex-wrap: nowrap !important; gap: 6px !important; }
  .hero-cta-row .btn {
    flex: 1 1 0;
    padding: 7px 6px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    text-align: center;
  }
}
