{"id":266,"date":"2025-12-27T11:15:49","date_gmt":"2025-12-27T11:15:49","guid":{"rendered":"http:\/\/shaharukh.xyz\/?page_id=266"},"modified":"2025-12-27T11:15:49","modified_gmt":"2025-12-27T11:15:49","slug":"fbmarketing","status":"publish","type":"page","link":"https:\/\/shaharukhahmed.xyz\/index.php\/fbmarketing\/","title":{"rendered":"fbmarketing"},"content":{"rendered":"    <div class=\"fb-marketing-tool-container\">\n        <style>\n            :root {\n                --fb-primary: #1877f2;\n                --fb-primary-dark: #166fe5;\n                --fb-secondary: #42b883;\n                --fb-danger: #e74c3c;\n                --fb-warning: #f39c12;\n                --fb-success: #2ecc71;\n                --fb-light: #f8f9fa;\n                --fb-dark: #2c3e50;\n                --fb-gray: #6c757d;\n                --fb-light-gray: #e9ecef;\n                --fb-white: #ffffff;\n                --fb-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n                --fb-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);\n            }\n\n            .fb-marketing-tool-container * {\n                margin: 0;\n                padding: 0;\n                box-sizing: border-box;\n            }\n\n            .fb-marketing-tool-container {\n                font-family: 'Inter', sans-serif;\n                background-color: #f5f7fa;\n                color: #2c3e50 !important;\n                line-height: 1.6;\n            }\n\n            .fb-container {\n                max-width: 1200px;\n                margin: 0 auto;\n                padding: 0 20px;\n            }\n\n            .fb-header {\n                background-color: var(--fb-white);\n                box-shadow: var(--fb-shadow);\n                padding: 15px 0;\n                position: sticky;\n                top: 0;\n                z-index: 100;\n            }\n\n            .fb-header-content {\n                display: flex;\n                justify-content: space-between;\n                align-items: center;\n            }\n\n            .fb-logo {\n                display: flex;\n                align-items: center;\n                gap: 10px;\n            }\n\n            .fb-logo i {\n                color: var(--fb-primary) !important;\n                font-size: 28px;\n            }\n\n            .fb-logo h1 {\n                font-size: 20px;\n                font-weight: 700;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-user-menu {\n                display: flex;\n                align-items: center;\n                gap: 15px;\n            }\n\n            .fb-user-menu a {\n                color: var(--fb-gray) !important;\n                text-decoration: none;\n                font-weight: 500;\n                transition: color 0.3s;\n            }\n\n            .fb-user-menu a:hover {\n                color: var(--fb-primary) !important;\n            }\n\n            .fb-btn {\n                padding: 8px 16px;\n                border-radius: 6px;\n                font-weight: 500;\n                cursor: pointer;\n                transition: all 0.3s;\n                border: none;\n                display: inline-flex;\n                align-items: center;\n                gap: 8px;\n                text-decoration: none;\n            }\n\n            .fb-btn-primary {\n                background-color: var(--fb-primary);\n                color: var(--fb-white) !important;\n            }\n\n            .fb-btn-primary:hover {\n                background-color: var(--fb-primary-dark);\n            }\n\n            .fb-btn-outline {\n                background-color: transparent;\n                border: 1px solid var(--fb-primary);\n                color: var(--fb-primary) !important;\n            }\n\n            .fb-btn-outline:hover {\n                background-color: var(--fb-primary);\n                color: var(--fb-white) !important;\n            }\n\n            .fb-btn-success {\n                background-color: var(--fb-success);\n                color: var(--fb-white) !important;\n            }\n\n            .fb-btn-warning {\n                background-color: var(--fb-warning);\n                color: var(--fb-white) !important;\n            }\n\n            .fb-btn-danger {\n                background-color: var(--fb-danger);\n                color: var(--fb-white) !important;\n            }\n\n            .fb-main {\n                padding: 30px 0;\n            }\n\n            .fb-page-title {\n                margin-bottom: 30px;\n            }\n\n            .fb-page-title h2 {\n                font-size: 28px;\n                font-weight: 700;\n                margin-bottom: 8px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-page-title p {\n                color: var(--fb-gray) !important;\n                font-size: 16px;\n            }\n\n            .fb-card {\n                background-color: var(--fb-white);\n                border-radius: 12px;\n                box-shadow: var(--fb-shadow);\n                padding: 24px;\n                margin-bottom: 24px;\n            }\n\n            .fb-card-title {\n                font-size: 18px;\n                font-weight: 600;\n                margin-bottom: 16px;\n                display: flex;\n                align-items: center;\n                gap: 10px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-card-title i {\n                color: var(--fb-primary) !important;\n            }\n\n            .fb-form-group {\n                margin-bottom: 20px;\n            }\n\n            .fb-form-label {\n                display: block;\n                margin-bottom: 8px;\n                font-weight: 500;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-form-control {\n                width: 100%;\n                padding: 10px 14px;\n                border: 1px solid var(--fb-light-gray);\n                border-radius: 6px;\n                font-size: 16px;\n                transition: border-color 0.3s;\n                color: var(--fb-dark) !important;\n                background-color: var(--fb-white) !important;\n            }\n\n            .fb-form-control:focus {\n                outline: none;\n                border-color: var(--fb-primary);\n            }\n\n            .fb-form-row {\n                display: flex;\n                gap: 20px;\n            }\n\n            .fb-form-row .fb-form-group {\n                flex: 1;\n            }\n\n            .fb-metrics-grid {\n                display: grid;\n                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n                gap: 20px;\n                margin-bottom: 30px;\n            }\n\n            .fb-metric-card {\n                background-color: var(--fb-white);\n                border-radius: 12px;\n                box-shadow: var(--fb-shadow);\n                padding: 20px;\n                text-align: center;\n                transition: transform 0.3s;\n            }\n\n            .fb-metric-card:hover {\n                transform: translateY(-5px);\n            }\n\n            .fb-metric-icon {\n                font-size: 32px;\n                margin-bottom: 10px;\n            }\n\n            .fb-metric-value {\n                font-size: 32px;\n                font-weight: 700;\n                margin-bottom: 5px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-metric-label {\n                color: var(--fb-gray) !important;\n                font-size: 14px;\n            }\n\n            .fb-funnel-container {\n                display: flex;\n                justify-content: space-between;\n                align-items: flex-end;\n                margin: 30px 0;\n                height: 200px;\n            }\n\n            .fb-funnel-step {\n                flex: 1;\n                display: flex;\n                flex-direction: column;\n                align-items: center;\n                position: relative;\n                height: 100%;\n                padding: 0 5px;\n            }\n\n            .fb-funnel-bar {\n                width: 80%;\n                background-color: var(--fb-primary);\n                border-radius: 8px 8px 0 0;\n                display: flex;\n                align-items: center;\n                justify-content: center;\n                color: var(--fb-white) !important;\n                font-weight: 600;\n                margin-bottom: 10px;\n                position: relative;\n                transition: all 0.3s ease;\n            }\n\n            .fb-funnel-step:hover .fb-funnel-bar {\n                transform: translateY(-5px);\n                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);\n            }\n\n            .fb-funnel-step:nth-child(1) .fb-funnel-bar {\n                height: 100%;\n                background-color: #4285F4;\n            }\n\n            .fb-funnel-step:nth-child(2) .fb-funnel-bar {\n                height: 80%;\n                background-color: #34A853;\n            }\n\n            .fb-funnel-step:nth-child(3) .fb-funnel-bar {\n                height: 60%;\n                background-color: #FBBC05;\n            }\n\n            .fb-funnel-step:nth-child(4) .fb-funnel-bar {\n                height: 40%;\n                background-color: #EA4335;\n            }\n\n            .fb-funnel-step:nth-child(5) .fb-funnel-bar {\n                height: 20%;\n                background-color: #8E44AD;\n            }\n\n            .fb-funnel-label {\n                font-weight: 600;\n                margin-bottom: 5px;\n                text-align: center;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-funnel-description {\n                font-size: 12px;\n                color: var(--fb-gray) !important;\n                text-align: center;\n            }\n\n            .fb-funnel-details {\n                margin-top: 20px;\n                padding: 15px;\n                background-color: var(--fb-light);\n                border-radius: 8px;\n                display: none;\n            }\n\n            .fb-funnel-details.active {\n                display: block;\n            }\n\n            .fb-funnel-details h4 {\n                margin-bottom: 10px;\n                color: var(--fb-primary) !important;\n            }\n\n            .fb-funnel-details ul {\n                padding-left: 20px;\n            }\n\n            .fb-funnel-details li {\n                margin-bottom: 8px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-content-suggestions {\n                display: grid;\n                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n                gap: 20px;\n            }\n\n            .fb-suggestion-card {\n                background-color: var(--fb-white);\n                border-radius: 12px;\n                box-shadow: var(--fb-shadow);\n                padding: 20px;\n            }\n\n            .fb-suggestion-card h4 {\n                margin-bottom: 12px;\n                color: var(--fb-primary) !important;\n            }\n\n            .fb-suggestion-card p {\n                margin-bottom: 12px;\n                color: var(--fb-gray) !important;\n            }\n\n            .fb-optimization-list {\n                list-style: none;\n            }\n\n            .fb-optimization-list li {\n                padding: 10px 0;\n                border-bottom: 1px solid var(--fb-light-gray);\n                display: flex;\n                align-items: flex-start;\n                gap: 10px;\n            }\n\n            .fb-optimization-list li:last-child {\n                border-bottom: none;\n            }\n\n            .fb-optimization-list i {\n                color: var(--fb-warning) !important;\n                margin-top: 3px;\n            }\n\n            .fb-optimization-list span {\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-success-meter {\n                height: 30px;\n                background-color: var(--fb-light-gray);\n                border-radius: 15px;\n                overflow: hidden;\n                margin-bottom: 10px;\n            }\n\n            .fb-success-meter-fill {\n                height: 100%;\n                background: linear-gradient(90deg, var(--fb-danger), var(--fb-warning), var(--fb-success));\n                border-radius: 15px;\n                width: 0%;\n                transition: width 1.5s ease-in-out;\n            }\n\n            .fb-success-label {\n                display: flex;\n                justify-content: space-between;\n                font-size: 14px;\n                color: var(--fb-gray) !important;\n            }\n\n            .fb-tabs {\n                display: flex;\n                margin-bottom: 20px;\n                border-bottom: 1px solid var(--fb-light-gray);\n            }\n\n            .fb-tab {\n                padding: 12px 20px;\n                font-weight: 500;\n                cursor: pointer;\n                border-bottom: 3px solid transparent;\n                transition: all 0.3s;\n                color: var(--fb-gray) !important;\n            }\n\n            .fb-tab.active {\n                color: var(--fb-primary) !important;\n                border-bottom-color: var(--fb-primary);\n            }\n\n            .fb-tab-content {\n                display: none;\n            }\n\n            .fb-tab-content.active {\n                display: block;\n            }\n\n            .fb-notification {\n                position: fixed;\n                top: 80px;\n                right: 20px;\n                background-color: var(--fb-white);\n                border-radius: 8px;\n                box-shadow: var(--fb-shadow-lg);\n                padding: 16px 20px;\n                display: flex;\n                align-items: center;\n                gap: 12px;\n                transform: translateX(400px);\n                transition: transform 0.3s ease-in-out;\n                z-index: 1000;\n                max-width: 350px;\n            }\n\n            .fb-notification.show {\n                transform: translateX(0);\n            }\n\n            .fb-notification.success .fb-notification-icon {\n                color: var(--fb-success) !important;\n            }\n\n            .fb-notification.error .fb-notification-icon {\n                color: var(--fb-danger) !important;\n            }\n\n            .fb-notification.warning .fb-notification-icon {\n                color: var(--fb-warning) !important;\n            }\n\n            .fb-notification-content h4 {\n                margin-bottom: 4px;\n                font-size: 16px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-notification-content p {\n                font-size: 14px;\n                color: var(--fb-gray) !important;\n            }\n\n            .fb-close-notification {\n                margin-left: auto;\n                background: none;\n                border: none;\n                color: var(--fb-gray) !important;\n                cursor: pointer;\n                font-size: 18px;\n            }\n\n            .fb-loader {\n                display: none;\n                text-align: center;\n                padding: 40px 0;\n            }\n\n            .fb-loader.active {\n                display: block;\n            }\n\n            .fb-spinner {\n                border: 4px solid rgba(0, 0, 0, 0.1);\n                border-radius: 50%;\n                border-top: 4px solid var(--fb-primary);\n                width: 40px;\n                height: 40px;\n                animation: fb-spin 1s linear infinite;\n                margin: 0 auto 15px;\n            }\n\n            @keyframes fb-spin {\n                0% { transform: rotate(0deg); }\n                100% { transform: rotate(360deg); }\n            }\n\n            .fb-report-actions {\n                display: flex;\n                justify-content: flex-end;\n                gap: 10px;\n                margin-top: 20px;\n            }\n\n            \/* ROI Circular Gauge Styles *\/\n            .fb-roi-calculator {\n                display: flex;\n                flex-direction: column;\n                align-items: center;\n            }\n\n            .fb-gauge-container {\n                position: relative;\n                width: 250px;\n                height: 150px;\n                margin: 20px 0;\n                overflow: hidden;\n            }\n\n            .fb-gauge-bg {\n                position: absolute;\n                width: 250px;\n                height: 250px;\n                border-radius: 50%;\n                background: conic-gradient(\n                    #e74c3c 0% 25%, \n                    #f39c12 25% 50%, \n                    #2ecc71 50% 100%\n                );\n                transform: rotate(180deg);\n            }\n\n            .fb-gauge-center {\n                position: absolute;\n                width: 200px;\n                height: 200px;\n                background-color: var(--fb-white);\n                border-radius: 50%;\n                top: 25px;\n                left: 25px;\n                display: flex;\n                flex-direction: column;\n                justify-content: center;\n                align-items: center;\n                box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);\n            }\n\n            .fb-gauge-needle {\n                position: absolute;\n                width: 4px;\n                height: 100px;\n                background-color: var(--fb-dark);\n                top: 25px;\n                left: 123px;\n                transform-origin: bottom center;\n                transform: rotate(-90deg);\n                transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);\n                border-radius: 4px;\n            }\n\n            .fb-gauge-needle::after {\n                content: '';\n                position: absolute;\n                width: 12px;\n                height: 12px;\n                background-color: var(--fb-dark);\n                border-radius: 50%;\n                bottom: -6px;\n                left: -4px;\n            }\n\n            .fb-gauge-value {\n                font-size: 32px;\n                font-weight: 700;\n                margin-bottom: 5px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-gauge-label {\n                font-size: 14px;\n                color: var(--fb-gray) !important;\n            }\n\n            .fb-gauge-marks {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n            }\n\n            .fb-gauge-mark {\n                position: absolute;\n                width: 2px;\n                height: 10px;\n                background-color: var(--fb-gray);\n                top: 10px;\n                left: 124px;\n                transform-origin: center 115px;\n            }\n\n            .fb-gauge-mark-text {\n                position: absolute;\n                font-size: 12px;\n                color: var(--fb-gray) !important;\n                transform-origin: center 115px;\n            }\n\n            .fb-roi-inputs {\n                display: flex;\n                gap: 15px;\n                margin-bottom: 20px;\n                width: 100%;\n            }\n\n            .fb-roi-input-group {\n                flex: 1;\n            }\n\n            .fb-roi-input-group label {\n                display: block;\n                margin-bottom: 5px;\n                font-weight: 500;\n                font-size: 14px;\n                color: var(--fb-dark) !important;\n            }\n\n            .fb-roi-input-group input {\n                width: 100%;\n                padding: 10px;\n                border: 1px solid var(--fb-light-gray);\n                border-radius: 6px;\n                font-size: 16px;\n                color: var(--fb-dark) !important;\n                background-color: var(--fb-white) !important;\n            }\n\n            .fb-roi-status {\n                margin-top: 15px;\n                font-size: 16px;\n                font-weight: 600;\n                text-align: center;\n            }\n\n            .fb-roi-status.loss {\n                color: var(--fb-danger) !important;\n            }\n\n            .fb-roi-status.low-profit {\n                color: var(--fb-warning) !important;\n            }\n\n            .fb-roi-status.good-profit {\n                color: var(--fb-success) !important;\n            }\n\n            @media (max-width: 768px) {\n                .fb-form-row {\n                    flex-direction: column;\n                    gap: 0;\n                }\n\n                .fb-metrics-grid {\n                    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n                }\n\n                .fb-funnel-container {\n                    height: 150px;\n                }\n\n                .fb-header-content {\n                    flex-direction: column;\n                    gap: 15px;\n                }\n\n                .fb-user-menu {\n                    width: 100%;\n                    justify-content: space-between;\n                }\n\n                .fb-gauge-container {\n                    width: 200px;\n                    height: 120px;\n                }\n\n                .fb-gauge-bg {\n                    width: 200px;\n                    height: 200px;\n                }\n\n                .fb-gauge-center {\n                    width: 160px;\n                    height: 160px;\n                    top: 20px;\n                    left: 20px;\n                }\n\n                .fb-gauge-needle {\n                    width: 3px;\n                    height: 80px;\n                    top: 20px;\n                    left: 98.5px;\n                }\n\n                .fb-gauge-mark {\n                    left: 99px;\n                    transform-origin: center 90px;\n                }\n            }\n        <\/style>\n\n        <div class=\"fb-header\">\n            <div class=\"fb-container\">\n                <div class=\"fb-header-content\">\n                    <div class=\"fb-logo\">\n                        <i class=\"fab fa-facebook\"><\/i>\n                        <h1>Facebook Marketing Intelligence & Prediction Tool<\/h1>\n                    <\/div>\n                    <div class=\"fb-user-menu\">\n                        <a href=\"#\"><i class=\"fas fa-chart-line\"><\/i> Dashboard<\/a>\n                        <a href=\"#\"><i class=\"fas fa-cog\"><\/i> Settings<\/a>\n                        <a href=\"#\" class=\"fb-btn fb-btn-primary\"><i class=\"fas fa-user\"><\/i> Account<\/a>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div class=\"fb-main\">\n            <div class=\"fb-container\">\n                <div class=\"fb-page-title\">\n                    <h2>Facebook Marketing Intelligence for Bangladesh Market<\/h2>\n                    <p>Get AI-powered predictions, insights, and recommendations for your Facebook marketing campaigns<\/p>\n                <\/div>\n\n                <div class=\"fb-card\">\n                    <div class=\"fb-card-title\">\n                        <i class=\"fas fa-search\"><\/i>\n                        <span>Product Selection & Analysis<\/span>\n                    <\/div>\n                    <form id=\"fb-productForm\">\n                        <div class=\"fb-form-group\">\n                            <label class=\"fb-form-label\" for=\"fb-productCategory\">Product Category<\/label>\n                            <select class=\"fb-form-control\" id=\"fb-productCategory\" required>\n                                <option value=\"\">Select Category<\/option>\n                                <option value=\"fashion\">\u09aa\u09cb\u09b6\u09be\u0995 \u0993 \u09aa\u09b0\u09bf\u099a\u09cd\u099b\u09a6 (Fashion & Apparel)<\/option>\n                                <option value=\"electronics\">\u0987\u09b2\u09c7\u0995\u099f\u09cd\u09b0\u09a8\u09bf\u0995\u09cd\u09b8 (Electronics)<\/option>\n                                <option value=\"home\">\u0997\u09c3\u09b9\u09b8\u09cd\u09a5\u09be\u09b2\u09c0 \u0993 \u099c\u09c0\u09ac\u09a8\u09af\u09be\u09aa\u09a8 (Home & Living)<\/option>\n                                <option value=\"beauty\">\u09b8\u09cc\u09a8\u09cd\u09a6\u09b0\u09cd\u09af \u0993 \u09ac\u09cd\u09af\u0995\u09cd\u09a4\u09bf\u0997\u09a4 \u09af\u09a4\u09cd\u09a8 (Beauty & Personal Care)<\/option>\n                                <option value=\"food\">\u0996\u09be\u09a6\u09cd\u09af \u0993 \u09aa\u09be\u09a8\u09c0\u09af\u09bc (Food & Beverage)<\/option>\n                                <option value=\"health\">\u09b8\u09cd\u09ac\u09be\u09b8\u09cd\u09a5\u09cd\u09af \u0993 \u09b8\u09c1\u09b8\u09cd\u09a5\u09a4\u09be (Health & Wellness)<\/option>\n                                <option value=\"education\">\u09b6\u09bf\u0995\u09cd\u09b7\u09be (Education)<\/option>\n                                <option value=\"services\">\u09b8\u09c7\u09ac\u09be (Services)<\/option>\n                                <option value=\"jewelry\">\u0997\u09af\u09bc\u09a8\u09be \u0993 \u0985\u09b2\u0999\u09cd\u0995\u09be\u09b0 (Jewelry & Accessories)<\/option>\n                                <option value=\"toys\">\u0996\u09c7\u09b2\u09a8\u09be \u0993 \u09b6\u09bf\u09b6\u09c1\u09aa\u09a3\u09cd\u09af (Toys & Kids Products)<\/option>\n                                <option value=\"vehicles\">\u09af\u09be\u09a8\u09ac\u09be\u09b9\u09a8 \u0993 \u09af\u09a8\u09cd\u09a4\u09cd\u09b0\u09be\u0982\u09b6 (Vehicles & Parts)<\/option>\n                                <option value=\"sports\">\u0995\u09cd\u09b0\u09c0\u09a1\u09bc\u09be \u0993 \u09ab\u09bf\u099f\u09a8\u09c7\u09b8 (Sports & Fitness)<\/option>\n                                <option value=\"pets\">\u09aa\u09cb\u09b7\u09be \u09aa\u09cd\u09b0\u09be\u09a3\u09c0 \u0993 \u09b8\u09b0\u099e\u09cd\u099c\u09be\u09ae (Pets & Supplies)<\/option>\n                                <option value=\"agriculture\">\u0995\u09c3\u09b7\u09bf \u0993 \u09ac\u09be\u0997\u09be\u09a8 (Agriculture & Gardening)<\/option>\n                                <option value=\"books\">\u09ac\u0987 \u0993 \u09b8\u09cd\u099f\u09c7\u09b6\u09a8\u09be\u09b0\u09bf (Books & Stationery)<\/option>\n                                <option value=\"mobile\">\u09ae\u09cb\u09ac\u09be\u0987\u09b2 \u0993 \u099f\u09cd\u09af\u09be\u09ac (Mobile & Tablets)<\/option>\n                                <option value=\"laptops\">\u09b2\u09cd\u09af\u09be\u09aa\u099f\u09aa \u0993 \u0995\u09ae\u09cd\u09aa\u09bf\u0989\u099f\u09be\u09b0 (Laptops & Computers)<\/option>\n                                <option value=\"furniture\">\u09ab\u09be\u09b0\u09cd\u09a8\u09bf\u099a\u09be\u09b0 (Furniture)<\/option>\n                                <option value=\"watches\">\u0998\u09a1\u09bc\u09bf \u0993 \u0986\u09a8\u09c1\u09b7\u09be\u0999\u09cd\u0997\u09bf\u0995 (Watches & Accessories)<\/option>\n                                <option value=\"gifts\">\u0989\u09aa\u09b9\u09be\u09b0 \u0993 \u09b8\u09cd\u09ae\u09be\u09b0\u0995 (Gifts & Souvenirs)<\/option>\n                            <\/select>\n                        <\/div>\n                        <div class=\"fb-form-row\">\n                            <div class=\"fb-form-group\">\n                                <label class=\"fb-form-label\" for=\"fb-productName\">Product Name<\/label>\n                                <input type=\"text\" class=\"fb-form-control\" id=\"fb-productName\" placeholder=\"e.g. Men's Formal Shoe\" required>\n                            <\/div>\n                            <div class=\"fb-form-group\">\n                                <label class=\"fb-form-label\" for=\"fb-priceRange\">Price Range (BDT)<\/label>\n                                <select class=\"fb-form-control\" id=\"fb-priceRange\" required>\n                                    <option value=\"\">Select Price Range<\/option>\n                                    <option value=\"0-500\">Under 500 BDT<\/option>\n                                    <option value=\"500-1000\">500 - 1,000 BDT<\/option>\n                                    <option value=\"1000-2500\">1,000 - 2,500 BDT<\/option>\n                                    <option value=\"2500-5000\">2,500 - 5,000 BDT<\/option>\n                                    <option value=\"5000-10000\">5,000 - 10,000 BDT<\/option>\n                                    <option value=\"10000-25000\">10,000 - 25,000 BDT<\/option>\n                                    <option value=\"25000-50000\">25,000 - 50,000 BDT<\/option>\n                                    <option value=\"50000+\">Above 50,000 BDT<\/option>\n                                <\/select>\n                            <\/div>\n                        <\/div>\n                        <div class=\"fb-form-group\">\n                            <label class=\"fb-form-label\" for=\"fb-targetAudience\">Target Audience<\/label>\n                            <select class=\"fb-form-control\" id=\"fb-targetAudience\" required>\n                                <option value=\"\">Select Target Audience<\/option>\n                                <option value=\"male\">Male<\/option>\n                                <option value=\"female\">Female<\/option>\n                                <option value=\"all\">All Genders<\/option>\n                                <option value=\"youth\">Youth (18-24)<\/option>\n                                <option value=\"adults\">Adults (25-40)<\/option>\n                                <option value=\"middle-age\">Middle Age (41-60)<\/option>\n                                <option value=\"seniors\">Seniors (60+)<\/option>\n                                <option value=\"students\">Students<\/option>\n                                <option value=\"professionals\">Professionals<\/option>\n                                <option value=\"parents\">Parents<\/option>\n                                <option value=\"business\">Business Owners<\/option>\n                            <\/select>\n                        <\/div>\n                        <button type=\"submit\" class=\"fb-btn fb-btn-primary\">\n                            <i class=\"fas fa-chart-bar\"><\/i> Analyze Product\n                        <\/button>\n                    <\/form>\n                <\/div>\n\n                <div class=\"fb-loader\" id=\"fb-loader\">\n                    <div class=\"fb-spinner\"><\/div>\n                    <p>Analyzing market data and generating predictions...<\/p>\n                <\/div>\n\n                <div id=\"fb-resultsContainer\" style=\"display: none;\">\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-chart-pie\"><\/i>\n                            <span>Market Analysis & Predictions<\/span>\n                        <\/div>\n                        <div class=\"fb-metrics-grid\">\n                            <div class=\"fb-metric-card\">\n                                <div class=\"fb-metric-icon\" style=\"color: #4285F4;\">\n                                    <i class=\"fas fa-fire\"><\/i>\n                                <\/div>\n                                <div class=\"fb-metric-value\" id=\"fb-demandScore\">--<\/div>\n                                <div class=\"fb-metric-label\">Demand Score (1-100)<\/div>\n                            <\/div>\n                            <div class=\"fb-metric-card\">\n                                <div class=\"fb-metric-icon\" style=\"color: #34A853;\">\n                                    <i class=\"fas fa-money-bill-wave\"><\/i>\n                                <\/div>\n                                <div class=\"fb-metric-value\" id=\"fb-budget\">--<\/div>\n                                <div class=\"fb-metric-label\">Recommended Budget (BDT)<\/div>\n                            <\/div>\n                            <div class=\"fb-metric-card\">\n                                <div class=\"fb-metric-icon\" style=\"color: #FBBC05;\">\n                                    <i class=\"fas fa-shopping-cart\"><\/i>\n                                <\/div>\n                                <div class=\"fb-metric-value\" id=\"fb-estimatedSales\">--<\/div>\n                                <div class=\"fb-metric-label\">Estimated Sales<\/div>\n                            <\/div>\n                            <div class=\"fb-metric-card\">\n                                <div class=\"fb-metric-icon\" style=\"color: #EA4335;\">\n                                    <i class=\"fas fa-chart-line\"><\/i>\n                                <\/div>\n                                <div class=\"fb-metric-value\" id=\"fb-roas\">--<\/div>\n                                <div class=\"fb-metric-label\">Predicted ROAS<\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-exclamation-triangle\"><\/i>\n                            <span>Risk Assessment<\/span>\n                        <\/div>\n                        <div class=\"fb-metric-card\" style=\"max-width: 300px; margin: 0 auto;\">\n                            <div class=\"fb-metric-value\" id=\"fb-riskLevel\">--<\/div>\n                            <div class=\"fb-metric-label\">Risk Level<\/div>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-filter\"><\/i>\n                            <span>Recommended Marketing Funnel<\/span>\n                        <\/div>\n                        <div class=\"fb-funnel-container\">\n                            <div class=\"fb-funnel-step\" data-stage=\"awareness\">\n                                <div class=\"fb-funnel-bar\">Awareness<\/div>\n                                <div class=\"fb-funnel-label\">Reach<\/div>\n                                <div class=\"fb-funnel-description\">Introduce your product to a broad audience<\/div>\n                            <\/div>\n                            <div class=\"fb-funnel-step\" data-stage=\"consideration\">\n                                <div class=\"fb-funnel-bar\">Consideration<\/div>\n                                <div class=\"fb-funnel-label\">Engage<\/div>\n                                <div class=\"fb-funnel-description\">Get people to consider your product<\/div>\n                            <\/div>\n                            <div class=\"fb-funnel-step\" data-stage=\"lead\">\n                                <div class=\"fb-funnel-bar\">Lead<\/div>\n                                <div class=\"fb-funnel-label\">Capture<\/div>\n                                <div class=\"fb-funnel-description\">Collect potential customer information<\/div>\n                            <\/div>\n                            <div class=\"fb-funnel-step\" data-stage=\"conversion\">\n                                <div class=\"fb-funnel-bar\">Conversion<\/div>\n                                <div class=\"fb-funnel-label\">Purchase<\/div>\n                                <div class=\"fb-funnel-description\">Encourage people to buy your product<\/div>\n                            <\/div>\n                            <div class=\"fb-funnel-step\" data-stage=\"retargeting\">\n                                <div class=\"fb-funnel-bar\">Retargeting<\/div>\n                                <div class=\"fb-funnel-label\">Retain<\/div>\n                                <div class=\"fb-funnel-description\">Bring back interested customers<\/div>\n                            <\/div>\n                        <\/div>\n\n                        <!-- Funnel Details Sections -->\n                        <div class=\"fb-funnel-details\" id=\"fb-awareness-details\">\n                            <h4>Awareness Stage Strategy<\/h4>\n                            <ul id=\"fb-awareness-list\">\n                                <!-- Will be populated by JavaScript -->\n                            <\/ul>\n                        <\/div>\n\n                        <div class=\"fb-funnel-details\" id=\"fb-consideration-details\">\n                            <h4>Consideration Stage Strategy<\/h4>\n                            <ul id=\"fb-consideration-list\">\n                                <!-- Will be populated by JavaScript -->\n                            <\/ul>\n                        <\/div>\n\n                        <div class=\"fb-funnel-details\" id=\"fb-lead-details\">\n                            <h4>Lead Generation Strategy<\/h4>\n                            <ul id=\"fb-lead-list\">\n                                <!-- Will be populated by JavaScript -->\n                            <\/ul>\n                        <\/div>\n\n                        <div class=\"fb-funnel-details\" id=\"fb-conversion-details\">\n                            <h4>Conversion Stage Strategy<\/h4>\n                            <ul id=\"fb-conversion-list\">\n                                <!-- Will be populated by JavaScript -->\n                            <\/ul>\n                        <\/div>\n\n                        <div class=\"fb-funnel-details\" id=\"fb-retargeting-details\">\n                            <h4>Retargeting Strategy<\/h4>\n                            <ul id=\"fb-retargeting-list\">\n                                <!-- Will be populated by JavaScript -->\n                            <\/ul>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-lightbulb\"><\/i>\n                            <span>AI Content Suggestions<\/span>\n                        <\/div>\n                        <div class=\"fb-tabs\">\n                            <div class=\"fb-tab active\" data-tab=\"ad-copy\">Ad Copy<\/div>\n                            <div class=\"fb-tab\" data-tab=\"creative\">Creative Ideas<\/div>\n                            <div class=\"fb-tab\" data-tab=\"video-script\">Video Script<\/div>\n                        <\/div>\n                        <div class=\"fb-tab-content active\" id=\"fb-ad-copy\">\n                            <div class=\"fb-content-suggestions\">\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Primary Hook<\/h4>\n                                    <p id=\"fb-primaryHook\">--<\/p>\n                                <\/div>\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Short Copy<\/h4>\n                                    <p id=\"fb-shortCopy\">--<\/p>\n                                <\/div>\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Long Copy<\/h4>\n                                    <p id=\"fb-longCopy\">--<\/p>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                        <div class=\"fb-tab-content\" id=\"fb-creative\">\n                            <div class=\"fb-content-suggestions\">\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Image Concept<\/h4>\n                                    <p id=\"fb-imageConcept\">--<\/p>\n                                <\/div>\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Color Scheme<\/h4>\n                                    <p id=\"fb-colorScheme\">--<\/p>\n                                <\/div>\n                                <div class=\"fb-suggestion-card\">\n                                    <h4>Visual Elements<\/h4>\n                                    <p id=\"fb-visualElements\">--<\/p>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                        <div class=\"fb-tab-content\" id=\"fb-video-script\">\n                            <div class=\"fb-suggestion-card\">\n                                <h4>Video Script Outline<\/h4>\n                                <p id=\"fb-videoScript\">--<\/p>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-tools\"><\/i>\n                            <span>Optimization Suggestions<\/span>\n                        <\/div>\n                        <ul class=\"fb-optimization-list\" id=\"fb-optimizationList\">\n                            <!-- Optimization suggestions will be populated here -->\n                        <\/ul>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-trophy\"><\/i>\n                            <span>Probability of Success<\/span>\n                        <\/div>\n                        <div class=\"fb-success-meter\">\n                            <div class=\"fb-success-meter-fill\" id=\"fb-successMeterFill\"><\/div>\n                        <\/div>\n                        <div class=\"fb-success-label\">\n                            <span>Low<\/span>\n                            <span id=\"fb-successPercentage\">--<\/span>\n                            <span>High<\/span>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-card\">\n                        <div class=\"fb-card-title\">\n                            <i class=\"fas fa-calculator\"><\/i>\n                            <span>ROI Calculator<\/span>\n                        <\/div>\n                        <div class=\"fb-roi-calculator\">\n                            <div class=\"fb-roi-inputs\">\n                                <div class=\"fb-roi-input-group\">\n                                    <label for=\"fb-adSpend\">Ad Spend (BDT)<\/label>\n                                    <input type=\"number\" id=\"fb-adSpend\" placeholder=\"Enter amount\" min=\"0\">\n                                <\/div>\n                                <div class=\"fb-roi-input-group\">\n                                    <label for=\"fb-expectedRevenue\">Revenue (BDT)<\/label>\n                                    <input type=\"number\" id=\"fb-expectedRevenue\" placeholder=\"Enter amount\" min=\"0\">\n                                <\/div>\n                            <\/div>\n                            <button type=\"button\" class=\"fb-btn fb-btn-primary\" id=\"fb-calculateROI\">\n                                <i class=\"fas fa-chart-line\"><\/i> Calculate ROI\n                            <\/button>\n                            \n                            <div class=\"fb-gauge-container\">\n                                <div class=\"fb-gauge-bg\"><\/div>\n                                <div class=\"fb-gauge-center\">\n                                    <div class=\"fb-gauge-value\" id=\"fb-gaugeValue\">--<\/div>\n                                    <div class=\"fb-gauge-label\">ROI %<\/div>\n                                <\/div>\n                                <div class=\"fb-gauge-needle\" id=\"fb-gaugeNeedle\"><\/div>\n                                <div class=\"fb-gauge-marks\">\n                                    <!-- Gauge marks will be generated by JavaScript -->\n                                <\/div>\n                            <\/div>\n                            \n                            <div class=\"fb-roi-status\" id=\"fb-roiStatus\">Enter values and calculate ROI<\/div>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"fb-report-actions\">\n                        <button class=\"fb-btn fb-btn-outline\" id=\"fb-refreshAnalysis\">\n                            <i class=\"fas fa-sync-alt\"><\/i> Refresh Analysis\n                        <\/button>\n                        <button class=\"fb-btn fb-btn-success\" id=\"fb-downloadReport\">\n                            <i class=\"fas fa-file-pdf\"><\/i> Download PDF Report\n                        <\/button>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div class=\"fb-notification\" id=\"fb-notification\">\n            <div class=\"fb-notification-icon\">\n                <i class=\"fas fa-check-circle\"><\/i>\n            <\/div>\n            <div class=\"fb-notification-content\">\n                <h4>Success!<\/h4>\n                <p>Your analysis has been completed successfully.<\/p>\n            <\/div>\n            <button class=\"fb-close-notification\" id=\"fb-closeNotification\">\n                <i class=\"fas fa-times\"><\/i>\n            <\/button>\n        <\/div>\n\n        <script>\n            \/\/ Wait for document to be ready\n            document.addEventListener('DOMContentLoaded', function() {\n                \/\/ Marketing funnel strategies for each product category\n                const fbFunnelStrategies = {\n                    fashion: {\n                        awareness: [\n                            \"Run broad targeting ads with lifestyle images showcasing your fashion products\",\n                            \"Use interest-based targeting (fashion, shopping, style) and demographic targeting\",\n                            \"Create video ads showing models wearing your products in different settings\",\n                            \"Use Facebook's automatic placements to maximize reach across Instagram, Facebook, and Audience Network\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing multiple products or angles\",\n                            \"Include customer reviews and testimonials in your ad creative\",\n                            \"Run video ads demonstrating product quality and style\",\n                            \"Create lookalike audiences based on your website visitors\"\n                        ],\n                        lead: [\n                            \"Offer a style guide or fashion tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your fashion style?') to collect leads\",\n                            \"Offer exclusive discounts for first-time subscribers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who visited your website or added items to cart\",\n                            \"Highlight special offers, discounts, or limited-time deals\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and product reviews in your ads\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary products\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new collections or seasonal items\"\n                        ]\n                    },\n                    electronics: {\n                        awareness: [\n                            \"Run video ads highlighting key features and benefits of your electronic products\",\n                            \"Use interest-based targeting (technology, gadgets, specific brands) and demographic targeting\",\n                            \"Create comparison ads showing your products vs. competitors\",\n                            \"Use Facebook's automatic placements to reach tech enthusiasts\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different features and use cases\",\n                            \"Include detailed specifications and technical information\",\n                            \"Run video ads demonstrating product performance\",\n                            \"Create ads highlighting customer reviews and expert opinions\"\n                        ],\n                        lead: [\n                            \"Offer a product comparison guide or buying tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'Which gadget is right for you?') to collect leads\",\n                            \"Offer exclusive pre-order access for new products\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products\",\n                            \"Highlight special offers, bundle deals, or financing options\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include limited-time offers or exclusive discounts\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with accessories or complementary products\",\n                            \"Use dynamic product ads for upgrades or newer models\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new product releases or software updates\"\n                        ]\n                    },\n                    home: {\n                        awareness: [\n                            \"Run image and video ads showcasing your home products in beautiful settings\",\n                            \"Use interest-based targeting (home decor, interior design, gardening) and demographic targeting\",\n                            \"Create ads showing before-and-after transformations\",\n                            \"Use Facebook's automatic placements to reach homeowners and renters\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different room setups or product combinations\",\n                            \"Include customer reviews and home improvement tips\",\n                            \"Run video ads demonstrating product use and benefits\",\n                            \"Create ads highlighting durability and quality\"\n                        ],\n                        lead: [\n                            \"Offer a home styling guide or organization tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your home decor style?') to collect leads\",\n                            \"Offer exclusive discounts for home makeover packages\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or visited your website\",\n                            \"Highlight special offers, bundle deals, or seasonal discounts\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and room transformation photos\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary home products\",\n                            \"Use dynamic product ads for room additions or upgrades\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new collections or seasonal items\"\n                        ]\n                    },\n                    beauty: {\n                        awareness: [\n                            \"Run video ads demonstrating your beauty products and their effects\",\n                            \"Use interest-based targeting (skincare, makeup, beauty) and demographic targeting\",\n                            \"Create ads showing before-and-after results\",\n                            \"Use Facebook's automatic placements to reach beauty enthusiasts\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different products or application techniques\",\n                            \"Include customer reviews and testimonials from beauty influencers\",\n                            \"Run video ads with tutorials or application tips\",\n                            \"Create ads highlighting ingredients and benefits\"\n                        ],\n                        lead: [\n                            \"Offer a skincare routine or beauty tips guide in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your skin type?') to collect leads\",\n                            \"Offer exclusive samples or trial sizes for new subscribers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or added items to cart\",\n                            \"Highlight special offers, bundle deals, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and before-and-after photos\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary beauty products\",\n                            \"Use dynamic product ads for refills or new product launches\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new collections or seasonal items\"\n                        ]\n                    },\n                    food: {\n                        awareness: [\n                            \"Run video ads showcasing your food products and their preparation\",\n                            \"Use interest-based targeting (food, cooking, specific cuisines) and demographic targeting\",\n                            \"Create ads highlighting freshness and quality ingredients\",\n                            \"Use Facebook's automatic placements to reach food enthusiasts\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different products or recipe ideas\",\n                            \"Include customer reviews and testimonials\",\n                            \"Run video ads with cooking demonstrations or recipes\",\n                            \"Create ads highlighting nutritional information and benefits\"\n                        ],\n                        lead: [\n                            \"Offer a recipe book or cooking tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your food personality?') to collect leads\",\n                            \"Offer exclusive discounts for first-time customers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or visited your website\",\n                            \"Highlight special offers, bundle deals, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and product reviews\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary food products\",\n                            \"Use dynamic product ads for new flavors or seasonal items\",\n                            \"Create loyalty programs or subscription offers for repeat customers\",\n                            \"Run ads showcasing new product launches or special editions\"\n                        ]\n                    },\n                    health: {\n                        awareness: [\n                            \"Run educational video ads about health and wellness topics\",\n                            \"Use interest-based targeting (fitness, nutrition, wellness) and demographic targeting\",\n                            \"Create ads highlighting the benefits of your health products\",\n                            \"Use Facebook's automatic placements to reach health-conscious individuals\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different products or their benefits\",\n                            \"Include expert endorsements and scientific information\",\n                            \"Run video ads with testimonials or case studies\",\n                            \"Create ads highlighting ingredients and their effects\"\n                        ],\n                        lead: [\n                            \"Offer a health guide or wellness tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your wellness score?') to collect leads\",\n                            \"Offer exclusive consultations or health assessments\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or visited your website\",\n                            \"Highlight special offers, bundle deals, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include expert testimonials and scientific evidence\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary health products\",\n                            \"Use dynamic product ads for refills or new formulations\",\n                            \"Create loyalty programs or subscription offers for repeat customers\",\n                            \"Run ads showcasing new product launches or health tips\"\n                        ]\n                    },\n                    education: {\n                        awareness: [\n                            \"Run video ads showcasing your educational products or services\",\n                            \"Use interest-based targeting (education, learning, specific subjects) and demographic targeting\",\n                            \"Create ads highlighting the benefits and outcomes of your educational offerings\",\n                            \"Use Facebook's automatic placements to reach students and professionals\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different courses or learning materials\",\n                            \"Include student testimonials and success stories\",\n                            \"Run video ads with course previews or instructor introductions\",\n                            \"Create ads highlighting curriculum and learning outcomes\"\n                        ],\n                        lead: [\n                            \"Offer a free sample lesson or study guide in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential student information\",\n                            \"Create a quiz (e.g., 'What's your learning style?') to collect leads\",\n                            \"Offer exclusive webinars or workshops for new subscribers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific courses or visited your website\",\n                            \"Highlight special offers, bundle deals, or limited-time discounts\",\n                            \"Use dynamic product ads for personalized course recommendations\",\n                            \"Include student testimonials and success metrics\"\n                        ],\n                        retargeting: [\n                            \"Target users who enrolled in courses with advanced or complementary offerings\",\n                            \"Use dynamic product ads for new courses or learning materials\",\n                            \"Create loyalty programs or exclusive offers for repeat students\",\n                            \"Run ads showcasing new course launches or educational resources\"\n                        ]\n                    },\n                    services: {\n                        awareness: [\n                            \"Run video ads showcasing your services and their benefits\",\n                            \"Use interest-based targeting (specific service categories, professional interests) and demographic targeting\",\n                            \"Create ads highlighting the problems your services solve\",\n                            \"Use Facebook's automatic placements to reach potential clients\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different services or service packages\",\n                            \"Include client testimonials and case studies\",\n                            \"Run video ads with service demonstrations or explanations\",\n                            \"Create ads highlighting your expertise and qualifications\"\n                        ],\n                        lead: [\n                            \"Offer a free consultation or service assessment in exchange for contact information\",\n                            \"Use lead generation forms to capture potential client information\",\n                            \"Create a quiz (e.g., 'What service do you need?') to collect leads\",\n                            \"Offer exclusive resources or guides related to your services\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific services or visited your website\",\n                            \"Highlight special offers, package deals, or limited-time promotions\",\n                            \"Use dynamic ads for personalized service recommendations\",\n                            \"Include client testimonials and success stories\"\n                        ],\n                        retargeting: [\n                            \"Target existing clients with complementary services or maintenance packages\",\n                            \"Use dynamic ads for service upgrades or additional offerings\",\n                            \"Create loyalty programs or referral incentives for repeat clients\",\n                            \"Run ads showcasing new services or seasonal promotions\"\n                        ]\n                    },\n                    jewelry: {\n                        awareness: [\n                            \"Run elegant video ads showcasing jewelry craftsmanship and designs\",\n                            \"Use interest-based targeting (luxury goods, fashion accessories, weddings) and demographic targeting\",\n                            \"Create ads highlighting the quality and uniqueness of your jewelry pieces\",\n                            \"Use Facebook's automatic placements to reach luxury shoppers and gift buyers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different jewelry pieces and styling options\",\n                            \"Include customer testimonials and celebrity endorsements\",\n                            \"Run video ads demonstrating jewelry quality and design details\",\n                            \"Create ads highlighting materials, craftsmanship, and value\"\n                        ],\n                        lead: [\n                            \"Offer a jewelry styling guide or care tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your jewelry style?') to collect leads\",\n                            \"Offer exclusive consultations or custom design services\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific pieces or visited your website\",\n                            \"Highlight special offers, financing options, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and quality guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary jewelry pieces\",\n                            \"Use dynamic product ads for matching sets or new collections\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new designs or seasonal collections\"\n                        ]\n                    },\n                    toys: {\n                        awareness: [\n                            \"Run colorful video ads showing children enjoying your toys\",\n                            \"Use interest-based targeting (parenting, education, child development) and demographic targeting\",\n                            \"Create ads highlighting educational benefits and safety features\",\n                            \"Use Facebook's automatic placements to reach parents and gift buyers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different toys and their features\",\n                            \"Include parent testimonials and safety certifications\",\n                            \"Run video ads demonstrating toy functionality and educational value\",\n                            \"Create ads highlighting age-appropriateness and developmental benefits\"\n                        ],\n                        lead: [\n                            \"Offer a parenting guide or toy selection tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your child's learning style?') to collect leads\",\n                            \"Offer exclusive discounts or bundle deals for new subscribers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific toys or visited your website\",\n                            \"Highlight special offers, bundle deals, or seasonal promotions\",\n                            \"Use dynamic product ads for age-appropriate recommendations\",\n                            \"Include parent testimonials and safety guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary toys or accessories\",\n                            \"Use dynamic product ads for age-appropriate upgrades or new releases\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new toy launches or seasonal collections\"\n                        ]\n                    },\n                    vehicles: {\n                        awareness: [\n                            \"Run dynamic video ads showcasing vehicle features and performance\",\n                            \"Use interest-based targeting (automotive, transportation, specific brands) and demographic targeting\",\n                            \"Create comparison ads showing your vehicles vs. competitors\",\n                            \"Use Facebook's automatic placements to reach car enthusiasts and potential buyers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different vehicle models and features\",\n                            \"Include detailed specifications and performance metrics\",\n                            \"Run video ads demonstrating vehicle capabilities and features\",\n                            \"Create ads highlighting fuel efficiency, safety, and technology\"\n                        ],\n                        lead: [\n                            \"Offer a vehicle comparison guide or buying tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What vehicle suits your lifestyle?') to collect leads\",\n                            \"Offer exclusive test drives or consultations\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific models or visited your website\",\n                            \"Highlight special offers, financing options, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and warranty information\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with accessories or maintenance services\",\n                            \"Use dynamic product ads for upgrades or newer models\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new releases or service packages\"\n                        ]\n                    },\n                    sports: {\n                        awareness: [\n                            \"Run energetic video ads showing athletes using your sports equipment\",\n                            \"Use interest-based targeting (fitness, sports, healthy lifestyle) and demographic targeting\",\n                            \"Create ads highlighting performance benefits and quality\",\n                            \"Use Facebook's automatic placements to reach fitness enthusiasts\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different equipment and their features\",\n                            \"Include athlete testimonials and performance metrics\",\n                            \"Run video ads demonstrating equipment use and benefits\",\n                            \"Create ads highlighting durability, design, and performance\"\n                        ],\n                        lead: [\n                            \"Offer a fitness guide or training tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your fitness level?') to collect leads\",\n                            \"Offer exclusive workout plans or consultations\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific equipment or visited your website\",\n                            \"Highlight special offers, bundle deals, or seasonal promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include athlete testimonials and performance guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary equipment or accessories\",\n                            \"Use dynamic product ads for upgrades or new releases\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new equipment or training programs\"\n                        ]\n                    },\n                    pets: {\n                        awareness: [\n                            \"Run heartwarming video ads showing pets enjoying your products\",\n                            \"Use interest-based targeting (pet care, animals, pet lovers) and demographic targeting\",\n                            \"Create ads highlighting product safety and benefits for pets\",\n                            \"Use Facebook's automatic placements to reach pet owners\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different pet products and their uses\",\n                            \"Include pet owner testimonials and veterinarian recommendations\",\n                            \"Run video ads demonstrating product use and benefits\",\n                            \"Create ads highlighting quality, safety, and pet happiness\"\n                        ],\n                        lead: [\n                            \"Offer a pet care guide or training tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your pet's personality?') to collect leads\",\n                            \"Offer exclusive discounts or free samples for new subscribers\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or visited your website\",\n                            \"Highlight special offers, bundle deals, or subscription options\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include pet owner testimonials and quality guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary pet products\",\n                            \"Use dynamic product ads for refills or new product launches\",\n                            \"Create loyalty programs or subscription offers for repeat customers\",\n                            \"Run ads showcasing new products or pet care tips\"\n                        ]\n                    },\n                    agriculture: {\n                        awareness: [\n                            \"Run educational video ads about agricultural products and techniques\",\n                            \"Use interest-based targeting (farming, gardening, agriculture) and demographic targeting\",\n                            \"Create ads highlighting productivity and quality benefits\",\n                            \"Use Facebook's automatic placements to reach farmers and gardeners\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different products and their applications\",\n                            \"Include farmer testimonials and expert recommendations\",\n                            \"Run video ads demonstrating product use and benefits\",\n                            \"Create ads highlighting effectiveness, quality, and yield improvements\"\n                        ],\n                        lead: [\n                            \"Offer a farming guide or agricultural tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your farming challenge?') to collect leads\",\n                            \"Offer exclusive consultations or product samples\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific products or visited your website\",\n                            \"Highlight special offers, bulk discounts, or seasonal promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include farmer testimonials and quality guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary agricultural products\",\n                            \"Use dynamic product ads for seasonal items or new releases\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new products or farming techniques\"\n                        ]\n                    },\n                    books: {\n                        awareness: [\n                            \"Run engaging video ads showcasing book content and author insights\",\n                            \"Use interest-based targeting (reading, education, specific genres) and demographic targeting\",\n                            \"Create ads highlighting book themes and benefits\",\n                            \"Use Facebook's automatic placements to reach book lovers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different books and their descriptions\",\n                            \"Include reader reviews and author endorsements\",\n                            \"Run video ads with book previews or author interviews\",\n                            \"Create ads highlighting content quality and reader benefits\"\n                        ],\n                        lead: [\n                            \"Offer a reading guide or book recommendations in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your reading preference?') to collect leads\",\n                            \"Offer exclusive excerpts or author interviews\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific books or visited your website\",\n                            \"Highlight special offers, bundle deals, or signed copies\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include reader testimonials and author endorsements\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary books or series\",\n                            \"Use dynamic product ads for new releases or related titles\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new releases or author events\"\n                        ]\n                    },\n                    mobile: {\n                        awareness: [\n                            \"Run dynamic video ads showcasing mobile features and capabilities\",\n                            \"Use interest-based targeting (technology, mobile devices, apps) and demographic targeting\",\n                            \"Create comparison ads showing your mobile devices vs. competitors\",\n                            \"Use Facebook's automatic placements to reach tech enthusiasts\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different mobile models and their features\",\n                            \"Include detailed specifications and performance metrics\",\n                            \"Run video ads demonstrating device capabilities and features\",\n                            \"Create ads highlighting camera quality, battery life, and performance\"\n                        ],\n                        lead: [\n                            \"Offer a mobile comparison guide or buying tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What mobile features do you need?') to collect leads\",\n                            \"Offer exclusive pre-order access or trade-in deals\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific models or visited your website\",\n                            \"Highlight special offers, financing options, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and warranty information\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with accessories or complementary devices\",\n                            \"Use dynamic product ads for upgrades or newer models\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new releases or software updates\"\n                        ]\n                    },\n                    laptops: {\n                        awareness: [\n                            \"Run professional video ads showcasing laptop performance and features\",\n                            \"Use interest-based targeting (technology, computers, professional tools) and demographic targeting\",\n                            \"Create comparison ads showing your laptops vs. competitors\",\n                            \"Use Facebook's automatic placements to reach professionals and students\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different laptop models and their specifications\",\n                            \"Include detailed performance metrics and expert reviews\",\n                            \"Run video ads demonstrating laptop capabilities and features\",\n                            \"Create ads highlighting performance, design, and productivity\"\n                        ],\n                        lead: [\n                            \"Offer a laptop buying guide or productivity tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What laptop suits your needs?') to collect leads\",\n                            \"Offer exclusive consultations or demo units\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific models or visited your website\",\n                            \"Highlight special offers, financing options, or business packages\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include expert reviews and warranty information\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with accessories or software\",\n                            \"Use dynamic product ads for upgrades or newer models\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new releases or productivity solutions\"\n                        ]\n                    },\n                    furniture: {\n                        awareness: [\n                            \"Run lifestyle video ads showcasing furniture in beautiful home settings\",\n                            \"Use interest-based targeting (home decor, interior design, furniture) and demographic targeting\",\n                            \"Create ads highlighting design, comfort, and quality\",\n                            \"Use Facebook's automatic placements to reach homeowners and renters\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different furniture pieces and room setups\",\n                            \"Include customer testimonials and designer recommendations\",\n                            \"Run video ads demonstrating furniture features and benefits\",\n                            \"Create ads highlighting materials, craftsmanship, and versatility\"\n                        ],\n                        lead: [\n                            \"Offer an interior design guide or furniture styling tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your interior design style?') to collect leads\",\n                            \"Offer exclusive consultations or room design services\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific pieces or visited your website\",\n                            \"Highlight special offers, financing options, or delivery services\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and quality guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary furniture pieces\",\n                            \"Use dynamic product ads for matching sets or new collections\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new designs or seasonal collections\"\n                        ]\n                    },\n                    watches: {\n                        awareness: [\n                            \"Run elegant video ads showcasing watch craftsmanship and designs\",\n                            \"Use interest-based targeting (luxury goods, fashion accessories, timepieces) and demographic targeting\",\n                            \"Create ads highlighting precision, style, and quality\",\n                            \"Use Facebook's automatic placements to reach luxury shoppers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different watch models and their features\",\n                            \"Include customer testimonials and expert reviews\",\n                            \"Run video ads demonstrating watch features and craftsmanship\",\n                            \"Create ads highlighting materials, movement, and design\"\n                        ],\n                        lead: [\n                            \"Offer a watch care guide or styling tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's your watch style?') to collect leads\",\n                            \"Offer exclusive consultations or limited edition previews\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific models or visited your website\",\n                            \"Highlight special offers, financing options, or limited-time promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and warranty information\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary accessories\",\n                            \"Use dynamic product ads for matching sets or new releases\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new designs or limited editions\"\n                        ]\n                    },\n                    gifts: {\n                        awareness: [\n                            \"Run festive video ads showcasing gift options for various occasions\",\n                            \"Use interest-based targeting (gifts, celebrations, special occasions) and demographic targeting\",\n                            \"Create ads highlighting uniqueness and emotional value\",\n                            \"Use Facebook's automatic placements to reach gift buyers\"\n                        ],\n                        consideration: [\n                            \"Use carousel ads showing different gift options and occasions\",\n                            \"Include customer testimonials and gift recommendations\",\n                            \"Run video ads demonstrating gift features and presentation\",\n                            \"Create ads highlighting personalization and special touches\"\n                        ],\n                        lead: [\n                            \"Offer a gift guide or occasion planning tips in exchange for email sign-ups\",\n                            \"Use lead generation forms to capture potential customer information\",\n                            \"Create a quiz (e.g., 'What's the perfect gift?') to collect leads\",\n                            \"Offer exclusive gift wrapping or personalization services\"\n                        ],\n                        conversion: [\n                            \"Run retargeting ads to users who viewed specific gifts or visited your website\",\n                            \"Highlight special offers, bundle deals, or seasonal promotions\",\n                            \"Use dynamic product ads for personalized recommendations\",\n                            \"Include customer testimonials and delivery guarantees\"\n                        ],\n                        retargeting: [\n                            \"Target users who made a purchase with complementary gift items\",\n                            \"Use dynamic product ads for seasonal or occasion-specific gifts\",\n                            \"Create loyalty programs or exclusive offers for repeat customers\",\n                            \"Run ads showcasing new gift ideas or special collections\"\n                        ]\n                    }\n                };\n\n                \/\/ Sample data for different product types\n                const fbSampleData = {\n                    \"Men's Formal Shoe\": {\n                        demandScore: 78,\n                        budget: 10000,\n                        estimatedSales: \"20-35\",\n                        roas: \"3.2X\",\n                        riskLevel: \"Low\",\n                        primaryHook: \"Step into success with our premium formal shoes!\",\n                        shortCopy: \"Elevate your professional style. Handcrafted formal shoes for the modern gentleman.\",\n                        longCopy: \"Looking for the perfect formal shoes that combine style, comfort, and durability? Our premium Men's Formal Shoes are handcrafted with the finest materials, designed to make you stand out in any professional setting. With cushioned insoles for all-day comfort and a sleek design that complements any formal attire, these shoes are a must-have for the modern gentleman. Order now and step into success!\",\n                        imageConcept: \"Professional model wearing the shoes in an office setting, with focus on shoe details\",\n                        colorScheme: \"Professional tones: navy, black, burgundy with subtle gold accents\",\n                        visualElements: \"Close-up shots of shoe craftsmanship, lifestyle images in office environments\",\n                        videoScript: \"Opening with a close-up of the shoe being crafted, transition to a professional walking confidently in an office setting, highlighting comfort features, ending with a call to action\",\n                        optimizations: [\n                            \"Narrow your audience to professionals aged 25-45 in urban areas\",\n                            \"Add a video hook showing the shoe in action within the first 3 seconds\",\n                            \"Include customer testimonials in your ad creative\",\n                            \"Use retargeting for users who visited your website but didn't purchase\",\n                            \"A\/B test different price points to find the optimal conversion rate\"\n                        ],\n                        successProbability: 78\n                    },\n                    \"Women's Handbag\": {\n                        demandScore: 85,\n                        budget: 15000,\n                        estimatedSales: \"30-50\",\n                        roas: \"4.1X\",\n                        riskLevel: \"Low\",\n                        primaryHook: \"The perfect accessory for every outfit!\",\n                        shortCopy: \"Stylish and functional handbags for the modern woman.\",\n                        longCopy: \"Discover our collection of premium handbags designed for the modern woman. Each bag combines style and functionality, crafted with attention to detail and quality materials. Whether you're heading to the office or a night out, our handbags are the perfect accessory to complete your look. With multiple compartments and adjustable straps, they're as practical as they are beautiful. Shop now and elevate your style!\",\n                        imageConcept: \"Model carrying the handbag in different settings (office, cafe, shopping)\",\n                        colorScheme: \"Versatile neutrals with seasonal accent colors\",\n                        visualElements: \"Flat lay of bag contents, lifestyle shots, detail shots of hardware and materials\",\n                        videoScript: \"Show the bag being used in different scenarios throughout the day, highlight organization features, showcase different ways to style it\",\n                        optimizations: [\n                            \"Target women aged 20-40 interested in fashion and accessories\",\n                            \"Use carousel ads showing multiple angles and uses of the bag\",\n                            \"Highlight special features like water-resistant material or RFID protection\",\n                            \"Create a sense of urgency with limited-time offers\",\n                            \"Use lookalike audiences based on your existing customers\"\n                        ],\n                        successProbability: 85\n                    },\n                    \"Smartphone\": {\n                        demandScore: 92,\n                        budget: 25000,\n                        estimatedSales: \"15-25\",\n                        roas: \"2.8X\",\n                        riskLevel: \"Medium\",\n                        primaryHook: \"Experience the future in your hands!\",\n                        shortCopy: \"Latest smartphone with advanced features at an unbeatable price.\",\n                        longCopy: \"Introducing our newest smartphone, packed with cutting-edge technology that fits in your pocket. With a stunning display, powerful processor, and professional-grade camera, this phone is designed for those who demand the best. Whether you're a photography enthusiast, a mobile gamer, or a busy professional, our smartphone delivers the performance you need. Plus, with all-day battery life and fast charging, you'll never be left powerless. Experience the future today!\",\n                        imageConcept: \"Product hero shots with lifestyle scenarios showing phone features in action\",\n                        colorScheme: \"Modern tech aesthetic with vibrant accent colors\",\n                        visualElements: \"Screen interface highlights, comparison with previous models, accessory ecosystem\",\n                        videoScript: \"Dynamic showcase of key features, split-screen comparisons, real-world usage scenarios, special offer reveal\",\n                        optimizations: [\n                            \"Target tech enthusiasts and early adopters aged 18-35\",\n                            \"Use video ads to showcase phone features and performance\",\n                            \"Highlight competitive advantages over popular brands\",\n                            \"Offer bundle deals with accessories to increase average order value\",\n                            \"Use detailed retargeting based on specific phone features viewed\"\n                        ],\n                        successProbability: 92\n                    }\n                };\n\n                \/\/ DOM elements\n                const fbProductForm = document.getElementById('fb-productForm');\n                const fbProductCategory = document.getElementById('fb-productCategory');\n                const fbProductName = document.getElementById('fb-productName');\n                const fbPriceRange = document.getElementById('fb-priceRange');\n                const fbTargetAudience = document.getElementById('fb-targetAudience');\n                const fbLoader = document.getElementById('fb-loader');\n                const fbResultsContainer = document.getElementById('fb-resultsContainer');\n                const fbNotification = document.getElementById('fb-notification');\n                const fbCloseNotification = document.getElementById('fb-closeNotification');\n                const fbRefreshAnalysis = document.getElementById('fb-refreshAnalysis');\n                const fbDownloadReport = document.getElementById('fb-downloadReport');\n                const fbTabs = document.querySelectorAll('.fb-tab');\n                const fbTabContents = document.querySelectorAll('.fb-tab-content');\n\n                \/\/ Funnel elements\n                const fbFunnelSteps = document.querySelectorAll('.fb-funnel-step');\n\n                \/\/ ROI Calculator elements\n                const fbCalculateROI = document.getElementById('fb-calculateROI');\n                const fbAdSpend = document.getElementById('fb-adSpend');\n                const fbExpectedRevenue = document.getElementById('fb-expectedRevenue');\n                const fbGaugeValue = document.getElementById('fb-gaugeValue');\n                const fbGaugeNeedle = document.getElementById('fb-gaugeNeedle');\n                const fbRoiStatus = document.getElementById('fb-roiStatus');\n                const fbGaugeMarks = document.querySelector('.fb-gauge-marks');\n\n                \/\/ Create gauge marks\n                function fbCreateGaugeMarks() {\n                    const markValues = [-100, -50, 0, 50, 100, 150, 200, 250, 300];\n                    \n                    markValues.forEach(value => {\n                        \/\/ Calculate angle for each mark (from -90 to 90 degrees)\n                        const angle = -90 + (value + 100) * (180 \/ 400);\n                        \n                        \/\/ Create mark line\n                        const mark = document.createElement('div');\n                        mark.className = 'fb-gauge-mark';\n                        mark.style.transform = `rotate(${angle}deg)`;\n                        fbGaugeMarks.appendChild(mark);\n                        \n                        \/\/ Create mark text\n                        const markText = document.createElement('div');\n                        markText.className = 'fb-gauge-mark-text';\n                        markText.textContent = value + '%';\n                        \n                        \/\/ Position text along the circle\n                        const radius = 115;\n                        const radian = (angle * Math.PI) \/ 180;\n                        const x = radius * Math.cos(radian);\n                        const y = radius * Math.sin(radian);\n                        \n                        markText.style.left = `${125 + x - 10}px`;\n                        markText.style.top = `${125 + y - 10}px`;\n                        \n                        fbGaugeMarks.appendChild(markText);\n                    });\n                }\n\n                \/\/ Initialize gauge marks\n                fbCreateGaugeMarks();\n\n                \/\/ Handle tab switching\n                fbTabs.forEach(tab => {\n                    tab.addEventListener('click', function() {\n                        const tabId = this.getAttribute('data-tab');\n                        \n                        \/\/ Remove active class from all tabs and contents\n                        fbTabs.forEach(t => t.classList.remove('active'));\n                        fbTabContents.forEach(c => c.classList.remove('active'));\n                        \n                        \/\/ Add active class to clicked tab and corresponding content\n                        this.classList.add('active');\n                        document.getElementById('fb-' + tabId).classList.add('active');\n                    });\n                });\n\n                \/\/ Handle funnel step clicks\n                fbFunnelSteps.forEach(step => {\n                    step.addEventListener('click', function() {\n                        const stage = this.getAttribute('data-stage');\n                        \n                        \/\/ Hide all funnel details\n                        document.querySelectorAll('.fb-funnel-details').forEach(detail => {\n                            detail.classList.remove('active');\n                        });\n                        \n                        \/\/ Show selected funnel details\n                        document.getElementById('fb-' + stage + '-details').classList.add('active');\n                    });\n                });\n\n                \/\/ Handle form submission\n                fbProductForm.addEventListener('submit', function(e) {\n                    e.preventDefault();\n                    \n                    \/\/ Show loader\n                    fbLoader.classList.add('active');\n                    fbResultsContainer.style.display = 'none';\n                    \n                    \/\/ Simulate API call with setTimeout\n                    setTimeout(() => {\n                        \/\/ Get form values\n                        const product = fbProductName.value;\n                        const category = fbProductCategory.value;\n                        \n                        \/\/ Find matching sample data or generate random data\n                        let data;\n                        if (fbSampleData[product]) {\n                            data = fbSampleData[product];\n                        } else {\n                            \/\/ Generate random data based on product category and price range\n                            const baseDemand = Math.floor(Math.random() * 40) + 50; \/\/ 50-90\n                            const baseBudget = Math.floor(Math.random() * 20000) + 5000; \/\/ 5,000-25,000\n                            const minSales = Math.floor(baseBudget \/ 500);\n                            const maxSales = Math.floor(baseBudget \/ 300);\n                            const baseROAS = (Math.random() * 3 + 2).toFixed(1); \/\/ 2.0-5.0\n                            const riskLevels = ['Low', 'Medium', 'High'];\n                            const riskIndex = baseDemand > 75 ? 0 : baseDemand > 50 ? 1 : 2;\n                            \n                            data = {\n                                demandScore: baseDemand,\n                                budget: baseBudget,\n                                estimatedSales: `${minSales}-${maxSales}`,\n                                roas: `${baseROAS}X`,\n                                riskLevel: riskLevels[riskIndex],\n                                primaryHook: `Discover the amazing benefits of our ${product}!`,\n                                shortCopy: `High-quality ${product} at an unbeatable price.`,\n                                longCopy: `Looking for the best ${product} in Bangladesh? Look no further! Our ${product} is designed with quality and affordability in mind. Made with premium materials and attention to detail, this product offers exceptional value for money. Whether you're buying for yourself or as a gift, our ${product} is sure to impress. Order now and experience the difference!`,\n                                imageConcept: `Professional product photography of ${product} in use`,\n                                colorScheme: 'Modern and appealing color palette based on product type',\n                                visualElements: 'Lifestyle images, detail shots, and product features',\n                                videoScript: `Showcase of ${product} features, benefits, and usage scenarios`,\n                                optimizations: [\n                                    `Target audience interested in ${category} products`,\n                                    'Use high-quality images that showcase product details',\n                                    'Include customer reviews and testimonials',\n                                    'Create a sense of urgency with limited-time offers',\n                                    'Use retargeting for website visitors'\n                                ],\n                                successProbability: baseDemand\n                            };\n                        }\n                        \n                        \/\/ Update UI with data\n                        document.getElementById('fb-demandScore').textContent = data.demandScore;\n                        document.getElementById('fb-budget').textContent = data.budget.toLocaleString('en-BD');\n                        document.getElementById('fb-estimatedSales').textContent = data.estimatedSales;\n                        document.getElementById('fb-roas').textContent = data.roas;\n                        document.getElementById('fb-riskLevel').textContent = data.riskLevel;\n                        \n                        \/\/ Update content suggestions\n                        document.getElementById('fb-primaryHook').textContent = data.primaryHook;\n                        document.getElementById('fb-shortCopy').textContent = data.shortCopy;\n                        document.getElementById('fb-longCopy').textContent = data.longCopy;\n                        document.getElementById('fb-imageConcept').textContent = data.imageConcept;\n                        document.getElementById('fb-colorScheme').textContent = data.colorScheme;\n                        document.getElementById('fb-visualElements').textContent = data.visualElements;\n                        document.getElementById('fb-videoScript').textContent = data.videoScript;\n                        \n                        \/\/ Update optimization list\n                        const fbOptimizationList = document.getElementById('fb-optimizationList');\n                        fbOptimizationList.innerHTML = '';\n                        data.optimizations.forEach(opt => {\n                            const li = document.createElement('li');\n                            li.innerHTML = `<i class=\"fas fa-lightbulb\"><\/i> <span>${opt}<\/span>`;\n                            fbOptimizationList.appendChild(li);\n                        });\n                        \n                        \/\/ Update success meter\n                        const fbSuccessMeterFill = document.getElementById('fb-successMeterFill');\n                        const fbSuccessPercentage = document.getElementById('fb-successPercentage');\n                        fbSuccessPercentage.textContent = `${data.successProbability}%`;\n                        \n                        \/\/ Animate success meter\n                        setTimeout(() => {\n                            fbSuccessMeterFill.style.width = `${data.successProbability}%`;\n                        }, 300);\n                        \n                        \/\/ Update funnel strategies based on category\n                        if (category && fbFunnelStrategies[category]) {\n                            const strategies = fbFunnelStrategies[category];\n                            \n                            \/\/ Update awareness list\n                            const fbAwarenessList = document.getElementById('fb-awareness-list');\n                            fbAwarenessList.innerHTML = '';\n                            strategies.awareness.forEach(item => {\n                                const li = document.createElement('li');\n                                li.textContent = item;\n                                fbAwarenessList.appendChild(li);\n                            });\n                            \n                            \/\/ Update consideration list\n                            const fbConsiderationList = document.getElementById('fb-consideration-list');\n                            fbConsiderationList.innerHTML = '';\n                            strategies.consideration.forEach(item => {\n                                const li = document.createElement('li');\n                                li.textContent = item;\n                                fbConsiderationList.appendChild(li);\n                            });\n                            \n                            \/\/ Update lead list\n                            const fbLeadList = document.getElementById('fb-lead-list');\n                            fbLeadList.innerHTML = '';\n                            strategies.lead.forEach(item => {\n                                const li = document.createElement('li');\n                                li.textContent = item;\n                                fbLeadList.appendChild(li);\n                            });\n                            \n                            \/\/ Update conversion list\n                            const fbConversionList = document.getElementById('fb-conversion-list');\n                            fbConversionList.innerHTML = '';\n                            strategies.conversion.forEach(item => {\n                                const li = document.createElement('li');\n                                li.textContent = item;\n                                fbConversionList.appendChild(li);\n                            });\n                            \n                            \/\/ Update retargeting list\n                            const fbRetargetingList = document.getElementById('fb-retargeting-list');\n                            fbRetargetingList.innerHTML = '';\n                            strategies.retargeting.forEach(item => {\n                                const li = document.createElement('li');\n                                li.textContent = item;\n                                fbRetargetingList.appendChild(li);\n                            });\n                        }\n                        \n                        \/\/ Hide loader and show results\n                        fbLoader.classList.remove('active');\n                        fbResultsContainer.style.display = 'block';\n                        \n                        \/\/ Show notification\n                        fbShowNotification('success', 'Analysis Complete', 'Your product analysis has been completed successfully.');\n                        \n                        \/\/ Scroll to results\n                        fbResultsContainer.scrollIntoView({ behavior: 'smooth' });\n                        \n                    }, 2000); \/\/ Simulate 2 seconds loading time\n                });\n\n                \/\/ ROI Calculator functionality\n                fbCalculateROI.addEventListener('click', function() {\n                    const spend = parseFloat(fbAdSpend.value);\n                    const revenue = parseFloat(fbExpectedRevenue.value);\n                    \n                    if (isNaN(spend) || isNaN(revenue) || spend <= 0) {\n                        fbShowNotification('error', 'Invalid Input', 'Please enter valid numbers for both fields. Ad spend must be greater than 0.');\n                        return;\n                    }\n                    \n                    \/\/ Calculate ROI\n                    const roi = ((revenue - spend) \/ spend) * 100;\n                    const roiFormatted = roi.toFixed(2);\n                    \n                    \/\/ Update gauge value\n                    fbGaugeValue.textContent = roiFormatted + '%';\n                    \n                    \/\/ Calculate needle rotation (map ROI from -100% to 300% to -90\u00b0 to 90\u00b0)\n                    const minROI = -100;\n                    const maxROI = 300;\n                    const minAngle = -90;\n                    const maxAngle = 90;\n                    \n                    \/\/ Clamp ROI between min and max\n                    const clampedROI = Math.max(minROI, Math.min(maxROI, roi));\n                    \n                    \/\/ Calculate angle\n                    const angle = minAngle + ((clampedROI - minROI) \/ (maxROI - minAngle)) * (maxAngle - minAngle);\n                    \n                    \/\/ Rotate needle\n                    fbGaugeNeedle.style.transform = `rotate(${angle}deg)`;\n                    \n                    \/\/ Update status text and color\n                    fbRoiStatus.className = 'fb-roi-status';\n                    \n                    if (roi < 0) {\n                        fbRoiStatus.classList.add('loss');\n                        fbRoiStatus.textContent = `Loss: ${Math.abs(roiFormatted)}%`;\n                    } else if (roi <= 50) {\n                        fbRoiStatus.classList.add('low-profit');\n                        fbRoiStatus.textContent = `Low Profit: ${roiFormatted}%`;\n                    } else if (roi <= 150) {\n                        fbRoiStatus.classList.add('good-profit');\n                        fbRoiStatus.textContent = `Good Profit: ${roiFormatted}%`;\n                    } else {\n                        fbRoiStatus.classList.add('good-profit');\n                        fbRoiStatus.textContent = `Excellent Profit: ${roiFormatted}%`;\n                    }\n                    \n                    \/\/ Show notification\n                    if (roi > 0) {\n                        fbShowNotification('success', 'ROI Calculated', `Your campaign has a positive ROI of ${roiFormatted}%`);\n                    } else {\n                        fbShowNotification('warning', 'ROI Calculated', `Your campaign has a negative ROI of ${roiFormatted}%. Consider optimizing your strategy.`);\n                    }\n                });\n\n                \/\/ Show notification\n                function fbShowNotification(type, title, message) {\n                    const notificationEl = document.getElementById('fb-notification');\n                    const iconEl = notificationEl.querySelector('.fb-notification-icon i');\n                    const titleEl = notificationEl.querySelector('.fb-notification-content h4');\n                    const messageEl = notificationEl.querySelector('.fb-notification-content p');\n                    \n                    \/\/ Reset classes\n                    notificationEl.className = 'fb-notification';\n                    \n                    \/\/ Set type-specific classes\n                    notificationEl.classList.add(type);\n                    \n                    \/\/ Set icon based on type\n                    if (type === 'success') {\n                        iconEl.className = 'fas fa-check-circle';\n                    } else if (type === 'error') {\n                        iconEl.className = 'fas fa-exclamation-circle';\n                    } else if (type === 'warning') {\n                        iconEl.className = 'fas fa-exclamation-triangle';\n                    }\n                    \n                    \/\/ Set content\n                    titleEl.textContent = title;\n                    messageEl.textContent = message;\n                    \n                    \/\/ Show notification\n                    setTimeout(() => {\n                        notificationEl.classList.add('show');\n                    }, 100);\n                    \n                    \/\/ Auto-hide after 5 seconds\n                    setTimeout(() => {\n                        notificationEl.classList.remove('show');\n                    }, 5000);\n                }\n\n                \/\/ Close notification\n                fbCloseNotification.addEventListener('click', function() {\n                    fbNotification.classList.remove('show');\n                });\n\n                \/\/ Refresh analysis\n                fbRefreshAnalysis.addEventListener('click', function() {\n                    fbProductForm.dispatchEvent(new Event('submit'));\n                });\n\n                \/\/ Download report (simulated)\n                fbDownloadReport.addEventListener('click', function() {\n                    fbShowNotification('success', 'Report Generated', 'Your PDF report is being prepared for download.');\n                    \n                    \/\/ In a real application, this would generate and download a PDF\n                    setTimeout(() => {\n                        const link = document.createElement('a');\n                        link.href = '#';\n                        link.download = 'facebook-marketing-report.pdf';\n                        link.click();\n                    }, 1500);\n                });\n\n                \/\/ Initialize with default values for demo\n                fbProductCategory.value = 'fashion';\n                fbProductName.value = \"Men's Formal Shoe\";\n                fbPriceRange.value = '2500-5000';\n                fbTargetAudience.value = 'male';\n            });\n        <\/script>\n    <\/div>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-266","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/pages\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":1,"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/pages\/266\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/pages\/266\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/shaharukhahmed.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}