/* === Hero === */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-bg .glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-bg .glow-orb:nth-child(2) {
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, var(--glow-orb-1) 0%, transparent 70%);
}

.hero-bg .glow-orb:nth-child(3) {
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, var(--glow-orb-2) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(46, 134, 171, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 180, 255, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 180, 255, 0); }
}

/* WOW: Staggered hero animations with slightly longer delays */
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  min-height: 1.08em;
}

/* Typewriter cursor */
.typewriter-title::after {
  content: '|';
  color: var(--blue-glow);
  font-weight: 200;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

.typewriter-title.done::after {
  animation: blink 0.8s step-end infinite 2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes cursorFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
  font-family: 'JetBrains Mono', monospace;
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Visual - Canvas Network */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease 0.4s both;
}

#networkCanvas {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 24px;
}

/* WOW: Typing cursor effect class */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--blue-glow);
  font-weight: 100;
}

@keyframes blink {
  50% { opacity: 0; }
}
