/* Distinctive UI components */

/* Mining Operations Map */
.operations-map {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
}

.operations-map__canvas {
  position: relative;
  min-height: 320px;
  background: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.operations-map__node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  animation: pulse-node 3s ease-in-out infinite;
}

.operations-map__node--primary {
  width: 16px;
  height: 16px;
  background: var(--color-energy);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.5);
}

.operations-map__node::after {
  content: attr(data-label);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@keyframes pulse-node {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Infrastructure Flow Diagram */
.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.flow-diagram__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  min-width: 120px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.flow-diagram__stage::before {
  content: attr(data-icon);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.flow-diagram__stage h4 {
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
}

.flow-diagram__stage p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.flow-diagram__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .flow-diagram {
    flex-direction: column;
  }
  
  .flow-diagram__arrow {
    transform: rotate(90deg);
  }
}

/* Dashboard-style UI blocks */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.dashboard-card {
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  font-family: var(--font-mono);
}

.dashboard-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.dashboard-card__value {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.dashboard-card__value--accent {
  color: var(--color-accent);
}

.dashboard-card__value--energy {
  color: var(--color-energy);
}

.dashboard-card__meta {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  max-width: 28ch;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 42ch;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
