        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@300;400;600;700&display=swap');
        body {
            margin: 0;
            font-family: 'Noto Sans Georgian', sans-serif;
            scroll-behavior: smooth;
        }

        .app {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            /* ან center */
        }

        .page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 16px;
        }

        /* ისრის სტილი */
        .ai-pointer {
            position: relative;
            display: inline-block;
            cursor: pointer;
            color: #1d4ed8;
            /* ლურჯი ფერი */
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 2px 4px;
            border-radius: 4px;
        }

        /* ისრის ტექსტი (tooltip) */
        .ai-pointer::after {
            content: "→";
            position: absolute;
            top: 50%;
            right: -20px;
            transform: translateY(-50%) scale(0);
            opacity: 0;
            transition: transform 0.3s ease, opacity 0.3s ease;
            font-size: 1.2em;
            color: #dc2626;
            /* წითელი ფერი ისრისთვის */
        }

        /* ისრის გაჩენა hover-ზე */
        .ai-pointer:hover::after {
            transform: translateY(-50%) scale(1);
            opacity: 1;
        }

        /* ტექსტის ბლოკის ანიმაცია */
        .ai-description {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.5s;
            /* დაყოვნება */
        }

        /* ანიმაციის გასაღებები */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* მოდალური ფანჯრის სტილები */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background-color: white;
            border-radius: 20px;
            width: 95%;
            max-width: 98%;
            max-height: 85vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .modal-overlay.active .modal-container {
            transform: scale(1);
        }

        .modal-header {
            background: linear-gradient(135deg, #1e40af, #7c3aed);
            color: white;
            padding: 24px 30px;
            border-radius: 20px 20px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-close-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            transition: background 0.2s;
        }

        .modal-close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .modal-content {
            padding: 30px;
            font-family: 'Noto Sans Georgian', sans-serif;
        }

        .modal-section {
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 1px solid #e5e7eb;
        }

        .modal-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        /* საწყისი სტილები
           NOTE: body padding/background must NOT be set here because the layout is controlled by Tailwind
           (e.g., body class="bg-gray-50 ..." and main padding-top for the fixed navbar).
        */

        .text-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 30px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .text-xl {
            font-size: 1.25rem;
            line-height: 1.8;
        }

        .text-gray-600 {
            color: #4b5563;
        }

        .text-justify {
            text-align: justify;
        }

        .md\:text-center {
            text-align: center;
        }

        .leading-8 {
            line-height: 2rem;
        }

        .text-blue-700 {
            color: #1d4ed8;
        }

        .font-semibold {
            font-weight: 600;
        }

        /* body styles are defined once at the top of this file */

        .chart-container {
            position: relative;
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            height: 350px;
        }

        .gradient-text {
            background: linear-gradient(135deg, #1e40af, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-item.active {
            color: #1e40af;
            border-bottom: 2px solid #1e40af;
        }

        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        /* Custom video controls styling */
        #progress-bar::-webkit-slider-thumb {
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
        }

        #progress-bar::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
            border: none;
        }

        /* Video hover effects */
        #ai-video-player:hover+#custom-controls,
        #custom-controls:hover {
            display: block !important;
        }

        /* Chapter button animations */
        button[onclick*="seekTo"] {
            transition: all 0.2s ease;
        }

        button[onclick*="seekTo"]:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(20px);
            }

            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }