:root {
    --bg-color: #050714;
    --primary-color: #22d3ee;
    --secondary-color: #2dd4bf;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow: hidden; /* Animazione background gestisce lo scroll o blocchiamo */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== BACKGROUND ========== */
#space-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#neural-canvas {
    width: 100%;
    height: 100%;
}

.depth-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
    pointer-events: none;
}

/* ========== MAIN CONTENT ========== */
#main-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    max-width: 800px;
}

.title-container {
    position: relative;
    margin-bottom: 1rem;
}

.space-title {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    animation: titleFloat 6s ease-in-out infinite alternate;
}

@keyframes titleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.title-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.space-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* ========== STATUS BADGE ========== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(252, 211, 77, 0.1);
    border: 1px solid rgba(252, 211, 77, 0.2);
    border-radius: 100px;
    color: #fcd34d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.zap-icon {
    width: 1.2rem;
    height: 1.2rem;
    animation: zapPulse 2s infinite;
}

@keyframes zapPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* ========== CONTACT LINKS ========== */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.contact-link:hover {
    color: var(--primary-color);
    border-color: rgba(34, 211, 238, 0.2);
    background: rgba(34, 211, 238, 0.05);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.contact-link i {
    width: 1.2rem;
    height: 1.2rem;
}

/* ========== FOOTER ========== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 10;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.footer-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.separator {
    opacity: 0.3;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .space-title {
        font-size: 4rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}
