:root {
    --neon: #00ff41;
    --dark: #0a0a0a;
    --glass: rgba(20, 20, 20, 0.85);
    --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--dark);
    /* Fallback elegante se manca l'immagine: gradiente radiale */
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%); 
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Gestione Immagine di Sfondo */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Qui cerchiamo l'immagine. Se non c'è, si vede il gradiente sopra */
    background: url('bg.jpg') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -2;
    filter:  grayscale(100%) contrast(110%);
}

.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 500px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-top: 2px solid var(--neon);
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

/* Decorazioni agli angoli */
.container::before {
    content: ''; position: absolute; top: -2px; left: -2px;
    width: 10px; height: 10px; border-top: 2px solid var(--neon); border-left: 2px solid var(--neon);
}
.container::after {
    content: ''; position: absolute; bottom: -2px; right: -2px;
    width: 10px; height: 10px; border-bottom: 2px solid var(--neon); border-right: 2px solid var(--neon);
}

h1.glitch {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.subtitle {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

.briefing-box {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.features {
    list-style: none;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.features li { margin-bottom: 5px; color: var(--neon); }

/* Input più bello */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="email"] {
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    padding: 15px;
    color: #fff;
    text-align: center;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

input[type="email"]:focus {
    border-color: var(--neon);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

button {
    background: var(--neon);
    color: #000;
    border: none;
    padding: 15px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--neon);
}

footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #555;
}
.social-links a { color: #888; text-decoration: none; margin: 0 10px; font-weight: bold;}
.social-links a:hover { color: #fff; }