/* ═══════════════════════════════════════════════════════
   HERO — Full-viewport landing section
   css/hero.css
══════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 2rem 4rem;
  position: relative; overflow: hidden;
}

/* ── Background Grid ────────────────────────────────── */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,136,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-grid::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, var(--bg));
}

/* ── Content ────────────────────────────────────────── */
.hero-content {
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

/* ── Badge ──────────────────────────────────────────── */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem;
  padding: .35rem .9rem;
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.25);
  border-radius: 999px; color: var(--green);
  margin-bottom: 1.5rem;
  animation: fadeDown .6s ease forwards;
  word-break: break-word;
}
.hero-badge::before { content: '◈'; font-size: .7rem; animation: pulse 2s infinite; }

/* ── Title ──────────────────────────────────────────── */
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  animation: fadeUp .7s .1s ease both;
  overflow-wrap: break-word;
}
.hero-title .line { display: block; }
.hero-title .name {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .role { color: var(--text); }

/* ── Terminal Typewriter ────────────────────────────── */
.hero-terminal {
  font-family: var(--font-mono);
  font-size: clamp(.82rem, 2vw, 1rem);
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeUp .7s .2s ease both;
  overflow-wrap: break-word;
  word-break: break-all;
}
.hero-terminal .prompt { color: var(--green); }
.hero-terminal .prompt-at { color: var(--cyan); }
.hero-terminal .cursor {
  display: inline-block; width: 8px; height: 1.1em;
  background: var(--green); vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ── Description ────────────────────────────────────── */
.hero-desc {
  max-width: 540px;
  font-size: 1rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s .3s ease both;
}

/* ── Action Buttons ─────────────────────────────────── */
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  animation: fadeUp .7s .4s ease both;
}

/* ── Stats ──────────────────────────────────────────── */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .7s .5s ease both;
}
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-mono); font-size: 1.75rem; font-weight: 700;
  color: var(--green); display: block;
}
.stat-label {
  font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
}
