/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9fbfd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    color: #003366; /* Blu scuro professionale */
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff 0%, #e6f0ff 100%);
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-buttons img {
    height: 50px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Caratteristiche */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Prezzi */
.pricing {
    background-color: #fff;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background-color: #f9fbfd;
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #eee;
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #007bff;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 30px;
}

.pricing-card .price span {
    font-size: 18px;
    color: #888;
    font-weight: 400;
}

.pricing-card ul {
    margin-bottom: 40px;
    text-align: left;
    display: inline-block;
}

.pricing-card li {
    margin-bottom: 10px;
    color: #555;
}

.pricing-card li strong {
    color: #28a745; /* Verde per il risparmio */
}

.btn-card {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
}

.pricing-card:not(.featured) .btn-card {
    background-color: #888;
}

.btn-card:hover {
    opacity: 0.9;
}

.pricing-note {
    text-align: center;
    color: #888;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ */
.faq-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.faq-item ol {
    margin-left: 20px;
}

.faq-item li {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #003366;
    color: rgba(255,255,255,0.8);
    padding: 40px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav ul {
    display: flex;
    gap: 20px;
}

footer nav a:hover {
    color: #fff;
}

/* Responsività */
@media (max-width: 768px) {
    h2 { font-size: 28px; }
    .hero-text h1 { font-size: 32px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .cta-buttons { justify-content: center; flex-wrap: wrap; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
/* Stili pagine legali */
.legal-content h1 { text-align: center; margin-bottom: 10px; }
.legal-content .last-updated { text-align: center; color: #888; margin-bottom: 40px; }
.legal-content h3 { margin-top: 30px; margin-bottom: 10px; }
.legal-content p, .legal-content ul { margin-bottom: 15px; color: #555; }
.legal-content ul { margin-left: 20px; list-style-type: disc; }