/* ═══════════════════════════════════════
   hero.css — Hero Section
   Not Visual
═══════════════════════════════════════ */

/* ── Hero wrapper ── */
.nv-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  background-color: #000000;
  
  background-image: radial-gradient(
    circle at 95% 5%, 
    rgba(0, 255, 0, 0.242) 0%,  
    rgba(0, 200, 30, 0.047) 40%,   
    rgba(0, 0, 0, 0) 70%        
  );
}

/* ── Background word (parallax) ── */
.nv-hero-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 18vw, 260px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 0, 0.286);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  z-index: 0;
  line-height: 1;
}

/* ── Scroll indicator line ── */
.nv-hero-scroll-line {
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 1px;
  height: 72px;
  background: var(--nv-green);
  transform-origin: top;
  animation: growLine 1.2s 1.6s both var(--nv-ease);
  z-index: 2;
}
@keyframes growLine {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ── Content (above bg word) ── */
.nv-hero .container-fluid {
  position: relative;
  z-index: 2;
}

/* ── Hero title ── */
.nv-hero-title {
  font-size: clamp(52px, 9.5vw, 130px);
  font-weight: 800;
  line-height: 0.90;
  letter-spacing: -0.045em;
}

/* ── Payoff ── */
.nv-hero-payoff {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  max-width: 240px;
  margin: 0;
}

/* ── Hero boot animations ── */
.nv-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.75s 0.4s forwards var(--nv-ease);
}
.nv-hero-title {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpIn 0.85s 0.6s forwards var(--nv-ease);
}
.nv-hero-bottom {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpIn 0.75s 1.0s forwards var(--nv-ease);
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */

/* Laptop 13"/14" e schermi medi: l'hero a 100vh unito al
   payoff su due righe rischia di far scomparire lo scroll
   indicator sotto il fold su risoluzioni con poca altezza. */
@media (min-width: 992px) and (max-width: 1440px) {
  .nv-hero { min-height: 92vh; }
}

/* Monitor esterni grandi/ultra-wide: la bg-word e il titolo
   restano centrati sul blocco, ma capiamo l'altezza minima
   per evitare troppo spazio vuoto in alto/basso. */
@media (min-width: 1920px) {
  .nv-hero { min-height: 88vh; }
}

/* Tablet e telefoni in orizzontale: viewport basso, serve
   uscire da min-height:100vh per non tagliare i contenuti. */
@media (max-height: 500px) and (orientation: landscape) {
  .nv-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 48px;
  }
  .nv-hero-scroll-line { display: none; }
}

@media (max-width: 767px) {
  .nv-hero-bg-word { font-size: clamp(64px, 22vw, 150px); }
}

@media (max-width: 576px) {
  .nv-hero-scroll-line { left: 24px; }
}

@media (max-width: 400px) {
  .nv-hero-payoff { max-width: 100%; }
}
