
        body {
            font-family: Arial, sans-serif;
        }

        /* 8-second total loop for the AI analysis sequence */
        
        /* Initial Scanning Text Fade */
        @keyframes fade-out-scan {
            0%, 15% { opacity: 1; height: 20px; margin-bottom: 8px; }
            20%, 100% { opacity: 0; height: 0px; margin-bottom: 0; overflow: hidden; }
        }

        /* Clause Highlight (Green) */
        @keyframes highlight-clause {
            0%, 15% { background-color: transparent; border-color: transparent; }
            20%, 90% { background-color: #f0fdf4; border-color: #bbf7d0; } /* emerald-50 / emerald-200 */
            95%, 100% { background-color: transparent; border-color: transparent; }
        }
        @keyframes color-clause-lines {
            0%, 15% { background-color: #f1f5f9; } /* slate-100 */
            20%, 90% { background-color: #86efac; } /* emerald-300 */
            95%, 100% { background-color: #f1f5f9; }
        }

        /* Risk Highlight (Red) */
        @keyframes highlight-risk {
            0%, 45% { background-color: transparent; border-color: transparent; }
            50%, 90% { background-color: #fff1f2; border-color: #fecdd3; } /* rose-50 / rose-200 */
            95%, 100% { background-color: transparent; border-color: transparent; }
        }
        @keyframes color-risk-lines {
            0%, 45% { background-color: #f1f5f9; }
            50%, 90% { background-color: #fda4af; } /* rose-300 */
            95%, 100% { background-color: #f1f5f9; }
        }

        /* AI Card 1 (Clause) Pop-in */
        @keyframes pop-in-1 {
            0%, 18% { opacity: 0; transform: translateY(15px) scale(0.95); pointer-events: none; }
            22%, 90% { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
            95%, 100% { opacity: 0; transform: translateY(-10px) scale(0.95); pointer-events: none; }
        }

        /* AI Card 2 (Risk) Pop-in */
        @keyframes pop-in-2 {
            0%, 48% { opacity: 0; transform: translateY(15px) scale(0.95); pointer-events: none; }
            52%, 90% { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
            95%, 100% { opacity: 0; transform: translateY(-10px) scale(0.95); pointer-events: none; }
        }

        /* Assigning animations to utility classes */
        .animate-scanning-text { animation: fade-out-scan 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
        .animate-highlight-clause { animation: highlight-clause 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
        .animate-color-clause .highlight-line { animation: color-clause-lines 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
        
        .animate-highlight-risk { animation: highlight-risk 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
        .animate-color-risk .highlight-line { animation: color-risk-lines 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
        
        .animate-pop-in-1 { animation: pop-in-1 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; fill-mode: both; }
        .animate-pop-in-2 { animation: pop-in-2 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; fill-mode: both; }

        ::-webkit-scrollbar { display: none; }
    