/* Stile generale */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --accent-color: #f44336;
    --dark-color: #263238;
    --light-color: #ffffff;
    --gray-bg: #f5f5f5;
    --text-color: #333333;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-bg: rgba(255, 255, 255, 0.95);
}

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

body {
    font-family: 'Lato', 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header e navigazione */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.btn {
    background: var(--accent-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    background: #d32f2f;
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-content {
    color: var(--light-color);
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    color: var(--light-color);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-shape {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-shape:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    z-index: -1;
}

.feature-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
}

/* How It Works */
.how-it-works {
    background-color: var(--gray-bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.step-number {
    background: var(--gradient);
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

/* Technology */
.tech {
    background-color: var(--light-color);
}

.tech-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tech-content {
    flex: 1;
}

.tech-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-list {
    margin-top: 30px;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tech-list li svg {
    margin-right: 15px;
    min-width: 24px;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: var(--light-color);
}

.cta h2:after {
    background: var(--light-color);
    left: 50%;
    transform: translateX(-50%);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn {
    background: var(--light-color);
    color: var(--dark-color);
}

.cta .btn:hover {
    background: var(--gray-bg);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 200px;
}

.footer-logo svg {
    width: 150px;
    height: auto;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-icon {
    display: inline-block;
    margin-top: 15px;
    width: 40px;
    height: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-shape {
        opacity: 0.5;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-container {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--light-color);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
}
