/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 255, 164, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 255, 164, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(77, 255, 164, 0.08) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 32px;
  background: var(--accent-dim);
  animation: fade-up 0.8s ease forwards;
  opacity: 0;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 24px;
  animation: fade-up 0.8s 0.15s ease forwards;
  opacity: 0;
}

.hero-name .line2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 244, 255, 0.3);
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fade-up 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-typed {
  color: var(--accent);
  font-weight: 500;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.9s step-start infinite;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.45s ease forwards;
  opacity: 0;
}

.hero-socials {
  position: absolute;
  right: 60px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  animation: fade-up 1s 0.6s ease forwards;
  opacity: 0;
}

.hero-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--surface);
}

.hero-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: scale(1.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fade-up 1s 0.8s ease forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content {
    padding: 0 24px;
  }
  .hero-socials {
    display: none;
  }
  .scroll-indicator {
    display: none;
  }
}
