/* Stili Generali del Corpo */
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #0b0c13; 
    color: #c9d1d9; 
    overflow-x: hidden; 
}

/* Navigazione Principale */
.main-nav { 
    background-color: #0b0c13; 
    z-index: 60;
    transition: transform 0.3s ease-in-out;
    min-height: 68px; /* Imposta un'altezza minima */
}

/* Utilità per nascondere la barra di scorrimento */
.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Navigazione Secondaria Effetto Vetro */
.glass-nav {
    width: 75% !important;
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 50;
    transition: top 0.3s ease-in-out;
}

/* Card di Contenuto */
.content-card { 
    background: rgba(22, 27, 34, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border: 1px solid rgba(48, 54, 61, 0.5); 
}

/* --- Gradiente Testo per Sezione --- */
.title-color-partners span,
.title-color-foundation span { 
    background: linear-gradient(90deg, #38bdf8, #818cf8); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.title-color-launch span { 
    background: linear-gradient(90deg, #10b981, #34d399); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.title-color-blueprint span { 
    background: linear-gradient(90deg, #a78bfa, #c084fc); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}


/* --- Pulsanti Call-to-Action per Sezione --- */
.cta-button-partners,
.cta-button-foundation { 
    transition: all 0.3s ease; 
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3); 
    background-color: #38bdf8;
    color: white;
}
.cta-button-partners:hover,
.cta-button-foundation:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5); 
    background-color: #0ea5e9;
}

.cta-button-launch { 
    transition: all 0.3s ease; 
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    background-color: #10b981;
    color: white;
}
.cta-button-launch:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5); 
    background-color: #059669;
}

.cta-button-blueprint { 
    transition: all 0.3s ease; 
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.3); 
    background-color: #a78bfa;
    color: white;
}
.cta-button-blueprint:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.5); 
    background-color: #9333ea;
}


/* Stile Pulsante Neumorfico Avanzato con Effetto Vetro e Forma Quadrata */
.neumorphic-btn {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neumorphic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.neumorphic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(148, 163, 184, 0.2);
}

.neumorphic-btn:hover::before {
    left: 100%;
}

/* Colori Icone Aggiornati con Stile Tipografico Elegante */
.icon-foundation { 
    color: #22d3ee !important; /* Cyan più vivace */
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
    min-width: 2rem;
    text-align: center;
}

.icon-launch { 
    color: #4ade80 !important; /* Green più brillante */
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
    transition: all 0.3s ease;
    min-width: 2rem;
    text-align: center;
}

.icon-blueprint { 
    color: #a855f7 !important; /* Purple più intenso */
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
    min-width: 2rem;
    text-align: center;
}

.icon-partners { 
    color: #6366f1 !important; /* Indigo più profondo */
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    min-width: 2rem;
    text-align: center;
}

/* Effetti Hover per le Icone con Glow Esteso ai Bordi */
.neumorphic-btn:hover .icon-foundation {
    color: #06b6d4 !important;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    transform: scale(1.1);
}

.neumorphic-btn:hover .icon-launch {
    color: #22c55e !important;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
    transform: scale(1.1);
}

.neumorphic-btn:hover .icon-blueprint {
    color: #9333ea !important;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
    transform: scale(1.1);
}

.neumorphic-btn:hover .icon-partners {
    color: #4f46e5 !important;
    text-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
    transform: scale(1.1);
}

/* Glow Esteso ai Bordi dei Pulsanti - Versione Semplificata */
.neumorphic-btn:hover {
    border-color: transparent;
}

/* Hover per Foundation - Glow Cyan */
.neumorphic-btn:has(.icon-foundation):hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(34, 211, 238, 0.4),
        0 0 20px rgba(34, 211, 238, 0.3);
}

/* Hover per Launch - Glow Green */
.neumorphic-btn:has(.icon-launch):hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(74, 222, 128, 0.4),
        0 0 20px rgba(74, 222, 128, 0.3);
}

/* Hover per Blueprint - Glow Purple */
.neumorphic-btn:has(.icon-blueprint):hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(168, 85, 247, 0.4),
        0 0 20px rgba(168, 85, 247, 0.3);
}

/* Hover per Partners - Glow Indigo */
.neumorphic-btn:has(.icon-partners):hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.4),
        0 0 20px rgba(99, 102, 241, 0.3);
}

/* Stili Hero Section */
#hero-canvas { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0; 
}
.hero-content h1, .hero-content p, .hero-content a { 
    opacity: 0; 
    transform: translateY(20px); 
    animation: text-fade-in 0.8s ease-out forwards; 
}
.hero-content p { animation-delay: 0.2s; }
.hero-content a { animation-delay: 0.4s; }
@keyframes text-fade-in { 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

  .feature-card {
            transition: all 0.3s ease;
            border: 1px solid rgba(48, 54, 61, 0.3);
        }
        .feature-card:hover {
            transform: translateY(-8px);
            border-color: rgba(56, 189, 248, 0.4);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        
        .process-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #30363d;
            transform: translateX(-50%);
        }

        .timeline-item {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .timeline-dot {
            transition: all 0.3s ease;
        }
        .timeline-item:hover .timeline-dot {
            transform: scale(1.5);
            background-color: #38bdf8;
        }

        /* Animated Hero Background */
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(240deg, #1e3a8a, #0d1117, #3b82f6);
            background-size: 200% 200%;
            animation: gradient-animation 15s ease infinite;
            z-index: 0;
        }

        @keyframes gradient-animation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.4;
        }

        .mouse-spotlight {
            pointer-events: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: radial-gradient(circle at var(--x) var(--y), rgba(56, 189, 248, 0.1), transparent 30%);
            z-index: 999;
            transition: background 0.1s ease-out;
        }


.main-nav button.neumorphic-btn.md\:hidden:active {
    transform: none !important;
}