/* 
  ITALIASITI - Foglio di stile personalizzato
  File: style.css
  Descrizione: Stili custom, animazioni e utility class
  Istruzioni modifica:
  - COLORI: cerca i codici colore esadecimali (es. #3b82f6) e sostituisci
  - FONT: modifica la famiglia font in 'Inter' se vuoi cambiarla
  - ANIMATION: modifica i secondi (es. 0.8s) per velocità diverse
*/

/* ============================================
   FONT BASE
   Modifica qui se vuoi cambiare font
=========================================== */
* {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   UTILITY COLORI E GRADIENTI
   Modifica i colori qui sotto:
   - #3b82f6 = Blu primario
   - #1e293b = Slate scuro
   - #f8fafc = Slate chiaro (sfondi)
=========================================== */
.gradient-text {
    /* Gradiente testo titolo hero */
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bg {
    /* Sfondo hero con gradienti radiali */
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 41, 59, 0.05) 0%, transparent 50%),
        linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* ============================================
   ANIMAZIONI
   Modifica durata (es. 6s) o tipo ease
=========================================== */

/* Animazione fluttuante per mockup hero */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Fade in up - animazione entrata elementi */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay per animazioni sequenziali */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ============================================
   COMPONENTI UI
=========================================== */

/* Card con effetto vetro (glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Effetto hover sollevato */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

/* Anello pulsante attorno ai CTA importanti */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid #3b82f6; /* Colore anello */
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    opacity: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

/* Numeri step (Come funziona) */
.step-number {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Blob sfocati per sfondo decorativo */
.blob {
    position: absolute;
    filter: blur(40px);
    opacity: 0.4;
    z-index: -1;
}

/* ============================================
   RESPONSIVE UTILITIES
   Aggiungi qui breakpoint custom se necessario
=========================================== */

/* Mobile ottimizzazioni */
@media (max-width: 768px) {
    .hero-bg {
        background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    }
    
    /* Riduci dimensione titoli su mobile */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Eventuali stili specifici tablet */
}

/* ============================================
   ACCESSIBILITÀ
=========================================== */

/* Riduci animazioni se utente preferisce */
@media (prefers-reduced-motion: reduce) {
    .float-animation,
    .fade-in-up,
    .pulse-ring::before {
        animation: none;
    }
    
    .hover-lift {
        transition: none;
    }
}

/* Focus visibile per tastiera */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}