/* body opacity gestito in templates/base.html con fallback di sicurezza */

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-light);
        }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 5px;
            border: 2px solid var(--bg-light);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #1d4ed8, #6d28d9);
        }

        /* Selection color */
        ::selection {
            background: rgba(37, 99, 235, 0.2);
            color: var(--text-primary);
        }
        ::-moz-selection {
            background: rgba(37, 99, 235, 0.2);
            color: var(--text-primary);
        }

        /* Focus visible */
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
            border-radius: 4px;
        }
    


        /* Skip to content for accessibility */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 12px 24px;
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
            z-index: 10000;
            transition: top 0.3s ease;
        }

        .skip-link:focus {
            top: 0;
        }

        :root {
            --primary: #2563eb;
            --primary-light: #3b82f6;
            --primary-dark: #1d4ed8;
            --secondary: #6366f1;
            --accent: #0ea5e9;
            --accent-alt: #f59e0b;
            --accent-warm: #f97316;
            --success: #10b981;
            --error: #ef4444;
            --bg-light: #f8fafc;
            --bg-dark: #0f172a;
            --bg-darker: #020617;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
            --radius: 16px;
            --radius-sm: 12px;
            --radius-lg: 20px;
            --radius-full: 50px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            color: var(--text-primary);
            background: var(--bg-light);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Typography base */
        h1, h2, h3, h4, h5, h6 {
            line-height: 1.15;
            letter-spacing: -0.03em;
        }

        h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
        h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
        h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
        h4 { font-size: 1.125rem; font-weight: 600; }

        p { line-height: 1.7; }

        /* Focus states for accessibility */
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
        }

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

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 0;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navbar.scrolled {
            padding: 12px 0;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: var(--shadow-md);
            border-bottom-color: var(--border);
        }

        /* Language Selector */
        .lang-selector {
            position: relative;
        }

        .lang-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.875rem;
        }

        .lang-btn:hover {
            background: var(--bg-light);
            border-color: var(--primary);
        }

        .lang-flag {
            font-size: 1.1rem;
        }

        .lang-code {
            font-weight: 500;
            color: var(--text-secondary);
        }

        .lang-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            min-width: 150px;
            background: white;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-lg);
            padding: 8px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1002;
            margin-top: 8px;
        }

        .lang-selector:hover .lang-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.9rem;
            transition: background 0.2s ease;
        }

        .lang-option:hover {
            background: rgba(37, 99, 235, 0.08);
        }

        .lang-option.active {
            color: var(--primary);
            font-weight: 600;
        }

        .lang-option .lang-flag {
            font-size: 1.2rem;
        }

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

        .logo {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            line-height: 0;
        }

        .logo-wordmark {
            height: 52px;
            width: auto;
            max-width: min(320px, 62vw);
            object-fit: contain;
            display: block;
        }

        .logo-wordmark--footer {
            height: 56px;
            max-width: 340px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
        }

        .nav-item {
            position: relative;
        }

        .nav-item > a {
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            isolation: isolate;
        }

        /* Animated highlight pill (background) */
        .nav-item > a::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.10));
            border-radius: 10px;
            opacity: 0;
            transform: scale(0.85);
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: -1;
        }

        /* Animated underline */
        .nav-item > a::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
            transform: translateX(-50%);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-item > a:hover,
        .nav-item > a.active {
            color: var(--primary);
            transform: translateY(-1px);
        }

        .nav-item > a:hover::before,
        .nav-item > a.active::before {
            opacity: 1;
            transform: scale(1);
        }

        .nav-item > a:hover::after,
        .nav-item > a.active::after {
            width: calc(100% - 32px);
        }

        /* Chevron icon */
        .nav-item > a i[data-lucide="chevron-down"] {
            margin-left: 4px;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .nav-item:hover > a i[data-lucide="chevron-down"] {
            transform: rotate(180deg) translateY(1px);
        }

        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 300px;
            background: white;
            border-radius: 14px;
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.04),
                0 0 0 1px rgba(0, 0, 0, 0.02);
            padding: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px) scale(0.96);
            transform-origin: top left;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 1001;
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
        }

        .nav-item:hover .dropdown,
        .nav-item:focus-within .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .dropdown a {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 12px 14px;
            border-radius: 10px;
            color: var(--text-primary);
            font-weight: 500;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .dropdown a:hover {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.06));
            color: var(--primary);
            transform: translateX(4px);
        }

        .dropdown a i {
            width: 20px;
            height: 20px;
            color: var(--primary);
            margin-top: 2px;
            flex-shrink: 0;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .dropdown a:hover i {
            transform: scale(1.15) rotate(-5deg);
        }

        .dropdown a .dropdown-service-icon {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            margin-top: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--bg-light), white);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dropdown a:hover .dropdown-service-icon {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
            border-color: var(--primary);
            transform: scale(1.1);
        }

        .dropdown a .dropdown-service-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .dropdown a strong {
            display: block;
            margin-bottom: 2px;
        }

        .dropdown a p {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin: 0;
            line-height: 1.4;
        }

        .dropdown-divider {
            height: 1px;
            background: var(--border);
            margin: 8px 0;
        }

        .dropdown-group-label {
            padding: 10px 20px 6px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-secondary);
        }

        /* Submenu laterale per Innovazione Tech dentro il dropdown Servizi */
        .dropdown-item-submenu {
            position: relative;
        }
        .dropdown-item-submenu .submenu-chevron {
            margin-left: auto;
            color: var(--text-secondary);
            opacity: 0.6;
            transition: transform 0.2s, opacity 0.2s;
        }
        .dropdown-item-submenu:hover .submenu-chevron,
        .dropdown-item-submenu:focus-within .submenu-chevron {
            opacity: 1;
            transform: translateX(2px);
        }
        .dropdown-submenu {
            position: absolute;
            left: 100%;
            top: 0;
            min-width: 320px;
            max-width: 360px;
            background: white;
            border-radius: 14px;
            box-shadow: 0 14px 44px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
            padding: 8px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateX(8px);
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
            z-index: 1100;
            border: 1px solid var(--border);
        }
        .dropdown-item-submenu:hover > .dropdown-submenu,
        .dropdown-item-submenu:focus-within > .dropdown-submenu {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }
        .dropdown-submenu-title {
            padding: 10px 20px 6px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-secondary);
        }
        .dropdown-submenu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 20px;
            color: var(--text-primary);
            font-size: 0.88rem;
            border-left: 3px solid transparent;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
        }
        .dropdown-submenu a:hover,
        .dropdown-submenu a:focus-visible {
            background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), transparent);
            border-left-color: #7c3aed;
            color: #6d28d9;
        }
        .dropdown-submenu a i {
            color: #7c3aed;
            flex-shrink: 0;
        }
        .dropdown-submenu a:hover i,
        .dropdown-submenu a:focus-visible i {
            color: #6d28d9;
        }
        @media (max-width: 1024px) {
            .dropdown-submenu {
                position: static;
                min-width: 0;
                max-width: 100%;
                box-shadow: none;
                border: none;
                border-left: 2px solid rgba(124, 58, 237, 0.25);
                border-radius: 0;
                margin: 4px 12px 8px 32px;
                padding: 4px 0;
                opacity: 1;
                visibility: visible;
                transform: none;
                background: transparent;
            }
            .dropdown-item-submenu .submenu-chevron {
                display: none;
            }
        }

        .mobile-menu .mobile-submenu .mobile-submenu-heading {
            list-style: none;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-secondary);
            padding: 10px 0 4px;
            margin-top: 4px;
        }

        .mobile-menu .mobile-submenu .mobile-submenu-divider {
            list-style: none;
            height: 1px;
            background: var(--border);
            margin: 10px 0 12px;
            padding: 0;
        }

        .mobile-menu > ul > li > .mobile-submenu-heading--group {
            display: block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-secondary);
            padding: 8px 0 4px;
            margin: 0;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 36px);
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: clamp(0.875rem, 1.2vw, 1rem);
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            isolation: isolate;
        }

        /* Ripple click */
        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
            z-index: -1;
        }

        .btn:active::before {
            width: 400px;
            height: 400px;
        }

        /* Shine sweep on hover */
        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
            pointer-events: none;
        }

        .btn:hover::after {
            left: 150%;
        }

        /* Animated arrow inside button */
        .btn i {
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .btn:hover i {
            transform: translateX(3px);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            box-shadow:
                0 4px 14px rgba(37, 99, 235, 0.35),
                0 0 0 1px rgba(37, 99, 235, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow:
                0 12px 30px rgba(37, 99, 235, 0.45),
                0 4px 12px rgba(124, 58, 237, 0.25),
                0 0 0 1px rgba(37, 99, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            background: linear-gradient(135deg, #1d4ed8, #6d28d9);
        }

        .btn-primary:active {
            transform: translateY(-1px) scale(0.98);
            transition-duration: 0.1s;
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(4px);
        }

        .btn-secondary:hover {
            background: white;
            color: var(--primary);
            border-color: white;
            transform: translateY(-2px);
        }

        .btn-secondary:active {
            transform: translateY(0) scale(0.98);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            position: relative;
            z-index: 1;
        }

        .btn-outline::after {
            background: linear-gradient(
                90deg,
                transparent,
                rgba(37, 99, 235, 0.2),
                transparent
            );
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow:
                0 8px 24px rgba(37, 99, 235, 0.35),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
        }

        .btn-outline:active {
            transform: translateY(-1px) scale(0.98);
            transition-duration: 0.1s;
        }

        .btn-whatsapp {
            background: #25D366;
            color: white;
            box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
        }

        .btn-whatsapp:hover {
            background: #20BD5A;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        }

        .btn-whatsapp:active {
            transform: translateY(0) scale(0.98);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 120px 0 80px;
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #2563eb 50%, #3b82f6 75%, #0ea5e9 100%);
            background-size: 200% 200%;
            animation: gradientShift 15s ease infinite;
            overflow: hidden;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 40%);
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Hero split with image */
        .hero--with-image {
            padding: 120px 0 80px;
            background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
        }
        .hero--with-image .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .hero--with-image .hero-text {
            text-align: left;
        }
        .hero--with-image .hero-text h1 {
            color: var(--text-primary);
            text-shadow: none;
        }
        .hero--with-image .hero-text h1 span {
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero--with-image .hero-text p {
            color: var(--text-secondary);
        }
        .hero--with-image .hero-image {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.10);
            aspect-ratio: 16/10;
        }
        .hero--with-image .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .hero--with-image:hover .hero-image img {
            transform: scale(1.05);
        }
        .hero--with-image .hero-image {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .hero--with-image:hover .hero-image {
            box-shadow:
                0 40px 80px rgba(0,0,0,0.20),
                0 12px 30px rgba(0,0,0,0.12);
            transform: translateY(-4px);
        }
        .hero--with-image .hero-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
            pointer-events: none;
        }
        @media (max-width: 900px) {
            .hero--with-image .container {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .hero--with-image .hero-text {
                text-align: center;
            }
        }

        /* Section with side image */
        .section-with-image {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin: 60px 0;
        }
        .section-with-image .section-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
            aspect-ratio: 4/3;
        }
        .section-with-image .section-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        .section-with-image:hover .section-image img {
            transform: scale(1.04);
        }
        .section-with-image.reverse {
            grid-template-columns: 1fr 1fr;
        }
        .section-with-image.reverse .section-image {
            order: 2;
        }
        @media (max-width: 900px) {
            .section-with-image, .section-with-image.reverse {
                grid-template-columns: 1fr;
            }
            .section-with-image.reverse .section-image {
                order: 0;
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 12px 24px;
            border-radius: 50px;
            margin-bottom: 32px;
            font-size: 0.9rem;
            font-weight: 500;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            50% { box-shadow: 0 4px 30px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
        }

        .hero-badge i {
            width: 18px;
            height: 18px;
            color: #fbbf24;
            filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 800;
            color: white;
            margin-bottom: 28px;
            line-height: 1.05;
            letter-spacing: -0.04em;
            text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        .hero h1 span {
            background: linear-gradient(135deg, #fbbf24, #f59e0b, #f97316);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
        }

        .hero p {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            max-width: 680px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.75;
            letter-spacing: -0.01em;
        }

        .hero-subline {
            font-size: clamp(0.95rem, 1.5vw, 1.05rem);
            color: rgba(255, 255, 255, 0.78);
            max-width: 720px;
            margin: 0 auto 40px;
            line-height: 1.65;
            font-weight: 500;
        }

        .hero-subline strong {
            color: rgba(255, 255, 255, 0.95);
            font-weight: 600;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.75rem;
            animation: bounce 2s infinite;
        }

        .scroll-indicator i {
            width: 24px;
            height: 24px;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
        }

        .floating-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
            animation: float 6s ease-in-out infinite;
        }

        .floating-circle:nth-child(1) {
            width: 300px;
            height: 300px;
            background: #fbbf24;
            top: 10%;
            left: -100px;
            animation-delay: 0s;
        }

        .floating-circle:nth-child(2) {
            width: 200px;
            height: 200px;
            background: #f59e0b;
            top: 60%;
            right: -50px;
            animation-delay: 2s;
        }

        .floating-circle:nth-child(3) {
            width: 150px;
            height: 150px;
            background: white;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        /* Section Styles */
        section {
            padding: clamp(60px, 10vw, 120px) 0;
        }

        .section-header {
            text-align: center;
            max-width: 720px;
            margin: 0 auto clamp(40px, 6vw, 72px);
        }

        .section-header h2 {
            font-size: clamp(1.875rem, 4vw, 2.75rem);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 16px;
            letter-spacing: -0.03em;
        }

        .section-header p {
            font-size: clamp(1rem, 1.5vw, 1.125rem);
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .section-header--how {
            max-width: 860px;
        }

        .section-header .how-lead,
        .section-header .how-lead-secondary {
            max-width: none;
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Services Section */
        .services {
            background: var(--bg-light);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .service-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 36px);
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

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

        .service-card:hover .service-icon {
            transform: scale(1.05);
        }

        .service-card:hover .service-link i {
            transform: translateX(4px);
        }

        .service-icon {
            width: 64px;
            height: 64px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            transition: transform 0.3s ease;
        }

        .service-icon i {
            width: 32px;
            height: 32px;
            color: white;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-weight: 600;
            transition: gap 0.3s ease;
        }

        .service-link i {
            transition: transform 0.3s ease;
        }

        .service-card h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .service-card p {
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .service-tag {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            padding: 6px 10px;
            border-radius: 6px;
            margin-bottom: 14px;
            border: 1px solid var(--border);
            background: var(--bg-light);
            color: var(--text-secondary);
        }

        .service-tag.tag-dev {
            border-color: rgba(37, 99, 235, 0.35);
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary-dark);
        }

        .service-tag.tag-pro {
            border-color: rgba(99, 102, 241, 0.35);
            background: rgba(99, 102, 241, 0.08);
            color: var(--secondary);
        }

        .service-tag.tag-web {
            border-color: rgba(14, 165, 233, 0.35);
            background: rgba(14, 165, 233, 0.08);
            color: #0369a1;
        }

        .service-tag.tag-mobile {
            border-color: rgba(16, 185, 129, 0.35);
            background: rgba(16, 185, 129, 0.08);
            color: #047857;
        }

        .service-tag.tag-infra {
            border-color: rgba(245, 158, 11, 0.4);
            background: rgba(245, 158, 11, 0.1);
            color: #b45309;
        }

        .service-tag.tag-host {
            border-color: rgba(13, 148, 136, 0.4);
            background: rgba(13, 148, 136, 0.1);
            color: #0f766e;
        }

        .service-tag.tag-marketing {
            border-color: rgba(124, 58, 237, 0.45);
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
            color: #6d28d9;
        }

        .service-link {
            color: var(--primary);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        /* Features Section */
        .features {
            background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
        }

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

        .feature-card {
            padding: clamp(24px, 3vw, 40px);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            background: white;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
            border-color: transparent;
        }

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

        .feature-card:hover .feature-icon {
            transform: scale(1.1);
        }

        .feature-card:hover .feature-icon i {
            transform: scale(1.1);
        }

        .feature-icon {
            width: clamp(48px, 6vw, 64px);
            height: clamp(48px, 6vw, 64px);
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .feature-icon i {
            width: clamp(24px, 3vw, 32px);
            height: clamp(24px, 3vw, 32px);
            color: var(--primary);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .feature-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* ServizioSiti specific styles */
        .hero-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 28px;
        }

        .hero-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: white;
            border: 1px solid var(--border);
            border-radius: 999px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-primary);
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.2s ease;
        }
        .hero-chip i {
            width: 16px;
            height: 16px;
            color: var(--primary);
        }
        .hero-chip:hover {
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
        }

        /* Feature tag in card */
        .feature-tag {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--primary);
            background: rgba(37, 99, 235, 0.08);
            padding: 5px 10px;
            border-radius: 999px;
            margin-bottom: 14px;
        }

        /* Feature icon color variants */
        .feature-icon--violet { background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15)) !important; }
        .feature-icon--violet i { color: #8b5cf6 !important; }
        .feature-icon--fuchsia { background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(168, 85, 247, 0.15)) !important; }
        .feature-icon--fuchsia i { color: #d946ef !important; }
        .feature-icon--rose { background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(251, 113, 133, 0.15)) !important; }
        .feature-icon--rose i { color: #f43f5e !important; }
        .feature-icon--amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15)) !important; }
        .feature-icon--amber i { color: #f59e0b !important; }
        .feature-icon--cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(14, 165, 233, 0.15)) !important; }
        .feature-icon--cyan i { color: #06b6d4 !important; }
        .feature-icon--emerald { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15)) !important; }
        .feature-icon--emerald i { color: #10b981 !important; }

        /* Portfolio grid */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(20px, 3vw, 32px);
        }

        .portfolio-item {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
        }

        .portfolio-item:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
            border-color: transparent;
        }

        .portfolio-image {
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .portfolio-image--a {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        }
        .portfolio-image--b {
            background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
        }
        .portfolio-image--c {
            background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
        }

        .portfolio-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
        }

        .portfolio-icon-wrap {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }

        .portfolio-icon-wrap i {
            width: 40px;
            height: 40px;
            color: white;
        }

        .portfolio-content {
            padding: clamp(20px, 2.5vw, 28px);
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .portfolio-content h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .portfolio-lead {
            color: var(--text-secondary);
            font-size: 0.92rem;
            margin-bottom: 16px;
            line-height: 1.6;
        }

        .portfolio-bullets {
            list-style: none;
            padding: 0;
            margin: 0;
            margin-top: auto;
        }

        .portfolio-bullets li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 6px 0;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .portfolio-bullets i {
            width: 18px;
            height: 18px;
            color: #10b981;
            flex-shrink: 0;
            margin-top: 2px;
        }

        /* Process section */
        .process-section {
            background: var(--bg-light);
            padding: 80px 0;
        }

        .process-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(20px, 3vw, 32px);
            position: relative;
        }

        .process-step {
            background: white;
            padding: clamp(24px, 3vw, 36px);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            position: relative;
            transition: all 0.3s ease;
        }

        .process-step:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .process-num {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
        }

        .process-num i {
            width: 26px;
            height: 26px;
            color: white;
        }

        .process-step h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .process-step p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.6;
        }

        /* AI sites section */
        .ai-sites-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8fafc 0%, #ede9fe 100%);
        }

        .ai-lead {
            max-width: 880px;
            margin: 0 auto;
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text-secondary);
            text-align: justify;
            hyphens: auto;
            padding: 0 8px;
        }

        .ai-lead strong {
            color: var(--primary);
            font-weight: 600;
        }

        /* AI features grid (replaces long paragraph) */
        .ai-features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: clamp(20px, 3vw, 32px);
            max-width: 920px;
            margin: 0 auto;
        }

        .ai-feature {
            background: white;
            padding: clamp(20px, 2.5vw, 28px);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(139, 92, 246, 0.15);
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.06);
            display: flex;
            gap: 18px;
            align-items: flex-start;
            transition: all 0.3s ease;
        }

        .ai-feature:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
            border-color: rgba(139, 92, 246, 0.4);
        }

        .ai-feature-icon {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(37, 99, 235, 0.15));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ai-feature-icon i {
            width: 24px;
            height: 24px;
            color: #8b5cf6;
        }

        .ai-feature h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text-primary);
        }

        .ai-feature p {
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.55;
            margin: 0;
        }

        .ai-feature p strong {
            color: var(--primary);
            font-weight: 600;
        }

        @media (max-width: 700px) {
            .ai-features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Pricing */
        .pricing-subscribe-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: clamp(20px, 3vw, 32px);
            max-width: 920px;
            margin: 0 auto;
        }

        .pricing-card {
            background: white;
            padding: clamp(28px, 3vw, 40px);
            border-radius: var(--radius-lg);
            border: 2px solid var(--border);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .pricing-card.popular {
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
            position: relative;
        }

        .pricing-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
        }

        .pricing-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .price {
            margin: 16px 0;
        }

        .price-line {
            display: flex;
            align-items: baseline;
            gap: 4px;
            margin-bottom: 8px;
        }

        .price-amount {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
        }

        .price-period {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .btn-pricing-alt {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-pricing-alt:hover {
            background: var(--primary);
            color: white;
        }

        .pricing-shared-box {
            max-width: 920px;
            margin: 40px auto 0;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(37, 99, 235, 0.05));
            border: 1px dashed rgba(139, 92, 246, 0.3);
            border-radius: var(--radius-lg);
            padding: clamp(20px, 3vw, 32px);
        }

        .pricing-shared-box h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--text-primary);
        }

        .pricing-features {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px 24px;
        }

        .pricing-features li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--text-secondary);
            font-size: 0.92rem;
            padding: 4px 0;
        }

        .pricing-features i {
            width: 18px;
            height: 18px;
            color: #10b981;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .pricing-note-block {
            max-width: 920px;
            margin: 24px auto 0;
            padding: 16px 20px;
            background: rgba(124, 58, 237, 0.04);
            border-left: 4px solid #7c3aed;
            border-radius: 8px;
            font-size: 0.92rem;
            color: var(--text-secondary);
        }

        /* Language switcher */
        .nav-item--lang {
            position: relative;
        }
        .lang-switcher {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 999px;
            cursor: pointer;
            color: var(--text-primary);
            font-size: 0.88rem;
            font-weight: 500;
            transition: all 0.2s ease;
            font-family: inherit;
        }
        .lang-switcher:hover {
            border-color: var(--primary);
            background: rgba(37, 99, 235, 0.06);
        }
        .lang-flag {
            font-size: 1.15rem;
            line-height: 1;
        }
        .lang-code {
            font-weight: 600;
            letter-spacing: 0.04em;
            font-size: 0.78rem;
        }
        .dropdown--lang {
            min-width: 220px;
            right: 0;
            left: auto;
            padding: 6px;
        }
        .dropdown--lang.dropdown--open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .dropdown--lang .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 8px;
            color: var(--text-primary);
            transition: background 0.15s ease;
            position: relative;
        }
        .dropdown--lang .lang-option:hover {
            background: rgba(37, 99, 235, 0.08);
        }
        .dropdown--lang .lang-option--active {
            background: rgba(37, 99, 235, 0.1);
        }
        .dropdown--lang .lang-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }
        .dropdown--lang .lang-info strong {
            font-size: 0.92rem;
            font-weight: 600;
        }
        .dropdown--lang .lang-name-en {
            font-size: 0.72rem;
            color: var(--text-secondary);
            font-weight: 400;
        }
        .dropdown--lang .lang-check {
            color: var(--primary);
        }

        /* Mobile lang selector */
        .mobile-lang-section {
            padding: 12px 0;
        }
        .mobile-lang-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 8px;
        }
        .mobile-lang-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 12px 8px;
            background: rgba(37, 99, 235, 0.05);
            border: 1px solid transparent;
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 0.78rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .mobile-lang-option:hover {
            background: rgba(37, 99, 235, 0.1);
        }
        .mobile-lang-option--active {
            background: rgba(37, 99, 235, 0.15);
            border-color: var(--primary);
        }
        .mobile-lang-option .lang-flag {
            font-size: 1.5rem;
        }

        /* CTA section */
        .cta-section {
            padding: 80px 0;
            text-align: center;
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 50%);
            pointer-events: none;
        }

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

        .cta-section h2 {
            font-size: clamp(2rem, 4vw, 2.8rem);
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-section p {
            max-width: 720px;
            margin: 0 auto 32px;
            font-size: 1.1rem;
            color: rgba(255,255,255,0.92);
            line-height: 1.7;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .portfolio-grid,
            .process-row,
            .pricing-subscribe-grid,
            .pricing-features {
                grid-template-columns: 1fr !important;
            }
            .pricing-features {
                gap: 4px;
            }
            .ai-lead {
                text-align: left;
                hyphens: none;
            }
        }

        /* Stats Section */
        .stats {
            background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
            padding: 80px 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            text-align: center;
        }

        .stat-item {
            color: white;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            display: block;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* Why Us Section */
        .why-us {
            background: linear-gradient(180deg, var(--bg-light) 0%, white 50%, var(--bg-light) 100%);
            position: relative;
        }

        .why-us::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border), transparent);
        }

        .why-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(20px, 3vw, 32px);
        }

        .why-card {
            text-align: center;
            padding: clamp(24px, 3vw, 40px);
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .why-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .why-card:hover .why-icon {
            transform: scale(1.1);
        }

        .why-icon {
            width: clamp(64px, 8vw, 80px);
            height: clamp(64px, 8vw, 80px);
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .why-icon i {
            width: clamp(28px, 3.5vw, 36px);
            height: clamp(28px, 3.5vw, 36px);
            color: var(--primary);
        }

        .why-card h3 {
            font-size: clamp(1.1rem, 1.5vw, 1.25rem);
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .why-card p {
            color: var(--text-secondary);
            font-size: clamp(0.875rem, 1.1vw, 0.95rem);
            line-height: 1.7;
        }

        /* Testimonials Section */
        .testimonials {
            background: var(--bg-light);
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '"';
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 400px;
            color: var(--primary);
            opacity: 0.03;
            font-family: Georgia, serif;
            line-height: 1;
        }

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

        .testimonial-card {
            background: white;
            border-radius: var(--radius);
            padding: 32px;
            border: 1px solid var(--border);
            position: relative;
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 16px;
            right: 24px;
            font-size: 4rem;
            color: var(--primary);
            opacity: 0.1;
            font-family: Georgia, serif;
            line-height: 1;
        }

        .testimonial-text {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .testimonial-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .testimonial-info h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
        }

        .testimonial-info p {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .testimonial-stars {
            margin-bottom: 16px;
            position: relative;
            z-index: 2;
            font-size: 1.15rem;
            line-height: 1;
            letter-spacing: 0.08em;
            color: #f59e0b;
            text-shadow: 0 1px 0 rgba(180, 83, 9, 0.25);
        }

        /* Partners Section */
        .partners {
            background: white;
            padding: 60px 0;
            border-bottom: 1px solid var(--border);
        }

        .partners-title {
            text-align: center;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 32px;
        }

        .partners-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 48px;
            flex-wrap: wrap;
        }

        .partner-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(12px, 2vw, 20px) clamp(20px, 3vw, 32px);
            background: var(--bg-light);
            border-radius: var(--radius-sm);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0.7;
        }

        .partner-logo:hover {
            opacity: 1;
            transform: scale(1.08);
            box-shadow: var(--shadow-md);
        }

        .partner-logo span {
            font-size: clamp(1rem, 1.5vw, 1.25rem);
            font-weight: 700;
            color: var(--text-secondary);
        }

        .partner-logo.tech { background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1)); }
        .partner-logo.tech span { color: var(--primary); }

        .partner-logo.retail { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1)); }
        .partner-logo.retail span { color: var(--success); }

        .partner-logo.finance { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1)); }
        .partner-logo.finance span { color: var(--accent-alt); }

        /* AI Models Section */
        .ai-models {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
            padding: clamp(60px, 8vw, 100px) 0;
            overflow: hidden;
            position: relative;
        }

        .ai-models::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
        }

        .ai-models .section-header h2 {
            color: white;
        }

        .ai-models .section-header p {
            color: rgba(255, 255, 255, 0.7);
        }

        .ai-models-title {
            text-align: center;
            font-size: 0.875rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-bottom: 40px;
            position: relative;
            z-index: 1;
        }

        .ai-models-slider {
            position: relative;
            z-index: 1;
            display: flex;
            overflow: hidden;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .ai-models-track {
            display: flex;
            gap: 32px;
            animation: scroll-logos 30s linear infinite;
        }

        @keyframes scroll-logos {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 16px)); }
        }

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

        .ai-model-logo {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 20px 32px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            min-width: 200px;
        }

        .ai-model-logo:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(37, 99, 235, 0.5);
            transform: scale(1.05);
        }

        /* Loghi brand: Simple Icons (MIT) — https://simpleicons.org */
        .ai-model-logo .ai-brand-img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            flex-shrink: 0;
            filter: brightness(0) invert(1);
            opacity: 0.92;
        }

        .ai-model-logo span {
            font-size: 1rem;
            font-weight: 600;
            color: white;
            white-space: nowrap;
        }

        .ai-models-note {
            text-align: center;
            margin-top: 32px;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.4);
            position: relative;
            z-index: 1;
        }

        /* FAQ Section */
        .faq {
            background: var(--bg-light);
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            background: white;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: var(--shadow);
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question i {
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 12px;
            color: var(--text-secondary);
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
        }

        .faq-answer p {
            padding: 0 24px 20px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Newsletter Section */
        .newsletter {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .newsletter::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 60%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        }

        .newsletter-content {
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }

        .newsletter h2 {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 16px;
        }

        .newsletter p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 32px;
            font-size: 1.1rem;
        }

        .newsletter-form {
            display: flex;
            gap: 12px;
            max-width: 480px;
            margin: 0 auto;
        }

        .newsletter-form input {
            flex: 1;
            padding: 14px 20px;
            border: none;
            border-radius: var(--radius-full);
            font-size: 1rem;
            background: white;
            color: var(--text-primary);
            outline: none;
        }

        .newsletter-form input::placeholder {
            color: var(--text-secondary);
        }

        .newsletter-form button {
            padding: 14px 28px;
            background: var(--bg-dark);
            color: white;
            border: none;
            border-radius: var(--radius-full);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .newsletter-form button:hover {
            background: #1e293b;
            transform: translateY(-2px);
        }

        .newsletter-note {
            margin-top: 16px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .newsletter-success {
            display: none;
            color: white;
            font-weight: 600;
            padding: 16px;
            background: rgba(16, 185, 129, 0.2);
            border-radius: var(--radius-sm);
            margin-top: 16px;
        }

        /* How It Works Section */
        .how-it-works {
            background: white;
        }

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

        .steps-grid::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 15%;
            right: 15%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 0;
        }

        .step-card {
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .step-number {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            font-size: 2rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
            transition: transform 0.3s ease;
        }

        .step-card:hover .step-number {
            transform: scale(1.1);
        }

        .step-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .step-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .how-lead {
            font-size: clamp(1.05rem, 1.8vw, 1.15rem);
            color: var(--text-secondary);
            line-height: 1.75;
            max-width: 800px;
            margin: 0 auto 12px;
        }

        .how-lead strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .how-lead-secondary {
            font-size: 0.98rem;
            color: var(--text-muted);
            max-width: 720px;
            margin: 0 auto 40px;
            line-height: 1.65;
        }

        .how-highlight {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 6px;
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary-dark);
            font-weight: 600;
        }

        .how-path-block {
            background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
            border: 1px solid rgba(37, 99, 235, 0.12);
            border-radius: var(--radius-lg);
            padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 36px) clamp(36px, 5vw, 48px);
            margin-bottom: clamp(40px, 6vw, 56px);
        }

        .how-path-header {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 28px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(37, 99, 235, 0.12);
        }

        .how-path-header-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
        }

        .how-path-header-icon i {
            width: 24px;
            height: 24px;
            color: white;
        }

        .how-path-header-text h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 8px;
            letter-spacing: -0.02em;
        }

        .how-path-header-text p {
            margin: 0;
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.65;
        }

        .how-path-block .steps-grid {
            gap: clamp(20px, 3vw, 28px);
        }

        .how-path-block .step-card {
            background: white;
            border: 1px solid rgba(37, 99, 235, 0.1);
            border-radius: var(--radius);
            padding: 24px 18px 28px;
            box-shadow: var(--shadow-sm);
        }

        .how-path-block .step-number {
            width: 72px;
            height: 72px;
            font-size: 1.65rem;
        }

        .how-secondary {
            background: var(--bg-light);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
        }

        .how-secondary-intro {
            font-size: 1.05rem;
            color: var(--text-secondary);
            line-height: 1.75;
            max-width: 720px;
            margin: 0 auto 32px;
            text-align: center;
        }

        .how-secondary-intro strong {
            color: var(--text-primary);
        }

        .how-secondary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(16px, 2.5vw, 22px);
        }

        .how-mini-card {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            padding: 22px 20px;
            background: white;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.25s ease, transform 0.25s ease;
        }

        .how-mini-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
        }

        .how-mini-card-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .how-mini-card-icon i {
            width: 22px;
            height: 22px;
            color: var(--secondary);
        }

        .how-mini-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .how-mini-card p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.65;
            margin: 0;
        }

        /* Video Demo Section */
        .video-demo {
            background: var(--bg-light);
        }

        .video-wrapper {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            background: var(--bg-dark);
        }

        .video-container::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
            z-index: 1;
        }

        .video-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .video-placeholder:hover {
            background: rgba(37, 99, 235, 0.1);
        }

        .play-button {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
            transition: all 0.3s ease;
            z-index: 2;
        }

        .video-placeholder:hover .play-button {
            transform: scale(1.1);
            box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
        }

        .play-button i {
            width: 32px;
            height: 32px;
            color: white;
            margin-left: 4px;
        }

        .video-text {
            margin-top: 20px;
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            z-index: 2;
        }

        .video-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 500;
            z-index: 2;
        }

        /* Trust Badges Section */
        .trust-badges {
            background: white;
            padding: 40px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .trust-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 48px;
            flex-wrap: wrap;
        }

        .trust-badge {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 24px;
            background: var(--bg-light);
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
        }

        .trust-badge:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .trust-badge i {
            width: 28px;
            height: 28px;
            color: var(--primary);
        }

        .trust-badge-content {
            display: flex;
            flex-direction: column;
        }

        .trust-badge-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-primary);
        }

        .trust-badge-subtitle {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        /* CTA Section */
        .cta-section {
            background: var(--bg-dark);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
        }

        .cta-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 20px;
        }

        .cta-section p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            background: var(--bg-dark);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 0 30px;
        }

        /* 5 colonne: brand + Servizi, Risorse, Azienda, Contatti.
           Con 4 colonne la quinta (Contatti) andava a capo su una riga sua.
           Il brand prende meno spazio per lasciare respiro alle 4 colonne di
           link, che altrimenti vanno su 3 righe. */
        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr repeat(4, 1fr);
            gap: 28px;
            margin-bottom: 40px;
        }

        .footer-brand .logo {
            margin-bottom: 16px;
            display: inline-block;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .footer-col h4 {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

        .footer-col a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        .footer-bottom-left {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-vat {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.45);
            line-height: 1.4;
        }

        /* Versione applicazione: prima era colore ereditato al 50% PIÙ
           opacity 0.55 inline, cioè ~27% di bianco su fondo scuro (contrasto
           ~2.4:1): di fatto illeggibile. Ora è un colore pieno e leggibile. */
        .footer-version {
            font-size: 0.78rem;
            margin-left: 8px;
            color: rgba(255, 255, 255, 0.78);
            white-space: nowrap;
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.3s ease;
        }

        .social-links a:hover {
            color: white;
        }

        .social-links a i {
            width: 20px;
            height: 20px;
        }

        .footer-badges {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .footer-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-badge i {
            color: var(--success);
        }

        .footer-col ul li a {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-col ul li a i {
            width: 16px;
            height: 16px;
            color: var(--primary);
            opacity: 0.7;
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animation delays */
        .services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
        .services-grid .service-card:nth-child(2) { transition-delay: 100ms; }
        .services-grid .service-card:nth-child(3) { transition-delay: 200ms; }
        .services-grid .service-card:nth-child(4) { transition-delay: 300ms; }

        .features-grid .feature-card:nth-child(1) { transition-delay: 0ms; }
        .features-grid .feature-card:nth-child(2) { transition-delay: 100ms; }
        .features-grid .feature-card:nth-child(3) { transition-delay: 200ms; }
        .features-grid .feature-card:nth-child(4) { transition-delay: 300ms; }
        .features-grid .feature-card:nth-child(5) { transition-delay: 400ms; }
        .features-grid .feature-card:nth-child(6) { transition-delay: 500ms; }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: white;
            padding: 24px;
            box-shadow: var(--shadow-lg);
            z-index: 999;
            max-height: calc(100vh - 70px);
            overflow-y: auto;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu ul {
            list-style: none;
        }

        .mobile-menu li {
            margin-bottom: 16px;
        }

        .mobile-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            padding: 8px 0;
        }

        .mobile-menu a i {
            width: 20px;
            height: 20px;
            color: var(--primary);
        }

        .mobile-menu .mobile-submenu {
            padding-left: 32px;
            margin-top: 8px;
        }

        .mobile-menu .mobile-submenu a {
            font-size: 1rem;
            color: var(--text-secondary);
            padding: 6px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-menu .mobile-submenu a .dropdown-service-icon {
            width: 26px;
            height: 26px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            background: var(--bg-light);
            border: 1px solid var(--border);
            overflow: hidden;
        }

        .mobile-menu .mobile-submenu a .dropdown-service-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .features-grid,
            .why-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .steps-grid::before {
                display: none;
            }

            .how-secondary-grid {
                grid-template-columns: 1fr;
            }

            .partners-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px 20px;
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .newsletter-form button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hero h1 {
                font-size: clamp(2rem, 8vw, 2.5rem);
            }

            .hero p {
                font-size: clamp(1rem, 3vw, 1.1rem);
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-buttons .btn {
                width: 100%;
                max-width: 300px;
            }

            section {
                padding: clamp(50px, 10vw, 70px) 0;
            }

            .section-header h2 {
                font-size: clamp(1.75rem, 5vw, 2rem);
            }

            .services-grid,
            .features-grid,
            .why-grid {
                grid-template-columns: 1fr;
            }

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

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: clamp(20px, 5vw, 40px);
            }

            .stat-number {
                font-size: clamp(2rem, 6vw, 2.5rem);
            }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: clamp(30px, 6vw, 40px);
            }

            .steps-grid::before {
                display: none;
            }

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

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

            .newsletter-form {
                flex-direction: column;
            }

            .newsletter-form button {
                width: 100%;
            }

            .trust-grid {
                flex-direction: column;
                gap: 16px;
            }

            .trust-badge {
                width: 100%;
            }

            .partners-grid {
                flex-direction: column;
                gap: 16px;
            }

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

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

            .stat-number {
                font-size: 2.5rem;
            }

            .cta-section h2 {
                font-size: 2rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

        /* ============================================
           NEWS / BLOG PAGES
           ============================================ */

        .page-hero {
            padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
            background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
            text-align: center;
        }

        .page-hero .page-hero-text {
            max-width: 800px;
            margin: 0 auto;
        }

        .page-hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.5rem);
            margin: 16px 0;
        }

        .page-hero p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .news-hero .hero-chips {
            justify-content: center;
            margin-top: 24px;
        }

        .news-filter-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            padding: 14px 20px;
            background: var(--bg-light);
            border-radius: 12px;
            margin-bottom: 32px;
            border: 1px solid var(--border);
        }

        .news-filter-label {
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .news-filter-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: white;
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: 16px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .news-filter-chip:hover {
            background: var(--primary);
            color: white;
        }

        .news-filter-count {
            margin-left: auto;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .news-featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
            gap: clamp(20px, 3vw, 32px);
            margin-bottom: 64px;
        }

        .news-featured-card {
            display: flex;
            flex-direction: column;
            background: white;
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        }

        .news-featured-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
            border-color: var(--primary);
        }

        .news-featured-image {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-light);
        }

        .news-featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .news-featured-card:hover .news-featured-image img {
            transform: scale(1.05);
        }

        .news-image-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--bg-light), #e0e7ff);
            color: var(--primary);
        }

        .news-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            padding: 6px 14px;
            background: var(--primary);
            color: white;
            border-radius: 14px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
        }

        .news-featured-body {
            padding: 24px;
        }

        .news-featured-body h2 {
            font-size: 1.5rem;
            margin: 12px 0;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .news-featured-body p {
            color: var(--text-secondary);
            line-height: 1.65;
            margin-bottom: 16px;
        }

        .news-category {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border: 1px solid;
            border-radius: 14px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: clamp(20px, 3vw, 28px);
        }

        .news-card {
            display: flex;
            flex-direction: column;
            background: white;
            border: 1px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        .news-image {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-light);
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .news-card:hover .news-image img {
            transform: scale(1.05);
        }

        .news-category-overlay {
            position: absolute;
            top: 14px;
            left: 14px;
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .news-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .news-body h3 {
            font-size: 1.2rem;
            margin: 0 0 10px;
            color: var(--text-primary);
            line-height: 1.35;
        }

        .news-body p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.6;
            margin-bottom: 14px;
            flex-grow: 1;
        }

        .news-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }

        .news-meta span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .news-readmore {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: auto;
            transition: gap 0.2s ease;
        }

        .news-card:hover .news-readmore {
            gap: 10px;
        }

        .news-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-secondary);
            grid-column: 1 / -1;
        }

        .news-empty i {
            color: var(--primary);
            opacity: 0.5;
        }

        .news-empty h3 {
            margin: 16px 0 8px;
            color: var(--text-primary);
        }

        .news-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-top: 48px;
            flex-wrap: wrap;
        }

        .news-pagination-info {
            font-size: 0.95rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .news-categories-section {
            background: var(--bg-light);
            padding: clamp(60px, 8vw, 100px) 0;
        }

        .news-categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .news-category-card {
            display: block;
            background: white;
            padding: 24px;
            border-radius: 14px;
            border: 1px solid var(--border);
            text-decoration: none;
            color: inherit;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }

        .news-category-card::before {
            content: "";
            position: absolute;
            inset: 0 0 auto 0;
            height: 4px;
            background: var(--cat-color);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .news-category-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }

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

        .news-category-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            margin-bottom: 14px;
        }

        .news-category-card h3 {
            font-size: 1.05rem;
            margin: 0 0 8px;
            color: var(--text-primary);
        }

        .news-category-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin: 0 0 12px;
            line-height: 1.5;
        }

        .news-category-count {
            font-size: 0.8rem;
            color: var(--cat-color);
            font-weight: 600;
        }

        .news-cta {
            padding: clamp(60px, 8vw, 100px) 0;
            background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
        }

        .news-cta-box {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
        }

        .news-cta-box h2 {
            color: white;
            margin-bottom: 14px;
        }

        .news-cta-box p {
            color: rgba(255, 255, 255, 0.92);
            font-size: 1.05rem;
            margin-bottom: 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .news-cta-box .btn-primary {
            background: white;
            color: var(--primary);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        .news-cta-box .btn-primary:hover {
            background: var(--bg-light);
        }

        /* ============================================
           ARTICLE DETAIL PAGE
           ============================================ */

        .article-page {
            background: white;
        }

        .article-hero {
            padding: clamp(40px, 5vw, 60px) 0 clamp(20px, 3vw, 32px);
            background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
        }

        .article-breadcrumb {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .article-breadcrumb a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .article-breadcrumb a:hover {
            color: var(--primary);
        }

        .article-hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 16px;
            align-items: center;
        }

        .article-hero-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--text-secondary);
            font-size: 0.88rem;
        }

        .article-hero h1 {
            font-size: clamp(1.8rem, 4vw, 3rem);
            line-height: 1.2;
            margin: 0 0 16px;
            color: var(--text-primary);
        }

        .article-lead {
            font-size: 1.15rem;
            color: var(--text-secondary);
            line-height: 1.7;
            max-width: 800px;
            margin: 0;
        }

        .article-cover {
            padding: clamp(20px, 3vw, 32px) 0;
        }

        .article-cover img {
            width: 100%;
            max-height: 540px;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        }

        .article-body {
            padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 64px);
        }

        .article-body .container {
            max-width: 820px;
        }

        .article-content {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-primary);
        }

        .article-content h2 {
            font-size: 1.75rem;
            margin: 40px 0 16px;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .article-content h3 {
            font-size: 1.35rem;
            margin: 32px 0 12px;
            color: var(--text-primary);
        }

        .article-content p {
            margin-bottom: 20px;
        }

        .article-content ul,
        .article-content ol {
            margin: 16px 0 24px;
            padding-left: 24px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content blockquote {
            margin: 24px 0;
            padding: 16px 24px;
            background: var(--bg-light);
            border-left: 4px solid var(--primary);
            border-radius: 0 12px 12px 0;
            font-style: italic;
            color: var(--text-secondary);
        }

        .article-content code {
            background: var(--bg-light);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.92em;
            font-family: ui-monospace, "SF Mono", Monaco, monospace;
            color: var(--primary-dark);
        }

        .article-content pre {
            background: #1f2937;
            color: #e5e7eb;
            padding: 16px 20px;
            border-radius: 10px;
            overflow-x: auto;
            margin: 20px 0;
        }

        .article-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            margin: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            margin: 32px 0;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }

        .article-tags-label {
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .article-tag {
            padding: 4px 12px;
            background: var(--bg-light);
            color: var(--primary);
            border-radius: 14px;
            font-size: 0.85rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .article-tag:hover {
            background: var(--primary);
            color: white;
        }

        .article-share {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 32px 0;
            flex-wrap: wrap;
        }

        .article-share-label {
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin-right: 4px;
        }

        .article-share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-light);
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.25s ease;
        }

        .article-share-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .article-cta-box {
            margin-top: 32px;
            padding: 32px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 16px;
            text-align: center;
        }

        .article-cta-box h3 {
            margin: 0 0 8px;
            color: var(--text-primary);
        }

        .article-cta-box p {
            color: var(--text-secondary);
            margin: 0 0 20px;
        }

        .article-related {
            padding: clamp(60px, 8vw, 100px) 0;
            background: var(--bg-light);
        }

        @media (max-width: 768px) {
            .news-featured-grid {
                grid-template-columns: 1fr;
            }

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

            .article-hero-meta {
                gap: 10px;
            }

            .article-content h2 {
                font-size: 1.4rem;
            }

            .article-content h3 {
                font-size: 1.15rem;
            }

            .news-pagination {
                gap: 10px;
            }

            .news-categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .news-categories-grid {
                grid-template-columns: 1fr;
            }
        }
/* =============================================================================
   PAGINA APP MOBILE (/apps/) — stili delle sezioni
   -----------------------------------------------------------------------------
   Queste classi erano presenti solo nel template: senza regole CSS gli SVG
   degli showcase si espandevano a tutta larghezza (1440x2880 px ciascuno, per
   una sezione da ~8980 px) e le griglie si impilavano a piena larghezza.
   Stili allineati alle convenzioni usate altrove (.feature-card, .process-step):
   padding clamp, radius-lg, bordo 1px, shadow-lg in hover.
   ============================================================================= */

        /* --- Hero: azioni e badge piattaforma --- */
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 24px 0;
        }

        .platforms {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .platform-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 999px;
            background: var(--bg-light);
            border: 1px solid var(--border);
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        .platform-badge i {
            width: 18px;
            height: 18px;
            color: var(--primary);
        }

        /* --- Showcase dei mockup telefono (SVG inline in apps.html) --- */
        .app-showcase {
            padding: 72px 0;
            background: var(--bg-light);
        }

        .app-showcase-inner {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;
            gap: clamp(24px, 4vw, 48px);
        }

        .showcase-phone {
            margin: 0;
            width: min(190px, 30%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }

        .showcase-phone svg {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 30px;
            box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.4),
                        0 0 0 1px rgba(15, 23, 42, 0.06);
        }

        .showcase-phone figcaption {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-align: center;
        }

        /* --- Griglia screenshot (pagina MMedit: stessa sezione) --- */
        .app-showcase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: clamp(20px, 3vw, 32px);
            max-width: 1000px;
            margin: 0 auto;
        }

        .app-showcase-grid figure {
            margin: 0;
        }

        .app-showcase-grid img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-md);
        }

        .app-showcase-grid figcaption {
            margin-top: 12px;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        /* --- Processo (step numerati) --- */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: clamp(20px, 3vw, 32px);
        }

        .process-card {
            background: white;
            padding: clamp(24px, 3vw, 32px);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .process-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .process-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            font-size: 1.35rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
        }

        .process-card h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .process-card p {
            color: var(--text-secondary);
            line-height: 1.65;
            margin: 0;
        }

        /* --- Tipologie di app --- */
        .app-types {
            padding: 80px 0;
            background: var(--bg-light);
        }

        .app-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: clamp(20px, 3vw, 28px);
        }

        .app-card {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            padding: clamp(22px, 3vw, 30px);
            background: white;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
        }

        .app-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-light);
        }

        .app-icon {
            flex: 0 0 auto;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary);
        }

        .app-icon i {
            width: 24px;
            height: 24px;
        }

        .app-content h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0 0 8px;
            color: var(--text-primary);
        }

        .app-content p {
            margin: 0;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* --- Tecnologie --- */
        .technologies {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: clamp(16px, 3vw, 32px);
            margin-top: clamp(40px, 5vw, 64px);
        }

        .tech-item {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            border-radius: 999px;
            background: white;
            border: 1px solid var(--border);
            font-weight: 600;
            color: var(--text-secondary);
        }

        .tech-item i {
            width: 20px;
            height: 20px;
            color: var(--primary);
        }

        /* --- Responsive --- */
        @media (max-width: 900px) {
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

            .app-showcase {
                padding: 56px 0;
            }
        }

        @media (max-width: 600px) {
            .process-grid {
                grid-template-columns: 1fr;
            }

            .showcase-phone {
                width: min(150px, 42%);
            }

            .app-showcase-inner {
                gap: 20px;
            }

            .app-types {
                padding: 56px 0;
            }

            .technologies {
                gap: 12px;
            }

            .tech-item {
                padding: 10px 16px;
                font-size: 0.9rem;
            }
        }
