/* Hero — tono CISO / executive. Solo barra typewriter “viva”. */

.hero-board {
  margin-top: 1.75rem;
  max-width: min(720px, 100%);
}

/* Riga istituzionale sobria */
.hero-exec {
  margin-bottom: 1.1rem;
}

.hero-exec-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.65rem;
}

.hero-exec-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-exec-points li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.hero-exec-points li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.hero-exec-points strong {
  font-weight: 650;
  color: #fff;
}

/* Barra typewriter — chiara, vetro, cursore che scrive */
.hero-terminal {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem 0.55rem;
  width: 100%;
  max-width: min(720px, 100%);
  padding: 0.8rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.12);
  font-family: "JetBrains Mono", "Consolas", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  min-height: 2.65rem;
}

.hero-terminal .prompt {
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}

.hero-terminal .prompt-user {
  color: #6ee7b7;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
}

.hero-terminal .prompt-at {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 1px;
}

.hero-terminal .prompt-host {
  color: #7dd3fc;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.hero-terminal .prompt-path {
  color: rgba(255, 255, 255, 0.55);
  margin-left: 1px;
}

/* Il testo cresce con la digitazione; il cursore (sibling dopo .line) lo segue */
.hero-terminal .line {
  flex: 0 1 auto;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero-terminal .hero-cursor {
  flex: 0 0 auto;
}

.hero-terminal .line.done {
  color: #ffffff;
}

/* cursore blocco tipo terminale (visibile su vetro chiaro) */
.hero-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #ffffff;
  font-weight: 400;
  line-height: 1;
  font-size: 0.95em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation: hero-blink 0.85s step-end infinite;
}

.hero-cursor::before {
  content: "█";
}

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

.hero-terminal.glitch {
  animation: none;
}

/* Stats sobrie */
.hero-stats {
  margin-top: 1.5rem !important;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1.75rem !important;
}

.hero-stat strong {
  font-size: 1.5rem !important;
}

.hero-stat span {
  font-size: 0.74rem !important;
  opacity: 0.65;
}

/* legacy off */
.hero-actions,
.hero-trust,
.hero-domains,
.hero-console {
  display: none !important;
}

@media (max-width: 600px) {
  .hero-exec-points li {
    font-size: 0.84rem;
  }
  .hero-terminal {
    font-size: 0.68rem;
  }
}
