:root {
  --bg: #07111f;
  --panel: rgba(13, 27, 46, 0.78);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f7fbff;
  --muted: #8fa3ba;
  --accent: #5eead4;
  --accent-two: #60a5fa;
  --positive: #5eead4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 99, 168, 0.18), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #081522 55%, #060d17 100%);
  font-family: "Inter", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: .2;
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: 15%;
  left: -180px;
  background: #2563eb;
}

.ambient-two {
  width: 320px;
  height: 320px;
  right: -160px;
  top: 40%;
  background: #14b8a6;
}

.site-header,
.container,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #04101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  box-shadow: 0 10px 30px rgba(94, 234, 212, .2);
}

.live-status,
.mini-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9cadc;
  font-size: 13px;
  font-weight: 600;
}

.live-status {
  padding: 10px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(8, 21, 34, .72);
}

.live-dot,
.mini-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(94, 234, 212, .1);
  animation: blink 1.7s infinite;
}

.container {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 32px;
  align-items: center;
  padding: 76px 0 54px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: min(100%, 280px);
  justify-self: end;
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(94,234,212,.12), transparent 62%),
    rgba(12, 28, 45, .65);
  box-shadow: inset 0 0 50px rgba(96,165,250,.07), var(--shadow);
  overflow: hidden;
}

.hero-badge::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: inherit;
  animation: rotate 24s linear infinite;
}

.hero-badge strong {
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -.07em;
  line-height: 1;
}

.hero-badge small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.pulse-ring {
  position: absolute;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(94, 234, 212, .17);
  border-radius: 50%;
  animation: pulse 2.8s ease-out infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card,
.panel,
.notice {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  transition: transform .25s ease, border-color .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,234,212,.22);
}

.stat-card.featured {
  background:
    linear-gradient(145deg, rgba(94,234,212,.12), transparent 70%),
    var(--panel);
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(94,234,212,.08);
}

.stat-value {
  margin-top: 25px;
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 800;
  letter-spacing: -.055em;
}

.stat-footer {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.stat-footer span:first-child {
  color: #bfdbfe;
  font-weight: 700;
}

.stat-footer.positive span:first-child {
  color: var(--positive);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 16px;
  margin-top: 16px;
}

.panel {
  border-radius: 24px;
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.03em;
}

.chart-wrap {
  position: relative;
  height: 265px;
  margin-top: 30px;
}

.chart-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 100% 25%;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.traffic-chart {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 10px 6px 0;
}

.chart-bar {
  flex: 1;
  min-width: 8px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(to top, rgba(96,165,250,.52), rgba(94,234,212,.98));
  box-shadow: 0 0 22px rgba(94,234,212,.12);
  transition: height .65s cubic-bezier(.2,.8,.2,1);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #70859b;
  font-size: 11px;
}

.activity-list {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.activity-item {
  display: grid;
  grid-template-columns: 39px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 10px;
  border-radius: 15px;
  transition: background .2s ease;
}

.activity-item:hover {
  background: rgba(255,255,255,.035);
}

.activity-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #061421;
  background: linear-gradient(135deg, #bfdbfe, #5eead4);
  font-weight: 800;
}

.activity-copy strong,
.activity-copy span {
  display: block;
}

.activity-copy strong {
  font-size: 13px;
}

.activity-copy span,
.activity-time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.notice {
  margin-top: 16px;
  padding: 17px 20px;
  border-radius: 17px;
  color: #9fb1c5;
  font-size: 13px;
  line-height: 1.6;
}

.notice strong {
  color: #d9e6f2;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 42px;
  color: #62768b;
  font-size: 12px;
}

@keyframes blink {
  50% { opacity: .35; }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(.82); opacity: .75; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    justify-self: start;
    width: 220px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 580px) {
  .site-header,
  .container,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding: 18px 0;
  }

  .live-status {
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  h1 {
    font-size: 45px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-badge {
    width: 190px;
  }

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

  .stat-card {
    min-height: 170px;
  }

  .chart-wrap {
    height: 220px;
  }

  .traffic-chart {
    gap: 6px;
  }

  .chart-labels span:nth-child(even) {
    display: none;
  }

  .activity-item {
    grid-template-columns: 38px 1fr;
  }

  .activity-time {
    display: none;
  }

  footer {
    flex-direction: column;
    padding-bottom: 26px;
  }
}
