/* ============================================
   HERO.CSS — Hero / Main Intro Section
   ============================================ */

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

/* Background gradient orbs */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: orbFloat 25s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -120px;
  left: -100px;
  animation-delay: -7s;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero__greeting {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-md);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero__name {
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-md);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.hero__title {
  font-size: var(--text-lg);
  color: var(--accent);
  margin-bottom: var(--space-lg);
  font-weight: var(--font-medium);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__terminal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: var(--text-lg);
}

.hero__terminal-prompt {
  color: var(--accent);
  font-weight: var(--font-bold);
  user-select: none;
}

.hero__typewriter {
  display: inline-block;
  min-width: 1ch;
  min-height: 1.5em;
  color: var(--text-primary);
}

.hero__cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 1px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

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

.hero__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: var(--text-xl);
  transition: all var(--transition-base);
}

.hero__social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 18px; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero__name { font-size: var(--text-4xl); }
  .hero__title { font-size: var(--text-xl); }
  .hero__description { font-size: var(--text-base); }

  .hero__actions {
    flex-direction: column;
  }

  .hero__orb--1 { width: 250px; height: 250px; }
  .hero__orb--2 { width: 180px; height: 180px; }
  .hero__orb--3 { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .hero__name { font-size: var(--text-3xl); }
}
