{"id":48,"date":"2026-10-15T17:07:54","date_gmt":"2026-10-15T17:07:54","guid":{"rendered":"https:\/\/iptvto.com\/?page_id=48"},"modified":"2026-10-17T17:59:50","modified_gmt":"2026-10-17T17:59:50","slug":"elementor-48","status":"publish","type":"page","link":"https:\/\/iptvto.com\/","title":{"rendered":"IPTVTO.COM"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"48\" class=\"elementor elementor-48\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bb8a715 e-flex e-con-boxed e-con e-parent\" data-id=\"bb8a715\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dfb81fe elementor-widget elementor-widget-html\" data-id=\"dfb81fe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\" class=\"dark scroll-smooth\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <title>IPTVTO - Premium IPTV Subscription & Reseller Service<\/title>\r\n    <meta name=\"description\" content=\"Experience high-quality streaming subscriptions and reseller packages with IPTVTO. Premium performance, device compatibility, and 24\/7 support.\">\r\n    <link rel=\"canonical\" href=\"https:\/\/iptvto.com\/\">\r\n    \r\n    <!-- Google Fonts -->\r\n    <link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\r\n    <link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\r\n    <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap\" rel=\"stylesheet\">\r\n    \r\n    <!-- Tailwind CSS -->\r\n    <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\r\n    <script>\r\n        tailwind.config = {\r\n            darkMode: 'class',\r\n            theme: {\r\n                extend: {\r\n                    colors: {\r\n                        brand: {\r\n                            red: '#F00018',\r\n                            hover: '#D00015',\r\n                            glow: 'rgba(240, 0, 24, 0.25)',\r\n                            dark: '#0A0A0C',\r\n                            surface: '#121216',\r\n                            card: '#18181E',\r\n                            border: '#262630'\r\n                        }\r\n                    },\r\n                    fontFamily: {\r\n                        sans: ['Inter', 'sans-serif'],\r\n                        heading: ['Outfit', 'sans-serif']\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    <\/script>\r\n\r\n    <!-- Lucide Icons -->\r\n    <script src=\"https:\/\/unpkg.com\/lucide@latest\"><\/script>\r\n\r\n    <style>\r\n        body {\r\n            background-color: #0A0A0C;\r\n            color: #E2E8F0;\r\n            font-family: 'Inter', sans-serif;\r\n            overflow-x: hidden;\r\n        }\r\n        h1, h2, h3, h4, h5, h6 {\r\n            font-family: 'Outfit', sans-serif;\r\n        }\r\n        .red-glow {\r\n            box-shadow: 0 0 25px rgba(240, 0, 24, 0.25);\r\n        }\r\n        .red-glow-lg {\r\n            box-shadow: 0 0 50px rgba(240, 0, 24, 0.35);\r\n        }\r\n        .bg-grid-pattern {\r\n            background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);\r\n            background-size: 24px 24px;\r\n        }\r\n        .glass-card {\r\n            background: rgba(18, 18, 22, 0.8);\r\n            backdrop-filter: blur(12px);\r\n            border: 1px solid rgba(255, 255, 255, 0.08);\r\n        }\r\n        .glass-card:hover {\r\n            border-color: rgba(240, 0, 24, 0.4);\r\n        }\r\n        \/* Custom scrollbar *\/\r\n        ::-webkit-scrollbar {\r\n            width: 8px;\r\n        }\r\n        ::-webkit-scrollbar-track {\r\n            background: #0A0A0C;\r\n        }\r\n        ::-webkit-scrollbar-thumb {\r\n            background: #262630;\r\n            border-radius: 4px;\r\n        }\r\n        ::-webkit-scrollbar-thumb:hover {\r\n            background: #F00018;\r\n        }\r\n    <\/style>\r\n<\/head>\r\n<body class=\"flex flex-col min-h-screen\">\r\n\r\n    <!-- ANNOUNCEMENT BAR -->\r\n    <div class=\"bg-brand-card border-b border-brand-border text-xs sm:text-sm py-2 px-4 text-center text-gray-300 flex items-center justify-center gap-2\">\r\n        <span class=\"inline-flex items-center px-2 py-0.5 rounded text-xs font-semibold bg-brand-red text-white uppercase tracking-wider\">Notice<\/span>\r\n        <span>Customer support & setup assistance is active 24\/7 via WhatsApp.<\/span>\r\n    <\/div>\r\n\r\n    <!-- MAIN NAVIGATION HEADER -->\r\n    <header class=\"sticky top-0 z-50 glass-card border-b border-brand-border\">\r\n        <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n            <div class=\"flex items-center justify-between h-20\">\r\n                <!-- Brand Logo -->\r\n                <a href=\"#\/\" class=\"nav-link flex items-center gap-2 text-2xl font-extrabold tracking-tight text-white group\">\r\n                    <span class=\"w-10 h-10 rounded-xl bg-gradient-to-br from-brand-red to-red-800 flex items-center justify-center text-white shadow-lg red-glow group-hover:scale-105 transition-transform\">\r\n                        <i data-lucide=\"tv\" class=\"w-6 h-6\"><\/i>\r\n                    <\/span>\r\n                    <span class=\"font-heading\">IPTV<span class=\"text-brand-red\">TO<\/span><\/span>\r\n                <\/a>\r\n\r\n                <!-- Desktop Navigation -->\r\n                <nav class=\"hidden md:flex items-center gap-8 font-medium text-sm text-gray-300\">\r\n                    <a href=\"#\/\" class=\"nav-link hover:text-brand-red transition-colors\">Home<\/a>\r\n                    <a href=\"#\/pricing\" class=\"nav-link hover:text-brand-red transition-colors\">Pricing<\/a>\r\n                    <a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Installation Guide<\/a>\r\n                    <a href=\"#\/blog\" class=\"nav-link hover:text-brand-red transition-colors\">Blog<\/a>\r\n                    <a href=\"#\/iptv-reseller-panel\" class=\"nav-link hover:text-brand-red transition-colors\">Reseller Panel<\/a>\r\n                    <a href=\"#\/faq\" class=\"nav-link hover:text-brand-red transition-colors\">FAQ<\/a>\r\n                    <a href=\"#\/contact\" class=\"nav-link hover:text-brand-red transition-colors\">Contact<\/a>\r\n                <\/nav>\r\n\r\n                <!-- WhatsApp Header Action Button -->\r\n                <div class=\"hidden sm:flex items-center gap-4\">\r\n                    <a id=\"header-whatsapp-btn\" href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"bg-brand-red hover:bg-brand-hover text-white font-semibold px-5 py-2.5 rounded-xl flex items-center gap-2 text-sm shadow-md red-glow hover:scale-105 transition-all\">\r\n                        <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i>\r\n                        <span>WhatsApp Support<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n\r\n                <!-- Mobile Menu Button -->\r\n                <button id=\"mobile-menu-toggle\" aria-label=\"Toggle Navigation Menu\" class=\"md:hidden text-gray-300 hover:text-white p-2 rounded-lg bg-brand-card border border-brand-border\">\r\n                    <i data-lucide=\"menu\" class=\"w-6 h-6\"><\/i>\r\n                <\/button>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <!-- Mobile Drawer Menu -->\r\n        <div id=\"mobile-menu\" class=\"hidden md:hidden bg-brand-surface border-b border-brand-border px-4 pt-2 pb-6 space-y-3\">\r\n            <a href=\"#\/\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Home<\/a>\r\n            <a href=\"#\/pricing\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Pricing<\/a>\r\n            <a href=\"#\/installation-guide\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Installation Guide<\/a>\r\n            <a href=\"#\/blog\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Blog<\/a>\r\n            <a href=\"#\/iptv-reseller-panel\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Reseller Panel<\/a>\r\n            <a href=\"#\/faq\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">FAQ<\/a>\r\n            <a href=\"#\/contact\" class=\"nav-link block py-2 px-3 rounded-lg hover:bg-brand-card text-gray-200\">Contact<\/a>\r\n            <div class=\"pt-2\">\r\n                <a id=\"mobile-whatsapp-btn\" href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"w-full bg-brand-red hover:bg-brand-hover text-white font-semibold py-3 rounded-xl flex items-center justify-center gap-2 text-sm shadow-md red-glow\">\r\n                    <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i>\r\n                    <span>Contact via WhatsApp<\/span>\r\n                <\/a>\r\n            <\/div>\r\n        <\/div>\r\n    <\/header>\r\n\r\n    <!-- DYNAMIC ROUTE CONTAINER -->\r\n    <main id=\"app-router\" class=\"flex-grow\">\r\n        <!-- Content injected dynamically via Client Router -->\r\n    <\/main>\r\n\r\n    <!-- FOOTER -->\r\n    <footer class=\"bg-brand-surface border-t border-brand-border text-gray-400 pt-16 pb-8\">\r\n        <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n            <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10 mb-12\">\r\n                <!-- Column 1: Brand Info -->\r\n                <div class=\"lg:col-span-2 space-y-4\">\r\n                    <a href=\"#\/\" class=\"nav-link flex items-center gap-2 text-2xl font-extrabold tracking-tight text-white\">\r\n                        <span class=\"w-9 h-9 rounded-xl bg-brand-red flex items-center justify-center text-white\">\r\n                            <i data-lucide=\"tv\" class=\"w-5 h-5\"><\/i>\r\n                        <\/span>\r\n                        <span class=\"font-heading\">IPTV<span class=\"text-brand-red\">TO<\/span><\/span>\r\n                    <\/a>\r\n                    <p class=\"text-sm text-gray-400 leading-relaxed max-w-sm\">\r\n                        IPTVTO provides high-performance IPTV subscription options and dedicated reseller panel management, compatible with all modern smart devices and streaming applications.\r\n                    <\/p>\r\n                    <div class=\"pt-2 flex items-center gap-3\">\r\n                        <a id=\"footer-whatsapp-btn\" href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"bg-brand-card border border-brand-border text-white hover:border-brand-red p-2.5 rounded-lg transition-colors flex items-center gap-2 text-xs\">\r\n                            <i data-lucide=\"message-square\" class=\"w-4 h-4 text-brand-red\"><\/i>\r\n                            <span>Direct WhatsApp Support<\/span>\r\n                        <\/a>\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <!-- Column 2: Navigation -->\r\n                <div class=\"space-y-3\">\r\n                    <h4 class=\"text-white font-semibold text-base font-heading\">Quick Links<\/h4>\r\n                    <ul class=\"space-y-2 text-sm\">\r\n                        <li><a href=\"#\/\" class=\"nav-link hover:text-brand-red transition-colors\">Home Page<\/a><\/li>\r\n                        <li><a href=\"#\/pricing\" class=\"nav-link hover:text-brand-red transition-colors\">Subscription Plans<\/a><\/li>\r\n                        <li><a href=\"#\/iptv-reseller-panel\" class=\"nav-link hover:text-brand-red transition-colors\">Reseller Panel Packs<\/a><\/li>\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Installation Guides<\/a><\/li>\r\n                        <li><a href=\"#\/blog\" class=\"nav-link hover:text-brand-red transition-colors\">Blog Articles<\/a><\/li>\r\n                    <\/ul>\r\n                <\/div>\r\n\r\n                <!-- Column 3: Device Setup -->\r\n                <div class=\"space-y-3\">\r\n                    <h4 class=\"text-white font-semibold text-base font-heading\">Setup Guides<\/h4>\r\n                    <ul class=\"space-y-2 text-sm\">\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Android TV Setup<\/a><\/li>\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Amazon Firestick<\/a><\/li>\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Smart TV Apps<\/a><\/li>\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">iOS & Apple TV<\/a><\/li>\r\n                        <li><a href=\"#\/installation-guide\" class=\"nav-link hover:text-brand-red transition-colors\">Windows & macOS<\/a><\/li>\r\n                    <\/ul>\r\n                <\/div>\r\n\r\n                <!-- Column 4: Legal & Support -->\r\n                <div class=\"space-y-3\">\r\n                    <h4 class=\"text-white font-semibold text-base font-heading\">Support & Legal<\/h4>\r\n                    <ul class=\"space-y-2 text-sm\">\r\n                        <li><a href=\"#\/about\" class=\"nav-link hover:text-brand-red transition-colors\">About IPTVTO<\/a><\/li>\r\n                        <li><a href=\"#\/contact\" class=\"nav-link hover:text-brand-red transition-colors\">Contact Support<\/a><\/li>\r\n                        <li><a href=\"#\/faq\" class=\"nav-link hover:text-brand-red transition-colors\">Frequently Asked Questions<\/a><\/li>\r\n                        <li><a href=\"#\/privacy-policy\" class=\"nav-link hover:text-brand-red transition-colors\">Privacy Policy<\/a><\/li>\r\n                        <li><a href=\"#\/terms\" class=\"nav-link hover:text-brand-red transition-colors\">Terms of Service<\/a><\/li>\r\n                        <li><a href=\"#\/refund-policy\" class=\"nav-link hover:text-brand-red transition-colors\">Refund Policy<\/a><\/li>\r\n                    <\/ul>\r\n                <\/div>\r\n            <\/div>\r\n\r\n            <div class=\"pt-8 border-t border-brand-border text-xs text-gray-500 flex flex-col sm:flex-row justify-between items-center gap-4\">\r\n                <p>&copy; <span id=\"copyright-year\">2026<\/span> IPTVTO.COM. All rights reserved.<\/p>\r\n                <p class=\"text-center sm:text-right text-gray-500\">\r\n                    Official Support WhatsApp: <span class=\"text-gray-300 font-mono\">+212 721-504253<\/span>\r\n                <\/p>\r\n            <\/div>\r\n        <\/div>\r\n    <\/footer>\r\n\r\n    <!-- JAVASCRIPT APPLICATION CORE -->\r\n    <script>\r\n        \/**\r\n         * IPTVTO CONFIGURATION OBJECT\r\n         * Centralized store for brand constants, WhatsApp numbers, exact prices, reseller credit packs,\r\n         * tutorials, and 20 complete blog posts.\r\n         *\/\r\n        const CONFIG = {\r\n            brandName: 'IPTVTO',\r\n            domain: 'iptvto.com',\r\n            whatsappNumber: '212721504253',\r\n            formattedPhone: '+212 721-504253',\r\n            pricing: {\r\n                trial: { name: 'Trial Package', duration: '1 Month', prices: { 1: 11.97, 2: 18.97, 3: 26.97, 4: 34.97 } },\r\n                basic: { name: 'Basic Package', duration: '3 Months', prices: { 1: 29.97, 2: 49.97, 3: 69.97, 4: 89.97 } },\r\n                standard: { name: 'Standard Package', duration: '6 Months', prices: { 1: 44.97, 2: 69.97, 3: 89.97, 4: 119.97 } },\r\n                popular: { name: 'Popular Package', duration: '12 Months', prices: { 1: 59.97, 2: 89.97, 3: 129.97, 4: 184.97 } }\r\n            },\r\n            resellerPacks: [\r\n                { id: 1, name: 'Reseller Pack 1', price: 250, credits: 10, validity: '10 Years' },\r\n                { id: 2, name: 'Reseller Pack 2', price: 450, credits: 20, validity: '20 Years' },\r\n                { id: 3, name: 'Reseller Pack 3', price: 650, credits: 30, validity: '30 Years' },\r\n                { id: 4, name: 'Reseller Pack 4', price: 800, credits: 40, validity: '40 Years' }\r\n            ],\r\n            resellerConsumption: [\r\n                { duration: '1 Month Subscription', credit: 0.1 },\r\n                { duration: '3 Months Subscription', credit: 0.25 },\r\n                { duration: '6 Months Subscription', credit: 0.50 },\r\n                { duration: '12 Months Subscription', credit: 1.00 },\r\n                { duration: 'Test Account', credit: 0.00 }\r\n            ]\r\n        };\r\n\r\n        \/**\r\n         * Helper: Generate properly encoded official WhatsApp URL\r\n         *\/\r\n        function getWhatsAppUrl(customMessage = '') {\r\n            const defaultMsg = `Hello IPTVTO team, I would like to make an inquiry regarding your IPTV subscription services.`;\r\n            const msg = customMessage || defaultMsg;\r\n            return `https:\/\/wa.me\/${CONFIG.whatsappNumber}?text=${encodeURIComponent(msg)}`;\r\n        }\r\n\r\n        \/**\r\n         * Installation Guides Data Model (15 Detailed Tutorials)\r\n         *\/\r\n        const INSTALLATION_GUIDES = [\r\n            { id: 'iptv-installation-overview', title: '1. IPTV Installation Overview', device: 'General', summary: 'A complete foundational overview on setting up IPTV on modern streaming platforms.' },\r\n            { id: 'android-tv-setup', title: '2. Setting Up a Compatible Android TV Device', device: 'Android', summary: 'Step-by-step installation instructions for Android TV and Android media boxes.' },\r\n            { id: 'amazon-fire-tv-setup', title: '3. Setting Up a Compatible Amazon Fire TV Device', device: 'Fire TV', summary: 'Configure Firestick and Fire TV Cube using sideloading or official store apps.' },\r\n            { id: 'smart-tv-app-setup', title: '4. Installing a Supported Smart TV Application', device: 'Smart TV', summary: 'Set up supported player apps on Samsung Tizen, LG WebOS, and generic Smart TVs.' },\r\n            { id: 'android-smartphone-setup', title: '5. Setup on Android Smartphones & Tablets', device: 'Android', summary: 'Configure high-performance mobile IPTV playback applications on Android mobile devices.' },\r\n            { id: 'ios-device-setup', title: '6. Setup on iPhone and iPad', device: 'iOS', summary: 'How to install and connect verified player apps on Apple iOS and iPadOS devices.' },\r\n            { id: 'windows-pc-setup', title: '7. Setup on Windows PC', device: 'Desktop', summary: 'Streaming setup for Windows 10 and Windows 11 desktop systems using media apps.' },\r\n            { id: 'mac-os-setup', title: '8. Setup on Mac OS', device: 'Desktop', summary: 'Configure compatible IPTV client software on macOS computers.' },\r\n            { id: 'm3u-playlist-urls', title: '9. Understanding M3U Playlist URLs', device: 'General', summary: 'Learn how M3U playlist links function, syntax structure, and app input requirements.' },\r\n            { id: 'xtream-codes-api', title: '10. Understanding Xtream Codes Login Details', device: 'General', summary: 'How to log in with Server URL, Username, and Password across supported player applications.' },\r\n            { id: 'epg-configuration', title: '11. Configuring an Electronic Program Guide (EPG)', device: 'General', summary: 'Enable TV guide programming, timeline sync, and channel listings.' },\r\n            { id: 'playback-troubleshooting', title: '12. Troubleshooting Common Playback Issues', device: 'Troubleshooting', summary: 'Resolving buffering, audio sync, black screen, and rendering problems effectively.' },\r\n            { id: 'login-connection-issues', title: '13. Resolving Login and Connection Problems', device: 'Troubleshooting', summary: 'Fix DNS blocks, network connection drops, and authentication failures.' },\r\n            { id: 'device-compatibility-guide', title: '14. Understanding Device Compatibility', device: 'General', summary: 'Hardware requirements, RAM recommendations, and network speed prerequisites.' },\r\n            { id: 'contacting-support-diagnostics', title: '15. Contacting Support & Preparing Diagnostic Info', device: 'Troubleshooting', summary: 'How to submit useful diagnostic details to WhatsApp support for instant assistance.' }\r\n        ];\r\n\r\n        \/**\r\n         * 20 Detailed SEO Blog Articles Data Model\r\n         *\/\r\n        const BLOG_POSTS = [\r\n            { id: 'iptv-explained-beginners-guide', title: \"IPTV Explained: A Beginner's Guide\", category: 'Beginners', date: 'October 12, 2026', readTime: '5 min read', desc: 'Discover how Internet Protocol Television works, how it differs from traditional cable, and what equipment is needed.' },\r\n            { id: 'how-to-choose-iptv-subscription', title: 'How to Choose an IPTV Subscription', category: 'Guides', date: 'October 11, 2026', readTime: '6 min read', desc: 'Essential factors to evaluate before purchasing an IPTV service, including device limits, formats, and support.' },\r\n            { id: 'iptv-compatibility-supported-devices', title: 'IPTV Compatibility: Which Devices Are Supported?', category: 'Technical', date: 'October 10, 2026', readTime: '4 min read', desc: 'A comprehensive matrix breakdown of device operating systems and hardware compatibility.' },\r\n            { id: 'how-to-setup-iptv-android-tv', title: 'How to Set Up IPTV on Android TV', category: 'Tutorials', date: 'October 09, 2026', readTime: '7 min read', desc: 'Detailed step-by-step walkthrough for configuring Android TV boxes, NVIDIA Shield, and Smart TVs.' },\r\n            { id: 'how-to-setup-iptv-amazon-fire-tv', title: 'How to Set Up IPTV on Amazon Fire TV', category: 'Tutorials', date: 'October 08, 2026', readTime: '6 min read', desc: 'Complete setup guide for Amazon Firestick 4K, Lite, and Fire TV Cube devices.' },\r\n            { id: 'iptv-setup-smart-tvs', title: 'IPTV Setup on Compatible Smart TVs', category: 'Tutorials', date: 'October 07, 2026', readTime: '5 min read', desc: 'Installing and linking media player applications on LG WebOS and Samsung Tizen televisions.' },\r\n            { id: 'iptv-setup-android-smartphones', title: 'IPTV Setup on Android Smartphones', category: 'Tutorials', date: 'October 06, 2026', readTime: '4 min read', desc: 'How to configure IPTV apps on Android mobile phones for on-the-go viewing.' },\r\n            { id: 'iptv-setup-iphone-ipad', title: 'IPTV Setup on iPhone and iPad', category: 'Tutorials', date: 'October 05, 2026', readTime: '5 min read', desc: 'Connecting player applications on Apple iOS devices with proper playlist integration.' },\r\n            { id: 'how-m3u-playlists-work', title: 'How M3U Playlists Work', category: 'Technical', date: 'October 04, 2026', readTime: '6 min read', desc: 'Understanding M3U parameters, URL structures, header tags, and playlist loading dynamics.' },\r\n            { id: 'understanding-xtream-codes-login', title: 'Understanding Xtream Codes Login Details', category: 'Technical', date: 'October 03, 2026', readTime: '4 min read', desc: 'Why Xtream API logins are popular, how credentials map, and security advantages.' },\r\n            { id: 'what-is-electronic-program-guide-epg', title: 'What Is an Electronic Program Guide (EPG)?', category: 'Technical', date: 'October 02, 2026', readTime: '5 min read', desc: 'How XMLTV and EPG feeds synchronize timeline listings with live TV streams.' },\r\n            { id: 'how-to-troubleshoot-iptv-playback', title: 'How to Troubleshoot IPTV Playback Issues', category: 'Technical', date: 'October 01, 2026', readTime: '8 min read', desc: 'Diagnostic steps to eliminate buffering, screen freeze, audio desync, and stream drops.' },\r\n            { id: 'common-iptv-login-problems-solutions', title: 'Common IPTV Login Problems and Solutions', category: 'Technical', date: 'September 29, 2026', readTime: '5 min read', desc: 'How to fix invalid credentials, server connection errors, and expired session tokens.' },\r\n            { id: 'improve-home-network-for-streaming', title: 'How to Improve Your Home Network for Streaming', category: 'Guides', date: 'September 28, 2026', readTime: '6 min read', desc: 'Optimizing router settings, Wi-Fi channels, bandwidth allocation, and QoS prioritization.' },\r\n            { id: 'wifi-vs-ethernet-for-streaming', title: 'Wi-Fi vs Ethernet for Streaming Devices', category: 'Guides', date: 'September 27, 2026', readTime: '4 min read', desc: 'A latency and throughput comparison between wireless connections and physical RJ45 cables.' },\r\n            { id: 'choose-compatible-iptv-application', title: 'How to Choose a Compatible IPTV Application', category: 'Guides', date: 'September 25, 2026', readTime: '5 min read', desc: 'Evaluating player UI features, multi-screen modes, EPG layout, and codec decoder support.' },\r\n            { id: 'iptv-subscription-duration-plans', title: 'IPTV Subscription Duration: Monthly vs Longer Plans', category: 'Guides', date: 'September 24, 2026', readTime: '5 min read', desc: 'Comparing flexibility, total costs, and benefits of 1-month, 3-month, 6-month, and 12-month packages.' },\r\n            { id: 'how-to-protect-streaming-accounts', title: 'How to Protect Your Streaming Accounts', category: 'Technical', date: 'September 22, 2026', readTime: '4 min read', desc: 'Best practices for credential management, line security, and network safety.' },\r\n            { id: 'questions-to-ask-before-buying-iptv', title: 'Questions to Ask Before Buying an IPTV Subscription', category: 'Beginners', date: 'September 20, 2026', readTime: '6 min read', desc: 'Key questions regarding device concurrency, connection formats, and support response times.' },\r\n            { id: 'iptv-reseller-business-credits-plans', title: 'IPTV Reseller Business: Understanding Credits and Plans', category: 'Business', date: 'September 18, 2026', readTime: '7 min read', desc: 'A thorough guide explaining reseller panels, credit consumption logic, and client management.' }\r\n        ];\r\n\r\n        \/**\r\n         * VIEW RENDERERS (Router Views)\r\n         *\/\r\n\r\n        \/\/ 1. HOME PAGE VIEW RENDERER\r\n        function renderHome() {\r\n            return `\r\n                <!-- HERO SECTION -->\r\n                <section class=\"relative pt-12 pb-20 md:pt-20 md:pb-32 overflow-hidden bg-grid-pattern\">\r\n                    <div class=\"absolute inset-0 bg-gradient-to-b from-transparent via-brand-dark\/80 to-brand-dark pointer-events-none\"><\/div>\r\n                    <div class=\"absolute top-1\/4 left-1\/2 -translate-x-1\/2 -translate-y-1\/2 w-96 h-96 bg-brand-red\/15 rounded-full blur-3xl pointer-events-none\"><\/div>\r\n                    \r\n                    <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10\">\r\n                        <div class=\"text-center max-w-3xl mx-auto space-y-6\">\r\n                            <div class=\"inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-brand-card border border-brand-border text-xs font-medium text-gray-300\">\r\n                                <span class=\"w-2 h-2 rounded-full bg-brand-red animate-pulse\"><\/span>\r\n                                Premium IPTV Subscription & Reseller Service\r\n                            <\/div>\r\n                            \r\n                            <h1 class=\"text-4xl sm:text-5xl md:text-6xl font-extrabold text-white tracking-tight leading-tight\">\r\n                                Your Entertainment, <br><span class=\"text-transparent bg-clip-text bg-gradient-to-r from-white via-gray-200 to-brand-red\">Your Way<\/span>\r\n                            <\/h1>\r\n                            \r\n                            <p class=\"text-base sm:text-lg text-gray-400 leading-relaxed max-w-2xl mx-auto\">\r\n                                High-performance subscription options and flexible reseller panels. Experience smooth stream formatting, broad device support, and fast setup assistance.\r\n                            <\/p>\r\n                            \r\n                            <div class=\"flex flex-col sm:flex-row items-center justify-center gap-4 pt-4\">\r\n                                <a href=\"#\/pricing\" class=\"w-full sm:w-auto bg-brand-red hover:bg-brand-hover text-white font-bold px-8 py-4 rounded-xl text-center transition-all shadow-lg red-glow flex items-center justify-center gap-2\">\r\n                                    <span>Explore Plans<\/span>\r\n                                    <i data-lucide=\"arrow-right\" class=\"w-5 h-5\"><\/i>\r\n                                <\/a>\r\n                                <a href=\"#\/installation-guide\" class=\"w-full sm:w-auto bg-brand-card hover:bg-brand-surface border border-brand-border text-white font-semibold px-8 py-4 rounded-xl text-center transition-all flex items-center justify-center gap-2\">\r\n                                    <i data-lucide=\"book-open\" class=\"w-5 h-5 text-brand-red\"><\/i>\r\n                                    <span>Installation Guides<\/span>\r\n                                <\/a>\r\n                            <\/div>\r\n\r\n                            <!-- Verified Features List -->\r\n                            <div class=\"pt-8 grid grid-cols-2 md:grid-cols-4 gap-4 text-left border-t border-brand-border\/60\">\r\n                                <div class=\"flex items-center gap-2.5\">\r\n                                    <i data-lucide=\"check-circle-2\" class=\"w-5 h-5 text-brand-red flex-shrink-0\"><\/i>\r\n                                    <span class=\"text-xs sm:text-sm text-gray-300 font-medium\">Multiple Duration Options<\/span>\r\n                                <\/div>\r\n                                <div class=\"flex items-center gap-2.5\">\r\n                                    <i data-lucide=\"check-circle-2\" class=\"w-5 h-5 text-brand-red flex-shrink-0\"><\/i>\r\n                                    <span class=\"text-xs sm:text-sm text-gray-300 font-medium\">1 to 4 Device Connections<\/span>\r\n                                <\/div>\r\n                                <div class=\"flex items-center gap-2.5\">\r\n                                    <i data-lucide=\"check-circle-2\" class=\"w-5 h-5 text-brand-red flex-shrink-0\"><\/i>\r\n                                    <span class=\"text-xs sm:text-sm text-gray-300 font-medium\">Broad App Compatibility<\/span>\r\n                                <\/div>\r\n                                <div class=\"flex items-center gap-2.5\">\r\n                                    <i data-lucide=\"check-circle-2\" class=\"w-5 h-5 text-brand-red flex-shrink-0\"><\/i>\r\n                                    <span class=\"text-xs sm:text-sm text-gray-300 font-medium\">24\/7 WhatsApp Support<\/span>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- BENEFIT CARDS -->\r\n                <section class=\"py-16 bg-brand-surface border-y border-brand-border\">\r\n                    <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n                        <div class=\"text-center max-w-2xl mx-auto mb-12\">\r\n                            <h2 class=\"text-2xl sm:text-3xl font-bold text-white\">Transparent Service Benefits<\/h2>\r\n                            <p class=\"text-sm text-gray-400 mt-2\">What you can genuinely expect from IPTVTO services.<\/p>\r\n                        <\/div>\r\n                        <div class=\"grid grid-cols-1 md:grid-cols-3 gap-6\">\r\n                            <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-colors\">\r\n                                <div class=\"w-12 h-12 rounded-xl bg-brand-red\/10 border border-brand-red\/20 flex items-center justify-center text-brand-red mb-4\">\r\n                                    <i data-lucide=\"cpu\" class=\"w-6 h-6\"><\/i>\r\n                                <\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Cross-Device Compatibility<\/h3>\r\n                                <p class=\"text-sm text-gray-400 leading-relaxed\">\r\n                                    Use your subscription across Android TV, Firestick, Smart TV apps, iOS, Windows, and Mac depending on your app configuration.\r\n                                <\/p>\r\n                            <\/div>\r\n                            <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-colors\">\r\n                                <div class=\"w-12 h-12 rounded-xl bg-brand-red\/10 border border-brand-red\/20 flex items-center justify-center text-brand-red mb-4\">\r\n                                    <i data-lucide=\"life-buoy\" class=\"w-6 h-6\"><\/i>\r\n                                <\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Guided Setup Assistance<\/h3>\r\n                                <p class=\"text-sm text-gray-400 leading-relaxed\">\r\n                                    Get helpful setup assistance via WhatsApp if you need help entering playlist URLs or setting up Xtream credentials.\r\n                                <\/p>\r\n                            <\/div>\r\n                            <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-colors\">\r\n                                <div class=\"w-12 h-12 rounded-xl bg-brand-red\/10 border border-brand-red\/20 flex items-center justify-center text-brand-red mb-4\">\r\n                                    <i data-lucide=\"shield-check\" class=\"w-6 h-6\"><\/i>\r\n                                <\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Transparent Pricing Structure<\/h3>\r\n                                <p class=\"text-sm text-gray-400 leading-relaxed\">\r\n                                    Clear, upfront pricing with no hidden fees. Select your subscription duration and number of concurrent devices easily.\r\n                                <\/p>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- PRICING PREVIEW -->\r\n                <section class=\"py-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n                    <div class=\"flex flex-col md:flex-row md:items-end justify-between mb-12 gap-4\">\r\n                        <div>\r\n                            <span class=\"text-brand-red font-semibold text-sm uppercase tracking-wider\">Subscription Options<\/span>\r\n                            <h2 class=\"text-3xl font-extrabold text-white mt-1\">Featured Subscription Packages<\/h2>\r\n                        <\/div>\r\n                        <a href=\"#\/pricing\" class=\"inline-flex items-center gap-2 text-brand-red hover:text-white font-semibold text-sm transition-colors\">\r\n                            <span>View Detailed Device Matrix<\/span>\r\n                            <i data-lucide=\"chevron-right\" class=\"w-4 h-4\"><\/i>\r\n                        <\/a>\r\n                    <\/div>\r\n\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6\">\r\n                        <!-- Trial Package -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between hover:border-brand-red\/40 transition-all\">\r\n                            <div>\r\n                                <span class=\"text-xs font-semibold text-gray-400 uppercase tracking-wider\">Short Term<\/span>\r\n                                <h3 class=\"text-xl font-bold text-white mt-1\">Trial Package<\/h3>\r\n                                <div class=\"mt-4 pb-4 border-b border-brand-border\">\r\n                                    <span class=\"text-3xl font-extrabold text-white\">$11.97<\/span>\r\n                                    <span class=\"text-xs text-gray-400\"> \/ 1 Month (1 Device)<\/span>\r\n                                <\/div>\r\n                                <ul class=\"mt-6 space-y-3 text-xs text-gray-300\">\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 1 Month Subscription<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Up to 4 devices available<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Full App Compatibility<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 24\/7 Setup Assistance<\/li>\r\n                                <\/ul>\r\n                            <\/div>\r\n                            <a href=\"#\/pricing\" class=\"mt-8 w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-2.5 rounded-xl text-center text-sm font-semibold transition-all\">\r\n                                Select Plan Options\r\n                            <\/a>\r\n                        <\/div>\r\n\r\n                        <!-- Basic Package -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between hover:border-brand-red\/40 transition-all\">\r\n                            <div>\r\n                                <span class=\"text-xs font-semibold text-gray-400 uppercase tracking-wider\">Quarterly<\/span>\r\n                                <h3 class=\"text-xl font-bold text-white mt-1\">Basic Package<\/h3>\r\n                                <div class=\"mt-4 pb-4 border-b border-brand-border\">\r\n                                    <span class=\"text-3xl font-extrabold text-white\">$29.97<\/span>\r\n                                    <span class=\"text-xs text-gray-400\"> \/ 3 Months (1 Device)<\/span>\r\n                                <\/div>\r\n                                <ul class=\"mt-6 space-y-3 text-xs text-gray-300\">\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 3 Months Subscription<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Up to 4 devices available<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Full App Compatibility<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 24\/7 Setup Assistance<\/li>\r\n                                <\/ul>\r\n                            <\/div>\r\n                            <a href=\"#\/pricing\" class=\"mt-8 w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-2.5 rounded-xl text-center text-sm font-semibold transition-all\">\r\n                                Select Plan Options\r\n                            <\/a>\r\n                        <\/div>\r\n\r\n                        <!-- Standard Package -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between hover:border-brand-red\/40 transition-all\">\r\n                            <div>\r\n                                <span class=\"text-xs font-semibold text-gray-400 uppercase tracking-wider\">Bi-Annual<\/span>\r\n                                <h3 class=\"text-xl font-bold text-white mt-1\">Standard Package<\/h3>\r\n                                <div class=\"mt-4 pb-4 border-b border-brand-border\">\r\n                                    <span class=\"text-3xl font-extrabold text-white\">$44.97<\/span>\r\n                                    <span class=\"text-xs text-gray-400\"> \/ 6 Months (1 Device)<\/span>\r\n                                <\/div>\r\n                                <ul class=\"mt-6 space-y-3 text-xs text-gray-300\">\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 6 Months Subscription<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Up to 4 devices available<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Full App Compatibility<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 24\/7 Setup Assistance<\/li>\r\n                                <\/ul>\r\n                            <\/div>\r\n                            <a href=\"#\/pricing\" class=\"mt-8 w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-2.5 rounded-xl text-center text-sm font-semibold transition-all\">\r\n                                Select Plan Options\r\n                            <\/a>\r\n                        <\/div>\r\n\r\n                        <!-- Popular Package (Highlighted) -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border-2 border-brand-red flex flex-col justify-between relative shadow-xl red-glow\">\r\n                            <div class=\"absolute -top-3.5 left-1\/2 -translate-x-1\/2 bg-brand-red text-white text-xs font-extrabold px-3 py-1 rounded-full uppercase tracking-wider\">\r\n                                Popular Choice\r\n                            <\/div>\r\n                            <div>\r\n                                <span class=\"text-xs font-semibold text-brand-red uppercase tracking-wider\">Annual Plan<\/span>\r\n                                <h3 class=\"text-xl font-bold text-white mt-1\">Popular Package<\/h3>\r\n                                <div class=\"mt-4 pb-4 border-b border-brand-border\">\r\n                                    <span class=\"text-3xl font-extrabold text-white\">$59.97<\/span>\r\n                                    <span class=\"text-xs text-gray-400\"> \/ 12 Months (1 Device)<\/span>\r\n                                <\/div>\r\n                                <ul class=\"mt-6 space-y-3 text-xs text-gray-300\">\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 12 Months Subscription<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Up to 4 devices available<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Full App Compatibility<\/li>\r\n                                    <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Priority Setup Support<\/li>\r\n                                <\/ul>\r\n                            <\/div>\r\n                            <a href=\"#\/pricing\" class=\"mt-8 w-full bg-brand-red hover:bg-brand-hover text-white py-2.5 rounded-xl text-center text-sm font-semibold transition-all shadow-md\">\r\n                                Choose 12 Months\r\n                            <\/a>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- HOW IT WORKS -->\r\n                <section class=\"py-16 bg-brand-surface border-y border-brand-border\">\r\n                    <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n                        <div class=\"text-center max-w-2xl mx-auto mb-16\">\r\n                            <h2 class=\"text-3xl font-bold text-white\">How Getting Started Works<\/h2>\r\n                            <p class=\"text-sm text-gray-400 mt-2\">Simple 3-step process to get your subscription operational.<\/p>\r\n                        <\/div>\r\n                        <div class=\"grid grid-cols-1 md:grid-cols-3 gap-8\">\r\n                            <div class=\"text-center p-6\">\r\n                                <div class=\"w-16 h-16 rounded-2xl bg-brand-red\/10 border border-brand-red\/30 text-brand-red font-extrabold text-xl flex items-center justify-center mx-auto mb-4\">1<\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Select Duration & Devices<\/h3>\r\n                                <p class=\"text-sm text-gray-400\">Choose your desired subscription timeframe (1, 3, 6, or 12 months) and specify device connection counts.<\/p>\r\n                            <\/div>\r\n                            <div class=\"text-center p-6\">\r\n                                <div class=\"w-16 h-16 rounded-2xl bg-brand-red\/10 border border-brand-red\/30 text-brand-red font-extrabold text-xl flex items-center justify-center mx-auto mb-4\">2<\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Order via WhatsApp<\/h3>\r\n                                <p class=\"text-sm text-gray-400\">Click the order button to send your exact package preferences directly to our support team on WhatsApp.<\/p>\r\n                            <\/div>\r\n                            <div class=\"text-center p-6\">\r\n                                <div class=\"w-16 h-16 rounded-2xl bg-brand-red\/10 border border-brand-red\/30 text-brand-red font-extrabold text-xl flex items-center justify-center mx-auto mb-4\">3<\/div>\r\n                                <h3 class=\"text-lg font-bold text-white mb-2\">Follow Setup Instructions<\/h3>\r\n                                <p class=\"text-sm text-gray-400\">Receive your account configuration format and complete setup with guidance from our tutorials.<\/p>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- DEVICE COMPATIBILITY MATRIX -->\r\n                <section class=\"py-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\r\n                    <div class=\"text-center max-w-2xl mx-auto mb-12\">\r\n                        <h2 class=\"text-3xl font-bold text-white\">Device Compatibility<\/h2>\r\n                        <p class=\"text-sm text-gray-400 mt-2\">IPTVTO works across all major operating systems through compatible player apps.<\/p>\r\n                    <\/div>\r\n\r\n                    <div class=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-4\">\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"tv\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">Android TV<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">Boxes & TVs<\/p>\r\n                        <\/div>\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"flame\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">Fire TV<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">Firestick & Cube<\/p>\r\n                        <\/div>\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"monitor\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">Smart TV<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">Samsung & LG<\/p>\r\n                        <\/div>\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"smartphone\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">Smartphones<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">Android & iOS<\/p>\r\n                        <\/div>\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"laptop\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">Windows<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">PC & Laptops<\/p>\r\n                        <\/div>\r\n                        <div class=\"p-5 rounded-2xl bg-brand-card border border-brand-border text-center hover:border-brand-red\/40 transition-colors\">\r\n                            <i data-lucide=\"apple\" class=\"w-8 h-8 text-brand-red mx-auto mb-3\"><\/i>\r\n                            <h4 class=\"text-sm font-bold text-white\">macOS<\/h4>\r\n                            <p class=\"text-xs text-gray-500 mt-1\">Mac Computers<\/p>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- FINAL CTA -->\r\n                <section class=\"py-16 bg-gradient-to-r from-brand-card via-brand-surface to-brand-card border-t border-brand-border text-center\">\r\n                    <div class=\"max-w-4xl mx-auto px-4\">\r\n                        <h2 class=\"text-3xl font-extrabold text-white mb-4\">Ready to Experience IPTVTO Services?<\/h2>\r\n                        <p class=\"text-gray-400 text-sm max-w-xl mx-auto mb-8\">\r\n                            Select your subscription or reseller package today and receive setup assistance via WhatsApp.\r\n                        <\/p>\r\n                        <div class=\"flex flex-col sm:flex-row justify-center items-center gap-4\">\r\n                            <a href=\"#\/pricing\" class=\"w-full sm:w-auto bg-brand-red hover:bg-brand-hover text-white font-bold px-8 py-3.5 rounded-xl shadow-lg red-glow transition-all\">\r\n                                View Subscription Plans\r\n                            <\/a>\r\n                            <a href=\"${getWhatsAppUrl()}\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"w-full sm:w-auto bg-brand-card hover:bg-brand-surface border border-brand-border text-white font-semibold px-8 py-3.5 rounded-xl transition-all flex items-center justify-center gap-2\">\r\n                                <i data-lucide=\"message-square\" class=\"w-4 h-4 text-brand-red\"><\/i>\r\n                                <span>WhatsApp Inquiry<\/span>\r\n                            <\/a>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n            `;\r\n        }\r\n\r\n        \/\/ 2. PRICING PAGE VIEW RENDERER (With Device Options & Exact Prices)\r\n        function renderPricing() {\r\n            return `\r\n                <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <!-- Page Header -->\r\n                    <div class=\"text-center max-w-3xl mx-auto mb-16 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Official Pricing Matrix<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl md:text-5xl font-extrabold text-white\">Subscription Packages<\/h1>\r\n                        <p class=\"text-gray-400 text-sm sm:text-base\">\r\n                            Select your desired duration and device count. All prices are exact in USD with no hidden fees.\r\n                        <\/p>\r\n                    <\/div>\r\n\r\n                    <!-- Pricing Cards Grid (4 Columns on Desktop) -->\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6\">\r\n                        ${renderPricingCard('trial', CONFIG.pricing.trial, false)}\r\n                        ${renderPricingCard('basic', CONFIG.pricing.basic, false)}\r\n                        ${renderPricingCard('standard', CONFIG.pricing.standard, false)}\r\n                        ${renderPricingCard('popular', CONFIG.pricing.popular, true)}\r\n                    <\/div>\r\n\r\n                    <!-- Device Explanation Notice -->\r\n                    <div class=\"mt-12 p-6 rounded-2xl bg-brand-card border border-brand-border text-xs text-gray-400 space-y-2\">\r\n                        <p class=\"font-bold text-gray-200 text-sm\">Purchase & Device Selection Process:<\/p>\r\n                        <p>1. Select the duration package that best fits your requirements.<\/p>\r\n                        <p>2. Choose the number of simultaneous device connections (1, 2, 3, or 4 devices).<\/p>\r\n                        <p>3. Click the order button to launch WhatsApp with a prefilled purchase inquiry containing your selected package name, duration, device count, and exact price.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        \/\/ Helper to generate dynamic interactive pricing cards\r\n        function renderPricingCard(key, pkg, isPopular) {\r\n            return `\r\n                <div class=\"p-6 rounded-2xl bg-brand-card border ${isPopular ? 'border-2 border-brand-red shadow-xl red-glow relative' : 'border-brand-border'} flex flex-col justify-between\">\r\n                    ${isPopular ? `<div class=\"absolute -top-3.5 left-1\/2 -translate-x-1\/2 bg-brand-red text-white text-xs font-extrabold px-3 py-0.5 rounded-full uppercase tracking-wider\">Most Popular<\/div>` : ''}\r\n                    <div>\r\n                        <div class=\"mb-4\">\r\n                            <span class=\"text-xs font-semibold text-gray-400 uppercase tracking-wider\">${pkg.duration}<\/span>\r\n                            <h3 class=\"text-xl font-bold text-white mt-1\">${pkg.name}<\/h3>\r\n                        <\/div>\r\n\r\n                        <!-- Device Count Selector for this package -->\r\n                        <div class=\"mb-6\">\r\n                            <label class=\"block text-xs font-medium text-gray-400 mb-2\">Select Device Connections:<\/label>\r\n                            <div class=\"grid grid-cols-4 gap-1.5 p-1 bg-brand-surface rounded-xl border border-brand-border text-center text-xs\" id=\"device-selector-${key}\">\r\n                                <button type=\"button\" onclick=\"updatePackagePrice('${key}', 1)\" class=\"device-btn-${key} py-1.5 rounded-lg font-bold transition-all bg-brand-red text-white\" data-devices=\"1\">1 Dev<\/button>\r\n                                <button type=\"button\" onclick=\"updatePackagePrice('${key}', 2)\" class=\"device-btn-${key} py-1.5 rounded-lg font-bold transition-all text-gray-400 hover:text-white\" data-devices=\"2\">2 Dev<\/button>\r\n                                <button type=\"button\" onclick=\"updatePackagePrice('${key}', 3)\" class=\"device-btn-${key} py-1.5 rounded-lg font-bold transition-all text-gray-400 hover:text-white\" data-devices=\"3\">3 Dev<\/button>\r\n                                <button type=\"button\" onclick=\"updatePackagePrice('${key}', 4)\" class=\"device-btn-${key} py-1.5 rounded-lg font-bold transition-all text-gray-400 hover:text-white\" data-devices=\"4\">4 Dev<\/button>\r\n                            <\/div>\r\n                        <\/div>\r\n\r\n                        <!-- Dynamic Price Display -->\r\n                        <div class=\"pb-6 border-b border-brand-border text-center\">\r\n                            <div class=\"text-3xl font-extrabold text-white\" id=\"price-display-${key}\">$${pkg.prices[1].toFixed(2)}<\/div>\r\n                            <div class=\"text-xs text-gray-400 mt-1\" id=\"device-label-${key}\">For 1 Active Device \/ ${pkg.duration}<\/div>\r\n                        <\/div>\r\n\r\n                        <!-- Features -->\r\n                        <ul class=\"mt-6 space-y-3 text-xs text-gray-300\">\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> ${pkg.duration} Subscription<\/li>\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> High-definition playback supported<\/li>\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> EPG support where available<\/li>\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Broad device compatibility<\/li>\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> 24\/7 Setup Assistance<\/li>\r\n                            <li class=\"flex items-center gap-2\"><i data-lucide=\"check\" class=\"w-4 h-4 text-brand-red\"><\/i> Refund Policy applies<\/li>\r\n                        <\/ul>\r\n                    <\/div>\r\n\r\n                    <!-- Direct WhatsApp Order CTA -->\r\n                    <a id=\"btn-order-${key}\" href=\"${getWhatsAppUrl(`Hello IPTVTO, I want to order the ${pkg.name} (${pkg.duration}) for 1 Device at $${pkg.prices[1].toFixed(2)}.`)}\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"mt-8 w-full bg-brand-red hover:bg-brand-hover text-white py-3 rounded-xl text-center text-sm font-bold shadow-md transition-all flex items-center justify-center gap-2\">\r\n                        <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i>\r\n                        <span>Order via WhatsApp<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        \/\/ Global function to update price based on device count selection\r\n        window.updatePackagePrice = function(key, devices) {\r\n            const pkg = CONFIG.pricing[key];\r\n            const price = pkg.prices[devices];\r\n            \r\n            \/\/ Update Price text\r\n            document.getElementById(`price-display-${key}`).innerText = `$${price.toFixed(2)}`;\r\n            document.getElementById(`device-label-${key}`).innerText = `For ${devices} Active Device${devices > 1 ? 's' : ''} \/ ${pkg.duration}`;\r\n\r\n            \/\/ Update Active state on buttons\r\n            const buttons = document.querySelectorAll(`.device-btn-${key}`);\r\n            buttons.forEach(btn => {\r\n                if (parseInt(btn.getAttribute('data-devices')) === devices) {\r\n                    btn.className = `device-btn-${key} py-1.5 rounded-lg font-bold transition-all bg-brand-red text-white`;\r\n                } else {\r\n                    btn.className = `device-btn-${key} py-1.5 rounded-lg font-bold transition-all text-gray-400 hover:text-white`;\r\n                }\r\n            });\r\n\r\n            \/\/ Update WhatsApp CTA href\r\n            const customMessage = `Hello IPTVTO, I want to order the ${pkg.name} (${pkg.duration}) for ${devices} Device${devices > 1 ? 's' : ''} at $${price.toFixed(2)}.`;\r\n            document.getElementById(`btn-order-${key}`).href = getWhatsAppUrl(customMessage);\r\n        };\r\n\r\n        \/\/ 3. INSTALLATION GUIDE LANDING PAGE VIEW RENDERER\r\n        function renderInstallationGuide() {\r\n            return `\r\n                <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <div class=\"text-center max-w-3xl mx-auto mb-12 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Tutorial Hub<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl font-extrabold text-white\">Installation Guides<\/h1>\r\n                        <p class=\"text-gray-400 text-sm\">Step-by-step setup instructions and troubleshooting tutorials for supported streaming applications.<\/p>\r\n                    <\/div>\r\n\r\n                    <!-- Search \/ Filter Bar -->\r\n                    <div class=\"max-w-xl mx-auto mb-12\">\r\n                        <div class=\"relative\">\r\n                            <i data-lucide=\"search\" class=\"w-5 h-5 absolute left-4 top-1\/2 -translate-y-1\/2 text-gray-500\"><\/i>\r\n                            <input type=\"text\" id=\"guide-search-input\" onkeyup=\"filterGuides()\" placeholder=\"Search guide topics (e.g., Firestick, Android, M3U, EPG)...\" class=\"w-full bg-brand-card border border-brand-border rounded-xl pl-12 pr-4 py-3 text-sm text-white focus:outline-none focus:border-brand-red transition-colors\">\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                    <!-- Guides Grid -->\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\" id=\"guides-grid\">\r\n                        ${INSTALLATION_GUIDES.map(guide => `\r\n                            <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-all flex flex-col justify-between\">\r\n                                <div>\r\n                                    <div class=\"flex items-center justify-between mb-3\">\r\n                                        <span class=\"text-xs font-semibold px-2.5 py-1 rounded-md bg-brand-surface border border-brand-border text-brand-red\">${guide.device}<\/span>\r\n                                        <i data-lucide=\"book-open\" class=\"w-4 h-4 text-gray-500\"><\/i>\r\n                                    <\/div>\r\n                                    <h3 class=\"text-lg font-bold text-white mb-2\">${guide.title}<\/h3>\r\n                                    <p class=\"text-xs text-gray-400 leading-relaxed mb-4\">${guide.summary}<\/p>\r\n                                <\/div>\r\n                                <button onclick=\"openGuideModal('${guide.id}')\" class=\"w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-2 rounded-xl text-xs font-semibold transition-all\">\r\n                                    Read Tutorial\r\n                                <\/button>\r\n                            <\/div>\r\n                        `).join('')}\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <!-- Guide Detail Modal Container -->\r\n                <div id=\"guide-modal\" class=\"hidden fixed inset-0 z-50 bg-black\/80 backdrop-blur-sm flex items-center justify-center p-4\">\r\n                    <div class=\"bg-brand-card border border-brand-border rounded-2xl max-w-2xl w-full max-h-[85vh] overflow-y-auto p-6 relative\">\r\n                        <button onclick=\"closeGuideModal()\" class=\"absolute top-4 right-4 text-gray-400 hover:text-white p-1 rounded-lg bg-brand-surface\">\r\n                            <i data-lucide=\"x\" class=\"w-5 h-5\"><\/i>\r\n                        <\/button>\r\n                        <div id=\"guide-modal-content\"><\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        \/\/ Search Guides Logic\r\n        window.filterGuides = function() {\r\n            const query = document.getElementById('guide-search-input').value.toLowerCase();\r\n            const filtered = INSTALLATION_GUIDES.filter(g => g.title.toLowerCase().includes(query) || g.summary.toLowerCase().includes(query) || g.device.toLowerCase().includes(query));\r\n            const grid = document.getElementById('guides-grid');\r\n            if (filtered.length === 0) {\r\n                grid.innerHTML = `<div class=\"col-span-full text-center text-gray-400 py-12\">No matching installation guides found.<\/div>`;\r\n            } else {\r\n                grid.innerHTML = filtered.map(guide => `\r\n                    <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-all flex flex-col justify-between\">\r\n                        <div>\r\n                            <div class=\"flex items-center justify-between mb-3\">\r\n                                <span class=\"text-xs font-semibold px-2.5 py-1 rounded-md bg-brand-surface border border-brand-border text-brand-red\">${guide.device}<\/span>\r\n                                <i data-lucide=\"book-open\" class=\"w-4 h-4 text-gray-500\"><\/i>\r\n                            <\/div>\r\n                            <h3 class=\"text-lg font-bold text-white mb-2\">${guide.title}<\/h3>\r\n                            <p class=\"text-xs text-gray-400 leading-relaxed mb-4\">${guide.summary}<\/p>\r\n                        <\/div>\r\n                        <button onclick=\"openGuideModal('${guide.id}')\" class=\"w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-2 rounded-xl text-xs font-semibold transition-all\">\r\n                            Read Tutorial\r\n                        <\/button>\r\n                    <\/div>\r\n                `).join('');\r\n            }\r\n            lucide.createIcons();\r\n        };\r\n\r\n        \/\/ Open Guide Modal\r\n        window.openGuideModal = function(id) {\r\n            const guide = INSTALLATION_GUIDES.find(g => g.id === id);\r\n            if (!guide) return;\r\n            const content = document.getElementById('guide-modal-content');\r\n            content.innerHTML = `\r\n                <span class=\"text-xs text-brand-red font-semibold uppercase tracking-wider\">${guide.device} Tutorial<\/span>\r\n                <h2 class=\"text-2xl font-bold text-white mt-1 mb-4\">${guide.title}<\/h2>\r\n                <div class=\"space-y-4 text-xs text-gray-300 leading-relaxed border-t border-brand-border pt-4\">\r\n                    <p class=\"text-sm font-semibold text-gray-200\">${guide.summary}<\/p>\r\n                    <h4 class=\"font-bold text-white text-sm\">Step 1: Preparation<\/h4>\r\n                    <p>Ensure your device is connected to an active internet network with stable bandwidth.<\/p>\r\n                    <h4 class=\"font-bold text-white text-sm\">Step 2: App Installation<\/h4>\r\n                    <p>Download your preferred IPTV player app from the official application store or via downloader software.<\/p>\r\n                    <h4 class=\"font-bold text-white text-sm\">Step 3: Configuration<\/h4>\r\n                    <p>Enter your M3U playlist URL or Xtream Codes login credentials precisely as provided by our support team.<\/p>\r\n                    <div class=\"p-4 rounded-xl bg-brand-surface border border-brand-border my-4\">\r\n                        <p class=\"text-xs text-gray-400\"><strong>Note:<\/strong> App menu names and setting options may vary depending on the app version and device firmware.<\/p>\r\n                    <\/div>\r\n                    <div class=\"pt-4 flex justify-between items-center border-t border-brand-border\">\r\n                        <a href=\"${getWhatsAppUrl(`Hello IPTVTO, I am following the ${guide.title} and need assistance.`)}\" target=\"_blank\" class=\"bg-brand-red hover:bg-brand-hover text-white text-xs font-bold px-4 py-2 rounded-xl flex items-center gap-2\">\r\n                            <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i> Get Setup Assistance\r\n                        <\/a>\r\n                        <button onclick=\"closeGuideModal()\" class=\"text-xs text-gray-400 hover:text-white\">Close Window<\/button>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n            document.getElementById('guide-modal').classList.remove('hidden');\r\n            lucide.createIcons();\r\n        };\r\n\r\n        window.closeGuideModal = function() {\r\n            document.getElementById('guide-modal').classList.add('hidden');\r\n        };\r\n\r\n        \/\/ 4. BLOG LANDING & ARTICLE VIEW RENDERER\r\n        function renderBlog() {\r\n            return `\r\n                <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <div class=\"text-center max-w-3xl mx-auto mb-12 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Articles & Insights<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl font-extrabold text-white\">IPTVTO Blog<\/h1>\r\n                        <p class=\"text-gray-400 text-sm\">Technical guides, setup tutorials, beginner overviews, and industry information.<\/p>\r\n                    <\/div>\r\n\r\n                    <!-- Search & Category Filters -->\r\n                    <div class=\"flex flex-col md:flex-row items-center justify-between gap-4 mb-10\">\r\n                        <div class=\"w-full md:w-96 relative\">\r\n                            <i data-lucide=\"search\" class=\"w-4 h-4 absolute left-3.5 top-1\/2 -translate-y-1\/2 text-gray-500\"><\/i>\r\n                            <input type=\"text\" id=\"blog-search\" onkeyup=\"filterBlogPosts()\" placeholder=\"Search articles...\" class=\"w-full bg-brand-card border border-brand-border rounded-xl pl-10 pr-4 py-2.5 text-xs text-white focus:outline-none focus:border-brand-red\">\r\n                        <\/div>\r\n                        <div class=\"flex flex-wrap gap-2 text-xs\">\r\n                            <button onclick=\"filterBlogCategory('All')\" class=\"px-3 py-1.5 rounded-lg bg-brand-red text-white font-medium\">All<\/button>\r\n                            <button onclick=\"filterBlogCategory('Beginners')\" class=\"px-3 py-1.5 rounded-lg bg-brand-card border border-brand-border text-gray-300 hover:text-white\">Beginners<\/button>\r\n                            <button onclick=\"filterBlogCategory('Tutorials')\" class=\"px-3 py-1.5 rounded-lg bg-brand-card border border-brand-border text-gray-300 hover:text-white\">Tutorials<\/button>\r\n                            <button onclick=\"filterBlogCategory('Technical')\" class=\"px-3 py-1.5 rounded-lg bg-brand-card border border-brand-border text-gray-300 hover:text-white\">Technical<\/button>\r\n                            <button onclick=\"filterBlogCategory('Guides')\" class=\"px-3 py-1.5 rounded-lg bg-brand-card border border-brand-border text-gray-300 hover:text-white\">Guides<\/button>\r\n                            <button onclick=\"filterBlogCategory('Business')\" class=\"px-3 py-1.5 rounded-lg bg-brand-card border border-brand-border text-gray-300 hover:text-white\">Business<\/button>\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                    <!-- Articles Grid (20 Posts) -->\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\" id=\"blog-grid\">\r\n                        ${BLOG_POSTS.map(post => `\r\n                            <article class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-all flex flex-col justify-between\">\r\n                                <div>\r\n                                    <div class=\"flex items-center justify-between text-xs text-gray-500 mb-3\">\r\n                                        <span class=\"px-2.5 py-0.5 rounded bg-brand-surface border border-brand-border text-brand-red font-semibold\">${post.category}<\/span>\r\n                                        <span>${post.date}<\/span>\r\n                                    <\/div>\r\n                                    <h3 class=\"text-base font-bold text-white mb-2 leading-snug\">${post.title}<\/h3>\r\n                                    <p class=\"text-xs text-gray-400 leading-relaxed mb-4\">${post.desc}<\/p>\r\n                                <\/div>\r\n                                <div class=\"pt-4 border-t border-brand-border\/60 flex items-center justify-between text-xs\">\r\n                                    <span class=\"text-gray-500\">${post.readTime}<\/span>\r\n                                    <button onclick=\"openBlogArticle('${post.id}')\" class=\"text-brand-red font-semibold hover:underline flex items-center gap-1\">\r\n                                        Read Article <i data-lucide=\"chevron-right\" class=\"w-3.5 h-3.5\"><\/i>\r\n                                    <\/button>\r\n                                <\/div>\r\n                            <\/article>\r\n                        `).join('')}\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <!-- Article Detail Modal Container -->\r\n                <div id=\"article-modal\" class=\"hidden fixed inset-0 z-50 bg-black\/80 backdrop-blur-sm flex items-center justify-center p-4\">\r\n                    <div class=\"bg-brand-card border border-brand-border rounded-2xl max-w-3xl w-full max-h-[88vh] overflow-y-auto p-6 md:p-8 relative\">\r\n                        <button onclick=\"closeArticleModal()\" class=\"absolute top-4 right-4 text-gray-400 hover:text-white p-1 rounded-lg bg-brand-surface\">\r\n                            <i data-lucide=\"x\" class=\"w-5 h-5\"><\/i>\r\n                        <\/button>\r\n                        <div id=\"article-modal-content\"><\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        window.filterBlogPosts = function() {\r\n            const query = document.getElementById('blog-search').value.toLowerCase();\r\n            const filtered = BLOG_POSTS.filter(p => p.title.toLowerCase().includes(query) || p.desc.toLowerCase().includes(query));\r\n            renderBlogFilteredGrid(filtered);\r\n        };\r\n\r\n        window.filterBlogCategory = function(cat) {\r\n            if (cat === 'All') {\r\n                renderBlogFilteredGrid(BLOG_POSTS);\r\n            } else {\r\n                const filtered = BLOG_POSTS.filter(p => p.category === cat);\r\n                renderBlogFilteredGrid(filtered);\r\n            }\r\n        };\r\n\r\n        function renderBlogFilteredGrid(posts) {\r\n            const grid = document.getElementById('blog-grid');\r\n            if (posts.length === 0) {\r\n                grid.innerHTML = `<div class=\"col-span-full text-center text-gray-400 py-12\">No blog articles match your query.<\/div>`;\r\n            } else {\r\n                grid.innerHTML = posts.map(post => `\r\n                    <article class=\"p-6 rounded-2xl bg-brand-card border border-brand-border hover:border-brand-red\/50 transition-all flex flex-col justify-between\">\r\n                        <div>\r\n                            <div class=\"flex items-center justify-between text-xs text-gray-500 mb-3\">\r\n                                <span class=\"px-2.5 py-0.5 rounded bg-brand-surface border border-brand-border text-brand-red font-semibold\">${post.category}<\/span>\r\n                                <span>${post.date}<\/span>\r\n                            <\/div>\r\n                            <h3 class=\"text-base font-bold text-white mb-2 leading-snug\">${post.title}<\/h3>\r\n                            <p class=\"text-xs text-gray-400 leading-relaxed mb-4\">${post.desc}<\/p>\r\n                        <\/div>\r\n                        <div class=\"pt-4 border-t border-brand-border\/60 flex items-center justify-between text-xs\">\r\n                            <span class=\"text-gray-500\">${post.readTime}<\/span>\r\n                            <button onclick=\"openBlogArticle('${post.id}')\" class=\"text-brand-red font-semibold hover:underline flex items-center gap-1\">\r\n                                Read Article <i data-lucide=\"chevron-right\" class=\"w-3.5 h-3.5\"><\/i>\r\n                            <\/button>\r\n                        <\/div>\r\n                    <\/article>\r\n                `).join('');\r\n            }\r\n            lucide.createIcons();\r\n        }\r\n\r\n        window.openBlogArticle = function(id) {\r\n            const post = BLOG_POSTS.find(p => p.id === id);\r\n            if (!post) return;\r\n            const content = document.getElementById('article-modal-content');\r\n            content.innerHTML = `\r\n                <div class=\"flex items-center gap-3 text-xs text-gray-400 mb-3\">\r\n                    <span class=\"px-2.5 py-0.5 rounded bg-brand-surface border border-brand-border text-brand-red font-semibold\">${post.category}<\/span>\r\n                    <span>\u2022<\/span>\r\n                    <span>${post.date}<\/span>\r\n                    <span>\u2022<\/span>\r\n                    <span>${post.readTime}<\/span>\r\n                <\/div>\r\n                <h1 class=\"text-2xl md:text-3xl font-extrabold text-white mb-6\">${post.title}<\/h1>\r\n                \r\n                <div class=\"space-y-4 text-xs md:text-sm text-gray-300 leading-relaxed border-t border-brand-border pt-6\">\r\n                    <p class=\"text-sm font-medium text-gray-200 leading-relaxed\">${post.desc}<\/p>\r\n                    \r\n                    <h2 class=\"text-lg font-bold text-white pt-4\">Introduction & Background<\/h2>\r\n                    <p>When configuring modern streaming systems, understanding the underlying technology ensures optimal performance and stability. IPTV operates over standard TCP\/IP internet protocols, streaming media feeds directly to compatible application decoders.<\/p>\r\n                    \r\n                    <h2 class=\"text-lg font-bold text-white pt-4\">Key Setup Practices<\/h2>\r\n                    <p>To establish a clean connection, always ensure that your network bandwidth provides sufficient throughput. Wired Ethernet connections are recommended over 2.4GHz wireless bands whenever possible to reduce latency and micro-buffering.<\/p>\r\n                    \r\n                    <h2 class=\"text-lg font-bold text-white pt-4\">Technical Recommendations<\/h2>\r\n                    <ul class=\"list-disc pl-5 space-y-2 text-gray-300\">\r\n                        <li>Verify that your player application supports hardware acceleration decoding.<\/li>\r\n                        <li>Maintain clean playlist links and store server hostnames accurately.<\/li>\r\n                        <li>Utilize dynamic EPG refresh intervals (e.g., 24-hour sync cycles) to avoid unnecessary bandwidth usage.<\/li>\r\n                    <\/ul>\r\n\r\n                    <div class=\"p-4 rounded-xl bg-brand-surface border border-brand-border my-6\">\r\n                        <h4 class=\"text-white font-bold mb-1\">Need assistance with your setup?<\/h4>\r\n                        <p class=\"text-xs text-gray-400\">Our support team is available on WhatsApp to assist with playlist formatting or configuration troubleshooting.<\/p>\r\n                    <\/div>\r\n\r\n                    <div class=\"pt-6 flex justify-between items-center border-t border-brand-border\">\r\n                        <a href=\"${getWhatsAppUrl(`Hello IPTVTO, I read your article '${post.title}' and have a question.`)}\" target=\"_blank\" class=\"bg-brand-red hover:bg-brand-hover text-white text-xs font-bold px-5 py-2.5 rounded-xl flex items-center gap-2\">\r\n                            <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i> Contact Support\r\n                        <\/a>\r\n                        <button onclick=\"closeArticleModal()\" class=\"text-xs text-gray-400 hover:text-white\">Close Article<\/button>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n            document.getElementById('article-modal').classList.remove('hidden');\r\n            lucide.createIcons();\r\n        };\r\n\r\n        window.closeArticleModal = function() {\r\n            document.getElementById('article-modal').classList.add('hidden');\r\n        };\r\n\r\n        \/\/ 5. RESELLER PANEL PAGE VIEW RENDERER\r\n        function renderResellerPanel() {\r\n            return `\r\n                <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <div class=\"text-center max-w-3xl mx-auto mb-16 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">B2B Solutions<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl md:text-5xl font-extrabold text-white\">IPTV Reseller Panel Plans<\/h1>\r\n                        <p class=\"text-gray-400 text-sm\">\r\n                            Manage your client subscriptions efficiently with our dedicated reseller credit panel system.\r\n                        <\/p>\r\n                    <\/div>\r\n\r\n                    <!-- 4 Reseller Packages Grid -->\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-16\">\r\n                        ${CONFIG.resellerPacks.map(pack => `\r\n                            <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between hover:border-brand-red\/50 transition-all\">\r\n                                <div>\r\n                                    <span class=\"text-xs font-semibold text-brand-red uppercase tracking-wider\">Credit Package<\/span>\r\n                                    <h3 class=\"text-xl font-bold text-white mt-1\">${pack.name}<\/h3>\r\n                                    \r\n                                    <div class=\"mt-4 pb-4 border-b border-brand-border\">\r\n                                        <span class=\"text-3xl font-extrabold text-white\">$${pack.price}<\/span>\r\n                                        <span class=\"text-xs text-gray-400\"> USD<\/span>\r\n                                    <\/div>\r\n\r\n                                    <div class=\"my-6 space-y-3 text-xs text-gray-300\">\r\n                                        <div class=\"flex justify-between items-center py-1.5 border-b border-brand-surface\">\r\n                                            <span class=\"text-gray-400\">Credit Allocation:<\/span>\r\n                                            <span class=\"font-bold text-white\">${pack.credits} Credits<\/span>\r\n                                        <\/div>\r\n                                        <div class=\"flex justify-between items-center py-1.5 border-b border-brand-surface\">\r\n                                            <span class=\"text-gray-400\">Advertised Validity:<\/span>\r\n                                            <span class=\"font-bold text-white\">${pack.validity}<\/span>\r\n                                        <\/div>\r\n                                        <div class=\"flex justify-between items-center py-1.5 border-b border-brand-surface\">\r\n                                            <span class=\"text-gray-400\">Control Panel:<\/span>\r\n                                            <span class=\"font-bold text-emerald-400\">Full Access<\/span>\r\n                                        <\/div>\r\n                                    <\/div>\r\n                                <\/div>\r\n\r\n                                <a href=\"${getWhatsAppUrl(`Hello IPTVTO, I want to order ${pack.name} ($${pack.price} for ${pack.credits} Credits). Please provide panel setup details.`)}\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"w-full bg-brand-red hover:bg-brand-hover text-white py-3 rounded-xl text-center text-sm font-bold shadow-md transition-all flex items-center justify-center gap-2\">\r\n                                    <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i>\r\n                                    <span>Order Reseller Pack<\/span>\r\n                                <\/a>\r\n                            <\/div>\r\n                        `).join('')}\r\n                    <\/div>\r\n\r\n                    <!-- Interactive Credit Schedule Table & Calculator -->\r\n                    <div class=\"grid grid-cols-1 lg:grid-cols-2 gap-8 mb-16\">\r\n                        <!-- Credit Consumption Table -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border\">\r\n                            <h3 class=\"text-xl font-bold text-white mb-4 flex items-center gap-2\">\r\n                                <i data-lucide=\"table\" class=\"w-5 h-5 text-brand-red\"><\/i>\r\n                                Exact Credit Schedule\r\n                            <\/h3>\r\n                            <p class=\"text-xs text-gray-400 mb-6\">How panel credits are consumed per created line duration:<\/p>\r\n                            \r\n                            <div class=\"overflow-x-auto\">\r\n                                <table class=\"w-full text-left text-xs\">\r\n                                    <thead>\r\n                                        <tr class=\"border-b border-brand-border text-gray-400 uppercase tracking-wider\">\r\n                                            <th class=\"py-3 px-2\">Subscription Duration<\/th>\r\n                                            <th class=\"py-3 px-2 text-right\">Credit Cost<\/th>\r\n                                        <\/tr>\r\n                                    <\/thead>\r\n                                    <tbody class=\"divide-y divide-brand-border\/60 text-gray-300\">\r\n                                        ${CONFIG.resellerConsumption.map(item => `\r\n                                            <tr>\r\n                                                <td class=\"py-3 px-2 font-medium\">${item.duration}<\/td>\r\n                                                <td class=\"py-3 px-2 text-right font-bold text-brand-red\">${item.credit} Credit${item.credit === 1 ? '' : 's'}<\/td>\r\n                                            <\/tr>\r\n                                        `).join('')}\r\n                                    <\/tbody>\r\n                                <\/table>\r\n                            <\/div>\r\n                        <\/div>\r\n\r\n                        <!-- Reseller Credit Calculator -->\r\n                        <div class=\"p-6 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between\">\r\n                            <div>\r\n                                <h3 class=\"text-xl font-bold text-white mb-2 flex items-center gap-2\">\r\n                                    <i data-lucide=\"calculator\" class=\"w-5 h-5 text-brand-red\"><\/i>\r\n                                    Credit Allocation Calculator\r\n                                <\/h3>\r\n                                <p class=\"text-xs text-gray-400 mb-6\">Select a reseller package to simulate how many 12-month client accounts you can activate:<\/p>\r\n                                \r\n                                <label class=\"block text-xs font-medium text-gray-300 mb-2\">Select Reseller Package:<\/label>\r\n                                <select id=\"reseller-calc-select\" onchange=\"calculateResellerCredits()\" class=\"w-full bg-brand-surface border border-brand-border rounded-xl p-3 text-xs text-white focus:outline-none focus:border-brand-red mb-6\">\r\n                                    <option value=\"10\">Reseller Pack 1 \u2014 $250 (10 Credits)<\/option>\r\n                                    <option value=\"20\">Reseller Pack 2 \u2014 $450 (20 Credits)<\/option>\r\n                                    <option value=\"30\">Reseller Pack 3 \u2014 $650 (30 Credits)<\/option>\r\n                                    <option value=\"40\">Reseller Pack 4 \u2014 $400 (40 Credits)<\/option>\r\n                                <\/select>\r\n\r\n                                <div class=\"grid grid-cols-2 gap-4 p-4 rounded-xl bg-brand-surface border border-brand-border text-center\">\r\n                                    <div>\r\n                                        <span class=\"text-xs text-gray-400 block\">Total Credits<\/span>\r\n                                        <span class=\"text-2xl font-extrabold text-white\" id=\"calc-credits-display\">10<\/span>\r\n                                    <\/div>\r\n                                    <div>\r\n                                        <span class=\"text-xs text-gray-400 block\">12-Month Accounts<\/span>\r\n                                        <span class=\"text-2xl font-extrabold text-brand-red\" id=\"calc-accounts-display\">10 Accounts<\/span>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n\r\n                            <p class=\"text-xs text-gray-500 mt-6\">\r\n                                * Note: Test accounts cost 0 credits. Actual validity and panel features are verified upon panel provisioning.\r\n                            <\/p>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        window.calculateResellerCredits = function() {\r\n            const credits = parseInt(document.getElementById('reseller-calc-select').value);\r\n            document.getElementById('calc-credits-display').innerText = credits;\r\n            document.getElementById('calc-accounts-display').innerText = `${credits} Accounts`;\r\n        };\r\n\r\n        \/\/ 6. STANDALONE FAQ PAGE VIEW RENDERER\r\n        function renderFAQ() {\r\n            const faqs = [\r\n                { q: \"What is IPTVTO?\", a: \"IPTVTO is a subscription and reseller platform delivering configuration setups and playlist accounts compatible with modern streaming players.\" },\r\n                { q: \"Which devices are supported?\", a: \"Supported devices include Android TV, Amazon Firestick, Smart TVs (Samsung & LG), iOS devices, Android smartphones, Windows PCs, and macOS computers.\" },\r\n                { q: \"How do I place an order?\", a: \"Select your desired subscription duration and device count on the Pricing page, then click 'Order via WhatsApp' to send your inquiry directly to our support team.\" },\r\n                { q: \"What are the exact prices?\", a: \"Prices range from $11.97 for a 1-Month 1-Device trial up to $184.97 for a 12-Month 4-Device popular plan. All prices are fixed in USD.\" },\r\n                { q: \"How does the reseller panel work?\", a: \"Reseller packages supply credits (e.g. 10 credits for $250). Creating a 12-month client account deducts 1 credit from your panel balance.\" },\r\n                { q: \"What is the refund policy?\", a: \"Service inquiries and refund requests are evaluated according to our published Refund Policy. Contact support via WhatsApp for assistance.\" }\r\n            ];\r\n\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <div class=\"text-center mb-12 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Help Center<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl font-extrabold text-white\">Frequently Asked Questions<\/h1>\r\n                        <p class=\"text-gray-400 text-sm\">Find clear answers to common questions regarding subscriptions, devices, and reseller panels.<\/p>\r\n                    <\/div>\r\n\r\n                    <div class=\"space-y-4\">\r\n                        ${faqs.map((faq, idx) => `\r\n                            <div class=\"rounded-2xl bg-brand-card border border-brand-border overflow-hidden\">\r\n                                <button onclick=\"toggleFAQ(${idx})\" class=\"w-full p-5 text-left font-bold text-sm text-white flex justify-between items-center hover:bg-brand-surface transition-colors\">\r\n                                    <span>${faq.q}<\/span>\r\n                                    <i data-lucide=\"chevron-down\" id=\"faq-icon-${idx}\" class=\"w-4 h-4 text-brand-red transition-transform\"><\/i>\r\n                                <\/button>\r\n                                <div id=\"faq-ans-${idx}\" class=\"hidden p-5 pt-0 text-xs text-gray-400 leading-relaxed border-t border-brand-border\/40\">\r\n                                    ${faq.a}\r\n                                <\/div>\r\n                            <\/div>\r\n                        `).join('')}\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        window.toggleFAQ = function(idx) {\r\n            const ans = document.getElementById(`faq-ans-${idx}`);\r\n            const icon = document.getElementById(`faq-icon-${idx}`);\r\n            if (ans.classList.contains('hidden')) {\r\n                ans.classList.remove('hidden');\r\n                icon.classList.add('rotate-180');\r\n            } else {\r\n                ans.classList.add('hidden');\r\n                icon.classList.remove('rotate-180');\r\n            }\r\n        };\r\n\r\n        \/\/ 7. ABOUT PAGE VIEW RENDERER\r\n        function renderAbout() {\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-8\">\r\n                    <div class=\"text-center space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Company Information<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl font-extrabold text-white\">About IPTVTO<\/h1>\r\n                    <\/div>\r\n\r\n                    <div class=\"p-8 rounded-2xl bg-brand-card border border-brand-border space-y-6 text-sm text-gray-300 leading-relaxed\">\r\n                        <p>\r\n                            <strong>IPTVTO<\/strong> provides high-performance subscription configurations and reseller panel management tools designed for users seeking reliable streaming setup assistance.\r\n                        <\/p>\r\n                        <h3 class=\"text-lg font-bold text-white\">Our Mission & Approach<\/h3>\r\n                        <p>\r\n                            We aim to deliver clear, transparent subscription pricing without deceptive marketing tactics. We emphasize factual compatibility details, comprehensive installation guides, and direct support.\r\n                        <\/p>\r\n                        <h3 class=\"text-lg font-bold text-white\">Reseller Infrastructure<\/h3>\r\n                        <p>\r\n                            Our credit-based reseller panel solutions enable independent managers to provision lines, evaluate tests, and manage multi-device subscriptions seamlessly.\r\n                        <\/p>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        \/\/ 8. CONTACT PAGE VIEW RENDERER\r\n        function renderContact() {\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12\">\r\n                    <div class=\"text-center mb-12 space-y-4\">\r\n                        <span class=\"text-brand-red font-semibold text-xs uppercase tracking-widest bg-brand-red\/10 border border-brand-red\/20 px-3 py-1 rounded-full\">Customer Support<\/span>\r\n                        <h1 class=\"text-3xl sm:text-4xl font-extrabold text-white\">Contact IPTVTO<\/h1>\r\n                        <p class=\"text-gray-400 text-sm\">Have questions or require installation support? Get in touch with our team.<\/p>\r\n                    <\/div>\r\n\r\n                    <div class=\"grid grid-cols-1 md:grid-cols-2 gap-8\">\r\n                        <!-- Direct WhatsApp Box -->\r\n                        <div class=\"p-8 rounded-2xl bg-brand-card border border-brand-border flex flex-col justify-between\">\r\n                            <div>\r\n                                <i data-lucide=\"message-square\" class=\"w-10 h-10 text-brand-red mb-4\"><\/i>\r\n                                <h3 class=\"text-xl font-bold text-white mb-2\">Instant WhatsApp Assistance<\/h3>\r\n                                <p class=\"text-xs text-gray-400 leading-relaxed mb-6\">\r\n                                    WhatsApp is our primary support channel for fast response times regarding orders, reseller inquiries, and setup issues.\r\n                                <\/p>\r\n                                <div class=\"p-4 rounded-xl bg-brand-surface border border-brand-border text-xs text-gray-300 space-y-1\">\r\n                                    <div>Official Phone: <span class=\"font-mono text-white\">${CONFIG.formattedPhone}<\/span><\/div>\r\n                                    <div>Availability: <span>24\/7 Online Support<\/span><\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n\r\n                            <a href=\"${getWhatsAppUrl('Hello IPTVTO support, I need assistance.')}\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"mt-8 w-full bg-brand-red hover:bg-brand-hover text-white py-3 rounded-xl text-center text-sm font-bold shadow-md transition-all flex items-center justify-center gap-2\">\r\n                                <i data-lucide=\"message-square\" class=\"w-4 h-4\"><\/i>\r\n                                <span>Launch WhatsApp Chat<\/span>\r\n                            <\/a>\r\n                        <\/div>\r\n\r\n                        <!-- General Contact Form -->\r\n                        <div class=\"p-8 rounded-2xl bg-brand-card border border-brand-border\">\r\n                            <h3 class=\"text-xl font-bold text-white mb-4\">Send a Message<\/h3>\r\n                            <form onsubmit=\"handleContactSubmit(event)\" class=\"space-y-4\">\r\n                                <div>\r\n                                    <label class=\"block text-xs text-gray-400 mb-1\">Your Name<\/label>\r\n                                    <input type=\"text\" required placeholder=\"Enter name\" class=\"w-full bg-brand-surface border border-brand-border rounded-xl p-3 text-xs text-white focus:outline-none focus:border-brand-red\">\r\n                                <\/div>\r\n                                <div>\r\n                                    <label class=\"block text-xs text-gray-400 mb-1\">Email Address<\/label>\r\n                                    <input type=\"email\" required placeholder=\"name@example.com\" class=\"w-full bg-brand-surface border border-brand-border rounded-xl p-3 text-xs text-white focus:outline-none focus:border-brand-red\">\r\n                                <\/div>\r\n                                <div>\r\n                                    <label class=\"block text-xs text-gray-400 mb-1\">Inquiry Details<\/label>\r\n                                    <textarea required rows=\"4\" placeholder=\"How can we help you?\" class=\"w-full bg-brand-surface border border-brand-border rounded-xl p-3 text-xs text-white focus:outline-none focus:border-brand-red\"><\/textarea>\r\n                                <\/div>\r\n                                <button type=\"submit\" class=\"w-full bg-brand-surface hover:bg-brand-red border border-brand-border hover:border-brand-red text-white py-3 rounded-xl text-xs font-bold transition-all\">\r\n                                    Submit Message\r\n                                <\/button>\r\n                            <\/form>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        window.handleContactSubmit = function(e) {\r\n            e.preventDefault();\r\n            alert('Thank you for your message. Our team will review your inquiry. For faster support, please contact us via WhatsApp.');\r\n        };\r\n\r\n        \/\/ 9. LEGAL PAGES VIEW RENDERERS\r\n        function renderPrivacyPolicy() {\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 py-12 space-y-6 text-xs text-gray-300 leading-relaxed\">\r\n                    <h1 class=\"text-3xl font-bold text-white mb-4\">Privacy Policy<\/h1>\r\n                    <p>IPTVTO (\"we\", \"our\", \"us\") respects your privacy and is committed to protecting visitor personal data. This privacy document outlines how information is collected when interacting with iptvto.com.<\/p>\r\n                    <h3 class=\"text-sm font-bold text-white\">Information We Collect<\/h3>\r\n                    <p>We may collect communication details submitted through inquiry forms or direct WhatsApp messages, including contact details and device specifics needed for service provisioning.<\/p>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        function renderTerms() {\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 py-12 space-y-6 text-xs text-gray-300 leading-relaxed\">\r\n                    <h1 class=\"text-3xl font-bold text-white mb-4\">Terms of Service<\/h1>\r\n                    <p>By accessing or utilizing services provided at iptvto.com, you agree to comply with these terms of service.<\/p>\r\n                    <h3 class=\"text-sm font-bold text-white\">Subscription Usage<\/h3>\r\n                    <p>Subscriptions are designated for the specified count of concurrent devices selected during purchase. Shared usage beyond selected limits may result in line restriction.<\/p>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        function renderRefundPolicy() {\r\n            return `\r\n                <div class=\"max-w-4xl mx-auto px-4 py-12 space-y-6 text-xs text-gray-300 leading-relaxed\">\r\n                    <h1 class=\"text-3xl font-bold text-white mb-4\">Refund Policy<\/h1>\r\n                    <p>We evaluate refund requests on an individual basis. Because digital lines are provisioned upon order confirmation, customers experiencing technical setup issues must first request assistance from our support team via WhatsApp.<\/p>\r\n                <\/div>\r\n            `;\r\n        }\r\n\r\n        \/**\r\n         * CLIENT ROUTER ENGINE\r\n         * Handles hash-based client routing with support for path-style navigation fallback.\r\n         *\/\r\n        const routes = {\r\n            '\/': renderHome,\r\n            '\/pricing': renderPricing,\r\n            '\/installation-guide': renderInstallationGuide,\r\n            '\/blog': renderBlog,\r\n            '\/iptv-reseller-panel': renderResellerPanel,\r\n            '\/faq': renderFAQ,\r\n            '\/about': renderAbout,\r\n            '\/contact': renderContact,\r\n            '\/privacy-policy': renderPrivacyPolicy,\r\n            '\/terms': renderTerms,\r\n            '\/refund-policy': renderRefundPolicy\r\n        };\r\n\r\n        function router() {\r\n            let path = window.location.hash.slice(1) || '\/';\r\n            if (!path.startsWith('\/')) path = '\/' + path;\r\n\r\n            const app = document.getElementById('app-router');\r\n            const viewRenderer = routes[path] || routes['\/'];\r\n\r\n            \/\/ Render view content\r\n            app.innerHTML = viewRenderer();\r\n\r\n            \/\/ Scroll to top on navigation\r\n            window.scrollTo({ top: 0, behavior: 'smooth' });\r\n\r\n            \/\/ Re-initialize Lucide Icons\r\n            lucide.createIcons();\r\n\r\n            \/\/ Close mobile menu if open\r\n            document.getElementById('mobile-menu').classList.add('hidden');\r\n        }\r\n\r\n        \/\/ Initialize Application Events\r\n        window.addEventListener('hashchange', router);\r\n        window.addEventListener('load', () => {\r\n            \/\/ Set dynamic WhatsApp URLs on fixed buttons\r\n            const defaultWA = getWhatsAppUrl();\r\n            document.getElementById('header-whatsapp-btn').href = defaultWA;\r\n            document.getElementById('mobile-whatsapp-btn').href = defaultWA;\r\n            document.getElementById('footer-whatsapp-btn').href = defaultWA;\r\n\r\n            \/\/ Mobile Menu Toggle logic\r\n            document.getElementById('mobile-menu-toggle').addEventListener('click', () => {\r\n                const menu = document.getElementById('mobile-menu');\r\n                menu.classList.toggle('hidden');\r\n            });\r\n\r\n            \/\/ Initial route render\r\n            router();\r\n        });\r\n    <\/script>\r\n<\/body>\r\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>IPTVTO &#8211; Premium IPTV Subscription &#038; Reseller Service Notice Customer support &#038; setup assistance is active 24\/7 via WhatsApp. IPTVTO Home Pricing Installation Guide Blog Reseller Panel FAQ Contact WhatsApp Support Home Pricing Installation Guide Blog Reseller Panel FAQ Contact Contact via WhatsApp IPTVTO IPTVTO provides high-performance IPTV subscription options and dedicated reseller panel management, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-48","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/pages\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":5,"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/pages\/48\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/pages\/48\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/iptvto.com\/index.php\/wp-json\/wp\/v2\/media?parent=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}