:root {
  --bg: #0b1020;
  /* deep navy for gradients */
  --ink: #0f172a;
  /* slate-900 */
  --muted: #667085;
  /* gray-500 */
  --brand: #4c6fff;
  /* algolia-like blue */
  --brand-2: #7c3aed;
  /* violet accent */
  --card: #ffffff;
  --ring: rgba(76, 111, 255, .25);
  --success: #11a26d;
  --warning: #f6c34a;
  --danger: #ef3e4a;
}

html, body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
}

body {
  opacity: 1;
  transition: opacity .25s ease;
}

body.preload {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body, body.preload {
    transition: none;
    opacity: 1;
  }
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  opacity: .9
}

.navbar {
  background: #0b1220;
}

.navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: .2px
}

.navbar .nav-link {
  color: #cbd5e1 !important;
  font-weight: 500
}

.navbar .nav-link.btn {
  color: #fff !important
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(76, 111, 255, .18), transparent 60%),
    radial-gradient(900px 500px at 90% -20%, rgba(124, 58, 237, .18), transparent 60%),
    #0b1020;
  color: #e5e7eb;
}

.hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px
}

.hero .lead {
  color: #cbd5e1
}

.hero .cta {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  box-shadow: 0 6px 24px rgba(76, 111, 255, .35)
}

.hero .cta:hover {
  transform: translateY(-1px)
}

.section-title {
  font-weight: 800;
  letter-spacing: .2px
}

.muted {
  color: var(--muted)
}

.card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(10, 22, 50, .04);
  border-radius: 16px
}

.card.pricing {
  transition: .2s transform
}

.card.pricing:hover {
  transform: translateY(-2px)
}

.badge-status {
  font-weight: 600;
  letter-spacing: .3px
}

.badge-status.success {
  background: rgba(17, 162, 109, .12);
  color: var(--success)
}

.badge-status.warning {
  background: rgba(246, 195, 74, .15);
  color: #b97500
}

.badge-status.danger {
  background: rgba(239, 62, 74, .12);
  color: var(--danger)
}

.table-dashboard thead th {
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .06em;
  border-bottom: 1px solid #eef2f7
}

.table-dashboard tbody tr {
  background: #fff
}

.table-dashboard td, .table-dashboard th {
  vertical-align: middle
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 1px
}

.dot.up {
  background: #0bbf6b
}

.dot.down {
  background: #ef3e4a
}

.footer {
  background: #0b1220;
  color: #9aa3b2
}

.footer a {
  color: #cbd5e1
}

/* ---------- hero styles ---------- */
.hero-lg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(76, 111, 255, .22), transparent 60%),
    radial-gradient(900px 500px at 90% -20%, rgba(124, 58, 237, .22), transparent 60%),
    #0b1020;
  color: #e5e7eb;
}

.hero-lg .eyebrow {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
}

.hero-lg h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px
}

.hero-lg .lead {
  color: #cbd5e1
}

.hero-cta {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  box-shadow: 0 10px 30px rgba(76, 111, 255, .35)
}

.hero-cta:hover {
  transform: translateY(-1px)
}

/* Mock "search" pill */
.pill {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: .6rem .9rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(10, 22, 50, .08);
}

.pill input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent
}

/* Logos strip */
.logo-strip {
  filter: grayscale(100%) opacity(.9);
}

.logo-strip img {
  height: 28px;
  margin-right: 30px
}

/* Section spacing */
.section {
  padding: 72px 0
}

.subtle {
  color: var(--muted)
}

/* Feature cards */
.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  height: 100%
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: rgba(76, 111, 255, .12);
  color: var(--brand)
}

/* CTA band */
.cta-band {
  background: #0b1220;
  color: #e5e7eb;
  border-radius: 20px
}

/* Navbar logo sizing (override any default limits) */
.navbar .brand-logo {
  height: 75px !important;
  /* pick 28–40px to taste */
  width: auto !important;
  /* keep aspect ratio */
  display: block;
  margin: 0;
}

/* ----- Status panels ----- */
.status-panel.card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(10, 22, 50, .04)
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.status-name {
  font-weight: 600
}

.status-meta {
  color: #64748b;
  font-size: .9rem
}

/* Uptime strip (100% width) */
.strip {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 30px;
  margin-top: 30px;
}

.strip .seg {
  flex: 1;
  border-radius: 2px;
  background: #e5e7eb
}

.strip .seg.up {
  background: #10b981
}

/* green */
.strip .seg.down {
  background: #ef4444
}

/* red */

/* Tiny sparkline area */
.rt-wrap {
  margin-top: 14px
}

.rt-canvas {
  width: 100%;
  height: 80px
}

/* separators inside the uptime strip */
.strip {
  position: relative;
}

.strip .sep {
  flex: 0 0 2px;
  background: #cbd5e1;
  opacity: .6;
  border-radius: 1px;
}

.rt-stats {
  color: #64748b;
  font-size: .875rem;
}

.strip-labels {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: #64748b;
  margin-top: 6px
}

.rt-wrap {
  height: 150px;
  /* fixed height */
  position: relative;
  /* required for Chart.js */
}

.rt-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.card-body {
height: auto;
overflow: hidden;
padding-bottom: 40px;
}
