:root {
    --primary-color: #1e3a8a; /* Blu profondo e professionale */
    --secondary-color: #3b82f6; /* Blu accento */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --wa-green: #25d366;
    --wa-green-hover: #1da851;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
}

header .logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-modern {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 4rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-modern h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.hero-modern h2 {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #334155;
}

.hero-description {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Pulsanti */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-whatsapp {
    background-color: var(--wa-green);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--wa-green-hover);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.hero-credentials {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section, .services-preview {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.features-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card, .service-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.link-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.cta-banner h2 {
    margin-top: 0;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
}

footer strong {
    color: white;
}

footer .copy {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #64748b;
}

/* WhatsApp Widget Fluttuante */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--wa-green);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}