/* ═══════════════════════════════════════════════════════════
   HERO — Landing Section with Counters & Alert Banner
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6) var(--space-8);
  background: var(--bg-deepest);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deepest), transparent);
  pointer-events: none;
}

/* ── Grid Background ── */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fade-in-up 0.8s var(--ease-out) both;
}

/* ── Badge ── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: live-pulse 2s ease-in-out infinite;
}

/* ── Headline ── */
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.hero__headline-accent {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

/* ── Counters ── */
.hero__counters {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.hero__counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.hero__counter-value {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--accent-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__counter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Alert Banner ── */
.hero__alert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  min-height: 52px;
}

.hero__alert-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__alert-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--leading-normal);
  transition: opacity 0.3s ease;
}

/* ── CTA ── */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}

.hero__cta:hover {
  background: var(--accent-glow-strong);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   OVERVIEW CARDS — Quick-access navigation cards
   ═══════════════════════════════════════════════════════════ */

.overview-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.overview-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.overview-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.overview-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
}

.overview-card__icon svg {
  width: 20px;
  height: 20px;
}

.overview-card__body {
  flex: 1;
}

.overview-card__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.overview-card__desc {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.overview-card__link {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1023px) {
  .overview-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .overview-cards__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: var(--space-6) var(--space-4) var(--space-5);
  }

  .hero__badge {
    margin-bottom: var(--space-4);
    font-size: 9px;
  }

  .hero__headline {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  .hero__counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .hero__counter-value {
    font-size: var(--text-xl);
  }

  .hero__counter-label {
    font-size: 8px;
  }

  .hero__alert {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-5);
  }

  .hero__alert-text {
    font-size: var(--text-xs);
  }

  .overview-cards__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .overview-card {
    padding: var(--space-4);
    flex-direction: row;
    align-items: center;
  }

  .overview-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .overview-card__desc {
    display: none;
  }

  .overview-card__link {
    flex-shrink: 0;
    margin-left: auto;
  }
}
