:root {
  --bg: #08111f;
  --panel: rgba(15, 23, 42, .72);
  --panel-strong: rgba(15, 23, 42, .9);
  --border: rgba(255,255,255,.1);
  --text: #f8fafc;
  --muted: #9fb0cc;
  --good: #22c55e;
  --bad: #ef4444;
  --temp: #ff7a59;
  --wind: #36d1dc;
  --rain: #8b5cf6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(54,209,220,.18), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(139,92,246,.2), transparent 26rem),
    linear-gradient(135deg, #030712, var(--bg));
}

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 40px; }
.glass-card { background: var(--panel); border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.32); backdrop-filter: blur(18px); }

.hero { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 34px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 8px; color: var(--wind); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
h1 { font-family: Outfit, Inter, sans-serif; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .94; margin: 0; letter-spacing: -.05em; }
.hero-copy { max-width: 620px; color: var(--muted); font-size: 1.05rem; margin: 18px 0 0; }

.status-pill { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.06); }
.status-pill strong, .status-pill span { display: block; }
.status-pill span:not(.status-dot) { color: var(--muted); font-size: .86rem; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }
.status-dot.online { background: var(--good); box-shadow: 0 0 0 7px rgba(34,197,94,.14), 0 0 18px rgba(34,197,94,.8); }
.status-dot.offline { background: var(--bad); box-shadow: 0 0 0 7px rgba(239,68,68,.14); }

.highlights, .metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.highlight-card { padding: 22px; overflow: hidden; position: relative; }
.highlight-card::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; opacity: .95; }
.temp-card::after { background: var(--temp); }
.wind-card::after { background: var(--wind); }
.rain-card::after { background: var(--rain); }
.highlight-card span, .metric small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800; }
.highlight-card strong { display: block; font-family: Outfit, Inter, sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 8px 0 4px; }
.highlight-card small, footer, .section-heading p { color: var(--muted); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 24px 4px 14px; }
.section-heading h2 { font-family: Outfit, Inter, sans-serif; margin: 0; font-size: 1.45rem; }
.section-heading p { margin: 0; }

.metric-grid { grid-template-columns: repeat(5, 1fr); }
.metric { padding: 18px; display: flex; gap: 14px; align-items: center; }
.metric > span { font-size: 2rem; }
.metric strong { display: block; font-family: Outfit, Inter, sans-serif; font-size: 1.45rem; margin-top: 4px; }
.metric em { display: block; color: var(--wind); font-style: normal; font-size: .82rem; margin-top: 2px; }

.chart-card { height: 430px; padding: 18px; }
footer { text-align: center; padding: 34px 0 0; }

@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; }
  .highlights { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .hero, .highlight-card, .metric { border-radius: 22px; }
  .metric-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .chart-card { height: 320px; }
}
