/* SafeFleet Page Styles */

:root {
    --safefleet-primary: #51E87D;
    --safefleet-secondary: #3dd46d;
    --safefleet-accent: #6bff8f;
    --safefleet-dark: #1e293b;
}

.safefleet-page {
    background: #ffffff;
    overflow-x: clip;
    width: 100%;
}

.safefleet-page h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--safefleet-dark);
}

/* Hero Section */
.safefleet-hero {
    background: linear-gradient(135deg, var(--safefleet-primary), var(--safefleet-secondary));
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.safefleet-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.3;
}


.safefleet-logo {
    margin-bottom: 30px;
}

.safefleet-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.safefleet-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.safefleet-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Overview Section */
.safefleet-overview {
    padding: 80px 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.safefleet-overview .lead-text {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #444;
    font-weight: 400;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.safefleet-section {
    padding: 60px 1rem;
    margin-bottom: 40px;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.section-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.problema-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.soluzione-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.section-icon i {
    font-size: 2.5rem;
    color: white;
}

.section-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--safefleet-dark);
}

.section-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    font-size: 1.1rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--safefleet-primary);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Features Grid */
.safefleet-features {
    padding: 80px 1rem;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--safefleet-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(81, 232, 125, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--safefleet-primary), var(--safefleet-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--safefleet-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Screenshots Section */
.safefleet-screenshots {
    padding: 80px 1rem;
    background: #f8f9fa;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.screenshot-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(81, 232, 125, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid var(--safefleet-primary);
}

.screenshot-item p {
    padding: 20px;
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin: 0;
}

/* Results Section */
.safefleet-results {
    padding: 80px 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #51E87D;
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: var(--safefleet-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    transform: translateY(-5px);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--safefleet-primary), var(--safefleet-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.result-icon i {
    font-size: 1.8rem;
    color: white;
}

.result-card h3 {
    font-size: 1.3rem;
    color: var(--safefleet-dark);
    margin-bottom: 12px;
}

.result-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* CTA Section */
.safefleet-cta {
    padding: 80px 0;
}

.safefleet-cta h2 {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .safefleet-hero h1 {
        font-size: 2.8rem;
    }
    
    .safefleet-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .safefleet-page h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .safefleet-hero {
        padding: 80px 20px 60px;
    }
    
    .safefleet-hero h1 {
        font-size: 2.2rem;
    }
    
    .safefleet-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .safefleet-logo img {
        height: 60px;
    }
    
    .hero-tags .tag {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .safefleet-page h2 {
        font-size: 1.8rem;
    }
    
    .safefleet-overview,
    .safefleet-section,
    .safefleet-features,
    .safefleet-screenshots,
    .safefleet-results {
        padding: 40px 0.75rem;
    }
    
    .section-content,
    .safefleet-overview .lead-text {
        padding: 30px 20px;
    }
    
    .features-grid,
    .screenshots-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .safefleet-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-tags {
        gap: 10px;
    }
    
    .hero-tags .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
