        :root {
            --primary: #8b5cf6;
            --accent: #06b6d4;
        }

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

        body {
            font-family: 'Tahoma', sans-serif;
            transition: all 0.5s ease;
            position: relative;
            min-height: 100vh;
            overflow-x: hidden;
            color: #fff;
            line-height: 1.8;
            font-weight: 500;
        }

        [data-bs-theme="light"] body {
            color: #1a1a2e;
        }

        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            right: 0;
            z-index: -1;
            background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
        }

        [data-bs-theme="light"] #particles-js {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .glass-card {
            background: rgba(30, 30, 60, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 24px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        [data-bs-theme="light"] .glass-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: 0.5s;
            pointer-events: none;
        }

        .glass-card:hover::before {
            left: 100%;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
        }

        .gradient-text {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }

        .theme-switch {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 9999;
            cursor: pointer;
            background: rgba(139, 92, 246, 0.2);
            backdrop-filter: blur(20px);
            border-radius: 50px;
            padding: 12px 24px;
            border: 2px solid rgba(139, 92, 246, 0.5);
            color: #fff;
            transition: all 0.3s ease;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        [data-bs-theme="light"] .theme-switch {
            color: #1a1a2e;
            background: rgba(255, 255, 255, 0.9);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .theme-switch:hover {
            transform: scale(1.08);
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
        }

        .navbar {
            background: rgba(15, 12, 41, 0.85) !important;
            backdrop-filter: blur(20px);
            border-bottom: 2px solid rgba(139, 92, 246, 0.3);
            padding: 15px 0;
        }

        [data-bs-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.9) !important;
            border-bottom: 2px solid rgba(139, 92, 246, 0.2);
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .navbar .nav-link {
            color: #fff !important;
            transition: all 0.3s ease;
            margin: 0 5px;
            border-radius: 12px;
            padding: 10px 20px !important;
            font-weight: 600;
        }

        [data-bs-theme="light"] .navbar .nav-link {
            color: #1a1a2e !important;
        }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        }

        .dropdown-menu {
            background: rgba(15, 12, 41, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 16px;
            padding: 10px;
        }

        [data-bs-theme="light"] .dropdown-menu {
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(139, 92, 246, 0.2);
        }

        .dropdown-item {
            color: #fff !important;
            transition: all 0.3s ease;
            border-radius: 12px;
            padding: 12px 20px;
            margin: 3px 0;
        }

        [data-bs-theme="light"] .dropdown-item {
            color: #1a1a2e !important;
        }

        .dropdown-item:hover {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            color: #fff !important;
            transform: translateX(-5px);
        }

        .btn-glow {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            border: none;
            color: white !important;
            font-weight: 700;
            padding: 14px 35px;
            border-radius: 50px;
            transition: all 0.4s ease;
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-glow:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
        }

        .tool-icon {
            font-size: 3.5rem;
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        .loading-spinner {
            display: none;
            text-align: center;
            margin: 20px 0;
        }

        .result-box {
            display: none;
            animation: fadeInUp 0.6s ease;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .chat-container {
            height: 500px;
            overflow-y: auto;
            padding: 20px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 16px;
            margin-bottom: 20px;
        }

        [data-bs-theme="light"] .chat-container {
            background: rgba(0, 0, 0, 0.05);
        }

        .user-message {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            color: white;
            padding: 12px 20px;
            border-radius: 20px 5px 20px 20px;
            display: inline-block;
            max-width: 70%;
        }

        .ai-message {
            background: rgba(255, 255, 255, 0.15);
            padding: 12px 20px;
            border-radius: 5px 20px 20px 20px;
            display: inline-block;
            max-width: 70%;
        }

        [data-bs-theme="light"] .ai-message {
            background: rgba(0, 0, 0, 0.08);
            color: #000;
        }

        .form-range::-webkit-slider-thumb {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
        }

        .form-control, .form-select {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            border-radius: 16px;
            padding: 14px 20px;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
        }

        [data-bs-theme="light"] .form-control,
        [data-bs-theme="light"] .form-select {
            background: rgba(0, 0, 0, 0.05);
            border-color: rgba(0, 0, 0, 0.2);
            color: #1a1a2e;
        }

        .form-control:focus, .form-select:focus {
            border-color: #8b5cf6;
            box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
        }

        video, audio, img {
            max-width: 100%;
            border-radius: 15px;
        }

        video {
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
        }

        img {
            box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
        }

        audio {
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
        }

        .email-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .email-item {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 10px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
        }

        [data-bs-theme="light"] .email-item {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
        }

        .email-item:hover {
            background: rgba(139, 92, 246, 0.15);
            border-color: #8b5cf6;
        }

        .badge-glow {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            color: white;
            padding: 8px 16px;
            border-radius: 50px;
            font-weight: 700;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        }

        .update-btn {
            position: relative;
            transition: all 0.3s ease;
        }

        .update-btn.done {
            background: #10b981 !important;
        }

        footer {
            background: rgba(15, 12, 41, 0.9);
            backdrop-filter: blur(20px);
            color: #fff;
            padding: 30px 0;
            margin-top: 80px;
            border-top: 2px solid rgba(139, 92, 246, 0.3);
        }

        [data-bs-theme="light"] footer {
            background: rgba(255, 255, 255, 0.9);
            color: #1a1a2e;
        }

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            border-radius: 10px;
        }

        @media (max-width: 768px) {
            .theme-switch {
                top: 10px;
                left: 10px;
                padding: 8px 16px;
                font-size: 12px;
            }
        }
