﻿/* IMPORT FONT MODERNO */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.fw-black {
    font-weight: 900;
}

.text-accent {
    color: #ffc107;
    text-shadow: 0px 2px 10px rgba(255, 193, 7, 0.3);
}

/* === NAVBAR FLUTTUANTE === */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.brand-text {
    letter-spacing: -0.5px;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 90vh; /* Leggermente meno di tutto lo schermo per mostrare cosa c'è sotto */
    min-height: 600px;
    /* ASSICURATI CHE L'IMMAGINE ESISTA E SIA AL POSTO GIUSTO NELLA CARTELLA WWWROOT */
    background: url('logo_a4a.jpg') no-repeat center center;
    background-size: cover;
}

/* Scurisce l'immagine per far leggere il testo bianco */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 31, 84, 0.7) 0%, rgba(13, 110, 253, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Deve stare SOPRA l'overlay */
}

/* Effetti di animazione al caricamento */
.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === FEATURES === */
.section-features {
    position: relative;
    z-index: 3; /* Sorpassa l'hero */
    background-color: #f8f9fa;
    margin-top: -30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.feature-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        border-color: #0d6efd;
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* === PRICING === */
.pricing-card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .pricing-list li {
        margin-bottom: 15px;
        font-size: 0.95rem;
        color: #495057;
    }

    .pricing-list i {
        margin-right: 10px;
        font-size: 1.1rem;
    }

/* Il Piano Consigliato */
.pricing-card.popular {
    transform: scale(1.08); /* Lo fa apparire più grande */
    z-index: 2;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FOOTER === */
.footer-custom {
    background: linear-gradient(135deg, #0a2e5c 0%, #0d6efd 100%);
}

/* === EFFETTI === */
.hover-scale {
    transition: transform 0.2s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

/* Responsive per la card PRO (sui telefoni non la ingrandiamo) */
@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}