* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b101a;
  --panel: #12192b;
  --panel-strong: #101726;
  --text: #f2f4f8;
  --muted: #9aa6b4;
  --primary: #4c7dff;
  --primary-dark: #3c68e6;
  --border: rgba(255, 255, 255, 0.08);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 26, 0.9);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(76, 125, 255, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-danger {
  border: 1px solid rgba(255, 120, 120, 0.4);
  color: #ffb3b3;
  background: rgba(255, 120, 120, 0.12);
}

.btn-danger:hover {
  border-color: rgba(255, 120, 120, 0.8);
  background: rgba(255, 120, 120, 0.2);
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid rgba(76, 125, 255, 0.35);
  color: #cdd9ff;
  background: rgba(76, 125, 255, 0.08);
}

.btn-ghost:hover {
  border-color: rgba(76, 125, 255, 0.6);
  background: rgba(76, 125, 255, 0.16);
  color: #ffffff;
}

.hero {
  padding: 80px 0 40px;
  background: radial-gradient(circle at top, rgba(76, 125, 255, 0.25), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #8ea2ff;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.lead {
  font-size: 18px;
  color: #c7cfda;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric {
  font-size: 20px;
  font-weight: 700;
}

.metric-label {
  font-size: 13px;
  color: #9aa6b4;
}

.hero-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #a5b0c0;
  margin-bottom: 20px;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-up {
  background: rgba(79, 227, 138, 0.2);
  color: #4fe38a;
}

.badge-warning {
  background: rgba(255, 201, 71, 0.2);
  color: #ffc947;
}

.badge-down {
  background: rgba(255, 120, 120, 0.2);
  color: #ff7878;
}

.badge-neutral {
  background: rgba(180, 190, 204, 0.2);
  color: #d6dde8;
}

.status-list {
  display: grid;
  gap: 16px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-row:last-child {
  border-bottom: none;
}

.status-name {
  font-weight: 600;
  color: #f4f6f9;
}

.status-meta {
  color: #9aa6b4;
  font-size: 13px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pill-up {
  background: rgba(79, 227, 138, 0.2);
  color: #4fe38a;
}

.pill-warning {
  background: rgba(255, 201, 71, 0.2);
  color: #ffc947;
}

.pill-down {
  background: rgba(255, 120, 120, 0.2);
  color: #ff7878;
}

.pill-neutral {
  background: rgba(180, 190, 204, 0.15);
  color: #b5bfcc;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #0e1526;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 12px;
}

.section-header p {
  color: #b5bfcc;
}

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

.feature-card {
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: #b5bfcc;
}

.reliability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.reliability-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  color: #b5bfcc;
}

.security-grid h4 {
  color: #f2f4f8;
  margin-bottom: 8px;
}

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

.pricing-card {
  background: var(--panel-strong);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card.featured {
  border-color: rgba(76, 125, 255, 0.5);
  box-shadow: 0 15px 40px rgba(76, 125, 255, 0.15);
}

.price {
  font-size: 32px;
  font-weight: 700;
}

.price span {
  font-size: 14px;
  color: #9aa6b4;
}

.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #b5bfcc;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.2), rgba(15, 20, 34, 0.9));
  border: 1px solid var(--border);
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}


.footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.footer-links-compact {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links-compact a {
  color: var(--muted);
}

.footer-links-compact a:hover {
  color: #ffffff;
}

.dashboard-grid {
  display: grid;
  gap: 32px;
}

.panel {
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--border);
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.panel-body {
  display: grid;
  gap: 24px;
}

.panel-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #c7cfda;
  font-size: 14px;
}

.hidden {
  display: none;
}

.form-grid input,
.form-grid select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1526;
  color: #f2f4f8;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(76, 125, 255, 0.6);
  background: rgba(76, 125, 255, 0.1);
  display: inline-grid;
  place-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.checkbox input[type="checkbox"]:checked {
  background: rgba(76, 125, 255, 0.9);
  border-color: rgba(76, 125, 255, 0.95);
}

.checkbox input[type="checkbox"]:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.form-actions {
  margin-top: 16px;
}

.form-message {
  margin-top: 16px;
  color: #9aa6b4;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.auth-grid {
  display: grid;
  place-items: center;
}

.auth-panel {
  max-width: 520px;
  width: 100%;
}

.summary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.plan-chip {
  margin-top: 12px;
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(76, 125, 255, 0.15);
  color: #cdd9ff;
}

.list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.list-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 12px;
}

.uptime {
  margin-top: 10px;
}

.uptime-empty {
  font-size: 12px;
  color: var(--muted);
}

.uptime-bar {
  opacity: 0.9;
}

.uptime-up {
  fill: rgba(79, 227, 138, 0.8);
}

.uptime-down {
  fill: rgba(255, 120, 120, 0.85);
}

.uptime-unknown {
  fill: rgba(180, 190, 204, 0.4);
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.list-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.toggle input[type="checkbox"] {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  border: 1px solid rgba(76, 125, 255, 0.4);
}

.toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c7cfda;
  transition: transform 0.2s ease;
}

.toggle input[type="checkbox"]:checked {
  background: rgba(76, 125, 255, 0.7);
}

.toggle input[type="checkbox"]:checked::after {
  transform: translateX(18px);
  background: #ffffff;
}

.card {
  background: rgba(15, 21, 38, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.card-actions {
  margin-top: 12px;
}

.btn-compact {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.quick-actions .btn-compact {
  width: auto;
  justify-self: start;
}

.list-row:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }
}
