﻿:root {
  --bg: #020b18;
  --bg-soft: #07142a;
  --panel: rgba(7, 20, 42, 0.86);
  --line: rgba(68, 150, 220, 0.38);
  --text: #eaf3fc;
  --muted: #a2bdd2;
  --blue: #1ca5ff;
  --blue-2: #0f84d6;
  --ok: #48d998;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 550px at 50% 0%, rgba(17, 122, 204, 0.22), transparent 65%),
    linear-gradient(180deg, #020a16 0%, #020b18 60%, #031024 100%);
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(100, 190, 255, 0.35) 0 2px, transparent 2px),
    radial-gradient(circle at 28% 34%, rgba(100, 190, 255, 0.25) 0 2px, transparent 2px),
    radial-gradient(circle at 76% 22%, rgba(100, 190, 255, 0.3) 0 2px, transparent 2px),
    radial-gradient(circle at 88% 58%, rgba(100, 190, 255, 0.2) 0 2px, transparent 2px),
    radial-gradient(circle at 58% 72%, rgba(100, 190, 255, 0.22) 0 2px, transparent 2px),
    radial-gradient(circle at 8% 72%, rgba(100, 190, 255, 0.26) 0 2px, transparent 2px),
    radial-gradient(circle at 48% 12%, rgba(100, 190, 255, 0.25) 0 2px, transparent 2px);
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(156, 221, 255, 0.9);
  box-shadow: 0 0 10px rgba(126, 208, 255, 0.7);
  animation: particle-float linear infinite, particle-pulse ease-in-out infinite;
}

@keyframes particle-float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--drift-x), var(--drift-y), 0);
  }
}

@keyframes particle-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.8; }
}

.container {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(1, 10, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  text-decoration: none;
  color: #d3e8f9;
  font-size: 16px;
  font-weight: 500;
}

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

.dash-btn {
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2ab0ff, #158de1);
  box-shadow: 0 10px 26px rgba(28, 165, 255, 0.35);
}

main {
  padding: 64px 0 56px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 26px 52px rgba(0, 0, 0, 0.35);
}

.left-card {
  padding: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 167, 255, 0.52);
  background: rgba(30, 167, 255, 0.14);
  color: #b8e2ff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.left-card h1 {
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.left-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
  max-width: 34ch;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  border-color: rgba(127, 208, 255, 0.4);
  color: #fff;
}

.btn.ghost {
  color: #f2f8ff;
  background: rgba(255, 255, 255, 0.03);
}

.right-card {
  padding: 24px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  min-height: 92px;
}

.status-item small {
  display: block;
  color: #91b0c9;
  font-size: 15px;
  margin-bottom: 10px;
}

.status-item strong {
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1;
}

.status-item .ok {
  color: var(--ok);
}

.features {
  margin-top: 56px;
}

.features h2 {
  font-size: clamp(34px, 3.1vw, 48px);
  margin-bottom: 12px;
}

.subline {
  color: var(--muted);
  font-size: 16px;
  max-width: 74ch;
  line-height: 1.35;
}

.feature-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.feature-card h3 {
  font-size: clamp(18px, 1.2vw, 22px);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 1280px) {
  .brand {
    font-size: 26px;
  }

  .left-card h1 {
    font-size: clamp(34px, 4.2vw, 52px);
  }

  .features h2 {
    font-size: clamp(28px, 3vw, 40px);
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 76px;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 15px;
  }

  .brand {
    font-size: 24px;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .left-card p,
  .subline,
  .feature-card p {
    font-size: 17px;
  }

  .btn {
    font-size: 16px;
  }

  .pill {
    font-size: 14px;
  }

  .left-card {
    padding: 28px 24px;
  }

  .right-card {
    padding: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .status-item {
    min-height: 100px;
  }

  .status-item strong {
    font-size: 28px;
  }
}
