@charset "UTF-8";

/* --- CSS properties: L&G srl Coming Soon --- */
:root {
    /* Palette minimalista: bianco e blu */
    --color-bg: #FFFFFF;
    --color-primary: #0763b0; /* Blu richiesto */
    --color-primary-light: #4c96d7;
    --color-primary-faded: rgba(7, 99, 176, 0.08); /* Faded blue per dettagli (es. badge) */
    --color-text: #172B4D; /* Testo scuro, blu profondo */
    --color-text-light: #505F79;
    --glow-size: 150px; /* Ridotto per mobile */
}

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

html, body {
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
    overflow: hidden; /* Blocca lo scroll per garantire che l'app rimanga ancorata nei 100dvh */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- UI Gems - Blob astratti fluttuanti e lenti nello sfondo --- */
.glow {
    position: absolute;
    width: calc(var(--glow-size) * 1.5);
    height: calc(var(--glow-size) * 1.5);
    background: var(--color-primary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px); /* Ridotto il blur per blob più piccoli */
    opacity: 0.15;
    z-index: 0;
    animation: morphFloat 25s ease-in-out infinite alternate; /* Animazione "poco poco" lenta e fluida */
    pointer-events: none; /* Per non intercettare click */
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: var(--color-primary-light);
}

.glow-2 {
    bottom: -15%;
    right: -10%;
    width: calc(var(--glow-size) * 2);
    height: calc(var(--glow-size) * 2);
    animation-delay: -10s;
    animation-duration: 35s;
    background: var(--color-primary);
}

.glow-3 {
    top: 30%;
    left: 50%;
    width: calc(var(--glow-size) * 1.8);
    height: calc(var(--glow-size) * 1.2);
    background: var(--color-primary-light);
    opacity: 0.15;
    animation-delay: -5s;
    animation-duration: 30s;
}

@keyframes morphFloat {
    0% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    100% { 
        transform: translate(30px, 50px) scale(1.05) rotate(15deg); 
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* --- Layout Container --- */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100dvh;
    padding: 2.5rem 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header & Logo --- */
/* MOBILE FIRST: Centrato verticale su mobile */
header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    /* Drop shadow elegante e sottile */
    filter: drop-shadow(0 4px 10px rgba(7, 99, 176, 0.1));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Hero Section --- */
.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centrato su mobile */
    text-align: center;
    padding: 1rem 0;
}

/* --- Badge in Costruzione (UI Gem) --- */
.badge {
    background-color: var(--color-primary-faded);
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(7, 99, 176, 0.15);
    animation: fadeInDown 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(7, 99, 176, 0.04);
}

/* --- Typography Hero --- */
h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -1.5px;
}

h1 span {
    color: var(--color-text);
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* --- Loader Animation (UI Gem) --- */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.loader {
    width: 45px;
    height: 45px;
    border: 3px solid var(--color-primary-faded);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

/* --- Footer Section --- */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 2rem;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 1s ease-out 1s both;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.footer-info p {
    margin: 0;
}

.footer-info strong {
    color: var(--color-text);
    font-size: 0.95rem;
}

/* --- Animazioni Chiave --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Media Queries: Desktop / Tablet
   ========================================================================== */
@media (min-width: 768px) {
    .container {
        padding: 3.5rem 4.5rem;
    }
    
    /* Layout spostato a sinistra per risoluzioni maggiori */
    header {
        justify-content: flex-start; 
        margin-bottom: 2rem;
    }
    
    .logo {
        max-height: 3.5rem; /* ~56px, leggermente più piccolo e in rem */
    }

    .hero {
        align-items: flex-start;
        text-align: left;
    }
    
    .hero p {
        margin: 0 0 3.5rem 0; /* Rimuove auto-margin centrale */
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 5rem;
    }
    
    .loader-container {
        justify-content: flex-start;
    }

    footer {
        text-align: left;
    }
    
    .footer-info {
        flex-direction: row;
        gap: 0; 
        flex-wrap: wrap;
        align-items: center;
    }
    
    /* Separatori puntati per desktop tra le info del footer */
    .footer-info p:not(:last-child)::after {
        content: "•";
        margin: 0 1.5rem;
        color: rgba(23, 43, 77, 0.3);
    }
}
