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

        :root {
            --primary: #8B2FC9;
            --secondary: #00D9FF;
            --dark: #0A0520;
            --darker: #1a0b3d;
            --light: #F8F9FC;
            --accent: #E91E8C;
            --magenta: #D946EF;
            --cyan: #00D9FF;
            --text: #2D3748;
            --text-light: #718096;
        }

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

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

        /* Header & Navigation */
        header {
            background: linear-gradient(135deg, var(--dark) 0%, #1a0b3d 50%, #0a2847 100%);
            color: white;
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(139, 47, 201, 0.3);
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(217, 70, 239, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
                repeating-linear-gradient(90deg, transparent 0px, transparent 40px, rgba(0, 217, 255, 0.03) 40px, rgba(0, 217, 255, 0.03) 41px),
                repeating-linear-gradient(0deg, transparent 0px, transparent 40px, rgba(217, 70, 239, 0.03) 40px, rgba(217, 70, 239, 0.03) 41px);
            opacity: 0.6;
        }

        header::after {
            content: '';
            position: absolute;
            top: -50%;
            right: 10%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 1;
        }
		
		.dim {
			width: 150px;
			height: auto
		}

        .logo {
            font-family: 'Space Mono', monospace;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -1px;
			text-align: center;
			}

        .logo span {
            color: var(--accent);
        }

        /* Hero Section with Contact Form */
        .hero {
            background: linear-gradient(135deg, #0a0520 0%, #1a0b3d 50%, #0a2847 100%);
            color: white;
            padding: 40px 0;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -5%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(217, 70, 239, 0.25) 0%, transparent 60%);
            animation: pulse 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -5%;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 60%);
            animation: pulse 10s ease-in-out infinite reverse;
        }

        /* Circuit board pattern overlay */
        .hero-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                repeating-linear-gradient(90deg, transparent 0px, transparent 60px, rgba(0, 217, 255, 0.08) 60px, rgba(0, 217, 255, 0.08) 61px),
                repeating-linear-gradient(0deg, transparent 0px, transparent 60px, rgba(217, 70, 239, 0.08) 60px, rgba(217, 70, 239, 0.08) 61px);
            opacity: 0.4;
            pointer-events: none;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.1); opacity: 0.5; }
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-text h1 {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #ffffff 0%, #00D9FF 50%, #D946EF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text p {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .hero-text .subtitle {
            font-family: 'Space Mono', monospace;
            font-size: 14px;
            color: var(--magenta);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 15px;
            text-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
        }

        /* Contact Form */
        .contact-form {
            background: rgba(10, 5, 32, 0.6);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px;
            border: 2px solid rgba(0, 217, 255, 0.3);
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 60px rgba(217, 70, 239, 0.05);
            position: relative;
            overflow: hidden;
        }

        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
        }

        .contact-form h2 {
            font-size: 28px;
            margin-bottom: 10px;
            color: white;
        }

        .contact-form .form-subtitle {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 30px;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid rgba(0, 217, 255, 0.3);
            background: rgba(10, 5, 32, 0.6);
            border-radius: 10px;
            color: white;
            font-size: 16px;
            font-family: 'DM Sans', sans-serif;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--cyan);
            background: rgba(0, 217, 255, 0.08);
            box-shadow: 
                0 0 0 3px rgba(0, 217, 255, 0.1),
                0 0 20px rgba(0, 217, 255, 0.2);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--magenta) 0%, var(--accent) 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 10px 30px rgba(217, 70, 239, 0.5),
                0 0 40px rgba(217, 70, 239, 0.3);
        }

        /* About Section */
        .about {
            padding: 100px 0;
            background: white;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-bottom: 60px;
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 
                0 20px 60px rgba(0, 217, 255, 0.2),
                0 0 60px rgba(217, 70, 239, 0.1);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 3px solid transparent;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--cyan), var(--magenta)) border-box;
            -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 1;
        }

        .feature-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 20px;
            transition: transform 0.4s ease;
        }

        .about-image:hover .feature-image {
            transform: scale(1.05);
        }

        .about-highlights-section {
            margin-top: 40px;
        }

        .about-text h2 {
            font-size: 42px;
            color: var(--dark);
            margin-bottom: 25px;
            line-height: 1.2;
        }

        .about-text p {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        .about-highlights {
            display: grid;
            gap: 20px;
            margin-top: 40px;
        }

        .highlight-card {
            background: linear-gradient(135deg, #f8f9fc 0%, #e9ecf8 100%);
            padding: 25px;
            border-radius: 15px;
            border-left: 4px solid var(--cyan);
            box-shadow: 0 4px 15px rgba(0, 217, 255, 0.1);
            transition: all 0.3s ease;
        }

        .highlight-card:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 25px rgba(0, 217, 255, 0.15);
        }

        .highlight-card h3 {
            color: var(--cyan);
            font-size: 18px;
            margin-bottom: 8px;
        }

        .highlight-card p {
            font-size: 16px;
            color: var(--text);
            margin: 0;
        }

        /* Products Section */
        .products {
            padding: 100px 0;
            background: linear-gradient(180deg, var(--light) 0%, white 100%);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 42px;
            color: var(--dark);
            margin-bottom: 15px;
        }

        .section-header p {
            font-size: 18px;
            color: var(--text-light);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .featured-product {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            padding: 0;
            overflow: hidden;
        }

        .product-image {
            position: relative;
            height: 100%;
            min-height: 400px;
        }

        .product-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .product-content {
            padding: 35px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media (max-width: 968px) {
            .featured-product {
                grid-column: 1;
                grid-template-columns: 1fr;
            }
            
            .product-image {
                min-height: 300px;
            }
        }

        .product-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--cyan), var(--magenta));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 
                0 20px 60px rgba(0, 217, 255, 0.15),
                0 0 40px rgba(217, 70, 239, 0.1);
            border-color: var(--cyan);
        }

        .product-card:hover::before {
            transform: scaleX(1);
        }

        .product-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 20px;
            color: white;
            box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
        }

        .product-card h3 {
            font-size: 24px;
            color: var(--dark);
            margin-bottom: 15px;
        }

        .product-card .tagline {
            font-size: 14px;
            color: var(--magenta);
            font-weight: 600;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .product-card p {
            color: var(--text-light);
            font-size: 16px;
            line-height: 1.7;
        }

        /* CTA Section */
        .cta {
            padding: 80px 0;
            background: linear-gradient(135deg, #0a0520 0%, #1a0b3d 50%, #0a2847 100%);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle at 30% 50%, rgba(217, 70, 239, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%);
        }

        @keyframes moveGrid {
            0% { transform: translate(0, 0); }
            100% { transform: translate(40px, 40px); }
        }

        .cta-content {
            position: relative;
            z-index: 1;
        }

        .cta h2 {
            font-size: 42px;
            margin-bottom: 20px;
        }

        .cta p {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .cta-btn {
            display: inline-block;
            padding: 18px 40px;
            background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
            color: white;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 
                0 15px 40px rgba(0, 217, 255, 0.4),
                0 0 60px rgba(217, 70, 239, 0.3);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0;
            text-align: center;
        }

        footer p {
            margin-bottom: 10px;
        }

        footer .company-name {
            color: white;
            font-weight: 600;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero-content,
            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .about-image {
                order: -1;
            }

            .hero-text h1 {
                font-size: 36px;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }

            .contact-form {
                padding: 30px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-in {
            animation: fadeInUp 0.8s ease forwards;
        }
		




/* Alert Styles */
.text-success {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 2px solid var(--cyan);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 
        0 8px 25px rgba(0, 217, 255, 0.2),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
    animation: slideInDown 0.5s ease;
}

.text-success strong {
    color: var(--cyan);
    font-size: 17px;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.text-danger {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.15) 0%, rgba(233, 30, 140, 0.05) 100%);
    border: 2px solid var(--magenta);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 
        0 8px 25px rgba(217, 70, 239, 0.2),
        inset 0 0 40px rgba(217, 70, 239, 0.05);
    animation: slideInDown 0.5s ease;
}

.text-danger strong {
    color: var(--magenta);
    font-size: 17px;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}

/* Animazione per gli alert */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}








/* ─── Clienti Section ─── */
.clienti {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
    overflow: hidden;
}

.clienti .section-header {
    margin-bottom: 70px;
}

.clienti .section-header h2 {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 15px;
}

.clienti .section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* Maschera laterale con fade */
.clienti-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 18px 0;
}

.clienti-track-wrapper::before,
.clienti-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.clienti-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.clienti-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* Binario scorrevole */
.clienti-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}

.clienti-track--reverse {
    animation: scrollRight 45s linear infinite;
}

.clienti-track:hover {
    animation-play-state: paused;
}

/* Contenitore dei logo */
.clienti-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

/* Singolo logo */
.clienti-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    background: #fff;
    border-radius: 14px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.clienti-logo-item:hover {
    border-color: var(--cyan);
    box-shadow:
        0 8px 30px rgba(0, 217, 255, 0.2),
        0 0 20px rgba(217, 70, 239, 0.1);
    transform: translateY(-4px);
}

.clienti-logo-item img {
    max-width: 75%;
    max-height: 65%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.35s ease;
}

.clienti-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Keyframes scorrimento */
@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}







.privacy-group {
    margin-bottom: 10px;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    appearance: none;
    background: rgba(10, 5, 32, 0.6);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-label input[type="checkbox"]:checked {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.privacy-label input[type="checkbox"]:checked::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0520;
    font-weight: 700;
    font-size: 14px;
}

.privacy-label a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 217, 255, 0.4);
    transition: all 0.3s ease;
}

.privacy-label a:hover {
    color: var(--magenta);
    border-color: var(--magenta);
}