/* Grid background pattern for hero */
.grid-bg {
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Fade-in at bottom of hero */
.grid-fade {
  background: linear-gradient(to bottom, transparent 60%, #09090b 100%);
}

/* Blinking cursor */
.cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: #06b6d4;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 2px; }

/* Microservice node pulse */
.ms-node::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(6, 182, 212, 0.2);
  animation: pulse-border 3s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* Connector lines */
.connector {
  position: absolute;
  background: linear-gradient(90deg, #06b6d4, transparent);
  height: 1px;
  opacity: 0.3;
}

/* Stack badge hover */
.stack-badge {
  transition: all 0.15s ease;
}
.stack-badge:hover {
  border-color: rgba(6, 182, 212, 0.5);
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.05);
}

/* Section number */
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #06b6d4;
  letter-spacing: 0.1em;
}

/* Stat counter */
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}
