/* ==========================================================================
   Parthmax.tech — Hero Section Component (hero.css)
   Boot sequence, typography, telemetry stats, action buttons, & tech strip
   ========================================================================== */

.hero-section {
  padding-block: 36px 56px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.hero-left {
  position: relative;
  z-index: 2;
}

/* System Boot-Up Animation Stagger */
.boot-step-1 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-step-2 {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-step-3 {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-step-4 {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-step-5 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-active .boot-step-1,
.boot-active .boot-step-2,
.boot-active .boot-step-3,
.boot-active .boot-step-4,
.boot-active .boot-step-5 {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow Status Pill */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow-accent-line {
  width: 0;
  height: 2px;
  background: var(--blue);
  display: inline-block;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.boot-active .eyebrow-accent-line {
  width: 32px;
}

.eyebrow-text {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #374151;
  text-transform: uppercase;
}

.hero-heading {
  font-family: var(--sans);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #090909;
  margin-bottom: 18px;
}

.hero-blue-highlight {
  color: var(--blue);
  display: inline-block;
  transition: text-shadow 0.8s ease, filter 0.8s ease;
}

.glow-active .hero-blue-highlight {
  text-shadow: 0 0 24px rgba(21, 87, 255, 0.4), 0 0 48px rgba(21, 87, 255, 0.2);
}

.hero-lede {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 24px;
}

.hero-lede strong {
  color: #090909;
  font-weight: 700;
}

/* 4-Column Live Telemetry Bar */
.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding-block: 4px;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-item:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 87, 255, 0.3);
  box-shadow: 0 4px 12px rgba(21, 87, 255, 0.08);
}

.metric-icon {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
}

.metric-icon.pulsing {
  animation: iconPulse 0.8s ease-in-out infinite alternate;
}

@keyframes iconPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(21, 87, 255, 0)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(21, 87, 255, 0.6)); }
}

.metric-content {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #090909;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6b7280;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Action Buttons */
.hero-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-dark-pill {
  background: #090909;
  color: #ffffff;
  border: 1px solid #090909;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-dark-pill:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.btn-outline-pill {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-outline-pill:hover {
  border-color: #9ca3af;
  color: #090909;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Tech Pills Strip */
.hero-tech-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-strip-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ca3af;
  text-transform: uppercase;
}

.tech-pills-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tech-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f2;
  border: 1px solid #e5e7eb;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: #374151;
  cursor: default;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.tech-pill:hover {
  background: #ffffff;
  border-color: var(--blue);
  color: #090909;
  transform: translateY(-2px);
}

.pill-sparkle {
  color: #1557ff;
  font-size: 10px;
}

.pill-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #090909;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.pill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #090909 transparent transparent transparent;
}

.tech-pill:hover .pill-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

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