/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.08) 0%, rgba(168,85,247,0.06) 40%, transparent 70%);
  z-index: 2;
}
.hero-orb-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 2;
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-orb-2 {
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 2;
  animation: pulse-glow 5s ease-in-out infinite 1s;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: flex-start;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
  padding-block: var(--space-16);
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-glow 2s ease-in-out infinite;
}
.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.hero-stat-item {}
.hero-stat-num {
  font-size: var(--text-xl);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: 2px; }

/* Hero Visual / Dashboard */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-dashboard {
  width: 100%;
  max-width: 540px;
  background: rgba(8,15,31,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(56,189,248,0.1);
  animation: float-slow 6s ease-in-out infinite;
}
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #febc2e; }
.dash-dot:nth-child(3) { background: #28c840; }
.dash-title { font-size: var(--text-xs); color: var(--color-text-faint); }
.dash-status { display: flex; align-items: center; gap: 5px; font-size: var(--text-xs); color: #22d3ee; }
.dash-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22d3ee; animation: pulse-glow 1.5s infinite; }

.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.dash-metric {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.dash-metric-val { font-size: var(--text-lg); font-weight: 700; font-family: var(--font-display); color: var(--color-text); }
.dash-metric-label { font-size: 10px; color: var(--color-text-faint); margin-top: 2px; }
.dash-metric-change { font-size: 10px; font-weight: 600; margin-top: 2px; }
.change-up { color: #22d3ee; }
.change-down { color: #f43f5e; }

.dash-threats { margin-bottom: var(--space-4); }
.dash-threats-title { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.threat-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-1);
}
.threat-label { font-size: var(--text-xs); color: var(--color-text); }
.threat-bar-wrap { flex: 1; margin: 0 var(--space-3); height: 4px; background: var(--color-surface-dynamic); border-radius: var(--radius-full); overflow: hidden; }
.threat-bar { height: 100%; border-radius: var(--radius-full); }
.threat-pct { font-size: 10px; color: var(--color-text-muted); width: 30px; text-align: right; }

.dash-events { }
.dash-event {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
}
.dash-event-icon { width: 20px; height: 20px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; }
.event-critical { background: rgba(244,63,94,0.15); color: #f43f5e; }
.event-warn { background: rgba(245,158,11,0.15); color: #f59e0b; }
.event-ok { background: rgba(34,211,238,0.15); color: #22d3ee; }
.dash-event-text { color: var(--color-text-muted); flex: 1; }
.dash-event-time { color: var(--color-text-faint); }

/* Floating badges */
.hero-badge {
  position: absolute;
  background: rgba(8,15,31,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
}
.hero-badge-1 {
  bottom: 10%;
  left: -5%;
  animation: float 4s ease-in-out infinite 0.5s;
}
.hero-badge-2 {
  top: 10%;
  right: -5%;
  animation: float 5s ease-in-out infinite 1s;
}
.hero-badge-icon { font-size: 18px; }
.hero-badge-text { font-size: var(--text-xs); font-weight: 600; color: var(--color-text); }
.hero-badge-sub { font-size: 10px; color: var(--color-text-muted); }
