 body {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            touch-action: manipulation;
        }

        #loader {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ffffff;
            transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
        }

        .loader-fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .nav-link {
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -2px;
            left: 0;
            background-color: currentColor;
            transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        .scale-reveal {
            opacity: 0;
            transform: scale(0.97);
            transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .scale-reveal.active {
            opacity: 1;
            transform: scale(1);
        }

        .floating-input-group {
            position: relative;
            width: 100%;
        }

        .floating-input {
            width: 100%;
            padding: 24px 16px 8px 16px;
            border-radius: 12px;
            outline: none;
            transition: all 0.25s ease;
            background-color: #ffffff;
            border: 1px solid #d2d2d7;
            color: #1d1d1f;
            font-size: 16px; 
            font-weight: 400;
        }

        .floating-input:focus {
            border-color: #0071e3;
            box-shadow: 0 0 0 1px #0071e3;
        }

        .floating-label {
            position: absolute;
            left: 17px;
            top: 15px;
            color: #86868b;
            transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
            pointer-events: none;
            font-size: 16px;
        }

        .floating-input:focus~.floating-label,
        .floating-input:not(:placeholder-shown)~.floating-label {
            top: 6px;
            font-size: 11px;
            font-weight: 500;
            color: #1d1d1f;
        }

        .floating-input:focus~.floating-label {
            color: #0071e3;
        }

        .btn-press {
            transition: all 250ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .btn-press:hover {
            transform: translateY(-1px);
        }

        .btn-press:active {
            transform: scale(0.98);
        }

        .glass-header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            color: #1d1d1f !important;
        }

        .glass-header svg {
            fill: #1d1d1f !important;
        }

        .glass-header .nav-link {
            color: #1d1d1f !important;
        }

        .glass-header .apply-btn {
            background-color: #1d1d1f !important;
            color: #ffffff !important;
        }

        .video-overlay-gradient {
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
        }

        .form-light-glass {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(40px) saturate(150%);
            -webkit-backdrop-filter: blur(40px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
        }

        .search-input-light {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
            font-size: 16px !important;
        }

        .search-input-light:focus {
            box-shadow: 0 20px 60px rgba(0, 113, 227, 0.15), 0 2px 12px rgba(0, 113, 227, 0.1);
            border-color: #0071e3;
        }

        .search-results-light {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
        }

        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: transparent;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #d2d2d7;
            border-radius: 10px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #a1a1a6;
        }

        .ambient-glow {
            position: absolute;
            width: 100vw;
            height: 100vw;
            max-width: 800px;
            max-height: 800px;
            background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
            pointer-events: none;
            filter: blur(80px);
        }

        .spinner {
            animation: rotate 2s linear infinite;
        }

        .spinner .path {
            stroke: #0071e3;
            stroke-linecap: round;
            animation: dash 1.5s ease-in-out infinite;
        }

        @keyframes rotate {
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes dash {
            0% {
                stroke-dasharray: 1, 150;
                stroke-dashoffset: 0;
            }

            50% {
                stroke-dasharray: 90, 150;
                stroke-dashoffset: -35;
            }

            100% {
                stroke-dasharray: 90, 150;
                stroke-dashoffset: -124;
            }
        }