/* HERO: el cursor ilumina el código. Linterna en --mx/--my y halo (más lento) en --hx/--hy; los mueve js/hero.js */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(580px, 86vh, 820px); display: flex; align-items: center; --mx: 72%; --my: 42%; --hx: 72%; --hy: 42%; }
/* El código llena todo el ancho en columnas (column-fill: auto llena una y pasa a la siguiente) */
.code { position: absolute; inset: -10px; margin: 0; padding: 28px; font: 13px/1.8 var(--font-mono); white-space: pre; column-width: 560px; column-gap: 56px; column-fill: auto; overflow: hidden; z-index: -4; user-select: none; pointer-events: none; }
.code.dim { color: #1A2340; }
.code.lit { color: #DCEEFF; text-shadow: 0 0 10px rgba(46,123,255,.95);
  -webkit-mask-image: radial-gradient(circle 250px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 42%, transparent 74%);
          mask-image: radial-gradient(circle 250px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 42%, transparent 74%); }
.hero .scanline { position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: -3; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(46,123,255,.10) 60%, rgba(255,255,255,.08) 70%, transparent); animation: scan 7s linear infinite; }
@keyframes scan { from { transform: translateY(-140px); } to { transform: translateY(900px); } }
.hero .halo { position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle 320px at var(--hx) var(--hy), rgba(46,123,255,.25), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--ink) 0%, rgba(10,14,26,.86) 38%, rgba(10,14,26,.2) 72%, transparent 100%), linear-gradient(0deg, var(--ink) 0%, transparent 25%); pointer-events: none; }
.hero .wrap { width: 100%; padding-block: 80px 96px; }
.hero h1 { font-size: clamp(3rem, 9vw, 7.6rem); font-weight: 800; line-height: 0.93; letter-spacing: -0.035em; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--glow); text-shadow: 0 0 20px var(--accent), 0 0 60px var(--accent); }
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; margin: 28px 0 34px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hint { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.hint span { display: inline-flex; align-items: center; gap: 8px; }
.hint .ico { font-size: 1rem; color: var(--cool); }
/* La frase "Mové el cursor: iluminá el código" se enciende mientras alguien ilumina */
#hint-cursor { transition: color .4s ease, text-shadow .4s ease; }
#hint-cursor .ico { transition: color .4s ease, filter .4s ease; }
.hero.iluminando #hint-cursor { color: var(--glow); text-shadow: 0 0 12px var(--accent); }
.hero.iluminando #hint-cursor .ico { color: var(--glow); filter: drop-shadow(0 0 6px var(--accent)); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(10,14,26,.78) 55%, rgba(10,14,26,.45) 100%); } .code { font-size: 11px; } }

/* Marquesina */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; }
.track { display: flex; width: max-content; gap: 40px; animation: slide 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--muted); }
.track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px 3px var(--accent); }
.track span:nth-child(5n+1) { color: var(--text); }
@keyframes slide { to { transform: translateX(-50%); } }
