:root {
  color-scheme: dark;
  --bg: #0b0c14;
  --surface: rgba(17, 19, 30, 0.92);
  --surface-strong: rgba(23, 27, 46, 0.96);
  --border: rgba(139, 92, 246, 0.28);
  --text: #cbd5e1;
  --muted: #94a3b8;
  --accent: #8b5cf6;
  --accent-2: #06b6d4;
  --success: #22c55e;
  --danger: #f87171;
  --shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  --soft-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 18% 15%, rgba(139, 92, 246, 0.18), transparent 45%),
    radial-gradient(circle at 82% 10%, rgba(6, 182, 212, 0.18), transparent 40%),
    linear-gradient(140deg, #090a14 0%, #10132a 50%, #0b0c14 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.bg-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  z-index: 0;
}

.orb-1 {
  top: -140px;
  right: -100px;
  background: rgba(139, 92, 246, 0.6);
}

.orb-2 {
  bottom: -180px;
  left: -120px;
  background: rgba(6, 182, 212, 0.5);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 94%, rgba(148, 163, 184, 0.06) 94%),
    linear-gradient(90deg, transparent 94%, rgba(148, 163, 184, 0.06) 94%);
  background-size: 46px 46px;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  animation: rise 0.7s ease both;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 14px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
}

.hero-meta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.meta-item {
  font-weight: 600;
  color: var(--muted);
}

.meta-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.status-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(139, 92, 246, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.status-pill.ok {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.35);
}

.status-pill.down {
  background: rgba(248, 113, 113, 0.12);
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.35);
}

.status-pill.loading {
  background: rgba(139, 92, 246, 0.12);
  color: #e2e8f0;
}

.summary-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.summary-label {
  font-weight: 600;
  color: var(--muted);
}

.summary-value {
  font-size: 2.4rem;
  font-weight: 700;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.summary-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-stat {
  font-size: 1.2rem;
  font-weight: 700;
}

.summary-foot {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  margin-bottom: 32px;
}

.section.slim {
  margin-top: 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 {
  font-size: 1.6rem;
}

.tag {
  background: rgba(139, 92, 246, 0.12);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  animation: rise 0.7s ease both;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(139, 92, 246, 0.45);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.14), transparent 50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.status-label {
  font-weight: 700;
}

.service-card.ok .status-label {
  color: var(--success);
}

.service-card.down .status-label {
  color: var(--danger);
}

.metrics {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.metrics strong {
  color: var(--text);
}

.uptime-bar {
  position: relative;
  height: 8px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.uptime-bar span {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.notice {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--soft-shadow);
}

.ghost {
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #e2e8f0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ghost:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
}

.muted {
  color: var(--muted);
  line-height: 1.5;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 48px 18px 64px;
  }

  .summary-card {
    padding: 20px;
  }

  .notice {
    flex-direction: column;
    align-items: flex-start;
  }
}
