/* ══════════════════════════════════
   HERO — fully responsive
   ══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero-left {
  padding: 80px 48px 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px;
  color: var(--amber); letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--amber); }
.hero-h1 {
  font-family: var(--display); font-size: clamp(52px, 6vw, 108px);
  line-height: .92; letter-spacing: 2px; color: var(--bright); margin-bottom: 28px;
}
.hero-h1 em { font-style: normal; -webkit-text-stroke: 1.5px var(--amber); color: transparent; }
.hero-body { font-size: 16px; color: var(--body); line-height: 1.8; max-width: 480px; margin-bottom: 32px; }
.hero-body strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Quick-access buttons */
.hero-nav-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.hero-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--seam); border: 1px solid var(--wire);
  color: var(--body); padding: 8px 12px; border-radius: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; transition: all .2s;
}
.hero-nav-btn:hover { border-color: var(--amber); color: var(--amber); background: var(--amberg); }

/* Stats */
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
  padding-top: 24px; border-top: 1px solid var(--wire); flex-wrap: wrap;
}
.hstat-n { font-family: var(--display); font-size: 34px; color: var(--amber); line-height: 1; }
.hstat-l { font-size: 10px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

/* Visitor / like bar under stats */
.hero-counters {
  display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap;
}
.hcounter {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.hcounter-val { color: var(--amber); font-size: 14px; font-weight: 500; }
.like-btn {
  background: none; border: 1px solid var(--wire); color: var(--muted);
  padding: 4px 12px; border-radius: 20px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; transition: all .2s;
  display: flex; align-items: center; gap: 6px;
}
.like-btn:hover, .like-btn.liked { border-color: var(--red); color: var(--red); }
.like-btn .heart { font-size: 14px; }

/* Hero right — terminal */
.hero-right {
  background: var(--plate); border-left: 1px solid var(--wire);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 40px; position: relative; overflow: hidden;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(245,158,11,.06) 0%, transparent 60%);
}
.terminal {
  background: var(--ink); border: 1px solid var(--wire); border-radius: 8px;
  overflow: hidden; position: relative; z-index: 1;
  font-family: var(--mono); font-size: 12px;
}
.terminal-bar {
  background: var(--steel); border-bottom: 1px solid var(--wire);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-dot.r { background: #ff5f57; }
.tb-dot.y { background: #ffbd2e; }
.tb-dot.g { background: #28c840; }
.tb-title { font-size: 11px; color: var(--muted); margin-left: 8px; letter-spacing: 1px; }
.terminal-body { padding: 20px; line-height: 2; overflow-x: auto; }
.tl { display: block; white-space: nowrap; }
.tl-ln { color: var(--dim); user-select: none; display: inline-block; width: 22px; text-align: right; margin-right: 14px; }
.tl-cmt { color: var(--dim); font-style: italic; }
.tl-kw  { color: #818cf8; }
.tl-fn  { color: var(--amber); }
.tl-str { color: var(--green); }
.tl-num { color: #f87171; }
.tl-tag { color: #67e8f9; }
.tl-ok  { color: var(--green); }
.cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--amber); vertical-align: middle; margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.badge-float {
  position: absolute; background: var(--seam);
  border: 1px solid var(--wire); border-radius: 6px;
  padding: 8px 12px; font-family: var(--mono); font-size: 10px;
  color: var(--body); letter-spacing: .5px;
}
.bf1 { top: 22%; right: 28px; animation: fbob 4s ease-in-out infinite; }
.bf2 { bottom: 26%; right: 40px; animation: fbob 5s ease-in-out infinite .5s; }
@keyframes fbob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.bf-val { font-size: 15px; font-weight: 600; color: var(--green); display: block; }

/* ── Tablet landscape ── */
@media (max-width: 1024px) {
  .hero-left { padding: 60px 32px 60px 40px; }
  .hero-right { padding: 40px 24px; }
  .terminal-body { font-size: 11px; }
  .badge-float { display: none; }
}

/* ── Tablet portrait — stack vertically ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 24px 40px; order: 1; }
  .hero-right {
    order: 2; border-left: none; border-top: 1px solid var(--wire);
    padding: 32px 24px; min-height: 280px;
  }
  .hero-h1 { font-size: clamp(48px, 10vw, 80px); }
  .hero-body { font-size: 15px; max-width: 100%; }
  .hero-stats { gap: 20px; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .hero-left { padding: 36px 16px 28px; }
  .hero-right { padding: 24px 16px; }
  .hero-h1 { font-size: clamp(40px, 12vw, 64px); margin-bottom: 20px; }
  .hero-body { font-size: 14px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-nav-buttons { gap: 6px; }
  .hero-nav-btn { font-size: 9px; padding: 7px 10px; }
  .hero-stats { gap: 16px; margin-top: 28px; padding-top: 18px; }
  .hstat-n { font-size: 28px; }
  .hero-counters { gap: 14px; }
  .terminal { font-size: 10px; }
  .terminal-body { padding: 14px; }
}
