:root {
            --primary: #4338CA;
            --primary-light: #EEF2FF;
            --primary-dark: #312E81;
            --text-main: #111827;
            --bg-neutral: #F9FAFB;
            --success: #059669;
            --failure: #DC2626;
        }

        body {
            font-family: 'Assistant', sans-serif;
            scroll-behavior: smooth;
            color: var(--text-main);
        }

        a, p>a {
            color: var(--primary);
            text-decoration: none;
        }

        a.no-line, p>a.no-line, a.no-line:hover, p>a.no-line:hover {
            text-decoration: none;
            text-align: center;
        }

        

        a:hover, p>a:hover {
            text-decoration: underline;
        }

        .dot-pattern {
            background-image: radial-gradient(#4338CA 0.5px, transparent 0.5px);
            background-size: 24px 24px;
            opacity: 0.1;
            pointer-events: none !important;
            user-select: none;
        }

        .hero-grid {
            background-image: linear-gradient(to right, #4338CA 1px, transparent 1px), linear-gradient(to bottom, #4338CA 1px, transparent 1px);
            background-size: 60px 60px;
            opacity: 0.05;
        }

        .glass-nav {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .phone-mockup {
            box-shadow: 0 50px 100px -20px rgba(49, 46, 129, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
            border: 12px solid #111827;
            border-radius: 3rem;
            position: relative;
        }

        .phone-notch {
            width: 120px;
            height: 25px;
            background: #111827;
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            border-bottom-left-radius: 15px;
            border-bottom-right-radius: 15px;
            z-index: 20;
        }

        .whatsapp-bg {
            background-color: #e5ddd5;
            background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
        }

        .bubble-ai {
            background-color: #dcf8c6;
            position: relative;
        }
        .bubble-ai::after {
            content: '';
            position: absolute;
            top: 0;
            left: -10px;
            width: 0;
            height: 0;
            border: 10px solid transparent;
            border-top-color: #dcf8c6;
            border-right: 0;
        }

        /* תיקון השפיץ עבור הגרסה האנגלית בלבד */
            html[lang="en"] .bubble-ai::after {
                left: auto;          /* מבטל את ההצמדה לשמאל */
                right: -10px;       /* מצמיד את השפיץ לצד ימין */
                border-right: 10px solid transparent; /* מחזיר את הגבול הימני */
                border-left: 0;     /* מבטל את הגבול השמאלי כדי להפוך את כיוון המשולש */
            }

        details summary::-webkit-details-marker { display: none; }
        
        .transition-all-300 { transition: all 0.3s ease; }

        .btn-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        }

        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary);
            color: white;
            padding: 8px;
            z-index: 1000;
        }
        .skip-link:focus { top: 0; }

        .legal-content h2 { color: #1e1b4b; margin-top: 2.5rem; margin-bottom: 1rem; font-weight: 800; font-size: 1.5rem; }
        .legal-content p { color: #475569; margin-bottom: 1.25rem; line-height: 1.7; font-weight: 500; }
        .legal-content ul { color: #475569; margin-bottom: 1.5rem; list-style-type: disc; padding-left: 1.5rem; }
        .legal-content li { margin-bottom: 0.75rem; }


        /* ReviuWize Standard Buttons */
        .btn-primary {
            background-color: #4f46e5;
            color: #ffffff;
            padding: 0.75rem 1.75rem;
            border-radius: 0.75rem;
            font-weight: 900;
            font-size: 0.875rem;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.15), 0 4px 6px -4px rgba(79, 70, 229, 0.15);
            transition: all 0.2s ease;
        }
        .btn-primary:hover {
            background-color: #4338ca;
            transform: scale(1.02);
            text-decoration: none;
        }

        .btn-secondary {
            background-color: #ffffff;
            color: #0f172a;
            padding: 0.75rem 1.75rem;
            border-radius: 0.75rem;
            font-weight: 900;
            font-size: 0.875rem;
            border: 2px solid #e2e8f0;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }
        .btn-secondary:hover {
            background-color: #f8fafc;
            border-color: #4f46e5;
            color: #4f46e5;
            text-decoration: none;
        }

        .btn-dark {
            background-color: #0f172a;
            color: #ffffff;
            padding: 0.75rem 1.75rem;
            border-radius: 0.75rem;
            font-weight: 900;
            font-size: 0.875rem;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.25), 0 4px 6px -4px rgba(15, 23, 42, 0.25);
            transition: all 0.2s ease;
        }
        .btn-dark:hover {
            background-color: #4338ca;
            text-decoration: none;
        }

        /* פתרון נקי בתוך ה-Header */
#mobile-menu {
    /* מבטל כל אפקט זכוכית שעלול לעבור בירושה מה-nav */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff; /* לבן מוצק */
}

/* מוודא שה-Header עצמו לא חותך את התפריט */
header nav {
    /* isolate מייצר שכבת רינדור חדשה ומונע מהילדים להתערבב עם הרקע */
    isolation: isolate;
}

