:root {
  --brand: #4f7df3;
  --brand-dark: #3b66d9;
  --brand-soft: #eaf1ff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5eaf3;
  --bg: #f7f9fc;
  --ok: #22c55e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(79, 125, 243, 0.12);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f7f9fc;
  background-image:
    linear-gradient(rgba(79, 125, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 125, 243, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.main,
.site-footer,
.mobile-drawer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid rgba(229, 234, 243, 0.8);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: #4b5563;
  font-size: 15px;
  transition: color .2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--brand);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(79, 125, 243, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  border-color: #dbe4f5;
  color: #374151;
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline {
  background: #fff;
  border-color: #d7deea;
  color: #374151;
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-lg {
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 12px;
  min-width: 160px;
}

.btn-block {
  width: 100%;
}

.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer {
  position: fixed;
  inset: 68px 0 0;
  background: rgba(15, 23, 42, 0.28);
  z-index: 19;
}

.mobile-drawer__panel {
  background: #fff;
  margin: 0 12px;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__panel > a {
  padding: 14px 12px;
  border-radius: 10px;
  color: #374151;
}

.mobile-drawer__panel > a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 4px 4px;
}

.main {
  padding: 28px 0 48px;
}

.hero {
  text-align: center;
  padding-top: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e7edf8;
  color: #4b5563;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  flex: 0 0 auto;
}

.hero-title {
  margin: 22px 0 14px;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111827;
}

.hero-desc {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.feature-list {
  list-style: none;
  margin: 28px auto 0;
  padding: 18px 16px;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
  background: #fff;
  border: 1px solid #eaf0fa;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  text-align: left;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  position: relative;
  flex: 0 0 auto;
  margin-top: 1px;
}

.check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--ok);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.uptime {
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.uptime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8eef8;
  color: #4b5563;
  font-size: 13px;
}

.uptime-text {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.uptime-text strong {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  margin: 0 2px;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.stats {
  margin: 42px auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-top: 8px;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.stat-divider {
  display: none;
  width: 1px;
  background: #e5eaf3;
  margin: 8px 0;
}

.site-footer {
  padding: 18px 0 28px;
  color: #9ca3af;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  text-align: center;
}

.footer-extra :deep(a),
.footer-extra a {
  color: #6b7280;
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-desktop,
  .header-actions { display: inline-flex; }

  .main { padding: 48px 0 72px; }
  .hero { padding-top: 36px; }

  .hero-desc { font-size: 16px; }

  .feature-list {
    grid-template-columns: 1fr 1fr;
    padding: 22px 28px;
    gap: 16px 28px;
  }

  .uptime {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }

  .cta-row {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    align-items: center;
  }

  .stats {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
  }

  .stat-divider { display: block; height: 64px; }
}

@media (min-width: 1024px) {
  .feature-list {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
}
