:root {
  --st-primary: #4f46e5;
  --st-primary-dark: #2f116f;
  --st-emerald: #10b981;
  --st-emerald-dark: #065f46;
  --st-emerald-bg: #ecfdf5;
  --st-amber: #f59e0b;
  --st-rose: #ef4444;
  --st-bg: #f8fafc;
  --st-card-bg: #ffffff;
  --st-border: #e2e8f0;
  --st-text-main: #0f172a;
  --st-text-muted: #64748b;
}

body {
  background-color: var(--st-bg) !important;
  font-family: "Celias", "Inter", system-ui, -apple-system, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.st-hero-title,
.st-banner-title,
.st-services-title {
  font-family: "Celias", "Inter", system-ui, sans-serif !important;
}

/* Status Hero */
.st-hero-section {
  background: linear-gradient(135deg, #180838 0%, #2f116f 40%, #4b1fad 80%, #6366f1 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.st-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.st-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.st-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}
.st-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.st-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.st-hero-title span {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.st-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #e2e8f0;
  font-weight: 300;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* Main Container */
.st-main-container {
  max-width: 1040px;
  margin: -2.5rem auto 4rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}

/* Global Status Banner */
.st-banner-card {
  background: #ffffff;
  border: 2px solid #86efac;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .st-banner-card { flex-direction: column; text-align: center; }
}

.st-banner-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.st-pulse-beacon {
  width: 22px;
  height: 22px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: stPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes stPulse {
  to {
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
  }
}

.st-banner-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 4px;
}

.st-banner-desc {
  font-size: 0.95rem;
  color: #047857;
  margin-bottom: 0;
}

.st-uptime-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Component Services Card */
.st-services-card {
  background: #ffffff;
  border: 1px solid var(--st-border);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.st-services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--st-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.st-services-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--st-text-main);
  margin: 0;
}

.st-service-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.st-service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.st-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.st-service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--st-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.st-status-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
}

.st-status-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* 90-Day Uptime Track Bar */
.st-track-container {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  width: 100%;
  margin-bottom: 6px;
}

.st-day-bar {
  flex: 1;
  height: 100%;
  background: #10b981;
  border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  cursor: pointer;
}

.st-day-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.15);
}

.st-track-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--st-text-muted);
}

/* Incident History Section */
.st-incident-card {
  background: #ffffff;
  border: 1px solid var(--st-border);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
}

.st-incident-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--st-text-muted);
}

.st-incident-empty .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Related Trust Links */
.st-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .st-trust-grid { grid-template-columns: 1fr; }
}

.st-trust-card {
  background: #ffffff;
  border: 1px solid var(--st-border);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--st-text-main);
  transition: all 0.2s ease;
}

.st-trust-card:hover {
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.08);
  text-decoration: none;
  color: #4338ca;
}
