/* ==========================================================================
   CrisDev // Component: Hero Section (High-Impact Health Architecture)
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Ambient Cyber Glow Behind Hero */
.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(59, 130, 246, 0.06) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  word-break: break-word;
}

.highlight-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}

.highlight-blue,
.highlight-green {
  color: var(--accent-blue-bright);
  text-shadow: 0 0 25px rgba(59, 130, 246, 0.45);
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.22rem);
  color: #9DB0C6;
  max-width: 820px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  width: 100%;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Live Terminal Metrics Banner
   -------------------------------------------------------------------------- */
.hero-metrics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: var(--bg-surface-translucent);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 2.25rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 100%;
  box-sizing: border-box;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.metric-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-icon {
  flex-shrink: 0;
  stroke: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
}

.text-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.text-blue {
  color: var(--accent-blue-bright);
  text-shadow: 0 0 10px var(--accent-blue-glow);
}

.text-green {
  color: var(--accent-green);
  text-shadow: 0 0 10px var(--accent-green-glow);
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

.metric-separator {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-metrics {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    padding: 1.25rem;
  }
  .metric-separator {
    display: none;
  }
}

@media (max-width: 540px) {
  .hero-metrics {
    padding: 1rem 0.85rem;
    gap: 1rem;
  }
  .metric-value {
    font-size: 1.3rem;
  }
  .metric-label {
    font-size: 0.76rem;
  }
}
