:root {
    --bg: #000000;
    --text: #ffffff;
    --accent: #0047ff; /* Azul técnico */
    --gray: #111111;
    --border: rgba(255,255,255,0.1);
    --font-mono: 'Space Mono', monospace;
    --font-main: 'Archivo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-mono);
    overflow-x: hidden;
    cursor: default;
}

/* FX Capas */
.grain { position: fixed; inset: 0; background: url('https://grainy-gradients.vercel.app/noise.svg'); opacity: 0.04; z-index: 1000; pointer-events: none; }
.vignette { position: fixed; inset: 0; background: radial-gradient(circle, transparent 20%, black 140%); z-index: 999; pointer-events: none; }

/* Loader */
.loader-layer {
    position: fixed; inset: 0; background: #000; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.8s cubic-bezier(1,0,0,1);
}

.loader-content { width: 300px; text-align: center; }
.progress-bar { height: 2px; background: #111; margin: 20px 0; overflow: hidden; }
.fill { height: 100%; background: var(--text); width: 0%; animation: fill-bar 2s forwards; }

@keyframes fill-bar { to { width: 100%; } }

/* Nav */
.sys-nav {
    position: fixed; top: 0; width: 100%; padding: 20px;
    z-index: 1001; border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
}
.nav-container { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 2px; }

/* Hero */
.hero-impact {
    height: 100vh; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; padding: 0 5%;
}

h1 { font-family: var(--font-main); font-size: clamp(60px, 18vw, 220px); line-height: 0.8; letter-spacing: -8px; margin-bottom: 40px; }

.outline { -webkit-text-stroke: 1px var(--text); color: transparent; }

.hero-footer { position: absolute; bottom: 50px; width: 90%; display: flex; justify-content: space-between; align-items: flex-end; }
.manifesto-mini { font-size: 11px; color: #555; }

/* Drop System (Embudo) */
.drop-system { padding: 100px 5%; border-top: 1px solid var(--gray); }
.drop-header { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font-weight: bold; font-size: 12px; }
.status-dot { width: 8px; height: 8px; background: #ff0000; border-radius: 50%; }
.pulse { animation: blink 1s infinite; color: #ff0000; }

.drop-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.visual-engine { position: relative; border: 1px solid var(--gray); overflow: hidden; }
.visual-engine img { width: 100%; filter: grayscale(1) brightness(0.8); transition: 0.5s; }
.visual-engine:hover img { filter: grayscale(0) brightness(1); }

.selection-engine { padding-top: 20px; }
.product-id h3 { font-family: var(--font-main); font-size: 32px; margin-bottom: 10px; }
.product-id p { color: #888; margin-bottom: 40px; }

/* Stock Meter */
.stock-meter { margin-bottom: 40px; }
.meter-text { font-size: 10px; margin-bottom: 10px; color: var(--accent); }
.bar-total { height: 4px; background: #111; width: 100%; }
.bar-current { height: 100%; background: var(--accent); }
.percent { font-size: 10px; margin-top: 5px; text-align: right; color: var(--accent); }

/* Formulario */
.auth-form label { display: block; font-size: 11px; margin-bottom: 15px; color: #555; }
.input-group { display: flex; flex-direction: column; gap: 10px; }
input { background: transparent; border: 1px solid #222; padding: 18px; color: #fff; font-family: var(--font-mono); outline: none; }
input:focus { border-color: var(--accent); }
button { background: var(--text); color: #000; border: none; padding: 18px; font-weight: 900; cursor: pointer; transition: 0.3s; }
button:hover { background: var(--accent); color: #fff; }

/* Marquee */
.marquee-wrap { background: #111; padding: 20px 0; overflow: hidden; margin: 100px 0; }
.marquee-content { white-space: nowrap; font-size: 14px; font-weight: bold; animation: scroll 20s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Mobile */
@media (max-width: 768px) {
    .drop-card { grid-template-columns: 1fr; gap: 30px; }
    h1 { letter-spacing: -4px; }
    .hero-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@keyframes blink { 50% { opacity: 0; } }