/* ── HERO PAGE ──────────────────────────────────────────────── */

.hero-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-greeting {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.2s var(--ease) forwards;
}

.hero-greeting .blink {
  animation: blink 1s step-end infinite;
}

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

.hero-name {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.4s var(--ease) forwards;
  position: relative;
}

.hero-name span {
  position: relative;
  display: inline-block;
  text-shadow: 4px 4px 10px rgba(0,0,0,0.05);
}

.hero-role-wrapper {
  font-family: var(--mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-dim);
  margin-bottom: 28px;
  min-height: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.6s var(--ease) forwards;
}

.hero-role-wrapper .prefix {
  color: rgba(177, 194, 158, 0.5);
  margin-right: 8px;
}

#typed-role {
  color: var(--text);
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: blink 0.9s step-end infinite;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-family: var(--sans);
  font-weight: 300;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.8s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s 1s var(--ease) forwards;
}

.btn-aura {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--trans);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-aura:hover {
  background: var(--accent-glow);
  color: var(--text);
  border-color: rgba(177, 194, 158, 0.6);
  box-shadow: 0 8px 24px rgba(177, 194, 158, 0.2);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  opacity: 0;
  animation: fadeSlideUp 0.7s 1.2s var(--ease) forwards;
}

.hero-socials a {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
}

.hero-socials a .soc-icon {
  font-size: 1rem;
  opacity: 0.8;
}

.hero-socials a:hover {
  color: var(--accent);
  border-color: rgba(177, 194, 158, 0.45);
  background: rgba(177, 194, 158, 0.07);
  box-shadow: 0 0 16px rgba(177, 194, 158, 0.12);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeSlideUp 0.7s 1.4s var(--ease) forwards;
}

.hero-scroll span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .hero-section { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
