{"id":674,"date":"2026-01-22T18:09:42","date_gmt":"2026-01-22T18:09:42","guid":{"rendered":"https:\/\/lexairo.com\/?page_id=674"},"modified":"2026-09-29T16:05:14","modified_gmt":"2026-09-29T16:05:14","slug":"choros-ergasias","status":"publish","type":"page","link":"https:\/\/lexairo.com\/en\/choros-ergasias\/","title":{"rendered":"\u03a7\u03ce\u03c1\u03bf\u03c2 \u0395\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2"},"content":{"rendered":"\n<div>\n<style>\n    \/* --- RADICAL 2026 REDESIGN: PREMIUM GLASSMORPHISM (REFINED TYPOGRAPHY) --- *\/\n    \n    body { \n        background: radial-gradient(circle at 15% 0%, #1a103c 0%, #05050a 40%, #080f1c 100%);\n        background-attachment: fixed;\n        margin: 0; padding: 0; \n        font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; \n        font-size: 14px; \/* \u039c\u03b5\u03b9\u03ce\u03b8\u03b7\u03ba\u03b5 \u03b1\u03c0\u03cc 16px *\/\n        color: #E2E8F0;\n    }\n    \n    .lex-workspace-wrapper { \n        max-width: 1400px; margin: 0 auto; padding: 25px; \n        display: grid; grid-template-columns: 260px 1fr; gap: 28px; \n        align-items: start; min-height: 90vh; \n    }\n    \n    .lex-sidebar, .lex-main-panel, .lex-modal-content {\n        background: rgba(15, 20, 35, 0.45);\n        backdrop-filter: blur(24px);\n        -webkit-backdrop-filter: blur(24px);\n        border: 1px solid rgba(255, 255, 255, 0.08);\n        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);\n        border-radius: 20px;\n    }\n    \n    .lex-sidebar { padding: 24px; position: sticky; top: 25px; }\n    .lex-sidebar-title { color: #8B9BB4; font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; padding-left: 14px; letter-spacing: 1.5px; opacity: 0.8; }\n    \n    .lex-nav-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 18px; margin-bottom: 8px; background: transparent; border: none; color: #94A3B8; font-size: 14px; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-align: left; position: relative; overflow: hidden; }\n    .lex-nav-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.04); transform: translateX(4px); }\n    .lex-nav-btn.active { color: #fff; background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), transparent); font-weight: 700; }\n    .lex-nav-btn.active::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 4px; background: #3B82F6; border-radius: 0 4px 4px 0; box-shadow: 0 0 10px #3B82F6; }\n    \n    .lex-main-panel { padding: 35px; min-height: 600px; position: relative; }\n    .lex-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; width: 100%; }\n    \n    .lex-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 35px; }\n    .lex-stat-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 18px; padding: 24px; text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(10px); }\n    .lex-stat-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.05); border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1); }\n    .lex-stat-number { font-size: 32px; font-weight: 900; background: linear-gradient(135deg, #fff 0%, #94A3B8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; margin: 8px 0; font-variant-numeric: tabular-nums; }\n    .lex-stat-label { font-size: 12px; color: #8B9BB4; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }\n    \n    .lex-daily-tip { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.05)); border: 1px solid rgba(245, 158, 11, 0.2); padding: 18px 24px; border-radius: 14px; color: #FDE68A; font-size: 14px; margin-bottom: 35px; display: flex; align-items: center; gap: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }\n    \n    .lex-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }\n    .lex-guide-card { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); padding: 25px; border-radius: 18px; transition: 0.3s; }\n    .lex-guide-card:hover { border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.02); }\n    .lex-guide-card h3 { color: #fff; margin-top: 0; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; }\n    .lex-guide-card p { font-size: 14px; color: #94A3B8; line-height: 1.7; }\n    .lex-guide-icon { font-size: 20px; background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }\n    \n    .lex-connect-row { display: flex; justify-content: space-between; align-items: center; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.06); padding: 18px 24px; border-radius: 16px; margin-bottom: 18px; transition: 0.3s; }\n    .lex-connect-row:hover { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.1); }\n    .lex-platform-info { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 15px; }\n    .lex-connect-btn { padding: 10px 22px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all 0.3s; }\n    .btn-connect { background: #E2E8F0; color: #0F172A; }\n    .btn-connect:hover { background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); transform: scale(1.02); }\n    .btn-disconnect { background: transparent; border: 1px solid #EF4444; color: #EF4444; }\n    .btn-disconnect:hover { background: rgba(239, 68, 68, 0.1); box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }\n    .lex-connected-badge { color: #10B981; font-size: 13px; display: none; margin-right: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }\n    \n    .lex-tool-header { margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 20px; }\n    .lex-tool-label { font-size: 12px; text-transform: uppercase; color: #A78BFA; font-weight: 800; display: block; margin-bottom: 8px; letter-spacing: 1.5px; text-shadow: 0 0 10px rgba(167, 139, 250, 0.3); }\n    \n    .lex-form label { color: #CBD5E0; font-size: 14px; margin-top: 20px; display: block; margin-bottom: 8px; font-weight: 600; }\n    .lex-form input[type=\"text\"], .lex-form input[type=\"number\"], .lex-form select, .lex-form textarea { width: 100%; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 18px; border-radius: 12px; box-sizing: border-box; font-size: 14px; transition: all 0.3s; font-family: inherit; line-height: 1.6; }\n    .lex-form input:focus, .lex-form select:focus, .lex-form textarea:focus { border-color: #3B82F6; outline: none; background: rgba(59, 130, 246, 0.03); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), inset 0 0 15px rgba(59, 130, 246, 0.05); }\n    .lex-form input[type=\"file\"] { background: rgba(0, 0, 0, 0.2); padding: 16px; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, 0.15); width: 100%; color: #94A3B8; margin-bottom: 12px; cursor: pointer; text-align: center; transition: 0.3s; font-size: 14px; }\n    .lex-form input[type=\"file\"]:hover { border-color: #A78BFA; background: rgba(167, 139, 250, 0.05); color: #fff; }\n    \n    .lex-main-selector { width: 100%; background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); padding: 16px 20px; border-radius: 12px; font-size: 15px; cursor: pointer; font-weight: 600; appearance: none; background-image: url(\"data:image\/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E\"); background-repeat: no-repeat; background-position: right 20px top 50%; background-size: 12px auto; transition: 0.3s; }\n    .lex-main-selector:hover { border-color: #3B82F6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }\n    \n    .lex-btn-action, .lex-btn-generate { width: 100%; padding: 18px; margin-top: 35px; border-radius: 14px; font-weight: 800; cursor: pointer; border: none; font-size: 16px; color: #fff; background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #D946EF 100%); background-size: 200% auto; transition: all 0.4s ease; box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5); text-transform: uppercase; letter-spacing: 1px; }\n    .lex-btn-action:hover, .lex-btn-generate:hover { background-position: right center; transform: translateY(-3px); box-shadow: 0 15px 35px -5px rgba(217, 70, 239, 0.6); }\n    .lex-btn-action:disabled, .lex-btn-generate:disabled { background: #1E293B; color: #64748B; cursor: not-allowed; transform: none; box-shadow: none; border: 1px solid #334155; }\n    \n    .lex-output-wrapper { margin-top: 45px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 30px; }\n    .lex-output-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }\n    .lex-output-box { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); padding: 25px; border-radius: 16px; color: #F1F5F9; white-space: pre-wrap; line-height: 1.7; position: relative; font-size: 14px; min-height: 120px; backdrop-filter: blur(5px); }\n    \n    .lex-btn-copy { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #E2E8F0; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); }\n    .lex-btn-copy:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }\n    \n    .lex-btn-preview { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.4); color: #C4B5FD; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; margin-top: 16px; margin-right: 12px; float: left; }\n    .lex-btn-preview:hover { background: #8B5CF6; color: #fff; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); transform: translateY(-2px); }\n    \n    .lex-actions-bar { display: flex; gap: 15px; margin-top: 30px; }\n    .lex-btn-approve { flex: 1; background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); padding: 16px; border-radius: 14px; font-weight: bold; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s; }\n    .lex-btn-approve:hover { background: #10B981; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3); }\n    .lex-btn-regen { flex: 1; background: rgba(239, 68, 68, 0.15); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.3); padding: 16px; border-radius: 14px; font-weight: bold; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s; }\n    .lex-btn-regen:hover { background: #EF4444; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3); }\n    \n    .lex-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }\n    .lex-modal-content { margin: 8% auto; padding: 40px; border: 1px solid rgba(255, 255, 255, 0.1); width: 90%; max-width: 500px; color: #fff; animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }\n    .lex-close { color: #64748B; float: right; font-size: 28px; font-weight: 300; cursor: pointer; transition: 0.3s; }\n    .lex-close:hover { color: #EF4444; transform: rotate(90deg); }\n    \n    .lex-budget-row { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }\n    .lex-total-cost { font-size: 28px; color: #34D399; font-weight: 900; text-align: right; margin-top: 25px; text-shadow: 0 0 20px rgba(52, 211, 153, 0.4); }\n    \n    @keyframes modalPop { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }\n    \n    .lex-loading { display:block; color:#94A3B8; font-style:italic; font-size: 14px; animation: pulseOp 1.5s infinite; }\n    @keyframes pulseOp { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }\n    \n    .lex-history-item { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 20px; margin-bottom: 18px; transition: 0.3s; }\n    .lex-history-item:hover { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.1); }\n    .lex-history-meta { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px; margin-bottom: 12px; }\n    .lex-history-type { font-size: 12px; background: rgba(99, 102, 241, 0.2); color: #818CF8; padding: 5px 12px; border-radius: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(99, 102, 241, 0.3); }\n    .lex-history-date { font-size: 13px; color: #64748B; font-weight: 500; }\n    \n    .lex-industry-badge { display: inline-block; background: rgba(6, 182, 212, 0.15); color: #22D3EE; padding: 6px 18px; border-radius: 30px; font-size: 13px; font-weight: 800; margin-bottom: 20px; border: 1px solid rgba(6, 182, 212, 0.4); text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }\n    \n    .lex-variations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }\n    .lex-var-card { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; transition: all 0.3s; position: relative; overflow: hidden; }\n    .lex-var-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #3B82F6, #8B5CF6); opacity: 0; transition: 0.3s; }\n    .lex-var-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); background: rgba(255,255,255,0.02); }\n    .lex-var-card:hover::before { opacity: 1; }\n    .lex-var-label { font-size: 12px; font-weight: 800; color: #818CF8; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1.5px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }\n    .lex-var-content { font-size: 14px; line-height: 1.7; color: #F1F5F9; white-space: pre-wrap; flex-grow: 1; min-height: 140px; }\n    \n    .lex-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: rgba(0,0,0,0.2); padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }\n    .lex-cal-nav { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 8px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }\n    .lex-cal-nav:hover { background: #fff; color: #0F172A; transform: scale(1.05); }\n    .lex-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }\n    .lex-cal-day-name { text-align: center; color: #64748B; font-size: 12px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }\n    .lex-cal-day { background: rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.03); border-radius: 14px; padding: 12px; min-height: 100px; position: relative; transition: all 0.3s; cursor: pointer; }\n    .lex-cal-day:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.15); transform: translateY(-3px); }\n    .lex-cal-day.active { background: rgba(59, 130, 246, 0.1); border-color: #3B82F6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }\n    .lex-cal-num { font-weight: 800; color: #94A3B8; display: block; margin-bottom: 8px; font-size: 14px; }\n    .lex-cal-event { background: linear-gradient(90deg, #10B981, #059669); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 4px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; box-shadow: 0 2px 5px rgba(16,185,129,0.3); }\n    .lex-cal-empty { background: transparent; border: none; cursor: default; }\n    \n    .lex-media-feedback { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); border-left: 4px solid #10B981; padding: 20px; margin-bottom: 30px; border-radius: 14px; backdrop-filter: blur(10px); }\n    .lex-media-feedback.warning { border-left-color: #F59E0B; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); }\n    .lex-media-header { font-weight: 800; margin-bottom: 10px; color: #fff; display: flex; align-items: center; gap: 10px; font-size: 16px; }\n    .lex-media-content { font-size: 14px; color: #E2E8F0; line-height: 1.6; }\n    \n    .lex-preview-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }\n    .lex-preview-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 24px; }\n    .lex-preview-controls-row { display: flex; gap: 20px; }\n    .lex-preview-controls { background: rgba(255,255,255,0.05); padding: 6px; border-radius: 40px; display: flex; gap: 4px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }\n    .lex-preview-toggle { background: transparent; border: none; color: #94A3B8; cursor: pointer; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 30px; transition: 0.3s; }\n    .lex-preview-toggle.active { background: #fff; color: #0F172A; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }\n    .lex-preview-toggle.platform-btn:hover { color: #fff; }\n    .lex-preview-toggle.platform-btn.active { background: #10B981; color: #fff; }\n    \n    .lex-phone-frame { width: 340px; height: 680px; background: #05050A; border-radius: 45px; padding: 10px; position: relative; border: 2px solid #334155; box-shadow: 0 30px 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }\n    .lex-phone-frame.iphone { border-radius: 50px; border: 4px solid #475569; padding: 12px; }\n    .lex-phone-frame.android { border-radius: 22px; border: 2px solid #334155; }\n    .lex-phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column; }\n    .lex-phone-notch { width: 110px; height: 26px; background: #05050A; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; z-index: 10; display: none; }\n    .lex-phone-frame.iphone .lex-phone-notch { display: block; }\n    \n    .lex-app-header { padding: 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #F1F5F9; background: #fff; z-index: 5; }\n    .lex-app-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, #E2E8F0, #CBD5E0); border-radius: 50%; }\n    .lex-app-name { font-weight: 800; color: #0F172A; font-size: 14px; }\n    \n    .lex-post-media-container { width: 100%; background: #F8FAFC; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }\n    .lex-post-img, .lex-post-video { width: 100%; height: auto; max-height: 380px; object-fit: cover; display: block; }\n    .lex-post-actions { padding: 12px 16px; display: flex; gap: 18px; font-size: 22px; color: #0F172A; background: #fff; }\n    .lex-post-text { padding: 0 16px 20px; color: #334155; font-size: 14px; line-height: 1.5; overflow-y: auto; background: #fff; flex-grow: 1; }\n    \n    .lex-phone-screen.mode-facebook .lex-app-header { border-bottom: none; padding-bottom: 8px; }\n    .lex-phone-screen.mode-facebook .lex-post-text { order: -1; padding-top: 0; padding-bottom: 12px; max-height: none; flex-grow: 0; }\n    .lex-phone-screen.mode-facebook .lex-post-media-container { max-height: 380px; }\n    \n    .lex-phone-screen.mode-tiktok { background: #000; }\n    .lex-phone-screen.mode-tiktok .lex-app-header { display: none; }\n    .lex-phone-screen.mode-tiktok .lex-post-media-container { height: 100%; max-height: 100%; position: absolute; top: 0; left: 0; z-index: 1; background: #000; }\n    .lex-phone-screen.mode-tiktok .lex-post-img, .lex-phone-screen.mode-tiktok .lex-post-video { height: 100%; max-height: 100%; object-fit: cover; }\n    .lex-phone-screen.mode-tiktok .lex-post-actions { position: absolute; right: 12px; bottom: 90px; flex-direction: column; background: transparent; color: #fff; z-index: 5; font-size: 26px; align-items: center; gap: 20px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }\n    .lex-phone-screen.mode-tiktok .lex-post-text { position: absolute; bottom: 25px; left: 12px; width: 75%; background: transparent; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); z-index: 5; max-height: 130px; font-size: 14px; }\n    \n    .lex-close-preview { position: absolute; top: -40px; right: -60px; color: #64748B; font-size: 40px; cursor: pointer; transition: 0.3s; font-weight: 300; }\n    .lex-close-preview:hover { color: #fff; transform: rotate(90deg); }\n    \n    .lex-radar-widget { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 22px; margin-bottom: 35px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }\n    .lex-radar-info h3 { margin: 0 0 6px 0; color: #fff; font-size: 18px; display: flex; align-items: center; gap: 10px; font-weight: 800; }\n    .lex-radar-info p { margin: 0; color: #94A3B8; font-size: 14px; }\n    .lex-pulse-indicator { width: 12px; height: 12px; background-color: #10B981; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px #10B981; animation: pulse 2s infinite; }\n    .lex-radar-meter { text-align: right; }\n    .lex-radar-value { font-size: 28px; font-weight: 900; color: #10B981; text-shadow: 0 0 20px rgba(16,185,129,0.3); }\n    .lex-radar-status { font-size: 12px; color: #94A3B8; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-top: 4px; }\n    \n    .lex-radar-toggle { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; color: #E2E8F0; cursor: pointer; font-weight: 600; }\n    .lex-toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; }\n    .lex-toggle-switch input { opacity: 0; width: 0; height: 0; }\n    .lex-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 34px; border: 1px solid rgba(255,255,255,0.1); }\n    .lex-slider:before { position: absolute; content: \"\"; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: #94A3B8; transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55); border-radius: 50%; }\n    input:checked + .lex-slider { background-color: #3B82F6; border-color: #3B82F6; box-shadow: inset 0 0 10px rgba(0,0,0,0.2); }\n    input:checked + .lex-slider:before { transform: translateX(16px); background-color: #fff; }\n    \n    @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }\n    \n    .lex-live-feed { margin-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }\n    .lex-feed-title { color: #64748B; font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1.5px; }\n    .lex-feed-item { background: rgba(0,0,0,0.15); padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #E2E8F0; border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; }\n    .lex-feed-item:hover { background: rgba(255,255,255,0.03); transform: translateX(4px); border-color: rgba(255,255,255,0.1); }\n    .lex-feed-item.new { border-left: 3px solid #3B82F6; background: linear-gradient(90deg, rgba(59,130,246,0.1), transparent); }\n    .lex-feed-time { color: #64748B; font-size: 12px; min-width: 45px; font-weight: 600; }\n    \n    \/* --- MOBILE & TABLET RESPONSIVENESS --- *\/\n    @media (max-width: 1100px) { \n        .lex-variations-grid { grid-template-columns: 1fr; } \n        .lex-cal-grid { grid-template-columns: repeat(1, 1fr); } \n    }\n    @media (max-width: 900px) { \n        .lex-workspace-wrapper { grid-template-columns: 1fr; padding: 12px; gap: 15px; } \n        .lex-sidebar { display: flex; overflow-x: auto; gap: 10px; padding: 15px; margin-bottom: 15px; top: 0; z-index: 100; backdrop-filter: blur(30px); border-radius: 16px; } \n        .lex-sidebar-title { display: none; \/* \u039a\u03c1\u03cd\u03b2\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf\u03bd \u03c4\u03af\u03c4\u03bb\u03bf \u03c3\u03c4\u03bf \u03ba\u03b9\u03bd\u03b7\u03c4\u03cc \u03b3\u03b9\u03b1 \u03b5\u03be\u03bf\u03b9\u03ba\u03bf\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c7\u03ce\u03c1\u03bf\u03c5 *\/ }\n        .lex-actions-bar { flex-direction: column; } \n        .lex-nav-btn { white-space: nowrap; margin-bottom: 0; padding: 10px 16px; font-size: 13px; }\n        .lex-main-panel { padding: 20px; }\n        .lex-stat-card { padding: 18px; }\n        .lex-stat-number { font-size: 26px; }\n        .lex-guide-card { padding: 18px; }\n        .lex-connect-row { flex-direction: column; align-items: flex-start; gap: 15px; }\n        .lex-connect-btn { width: 100%; text-align: center; }\n    }\n\n\/* --- SIDEBAR COLLAPSE FEATURE (100% BULLETPROOF ARROW) --- *\/\n    .lex-workspace-wrapper { transition: grid-template-columns 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }\n    .lex-workspace-wrapper.collapsed { grid-template-columns: 100px 1fr; gap: 40px; }\n    \n    .lex-workspace-wrapper.collapsed .lex-sidebar-title { opacity: 0; pointer-events: none; margin-bottom: 0; height: 0; overflow: hidden; transition: 0.2s; }\n    \n    .lex-workspace-wrapper.collapsed .lex-nav-btn { padding: 14px; width: 48px; margin: 0 auto 10px auto; justify-content: flex-start; overflow: hidden; border-radius: 14px; color: transparent !important; white-space: nowrap; }\n    \n    .lex-workspace-wrapper.collapsed .lex-nav-btn * { color: #94A3B8 !important; min-width: 20px; text-align: center; }\n    .lex-workspace-wrapper.collapsed .lex-nav-btn.active * { color: #fff !important; }\n    .lex-workspace-wrapper.collapsed .lex-nav-btn.active::before { left: -14px; }\n    \n    .lex-toggle-sidebar {\n        background: rgba(15, 20, 35, 0.9); border: 1px solid rgba(255,255,255,0.1); color: #94A3B8;\n        width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;\n        cursor: pointer; position: absolute; right: -16px; top: 40px; z-index: 100;\n        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.5); backdrop-filter: blur(10px);\n    }\n    \n    \/* \u039c\u03b1\u03b3\u03b9\u03ba\u03cc \u0392\u03b5\u03bb\u03ac\u03ba\u03b9 \u03bc\u03b5 CSS (\u0394\u03b5\u03af\u03c7\u03bd\u03b5\u03b9 \u0391\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac) *\/\n    .lex-toggle-sidebar::after {\n        content: ''; display: block; width: 0; height: 0;\n        border-top: 5px solid transparent; border-bottom: 5px solid transparent;\n        border-right: 7px solid currentColor; margin-right: 3px; transition: all 0.3s;\n    }\n    \n    \/* \u038c\u03c4\u03b1\u03bd \u03ba\u03bb\u03b5\u03af\u03bd\u03b5\u03b9 \u03c4\u03bf \u03bc\u03b5\u03bd\u03bf\u03cd (\u0394\u03b5\u03af\u03c7\u03bd\u03b5\u03b9 \u0394\u03b5\u03be\u03b9\u03ac) *\/\n    .lex-workspace-wrapper.collapsed .lex-toggle-sidebar::after {\n        border-right: none; border-left: 7px solid currentColor; margin-right: 0; margin-left: 3px;\n    }\n    \n    .lex-toggle-sidebar:hover { background: #3B82F6; color: #fff; border-color: #3B82F6; transform: scale(1.15); }\n    @media (max-width: 900px) { .lex-toggle-sidebar { display: none; } }\n<\/style>\n\n<div class=\"lex-workspace-wrapper\">\n\n    <aside class=\"lex-sidebar\">\n        <div class=\"lex-sidebar-title\">MAIN MENU<\/div>\n        <button onclick=\"nav('dashboard')\" class=\"lex-nav-btn active\" id=\"btn-dashboard\">\ud83d\udcca \u0395\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7 (Dashboard)<\/button>\n        <button onclick=\"nav('calendar')\" class=\"lex-nav-btn\" id=\"btn-calendar\">\ud83d\udcc5 \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf<\/button>\n        <button onclick=\"nav('connections')\" class=\"lex-nav-btn\" id=\"btn-connections\">\ud83d\udd17 \u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 (Social)<\/button>\n        <button onclick=\"nav('history')\" class=\"lex-nav-btn\" id=\"btn-history\">\ud83d\udcdc \u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc<\/button>\n        \n        <div class=\"lex-sidebar-title\" style=\"margin-top:25px;\">\u0395\u03a1\u0393\u0391\u039b\u0395\u0399\u0391<\/div>\n        <button onclick=\"nav('industry')\" class=\"lex-nav-btn\" id=\"btn-industry\" style=\"color:#3B82F6;\">\ud83d\ude80 \u0395\u03be\u03b5\u03b9\u03b4\u03af\u03ba\u03b5\u03c5\u03c3\u03b7 \u039a\u03bb\u03ac\u03b4\u03bf\u03c5<\/button>\n        <button onclick=\"nav('studio')\" class=\"lex-nav-btn\" id=\"btn-studio\" style=\"color:#8B5CF6;\">\ud83d\udcf8 \u03a3\u03c4\u03bf\u03cd\u03bd\u03c4\u03b9\u03bf \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2<\/button>\n        <button onclick=\"nav('spy')\" class=\"lex-nav-btn\" id=\"btn-spy\" style=\"color:#F59E0B;\">\ud83d\udd75\ufe0f \u039a\u03b1\u03c4\u03ac\u03c3\u03ba\u03bf\u03c0\u03bf\u03c2 (Spy)<\/button> \n        <button onclick=\"nav('smart')\" class=\"lex-nav-btn\" id=\"btn-smart\" style=\"color:#10B981;\">\ud83c\udfaf \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae Ads<\/button>\n        \n        <div class=\"lex-sidebar-title\" style=\"margin-top:25px;\">BOH\u0398\u0395\u0399\u0391<\/div>\n        <button onclick=\"nav('guide')\" class=\"lex-nav-btn\" id=\"btn-guide\" style=\"color:#FCD34D;\">\u2139\ufe0f \u039f\u03b4\u03b7\u03b3\u03cc\u03c2 \u03a7\u03c1\u03ae\u03c3\u03b7\u03c2<\/button>\n    <\/aside>\n\n    <main class=\"lex-main-panel\">\n\n        <div id=\"view-dashboard\">\n            <div class=\"lex-dash-header\">\n                <h2 style=\"color:#fff; margin:0;\">\u039a\u03b1\u03bb\u03c9\u03c3\u03ae\u03c1\u03b8\u03b5\u03c2 \u03c3\u03c4\u03bf Lexairo! \ud83d\udc4b<\/h2>\n                <select id=\"dash-platform-filter\" class=\"lex-main-selector\" style=\"width:auto; min-width:180px; padding:8px 15px; font-size:13px;\" onchange=\"updateDashStats()\">\n                    <option value=\"all\">\ud83c\udf10 \u038c\u03bb\u03b5\u03c2 \u03bf\u03b9 \u03a0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b5\u03c2<\/option>\n                    <option value=\"meta\">\u267e\ufe0f Meta Ads<\/option>\n                    <option value=\"google\">\ud83d\udd0d Google Ads<\/option>\n                    <option value=\"tiktok\">\ud83c\udfb5 TikTok Ads<\/option>\n                <\/select>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 12px; padding: 20px; margin-bottom: 30px; display: flex; align-items: flex-start; gap: 15px;\">\n                <div style=\"font-size: 24px;\">\ud83d\udca1<\/div>\n                <div>\n                    <h4 style=\"color: #10B981; font-size: 13px; font-weight: 800; text-transform: uppercase; margin: 0 0 5px 0; letter-spacing: 1px;\">Lexairo Marketing Insight<\/h4>\n                    <div id=\"lex-dynamic-tip\" style=\"color: #E2E8F0; font-size: 14px; line-height: 1.5;\">\u03a6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03b9&#8230;<\/div>\n                <\/div>\n            <\/div>\n            \n            <div class=\"lex-stats-grid\">\n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">\u03a0\u03a1\u039f\u0392\u039f\u039b\u0395\u03a3<\/span><span id=\"stat-imp\" class=\"lex-stat-number\">&#8211;<\/span><\/div>\n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">CLICKS<\/span><span id=\"stat-clicks\" class=\"lex-stat-number\">&#8211;<\/span><\/div>\n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">CTR<\/span><span id=\"stat-ctr\" class=\"lex-stat-number\">&#8211;<\/span><\/div>\n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">\u039a\u039f\u03a3\u03a4\u039f\u03a3<\/span><span id=\"stat-cost\" class=\"lex-stat-number\">&#8211;<\/span><\/div>\n    \n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">\u03a0\u03a9\u039b\u0397\u03a3\u0395\u0399\u03a3<\/span><span id=\"lexairo-purchases\" class=\"lex-stat-number\">0<\/span><\/div>\n    \n    <div class=\"lex-stat-card\"><span class=\"lex-stat-label\">\u03a4\u0396\u0399\u03a1\u039f\u03a3 \/ ROAS<\/span><span id=\"lexairo-roas\" class=\"lex-stat-number\">\u20ac0.00<\/span><\/div>\n\n    <div class=\"lex-stat-card\" style=\"border-color: #10B981; background: rgba(16, 185, 129, 0.05);\">\n        <span class=\"lex-stat-label\" style=\"color: #10B981;\">SAVED BY AI<\/span>\n        <span id=\"stat-saved\" class=\"lex-stat-number\" style=\"color: #10B981;\">\u20ac0.00<\/span>\n    <\/div>\n<\/div>\n\n            <div id=\"lex-active-campaigns-list\" style=\"margin-top: 30px; margin-bottom: 30px;\"><\/div>\n\n        <\/div>\n\n        <div id=\"view-calendar\" style=\"display:none;\">\n            <div class=\"lex-cal-header\">\n                <button class=\"lex-cal-nav\" onclick=\"changeMonth(-1)\">\u276e<\/button>\n                <h3 id=\"lex-cal-title\" style=\"margin:0; color:#fff;\">\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2 2026<\/h3>\n                <button class=\"lex-cal-nav\" onclick=\"changeMonth(1)\">\u276f<\/button>\n            <\/div>\n            <div class=\"lex-cal-grid\" id=\"lex-calendar-body\"><\/div>\n            <div id=\"lex-cal-details\" style=\"margin-top:20px; border-top:1px solid #2D3748; padding-top:20px; display:none;\">\n                <h4 style=\"color:#fff;\">\u0394\u03c1\u03b1\u03c3\u03c4\u03b7\u03c1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 \u0397\u03bc\u03ad\u03c1\u03b1\u03c2:<\/h4>\n                <div id=\"lex-cal-details-content\"><\/div>\n            <\/div>\n        <\/div>\n        \n        <div id=\"view-connections\" style=\"display:none;\">\n            <h2 style=\"color:#fff;\">\u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03c4\u03b5 \u03c4\u03bf\u03c5\u03c2 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03cd\u03c2 \u03c3\u03b1\u03c2<\/h2>\n            <div class=\"lex-connect-row\">\n                <div class=\"lex-platform-info\">\ud83d\udcd8 Facebook \/ Instagram Ads<\/div>\n                <div><span id=\"badge-meta\" class=\"lex-connected-badge\">\u2705 \u03a3\u03c5\u03bd\u03b4\u03ad\u03b8\u03b7\u03ba\u03b5<\/span><button id=\"btn-con-meta\" onclick=\"toggleConnect('meta')\" class=\"lex-connect-btn btn-connect\">\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7<\/button><\/div>\n            <\/div>\n            <div class=\"lex-connect-row\">\n               <div class=\"lex-platform-info\">\ud83c\udf10 Google Ads<\/div>\n                 <div>\n               <\/div>\n                 <span id=\"badge-google\" class=\"lex-connected-badge\">\u2705 \u03a3\u03c5\u03bd\u03b4\u03ad\u03b8\u03b7\u03ba\u03b5<\/span>\n                 <button id=\"btn-con-google\" onclick=\"handleGoogleConnect()\" class=\"lex-connect-btn btn-connect\">\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7<\/button>\n           <\/div>\n            <div class=\"lex-connect-row\">\n                <div class=\"lex-platform-info\">\ud83c\udfb5 TikTok Ads<\/div>\n                <div><span id=\"badge-tiktok\" class=\"lex-connected-badge\">\u2705 \u03a3\u03c5\u03bd\u03b4\u03ad\u03b8\u03b7\u03ba\u03b5<\/span><button id=\"btn-con-tiktok\" onclick=\"toggleConnect('tiktok')\" class=\"lex-connect-btn btn-connect\">\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7<\/button><\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"view-history\" style=\"display:none;\">\n            <div style=\"display:flex; justify-content:space-between; align-items:center; margin-bottom:20px;\">\n                <h2 style=\"color:#fff; margin:0;\">\u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b9\u03ce\u03bd<\/h2>\n                <button onclick=\"clearAllHistory()\" style=\"background:transparent; border:1px solid #EF4444; color:#EF4444; padding:6px 12px; border-radius:6px; cursor:pointer; font-size:12px;\">\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u038c\u03bb\u03c9\u03bd<\/button>\n            <\/div>\n            <div id=\"lex-history-list\"><\/div>\n        <\/div>\n\n        <div id=\"view-create\" style=\"display:none;\">\n            <div class=\"lex-tool-header\">\n                <label class=\"lex-tool-label\">\u0393\u03b5\u03bd\u03b9\u03ba\u03ae \u03a7\u03c1\u03ae\u03c3\u03b7 (General)<\/label>\n                <select id=\"lex-tool-selector\" class=\"lex-main-selector\" onchange=\"renderGeneralForm()\">\n                    <option value=\"social-gr\">\ud83d\udcf8 Social Media Post \u2013 \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac<\/option>\n                    <option value=\"social-en\">\ud83d\udcf8 Social Media Post \u2013 \u0391\u03b3\u03b3\u03bb\u03b9\u03ba\u03ac<\/option>\n                    <option value=\"ads-gr\">\ud83d\ude80 \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7 (Ads) \u2013 \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac<\/option>\n                    <option value=\"ads-en\">\ud83d\ude80 \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7 (Ads) \u2013 \u0391\u03b3\u03b3\u03bb\u03b9\u03ba\u03ac<\/option>\n                <\/select>\n            <\/div>\n            <div id=\"lex-dynamic-form\"><\/div>\n            <button id=\"lex-generate-btn-new\" class=\"lex-btn-generate\">\u2728 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03bc\u03b5 Lexairo AI<\/button>\n            <div class=\"lex-output-wrapper\">\n                \n                <div id=\"gen-media-feedback\" class=\"lex-media-feedback\" style=\"display:none;\">\n                    <div class=\"lex-media-header\">\n                        <span id=\"gen-media-icon\"><\/span>\n                        <span id=\"gen-media-title\"><\/span>\n                    <\/div>\n                    <div id=\"gen-media-text\" class=\"lex-media-content\"><\/div>\n                <\/div>\n\n                <label class=\"lex-tool-label\">\u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u0391 (3 Variations)<\/label>\n                <div class=\"lex-variations-grid\">\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u03a3\u03c5\u03bd\u03c4\u03bf\u03bc\u03bf<\/span>\n                        <div id=\"gen-var-short\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('gen-var-short', 'general')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('gen-var-short')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u039c\u03b5\u03c3\u03b1\u03b9\u03bf<\/span>\n                        <div id=\"gen-var-medium\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('gen-var-medium', 'general')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('gen-var-medium')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03bf<\/span>\n                        <div id=\"gen-var-long\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('gen-var-long', 'general')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('gen-var-long')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"view-industry\" style=\"display:none;\">\n            <div class=\"lex-tool-header\">\n                <label class=\"lex-tool-label\">\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03b7 \u039a\u03bb\u03b1\u03b4\u03bf\u03c5<\/label>\n                <select id=\"lex-industry-selector\" class=\"lex-main-selector\" onchange=\"renderIndustryForm()\">\n                    <option disabled=\"\" selected=\"\">&#8212; \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1 &#8212;<\/option>\n                    \n                    <option disabled=\"\" style=\"color:#8B5CF6; font-weight:bold;\">\u2500\u2500 \ud83d\udc3e PET &amp; VET \u2500\u2500<\/option>\n                    <option value=\"pet-social-gr\">Pet Shop: Social Post (GR)<\/option>\n                    <option value=\"pet-social-en\">Pet Shop: Social Post (EN)<\/option>\n                    <option value=\"pet-ads-gr\">Pet Shop: Ads (GR)<\/option>\n                    <option value=\"pet-ads-en\">Pet Shop: Ads (EN)<\/option>\n                    <option value=\"vet-social-gr\">\u039a\u03c4\u03b7\u03bd\u03b9\u03b1\u03c4\u03c1\u03b5\u03af\u03bf: Social (GR)<\/option>\n                    <option value=\"vet-social-en\">Vet: Social (EN)<\/option>\n                    <option value=\"vet-ads-gr\">\u039a\u03c4\u03b7\u03bd\u03b9\u03b1\u03c4\u03c1\u03b5\u03af\u03bf: Ads (GR)<\/option>\n                    <option value=\"vet-ads-en\">Vet: Ads (EN)<\/option>\n                    <option value=\"grooming-social-gr\">Grooming: Social (GR)<\/option>\n                    <option value=\"grooming-social-en\">Grooming: Social (EN)<\/option>\n                    <option value=\"grooming-ads-gr\">Grooming: Ads (GR)<\/option>\n                    <option value=\"grooming-ads-en\">Grooming: Ads (EN)<\/option>\n\n                    <option disabled=\"\" style=\"color:#00E5FF; font-weight:bold;\">\u2500\u2500 \ud83c\udf54 FOOD &amp; BAR \u2500\u2500<\/option>\n                    <option value=\"food-social-gr\">\u0395\u03c3\u03c4\u03af\u03b1\u03c3\u03b7: Social (GR)<\/option>\n                    <option value=\"food-social-en\">Food\/Bar: Social (EN)<\/option>\n                    <option value=\"food-ads-gr\">\u0395\u03c3\u03c4\u03af\u03b1\u03c3\u03b7: Ads (GR)<\/option>\n                    <option value=\"food-ads-en\">Food\/Bar: Ads (EN)<\/option>\n\n                    <option disabled=\"\" style=\"color:#10B981; font-weight:bold;\">\u2500\u2500 \ud83c\udfe0 REAL ESTATE \u2500\u2500<\/option>\n                    <option value=\"realestate-social-gr\">Real Estate: Social (GR)<\/option>\n                    <option value=\"realestate-social-en\">Real Estate: Social (EN)<\/option>\n                    <option value=\"realestate-ads-gr\">Real Estate: Ads (GR)<\/option>\n                    <option value=\"realestate-ads-en\">Real Estate: Ads (EN)<\/option>\n\n                    <option disabled=\"\" style=\"color:#F59E0B; font-weight:bold;\">\u2500\u2500 \ud83d\udcaa GYM &amp; FITNESS \u2500\u2500<\/option>\n                    <option value=\"gym-social-gr\">Gym: Social (GR)<\/option>\n                    <option value=\"gym-social-en\">Gym: Social (EN)<\/option>\n                    <option value=\"gym-ads-gr\">Gym: Ads (GR)<\/option>\n                    <option value=\"gym-ads-en\">Gym: Ads (EN)<\/option>\n\n                    <option disabled=\"\" style=\"color:#6366F1; font-weight:bold;\">\u2500\u2500 \ud83d\ude97 VEHICLE RENTAL \u2500\u2500<\/option>\n                    <option value=\"car-social-gr\">Vehicle Rent: Social (GR)<\/option>\n                    <option value=\"car-social-en\">Vehicle Rent: Social (EN)<\/option>\n                    <option value=\"car-ads-gr\">Vehicle Rent: Ads (GR)<\/option>\n                    <option value=\"car-ads-en\">Vehicle Rent: Ads (EN)<\/option>\n                    \n                    <option disabled=\"\" style=\"color:#EC4899; font-weight:bold;\">\u2500\u2500 \ud83d\udc84 BEAUTY \u2500\u2500<\/option>\n                    <option value=\"beauty-social-gr\">Beauty: Social (GR)<\/option>\n                    <option value=\"beauty-social-en\">Beauty: Social (EN)<\/option>\n                    <option value=\"beauty-ads-gr\">Beauty: Ads (GR)<\/option>\n                    <option value=\"beauty-ads-en\">Beauty: Ads (EN)<\/option>\n\n                    <option disabled=\"\" style=\"color:#FFA500; font-weight:bold;\">\u2500\u2500 \ud83d\udcf7 STUDIO \u2500\u2500<\/option>\n                    <option value=\"studio-social-gr\">Studio: Social (GR)<\/option>\n                    <option value=\"studio-social-en\">Studio: Social (EN)<\/option>\n                    <option value=\"studio-ads-gr\">Studio: Ads (GR)<\/option>\n                    <option value=\"studio-ads-en\">Studio: Ads (EN)<\/option>\n                <\/select>\n            <\/div>\n            <div id=\"lex-industry-form\"><\/div>\n            <button id=\"btn-run-industry\" class=\"lex-btn-action\" style=\"display:none;\">\ud83d\ude80 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5<\/button>\n            <div id=\"industry-output\" class=\"lex-output-wrapper\" style=\"display:none;\">\n                \n                <div id=\"ind-media-feedback\" class=\"lex-media-feedback\" style=\"display:none;\">\n                    <div class=\"lex-media-header\">\n                        <span id=\"ind-media-icon\"><\/span>\n                        <span id=\"ind-media-title\"><\/span>\n                    <\/div>\n                    <div id=\"ind-media-text\" class=\"lex-media-content\"><\/div>\n                <\/div>\n\n                <label class=\"lex-tool-label\">\u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u0391 (3 Variations)<\/label>\n                <div class=\"lex-variations-grid\">\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u03a3\u03c5\u03bd\u03c4\u03bf\u03bc\u03bf<\/span>\n                        <div id=\"ind-var-short\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('ind-var-short', 'industry')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('ind-var-short')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u039c\u03b5\u03c3\u03b1\u03b9\u03bf<\/span>\n                        <div id=\"ind-var-medium\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('ind-var-medium', 'industry')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('ind-var-medium')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                    <div class=\"lex-var-card\">\n                        <span class=\"lex-var-label\">\u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03bf<\/span>\n                        <div id=\"ind-var-long\" class=\"lex-var-content\"><\/div>\n                        <button class=\"lex-btn-preview\" onclick=\"openPreview('ind-var-long', 'industry')\">\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7<\/button>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px;\" onclick=\"copyText('ind-var-long')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"view-spy\" style=\"display:none;\">\n            <div class=\"lex-tool-header\">\n                <label id=\"spy-title-lbl\" class=\"lex-tool-label\" style=\"color:#F59E0B;\">\u0391\u039d\u0399\u03a7\u039d\u0395\u03a5\u03a4\u0397\u03a3 \u0391\u039d\u03a4\u0391\u0393\u03a9\u039d\u0399\u03a3\u039c\u039f\u03a5 (SPY)<\/label>\n                <p id=\"spy-desc-txt\" style=\"color:#94A3B8; font-size:14px; margin:5px 0 15px 0;\">\u0393\u03af\u03bd\u03b5\u03c4\u03b5 \u03ba\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae \u03c3\u03b1\u03c2. \u03a3\u03c5\u03b3\u03ba\u03c1\u03af\u03bd\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03ba\u03b5\u03c1\u03b4\u03af\u03c3\u03c4\u03b5.<\/p>\n            <\/div>\n            \n            <div class=\"lex-form\" style=\"margin-bottom: 20px;\">\n                <label id=\"spy-lbl-lang\">\u0393\u03bb\u03ce\u03c3\u03c3\u03b1 \u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7\u03c2<\/label>\n                <select id=\"lex-spy-lang\" onchange=\"updateSpyUI()\">\n                    <option value=\"gr\">\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac (Greek)<\/option>\n                    <option value=\"en\">\u0391\u03b3\u03b3\u03bb\u03b9\u03ba\u03ac (English)<\/option>\n                <\/select>\n            <\/div>\n\n            <div class=\"lex-form\">\n                <label id=\"spy-lbl-1\">1. \u0391\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 Media \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae (Competitor)<\/label>\n                <input type=\"file\" id=\"lex-spy-image-comp\" accept=\"image\/*,video\/*\">\n                \n                <label id=\"spy-lbl-2\">2. \u0391\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c4\u03bf \u0394\u0399\u039a\u039f \u03c3\u03b1\u03c2 Media (My Media)<\/label>\n                <input type=\"file\" id=\"lex-spy-image-mine\" accept=\"image\/*,video\/*\">\n            <\/div>\n            \n            <button id=\"lex-generate-spy-btn\" class=\"lex-btn-action\" style=\"background:#F59E0B;\">\ud83d\udd75\ufe0f \u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 &amp; \u03a3\u03cd\u03b3\u03ba\u03c1\u03b9\u03c3\u03b7<\/button>\n            \n            <div id=\"spy-output\" class=\"lex-output-wrapper\" style=\"display:none;\">\n                \n                <div class=\"lex-media-feedback\" style=\"display:block; border-left-color:#F59E0B; background:rgba(245,158,11,0.05);\">\n                    <div class=\"lex-media-header\">\n                        <span>\ud83d\udd75\ufe0f<\/span>\n                        <span>\u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1 \u03a3\u03cd\u03b3\u03ba\u03c1\u03b9\u03c3\u03b7\u03c2 (Feedback)<\/span>\n                    <\/div>\n                    <div id=\"spy-analysis-text\" class=\"lex-media-content\"><\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"view-smart\" style=\"display:none;\">\n            <div class=\"lex-tool-header\">\n                <label class=\"lex-tool-label\" style=\"color:#10B981;\">\u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 \u039a\u0391\u039c\u03a0\u0391\u039d\u0399\u0391\u03a3<\/label>\n                <p style=\"color:#94A3B8; font-size:14px; margin:5px 0 15px 0;\">\u039f AI Marketing Expert \u03c0\u03bf\u03c5 \u03c3\u03c4\u03ae\u03bd\u03b5\u03b9 \u03c4\u03b7 \u03b4\u03bf\u03bc\u03ae \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2.<\/p>\n                <select id=\"lex-smart-platform\" class=\"lex-main-selector\">\n                    <option value=\"google\">\ud83c\udf10 Google Search Ads (Keywords &amp; Headlines)<\/option>\n                    <option value=\"meta\">\u267e\ufe0f Meta Ads (Facebook &amp; Instagram)<\/option>\n                    <option value=\"tiktok\">\ud83c\udfb5 TikTok Ads (Viral Script &amp; Interest Targeting)<\/option>\n                <\/select>\n            <\/div>\n            <div class=\"lex-form\">\n                <label>\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2 \/ \u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1\u03c2 <span class=\"required-star\">*<\/span><\/label>\n                <textarea id=\"lex-smart-product\" rows=\"3\" placeholder=\"\u03c0.\u03c7. \u0395\u03bd\u03bf\u03b9\u03ba\u03af\u03b1\u03c3\u03b7 \u03c0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03ce\u03bd \u03c3\u03ba\u03b1\u03c6\u03ce\u03bd \u03c3\u03c4\u03b7 \u039c\u03cd\u03ba\u03bf\u03bd\u03bf...\"><\/textarea>\n                <label>\u03a3\u03c4\u03cc\u03c7\u03b5\u03c5\u03c3\u03b7 \u039a\u03bf\u03b9\u03bd\u03bf\u03cd (\u03a0\u03bf\u03b9\u03bf\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf \u03c0\u03b5\u03bb\u03ac\u03c4\u03b7\u03c2;) <span class=\"required-star\">*<\/span><\/label>\n                <input type=\"text\" id=\"lex-smart-audience\" placeholder=\"\u03c0.\u03c7. \u03a4\u03bf\u03c5\u03c1\u03af\u03c3\u03c4\u03b5\u03c2, 30-50 \u03b5\u03c4\u03ce\u03bd, \u03c5\u03c8\u03b7\u03bb\u03cc \u03b5\u03b9\u03c3\u03cc\u03b4\u03b7\u03bc\u03b1\">\n                <label>\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2<\/label>\n                <select id=\"lex-smart-goal\">\n                    <option value=\"sales\">\u03a0\u03c9\u03bb\u03ae\u03c3\u03b5\u03b9\u03c2 (Sales)<\/option>\n                    <option value=\"leads\">\u0395\u03cd\u03c1\u03b5\u03c3\u03b7 \u03a5\u03c0\u03bf\u03c8\u03ae\u03c6\u03b9\u03c9\u03bd \u03a0\u03b5\u03bb\u03b1\u03c4\u03ce\u03bd (Leads)<\/option>\n                    <option value=\"traffic\">\u0395\u03c0\u03b9\u03c3\u03ba\u03b5\u03c8\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1 (Website Traffic)<\/option>\n                    <option value=\"awareness\">\u0391\u03bd\u03b1\u03b3\u03bd\u03c9\u03c1\u03b9\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1 (Brand Awareness)<\/option>\n                <\/select>\n                <label>\u0393\u03bb\u03ce\u03c3\u03c3\u03b1 \u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 \/ Language<\/label>\n                <select id=\"lex-smart-lang\">\n                    <option value=\"el\">\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac (Greek)<\/option>\n                    <option value=\"en\">\u0391\u03b3\u03b3\u03bb\u03b9\u03ba\u03ac (English)<\/option>\n                <\/select>\n                <label>Landing Page URL (\u03a0\u03c1\u03bf\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc)<\/label>\n                <input type=\"text\" id=\"lex-smart-url\" placeholder=\"https:\/\/www.example.com\">\n                <label>\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf (\u03a0\u03c1\u03bf\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc)<\/label>\n                <input type=\"file\" id=\"lex-smart-image\" accept=\"image\/*,video\/*\" multiple=\"\">\n                \n                <div id=\"lex-meta-accounts-container\" style=\"display:none; margin-top: 15px; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid #2D3748;\">\n                    <label style=\"display:block; margin-bottom:5px; color:#A0AEC0; font-size:14px; margin-top:0;\">\u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc\u03c2 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 (Ad Account)<\/label>\n                    <select id=\"lex-ad-account-select\" style=\"width:100%; padding:10px; margin-bottom:15px; border-radius:6px; background:#1A202C; color:#fff; border:1px solid #4A5568;\">\n                        <option value=\"\">\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7&#8230;<\/option>\n                    <\/select>\n\n                    <label style=\"display:block; margin-bottom:5px; color:#A0AEC0; font-size:14px; margin-top:0;\">\u03a3\u03b5\u03bb\u03af\u03b4\u03b1 Facebook (Page)<\/label>\n                    <select id=\"lex-page-select\" style=\"width:100%; padding:10px; border-radius:6px; background:#1A202C; color:#fff; border:1px solid #4A5568;\">\n                        <option value=\"\">\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7&#8230;<\/option>\n                    <\/select>\n                <\/div>\n                \n                <div id=\"lex-google-accounts-container\" style=\"display:none; margin-top: 15px; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid #2D3748;\">\n                    <label style=\"display:block; margin-bottom:5px; color:#A0AEC0; font-size:14px; margin-top:0;\">\u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc\u03c2 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 (Google Ads Account) *<\/label>\n                    <select id=\"ind-google-account\" style=\"width:100%; padding:10px; border-radius:6px; background:#1A202C; color:#fff; border:1px solid #4A5568;\">\n                        <option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc Google Ads&#8230;<\/option>\n                    <\/select>\n                <\/div>\n\n                <!-- \u039d\u0395\u039f: TikTok Accounts Dropdown -->\n                <div id=\"lex-tiktok-accounts-container\" style=\"display:none; margin-top: 15px; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid #2D3748;\">\n                    <label style=\"display:block; margin-bottom:5px; color:#A0AEC0; font-size:14px; margin-top:0;\">\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03af\u03c3\u03b5\u03c9\u03bd (TikTok) *<\/label>\n                    <select id=\"lex-tiktok-account-select\" style=\"width:100%; padding:10px; border-radius:6px; background:#1A202C; color:#fff; border:1px solid #4A5568;\">\n                        <option value=\"\">\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 TikTok<\/option>\n                    <\/select>\n                <\/div>\n\n                <\/div>\n            <button id=\"lex-generate-smart-btn\" class=\"lex-btn-action\" style=\"background:#10B981;\">\ud83c\udfaf \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2<\/button>\n            <div id=\"smart-output\" class=\"lex-output-wrapper\" style=\"display:none;\">\n                <div class=\"lex-output-header-bar\">\n                    <label class=\"lex-tool-label\" style=\"margin:0;\">\u0397 \u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 \u03a3\u0391\u03a3<\/label>\n                    <button class=\"lex-btn-copy\" onclick=\"copyText('smart-output-content')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae<\/button>\n                <\/div>\n                <div id=\"smart-output-content\" class=\"lex-output-box\"><\/div>\n                <div class=\"lex-actions-bar\" id=\"smart-actions\" style=\"display:none;\">\n                    <button class=\"lex-btn-regen\" onclick=\"document.getElementById('lex-generate-smart-btn').click()\">\ud83d\udd04 \u0394\u03b5\u03bd \u03bc&#8217; \u03b1\u03c1\u03ad\u03c3\u03b5\u03b9, \u03be\u03b1\u03bd\u03b1\u03b3\u03c1\u03ac\u03c8\u03c4\u03bf<\/button>\n                    <button class=\"lex-btn-approve\" id=\"lex-finalize-strategy-btn\">\u2705 \u0395\u03af\u03bd\u03b1\u03b9 \u03c4\u03ad\u03bb\u03b5\u03b9\u03bf! \u03a0\u03c1\u03bf\u03c7\u03c9\u03c1\u03ac\u03bc\u03b5<\/button>\n                <\/div>\n            <\/div>\n        <\/div>\n\n       <div id=\"view-guide\" style=\"display:none;\">\n    <h2 style=\"color:#fff; margin-bottom:20px;\">\u039f\u03b4\u03b7\u03b3\u03cc\u03c2 \u0395\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03c9\u03bd Lexairo: \u03a0\u03ce\u03c2 \u03b4\u03bf\u03c5\u03bb\u03b5\u03cd\u03bf\u03c5\u03bd<\/h2>\n    <div class=\"lex-guide-grid\">\n        \n        <div class=\"lex-guide-card\">\n            <h3><span class=\"lex-guide-icon\">\ud83d\ude80<\/span> 1. \u0395\u03be\u03b5\u03b9\u03b4\u03af\u03ba\u03b5\u03c5\u03c3\u03b7 \u039a\u03bb\u03ac\u03b4\u03bf\u03c5 (Fitness &amp; Pets)<\/h3>\n            <p>\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 posts \u03c0\u03bf\u03c5 \u03c6\u03ad\u03c1\u03bd\u03bf\u03c5\u03bd \u03ba\u03c1\u03b1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2, \u03b2\u03ae\u03bc\u03b1-\u03b2\u03ae\u03bc\u03b1:<\/p>\n            <ol style=\"margin-top: 10px; padding-left: 20px; font-size: 0.9em; opacity: 0.9; line-height: 1.5;\">\n                <li><strong>\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae:<\/strong> \u0394\u03b9\u03b1\u03bb\u03ad\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1 \u03c3\u03b1\u03c2 (\u03c0.\u03c7. \u0393\u03c5\u03bc\u03bd\u03b1\u03c3\u03c4\u03ae\u03c1\u03b9\u03bf, Yoga, Pet Grooming, \u039a\u03c4\u03b7\u03bd\u03b9\u03b1\u03c4\u03c1\u03b5\u03af\u03bf).<\/li>\n                <li><strong>Upload:<\/strong> \u0391\u03bd\u03b5\u03b2\u03ac\u03b6\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 \u03ae \u03c4\u03bf \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03b2\u03af\u03bd\u03c4\u03b5\u03cc \u03c3\u03b1\u03c2 (\u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03ad\u03c9\u03c2 \u03ba\u03b1\u03b9 3 \u03bb\u03b5\u03c0\u03c4\u03ac).<\/li>\n                <li><strong>\u03a1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2:<\/strong> \u039f\u03c1\u03af\u03b6\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03c3\u03c4\u03cc\u03c7\u03bf \u03c4\u03bf\u03c5 post (\u03c0.\u03c7. \u03bc\u03c5\u03ca\u03ba\u03ae \u03b1\u03bd\u03ac\u03c0\u03c4\u03c5\u03be\u03b7, \u03c0\u03b5\u03c1\u03b9\u03c0\u03bf\u03af\u03b7\u03c3\u03b7) \u03ba\u03b1\u03b9 \u03c4\u03bf \u03cd\u03c6\u03bf\u03c2 \u03c0\u03bf\u03c5 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5.<\/li>\n                <li><strong>\u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1:<\/strong> \u03a4\u03bf AI \u03b1\u03bd\u03b1\u03bb\u03cd\u03b5\u03b9 \u03c4\u03bf \u03c5\u03bb\u03b9\u03ba\u03cc \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 3 \u03ad\u03c4\u03bf\u03b9\u03bc\u03b1, \u03b5\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03b1 (\u03a3\u03cd\u03bd\u03c4\u03bf\u03bc\u03bf, \u039c\u03b5\u03c3\u03b1\u03af\u03bf, \u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03cc) \u03bc\u03b5 &#8220;Call to Action&#8221; \u03ba\u03b1\u03b9 hashtags, \u03ad\u03c4\u03bf\u03b9\u03bc\u03b1 \u03b3\u03b9\u03b1 Copy-Paste.<\/li>\n            <\/ol>\n        <\/div>\n\n        <div class=\"lex-guide-card\">\n            <h3><span class=\"lex-guide-icon\">\ud83d\udcf8<\/span> 2. \u03a3\u03c4\u03bf\u03cd\u03bd\u03c4\u03b9\u03bf \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 (\u0395\u03b9\u03ba\u03cc\u03bd\u03b1, \u0392\u03af\u03bd\u03c4\u03b5\u03bf &amp; Email)<\/h3>\n            <p>\u03a4\u03bf \u03b1\u03c0\u03cc\u03bb\u03c5\u03c4\u03bf \u03b5\u03c1\u03b3\u03b1\u03c3\u03c4\u03ae\u03c1\u03b9\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5: \u03a6\u03c4\u03b9\u03ac\u03be\u03c4\u03b5 \u03b5\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03b5\u03b9\u03ba\u03b1\u03c3\u03c4\u03b9\u03ba\u03ac, \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03ba\u03b1\u03b9 newsletters \u03b1\u03c0\u03cc \u03bc\u03af\u03b1 \u03bc\u03cc\u03bd\u03bf \u03b5\u03c1\u03b1\u03c3\u03b9\u03c4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ae \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1.<\/p>\n            <ol style=\"margin-top: 10px; padding-left: 20px; font-size: 0.9em; opacity: 0.9; line-height: 1.5;\">\n                <li><strong>Upload \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2:<\/strong> \u03a3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b9\u03ba\u03ae \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2\/\u03c7\u03ce\u03c1\u03bf\u03c5 \u03c3\u03b1\u03c2 \u03c3\u03c4\u03bf \u03b5\u03b9\u03b4\u03b9\u03ba\u03cc \u03c0\u03bb\u03b1\u03af\u03c3\u03b9\u03bf (\u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03b9 JPG, PNG, WebP &amp; HEIC). \u03a4\u03bf \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03b1 &#8220;\u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03b5\u03b9&#8221; \u03c4\u03bf \u03b8\u03ad\u03bc\u03b1 \u03ba\u03b1\u03b9 \u03b1\u03c6\u03b1\u03b9\u03c1\u03b5\u03af \u03c4\u03bf \u03c0\u03b1\u03bb\u03b9\u03cc \u03c6\u03cc\u03bd\u03c4\u03bf \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1.<\/li>\n                <li><strong>\u03a1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 (\u039c\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 &amp; \u03a6\u03cc\u03bd\u03c4\u03bf):<\/strong> \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf \u03b9\u03b4\u03b1\u03bd\u03b9\u03ba\u03cc \u03bc\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 (\u03c0.\u03c7. \u03a4\u03b5\u03c4\u03c1\u03ac\u03b3\u03c9\u03bd\u03bf Post) \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03b1\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae \u03c4\u03bf\u03c5 \u03bd\u03ad\u03bf\u03c5 \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd\u03c4\u03bf\u03c2 (\u03c0.\u03c7. &#8220;Lifestyle&#8221; \u03ae &#8220;Auto-Magic&#8221; \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03c0\u03bf\u03c6\u03b1\u03c3\u03af\u03c3\u03b5\u03b9 \u03c4\u03bf AI).<\/li>\n                <li><strong>\u03a3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2 (\u03a0\u03c1\u03bf\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03ac):<\/strong> \u0391\u03bd \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5, \u03c4\u03c5\u03c0\u03ce\u03c3\u03c4\u03b5 \u03b5\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf \u03b5\u03b9\u03ba\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc: \u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac (\u03c0.\u03c7. \u0395\u03a9\u03a3 -20%), \u03a0\u03c1\u03bf\u03c4\u03c1\u03bf\u03c0\u03ae (CTA), \u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 \u03ae \u03a4\u03b7\u03bb\u03ad\u03c6\u03c9\u03bd\u03bf.<\/li>\n                <li><strong>\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 (\u039c\u03c9\u03b2 \u039a\u03bf\u03c5\u03bc\u03c0\u03af):<\/strong> \u03a0\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03b7\u03b8\u03b5\u03af \u03c1\u03b5\u03b1\u03bb\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03c4\u03bf \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd \u03c3\u03c4\u03bf \u03bd\u03ad\u03bf \u03c3\u03ba\u03b7\u03bd\u03b9\u03ba\u03cc \u03bc\u03b5 \u03c4\u03ad\u03bb\u03b5\u03b9\u03bf \u03c6\u03c9\u03c4\u03b9\u03c3\u03bc\u03cc. \u03a3\u03c4\u03b7 \u03c3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1, \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u00ab\u039a\u03b1\u03c4\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\u00bb.<\/li>\n                <li><strong>\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0392\u03af\u03bd\u03c4\u03b5\u03bf (\u039a\u03af\u03c4\u03c1\u03b9\u03bd\u03bf \u039a\u03bf\u03c5\u03bc\u03c0\u03af):<\/strong> \u0396\u03c9\u03bd\u03c4\u03b1\u03bd\u03ad\u03c8\u03c4\u03b5 \u03c4\u03b7 \u03c3\u03c4\u03b1\u03c4\u03b9\u03ba\u03ae \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1! \u03a4\u03bf AI \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03ad\u03bd\u03b1 \u03b4\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03cc \u03b2\u03af\u03bd\u03c4\u03b5\u03bf 30 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03bf\u03bb\u03ad\u03c0\u03c4\u03c9\u03bd \u03bc\u03b5 \u03b5\u03bd\u03c4\u03c5\u03c0\u03c9\u03c3\u03b9\u03b1\u03ba\u03ac \u03b5\u03c6\u03ad \u03bc\u03b5\u03c4\u03ac\u03b2\u03b1\u03c3\u03b7\u03c2, \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf \u03b3\u03b9\u03b1 Reels \u03ba\u03b1\u03b9 TikTok.<\/li>\n                <li><strong>\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 Email (\u03a0\u03c1\u03ac\u03c3\u03b9\u03bd\u03bf \u039a\u03bf\u03c5\u03bc\u03c0\u03af):<\/strong> \u03a0\u03ac\u03c1\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf, \u03c0\u03b5\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03b3\u03b9\u03b1 Newsletter \u03c0\u03bf\u03c5 \u03c4\u03b1\u03b9\u03c1\u03b9\u03ac\u03b6\u03b5\u03b9 \u03bc\u03b5 \u03c4\u03bf \u03bd\u03ad\u03bf \u03c3\u03b1\u03c2 \u03b5\u03b9\u03ba\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc, \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03c3\u03c4\u03b5\u03af\u03bb\u03b5\u03c4\u03b5 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2 \u03c3\u03c4\u03bf \u03c0\u03b5\u03bb\u03b1\u03c4\u03bf\u03bb\u03cc\u03b3\u03b9\u03cc \u03c3\u03b1\u03c2.<\/li>\n            <\/ol>\n        <\/div>\n\n        <div class=\"lex-guide-card\">\n            <h3><span class=\"lex-guide-icon\">\ud83d\udd75\ufe0f<\/span> 3. \u039a\u03b1\u03c4\u03ac\u03c3\u03ba\u03bf\u03c0\u03bf\u03c2 (Spy)<\/h3>\n            <p>\u03a0\u03ce\u03c2 \u03bd\u03b1 &#8220;\u03ba\u03bb\u03ad\u03c8\u03b5\u03c4\u03b5&#8221; \u03bd\u03cc\u03bc\u03b9\u03bc\u03b1 \u03c4\u03b7 \u03c3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae \u03c4\u03c9\u03bd \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ce\u03bd \u03c3\u03b1\u03c2:<\/p>\n            <ol style=\"margin-top: 10px; padding-left: 20px; font-size: 0.9em; opacity: 0.9; line-height: 1.5;\">\n                <li><strong>\u0394\u03b9\u03c0\u03bb\u03cc Upload:<\/strong> \u0391\u03bd\u03b5\u03b2\u03ac\u03b6\u03b5\u03c4\u03b5 \u03c4\u03b1\u03c5\u03c4\u03cc\u03c7\u03c1\u03bf\u03bd\u03b1 \u03b4\u03cd\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03b1: \u0388\u03bd\u03b1 screenshot \u03b1\u03c0\u03cc \u03bc\u03b9\u03b1 \u03c0\u03b5\u03c4\u03c5\u03c7\u03b7\u03bc\u03ad\u03bd\u03b7 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae \u03c3\u03b1\u03c2 \u039a\u0391\u0399 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03ba\u03ae \u03c3\u03b1\u03c2 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1\/\u03b2\u03af\u03bd\u03c4\u03b5\u03bf.<\/li>\n                <li><strong>\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae:<\/strong> \u03a4\u03bf AI &#8220;\u03b4\u03b9\u03b1\u03b2\u03ac\u03b6\u03b5\u03b9&#8221; \u03c4\u03b7 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae \u03ba\u03b1\u03b9 \u03b1\u03c0\u03bf\u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03c4\u03bf &#8220;Hook&#8221; (\u03b1\u03b3\u03ba\u03af\u03c3\u03c4\u03c1\u03b9) \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03c8\u03c5\u03c7\u03bf\u03bb\u03bf\u03b3\u03af\u03b1 \u03c0\u03ce\u03bb\u03b7\u03c3\u03b7\u03c2 \u03c0\u03bf\u03c5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af.<\/li>\n                <li><strong>\u0395\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae:<\/strong> \u03a4\u03bf \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03b1 \u03c0\u03b1\u03af\u03c1\u03bd\u03b5\u03b9 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03bd\u03b9\u03ba\u03b7\u03c4\u03ae\u03c1\u03b9\u03b1 \u03c3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd &#8220;\u03ba\u03bf\u03c5\u03bc\u03c0\u03ce\u03bd\u03b5\u03b9&#8221; \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf \u03b4\u03b9\u03ba\u03cc \u03c3\u03b1\u03c2 \u03bf\u03c0\u03c4\u03b9\u03ba\u03cc \u03c5\u03bb\u03b9\u03ba\u03cc.<\/li>\n                <li><strong>\u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1:<\/strong> \u03a3\u03b1\u03c2 \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03bd\u03ad\u03b1, \u03b2\u03b5\u03bb\u03c4\u03b9\u03c9\u03bc\u03ad\u03bd\u03b7 \u03ba\u03b1\u03b9 \u03b1\u03c0\u03cc\u03bb\u03c5\u03c4\u03b1 \u03b4\u03b9\u03ba\u03ae \u03c3\u03b1\u03c2 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7, \u03c3\u03c4\u03b7\u03bc\u03ad\u03bd\u03b7 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b4\u03b5\u03b4\u03b5\u03b9\u03b3\u03bc\u03ad\u03bd\u03b7 \u03c3\u03c5\u03bd\u03c4\u03b1\u03b3\u03ae \u03c4\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae.<\/li>\n            <\/ol>\n        <\/div>\n\n        <div class=\"lex-guide-card\">\n            <h3><span class=\"lex-guide-icon\">\ud83c\udfaf<\/span> 4. \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae Ads<\/h3>\n            <p>\u039f media buyer \u03c3\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03ad\u03c4\u03bf\u03b9\u03bc\u03b5\u03c2, \u03b1\u03c0\u03bf\u03b4\u03bf\u03c4\u03b9\u03ba\u03ad\u03c2 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b5\u03c2 Meta Ads:<\/p>\n            <ol style=\"margin-top: 10px; padding-left: 20px; font-size: 0.9em; opacity: 0.9; line-height: 1.5;\">\n                <li><strong>Upload Media:<\/strong> \u0391\u03bd\u03b5\u03b2\u03ac\u03b6\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03ae \u03c4\u03b7 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 \u03c0\u03bf\u03c5 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c0\u03c1\u03bf\u03c9\u03b8\u03ae\u03c3\u03b5\u03c4\u03b5.<\/li>\n                <li><strong>\u0388\u03be\u03c5\u03c0\u03bd\u03b7 \u03a3\u03c4\u03cc\u03c7\u03b5\u03c5\u03c3\u03b7:<\/strong> \u03a4\u03bf AI \u03b5\u03be\u03b5\u03c4\u03ac\u03b6\u03b5\u03b9 \u03c4\u03bf \u03b5\u03b9\u03ba\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc \u03ba\u03b1\u03b9 \u03c3\u03b1\u03c2 \u03c0\u03c1\u03bf\u03c4\u03b5\u03af\u03bd\u03b5\u03b9 \u03c4\u03b1 \u03b9\u03b4\u03b1\u03bd\u03b9\u03ba\u03ac \u03ba\u03bf\u03b9\u03bd\u03ac (Targeting) \u03ba\u03b1\u03b9 \u03c4\u03b9\u03c2 \u03bb\u03ad\u03be\u03b5\u03b9\u03c2-\u03ba\u03bb\u03b5\u03b9\u03b4\u03b9\u03ac \u03c0\u03bf\u03c5 \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5.<\/li>\n                <li><strong>\u0393\u03c9\u03bd\u03af\u03b5\u03c2 \u03a0\u03ce\u03bb\u03b7\u03c3\u03b7\u03c2 (Angles):<\/strong> \u03a4\u03bf \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03ad\u03c4\u03bf\u03b9\u03bc\u03b1 \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03b1 (\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1\/Hooks) \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03bd\u03b1 \u03b5\u03b9\u03b4\u03b9\u03ba\u03ac \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c3\u03c5\u03b3\u03ba\u03b5\u03ba\u03c1\u03b9\u03bc\u03ad\u03bd\u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\/\u03b2\u03af\u03bd\u03c4\u03b5\u03bf.<\/li>\n                <li><strong>\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7:<\/strong> \u039f\u03c1\u03af\u03b6\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b7\u03bc\u03b5\u03c1\u03ae\u03c3\u03b9\u03bf Budget \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b4\u03b7\u03bc\u03bf\u03c3\u03b9\u03b5\u03cd\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2, \u03c7\u03c9\u03c1\u03af\u03c2 \u03bd\u03b1 \u03c7\u03c1\u03b5\u03b9\u03b1\u03c3\u03c4\u03b5\u03af \u03bd\u03b1 \u03bc\u03c0\u03b5\u03af\u03c4\u03b5 \u03c3\u03c4\u03bf\u03bd Ads Manager.<\/li>\n            <\/ol>\n        <\/div>\n\n    <\/div>\n<\/div>\n\n<div id=\"view-studio\" class=\"lex-section\" style=\"display:none;\">\n    <h2 style=\"color: #F8FAFC; margin-bottom: 20px; font-size: 24px;\">\ud83d\udcf8 \u03a3\u03c4\u03bf\u03cd\u03bd\u03c4\u03b9\u03bf \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 AI<\/h2>\n    <p style=\"color: #94A3B8; margin-bottom: 30px;\">\n        \u0391\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2 \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03bf AI \u03b8\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03b5\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03b5\u03b9\u03ba\u03b1\u03c3\u03c4\u03b9\u03ba\u03ac, \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03ba\u03b1\u03b9 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b5\u03c2 Email.\n    <\/p>\n    \n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/heic2any@0.0.4\/dist\/heic2any.min.js\"><\/script>\n\n<div id=\"lex-studio-upload-area\" style=\"background: #1E293B; border-radius: 12px; padding: 40px; border: 2px dashed #3B82F6; text-align: center; cursor: pointer;\">\n    <div style=\"font-size: 40px; margin-bottom: 15px;\">\ud83d\udcf8<\/div>\n    <h3 style=\"color: #F1F5F9; margin-bottom: 10px;\">\u03a3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2 \u03b5\u03b4\u03ce<\/h3>\n    <p style=\"color: #64748B; font-size: 13px;\">\u03a5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b5\u03c2 JPG, PNG, WebP &amp; iPhone (HEIC).<\/p>\n    \n    <input type=\"file\" id=\"lex-studio-file-input\" style=\"display: none;\" accept=\"image\/png, image\/jpeg, image\/webp, image\/heic, image\/heif\">\n<\/div>\n\n<div id=\"lex-studio-results\" style=\"display:none; margin-top: 30px; background: #0F172A; padding: 25px; border-radius: 12px; border: 1px solid #334155;\">\n<\/div>\n<\/div><\/main>\n\n    <div id=\"lex-budget-modal\" class=\"lex-modal\">\n        <div class=\"lex-modal-content\">\n            <span class=\"lex-close\" onclick=\"closeBudgetModal()\">\u00d7<\/span>\n            <h3>\ud83d\udcb0 \u03a1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b7 \u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae\u03c2 &amp; \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2<\/h3>\n            <p style=\"color:#cbd5e0; margin-bottom:20px;\">\u039f\u03c1\u03af\u03c3\u03c4\u03b5 \u03c4\u03bf budget \u03c3\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9 \u03b7 \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae.<\/p>\n            <div class=\"lex-form\">\n                <label>\u0397\u03bc\u03b5\u03c1\u03ae\u03c3\u03b9\u03bf Budget (\u20ac)<\/label>\n                <input type=\"number\" id=\"budget-daily\" value=\"20\" min=\"5\" oninput=\"calcTotal()\">\n                <label>\u0394\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1 (\u0397\u03bc\u03ad\u03c1\u03b5\u03c2)<\/label>\n                <input type=\"number\" id=\"budget-days\" value=\"7\" min=\"1\" oninput=\"calcTotal()\">\n                <div class=\"lex-budget-row\" style=\"margin-top:20px;\">\n                    <span>\u0395\u03ba\u03c4\u03b9\u03bc\u03ce\u03bc\u03b5\u03bd\u03b1 Clicks:<\/span>\n                    <span id=\"est-clicks\" style=\"color:#3B82F6;\">~500 &#8211; 800<\/span>\n                <\/div>\n                <div class=\"lex-total-cost\">\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf: <span id=\"total-cost\">140<\/span>\u20ac<\/div>\n                <button class=\"lex-btn-action\" style=\"background:#10B981; margin-top:20px;\" onclick=\"payAndPublish()\">\ud83d\udcb3 \u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae &amp; \u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7<\/button>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div id=\"lex-preview-modal\" class=\"lex-preview-modal\">\n        <div class=\"lex-preview-content\">\n            <span class=\"lex-close-preview\" onclick=\"document.getElementById('lex-preview-modal').style.display='none'\">\u00d7<\/span>\n            <div class=\"lex-preview-controls-row\">\n                <div class=\"lex-preview-controls\">\n                    <button class=\"lex-preview-toggle active\" id=\"btn-mode-ios\" onclick=\"setDeviceMode('iphone')\">iPhone<\/button>\n                    <button class=\"lex-preview-toggle\" id=\"btn-mode-android\" onclick=\"setDeviceMode('android')\">Android<\/button>\n                <\/div>\n                <div class=\"lex-preview-controls\">\n                    <button class=\"lex-preview-toggle platform-btn\" id=\"btn-plat-fb\" onclick=\"setPlatformMode('facebook')\">Facebook<\/button>\n                    <button class=\"lex-preview-toggle platform-btn active\" id=\"btn-plat-ig\" onclick=\"setPlatformMode('instagram')\">Instagram<\/button>\n                    <button class=\"lex-preview-toggle platform-btn\" id=\"btn-plat-tt\" onclick=\"setPlatformMode('tiktok')\">TikTok<\/button>\n                <\/div>\n            <\/div>\n            <div id=\"lex-phone-frame\" class=\"lex-phone-frame iphone\">\n                <div class=\"lex-phone-notch\"><\/div>\n                <div id=\"lex-phone-screen\" class=\"lex-phone-screen mode-instagram\">\n                    <div class=\"lex-app-header\">\n                        <div class=\"lex-app-avatar\"><\/div>\n                        <div class=\"lex-app-name\">Lexairo User<\/div>\n                    <\/div>\n                    <div class=\"lex-post-media-container\">\n                        <img decoding=\"async\" id=\"lex-preview-img\" class=\"lex-post-img\" src=\"\" style=\"display:none;\">\n                        <video id=\"lex-preview-vid\" class=\"lex-post-video\" src=\"\" loop=\"\" muted=\"\" autoplay=\"\" playsinline=\"\" style=\"display:none;\"><\/video>\n                    <\/div>\n                    <div class=\"lex-post-actions\"><span>\u2764\ufe0f<\/span> <span>\ud83d\udcac<\/span> <span>\u2708\ufe0f<\/span><\/div>\n                    <div id=\"lex-preview-text\" class=\"lex-post-text\"><\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n<\/div>\n\n<script>\n\/* =========================================================================\n   JAVASCRIPT LOGIC (OPTIMIZED & BULLETPROOF)\n   ========================================================================= *\/\n\n\/\/ --- LEXAIRO GLOBAL SECURITY SHIELD (AUTO-NONCE & COOKIES) ---\nconst originalFetch = window.fetch;\nwindow.fetch = async function(resource, config) {\n    if (typeof resource === 'string' && resource.includes('\/wp-json\/lexairo\/')) {\n        config = config || {};\n        \n        \/\/ \u0391\u03c3\u03c6\u03b1\u03bb\u03ae\u03c2 \u03bb\u03ae\u03c8\u03b7 \u03c4\u03bf\u03c5 Nonce \n        let securityNonce = (typeof wpApiSettings !== 'undefined') ? wpApiSettings.nonce : \"<?php echo wp_create_nonce('wp_rest'); ?>\";\n\n        if (config.headers instanceof Headers) {\n            config.headers.append('X-WP-Nonce', securityNonce);\n        } else {\n            config.headers = config.headers || {};\n            config.headers['X-WP-Nonce'] = securityNonce;\n        }\n        \n        \/\/ \u03a4\u039f \u03a0\u0399\u039f \u03a3\u0397\u039c\u0391\u039d\u03a4\u0399\u039a\u039f: \u0391\u03bd\u03b1\u03b3\u03ba\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7 fetch \u03bd\u03b1 \u03c3\u03c4\u03b5\u03af\u03bb\u03b5\u03b9 \u03c4\u03bf Cookie \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2\n        config.credentials = 'same-origin';\n    }\n    return originalFetch(resource, config);\n};\n\/\/ ---------------------------------------------------\n\n\/* --- 1. CONFIG & MENU --- *\/\n\n\/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u039a\u0395\u039d\u03a4\u03a1\u0399\u039a\u039f\u03a3 \u039c\u0397\u03a7\u0391\u039d\u0399\u03a3\u039c\u039f\u03a3 \u0391\u03a0\u039f\u0398\u0397\u039a\u0395\u03a5\u03a3\u0397\u03a3 (LOCAL + SERVER BACKUP) ---\nwindow.lexairoSaveToHistory = function(type, title, data) {\n    let history = JSON.parse(localStorage.getItem('lexairo_history') || '[]');\n    const now = new Date();\n\n    const newEntry = {\n        id: Date.now().toString(),\n        type: type,\n        name: title,\n        content: typeof data === 'object' ? JSON.stringify(data) : data,\n        date: now.toISOString()\n    };\n\n    history.unshift(newEntry);\n\n    const ninetyDaysInMs = 90 * 24 * 60 * 60 * 1000;\n    history = history.filter(item => {\n        const itemDate = new Date(item.date);\n        return (now - itemDate) < ninetyDaysInMs;\n    });\n\n    if (history.length > 50) history = history.slice(0, 50);\n\n    \/\/ --- \u0397 \u03a7\u0395\u0399\u03a1\u039f\u03a5\u03a1\u0393\u0399\u039a\u0397 \u0394\u0399\u039f\u03a1\u0398\u03a9\u03a3\u0397 \u039e\u0395\u039a\u0399\u039d\u0391\u0395\u0399 \u0395\u0394\u03a9 ---\n    try {\n        localStorage.setItem('lexairo_history', JSON.stringify(history));\n        if (typeof renderCalendar === 'function') renderCalendar();\n    } catch (error) {\n        console.warn('\u03a4\u03bf \u03c4\u03bf\u03c0\u03b9\u03ba\u03cc \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u03b3\u03ad\u03bc\u03b9\u03c3\u03b5 (QuotaExceededError). \u03a4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b4\u03b5\u03bd \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03c4\u03b7\u03ba\u03b5 \u03c4\u03bf\u03c0\u03b9\u03ba\u03ac, \u03b1\u03bb\u03bb\u03ac \u03b7 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03ba\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03ac.');\n    }\n    \/\/ --- \u03a4\u0395\u039b\u039f\u03a3 \u0394\u0399\u039f\u03a1\u0398\u03a9\u03a3\u0397\u03a3 ---\n\n    \/\/ --- \u039d\u0395\u039f: \u0391\u03a3\u03a5\u0393\u03a7\u03a1\u039f\u039d\u039f BACKUP \u03a3\u03a4\u039f\u039d SERVER (\u0391\u0398\u039f\u03a1\u03a5\u0392\u0391) ---\n    \/\/ \u0391\u03bd \u03b8\u03b5\u03c2 \u03bd\u03b1 \u03bc\u03b7\u03bd \u03c7\u03ac\u03bd\u03b5\u03b9 \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b1\u03bd \u03c3\u03b2\u03ae\u03c3\u03b5\u03b9 \u03c4\u03bf \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc, \u03c4\u03bf \u03c3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03bf WP\n    try {\n        const fd = new FormData();\n        fd.append('action', 'lexairo_sync_history'); \/\/ \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c6\u03c4\u03b9\u03ac\u03be\u03b5\u03b9\u03c2 \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf action \u03c3\u03c4\u03bf PHP \u03b1\u03bd \u03b8\u03b5\u03c2 \u03bd\u03b1 \u03b4\u03bf\u03c5\u03bb\u03ad\u03c8\u03b5\u03b9\n        fd.append('history_data', JSON.stringify(history));\n        \n        \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03c0\u03b1\u03c1\u03b1\u03c3\u03ba\u03ae\u03bd\u03b9\u03bf, \u03b4\u03b5\u03bd \u03b5\u03bd\u03bf\u03c7\u03bb\u03b5\u03af \u03c4\u03bf\u03bd \u03c0\u03b5\u03bb\u03ac\u03c4\u03b7 \u03b1\u03bd \u03b1\u03c0\u03bf\u03c4\u03cd\u03c7\u03b5\u03b9.\n        fetch('\/wp-admin\/admin-ajax.php', { method: 'POST', body: fd }).catch(e=>console.log(\"No server backup.\"));\n    } catch(e) {}\n    \/\/ ---------------------------------------------------\n};\n\nconst CONFIG = {\n    formOptions: {\n        gr: {\n            business_type: [ \"\u03a1\u03bf\u03cd\u03c7\u03b1 & \u0391\u03be\u03b5\u03c3\u03bf\u03c5\u03ac\u03c1\", \"\u039a\u03bf\u03c3\u03bc\u03ae\u03bc\u03b1\u03c4\u03b1 & \u03a1\u03bf\u03bb\u03cc\u03b3\u03b9\u03b1\", \"\u039a\u03b1\u03bb\u03bb\u03c5\u03bd\u03c4\u03b9\u03ba\u03ac\", \"Gadgets\", \"\u0395\u03af\u03b4\u03b7 \u03a3\u03c0\u03b9\u03c4\u03b9\u03bf\u03cd\", \"\u03a4\u03c1\u03cc\u03c6\u03b9\u03bc\u03b1\", \"\u0395\u03c3\u03c4\u03af\u03b1\u03c3\u03b7\", \"\u03a6\u03c9\u03c4\u03bf\u03b3\u03c1\u03ac\u03c6\u03bf\u03c2\", \"Personal Trainer\", \"\u039a\u03bf\u03bc\u03bc\u03c9\u03c4\u03ae\u03c1\u03b9\u03bf\", \"Spa\", \"Delivery\", \"\u0395\u03ba\u03b4\u03b7\u03bb\u03ce\u03c3\u03b5\u03b9\u03c2\", \"\u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b5\u03c2\", \"\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2\" ],\n            goals: [ {val: \"present_product\", txt: \"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2\"}, {val: \"promote_service\", txt: \"\u03a0\u03c1\u03bf\u03ce\u03b8\u03b7\u03c3\u03b7 \u03c5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1\u03c2\"}, {val: \"lifestyle\", txt: \"Lifestyle\"}, {val: \"inform\", txt: \"\u0395\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7\"}, {val: \"brand_image\", txt: \"Brand Image\"}, {val: \"awareness\", txt: \"Awareness (Ads)\"}, {val: \"sales\", txt: \"Sales (Ads)\"} ],\n            tones: [ {val: \"professional\", txt: \"\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc\"}, {val: \"premium\", txt: \"Premium\"}, {val: \"casual\", txt: \"Casual\"}, {val: \"youth\", txt: \"\u039d\u03b5\u03b1\u03bd\u03b9\u03ba\u03cc\"}, {val: \"minimal\", txt: \"Minimal\"}, {val: \"luxury\", txt: \"Luxury\"} ]\n        },\n        en: {\n            business_type: [ \"Fashion & Accessories\", \"Jewelry & Watches\", \"Cosmetics\", \"Gadgets\", \"Home Goods\", \"Food\", \"Restaurant\/Bar\", \"Photographer\", \"Personal Trainer\", \"Salon\/Hair\", \"Spa\", \"Delivery\", \"Events\", \"Services\", \"Tourism\" ],\n            goals: [ {val: \"present_product\", txt: \"Product Presentation\"}, {val: \"promote_service\", txt: \"Service Promotion\"}, {val: \"lifestyle\", txt: \"Lifestyle\"}, {val: \"inform\", txt: \"Information\/Update\"}, {val: \"brand_image\", txt: \"Brand Image\"}, {val: \"awareness\", txt: \"Awareness (Ads)\"}, {val: \"sales\", txt: \"Sales (Ads)\"} ],\n            tones: [ {val: \"professional\", txt: \"Professional\"}, {val: \"premium\", txt: \"Premium\"}, {val: \"casual\", txt: \"Casual\"}, {val: \"youth\", txt: \"Youthful\"}, {val: \"minimal\", txt: \"Minimal\"}, {val: \"luxury\", txt: \"Luxury\"} ]\n        }\n    }\n};\n\nfunction nav(viewId) {\n    document.querySelectorAll('[id^=\"view-\"]').forEach(el => el.style.display = 'none');\n    document.querySelectorAll('.lex-nav-btn').forEach(el => el.classList.remove('active'));\n    \n    var v = document.getElementById('view-' + viewId);\n    var b = document.getElementById('btn-' + viewId);\n    if(v) v.style.display = 'block';\n    if(b) b.classList.add('active');\n    \n    if(viewId === 'dashboard') updateDashStats();\n    if(viewId === 'history') renderHistory();\n    if(viewId === 'calendar') renderCalendar();\n    if(viewId === 'create' && document.getElementById('lex-dynamic-form').innerHTML === '') {\n        renderGeneralForm();\n    }\n}\n\n\/* --- LOGIC: \u0397\u039c\u0395\u03a1\u039f\u039b\u039f\u0393\u0399\u039f (CALENDAR) --- *\/\nlet currentCalDate = new Date();\n\nfunction renderCalendar() {\n    var grid = document.getElementById('lex-calendar-body');\n    var title = document.getElementById('lex-cal-title');\n    if (!grid || !title) return;\n    \n    var year = currentCalDate.getFullYear();\n    var month = currentCalDate.getMonth();\n    var monthNames = [\"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2\", \"\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2\", \"\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2\", \"\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2\", \"\u039c\u03ac\u03b9\u03bf\u03c2\", \"\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2\", \"\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2\", \"\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2\", \"\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\"];\n    title.innerText = `${monthNames[month]} ${year}`;\n\n    var history = JSON.parse(localStorage.getItem('lexairo_history') || '[]');\n    var campaigns = JSON.parse(localStorage.getItem('lex_active_campaigns') || '[]');\n\n    var allEvents = [\n        ...history.map(item => ({ ...item, calType: 'post' })),\n        ...campaigns.map(item => ({ ...item, date: item.timestamp, calType: 'ad' }))\n    ];\n\n    var monthEvents = allEvents.filter(item => {\n        var d = new Date(item.date);\n        return d.getMonth() === month && d.getFullYear() === year;\n    });\n\n    var firstDay = new Date(year, month, 1).getDay(); \n    var daysInMonth = new Date(year, month + 1, 0).getDate();\n    \n    var htmlStr = '';\n    var days = [\"\u039a\u03a5\u03a1\", \"\u0394\u0395\u03a5\", \"\u03a4\u03a1\u0399\", \"\u03a4\u0395\u03a4\", \"\u03a0\u0395\u039c\", \"\u03a0\u0391\u03a1\", \"\u03a3\u0391\u0392\"];\n    days.forEach(d => { htmlStr += `<div class=\"lex-cal-day-name\">${d}<\/div>`; });\n\n    for (var i = 0; i < firstDay; i++) { htmlStr += `<div class=\"lex-cal-empty\"><\/div>`; }\n\n    for (var i = 1; i <= daysInMonth; i++) {\n        var dayEvents = monthEvents.filter(e => new Date(e.date).getDate() === i);\n        \n        htmlStr += `<div class=\"lex-cal-day ${dayEvents.length > 0 ? 'active' : ''}\" onclick=\"showDayDetails(${i}, ${month}, ${year})\">\n            <span class=\"lex-cal-num\">${i}<\/span>`;\n        \n        dayEvents.slice(0, 3).forEach(ev => {\n            if (ev.calType === 'ad') {\n                htmlStr += `<div class=\"lex-cal-event\" style=\"background:#10B981; border-left:2px solid #fff;\">\ud83c\udfaf Ads: ${ev.platform.toUpperCase()}<\/div>`;\n            } else {\n                htmlStr += `<div class=\"lex-cal-event\">${ev.type.split(':')[0]}<\/div>`;\n            }\n        });\n\n        if (dayEvents.length > 3) htmlStr += `<div style=\"font-size:10px; color:#64748B;\">+${dayEvents.length - 3} \u03b1\u03ba\u03cc\u03bc\u03b7<\/div>`;\n        htmlStr += `<\/div>`;\n    }\n    grid.innerHTML = htmlStr;\n}\n\nfunction changeMonth(dir) { \n    currentCalDate.setMonth(currentCalDate.getMonth() + dir); \n    renderCalendar(); \n}\n\nfunction showDayDetails(day, month, year) {\n    var details = document.getElementById('lex-cal-details');\n    var content = document.getElementById('lex-cal-details-content');\n    if (!details || !content) return;\n\n    var history = JSON.parse(localStorage.getItem('lexairo_history') || '[]');\n    var campaigns = JSON.parse(localStorage.getItem('lex_active_campaigns') || '[]');\n\n    var allEvents = [\n        ...history.map(item => ({ ...item, calType: 'post' })),\n        ...campaigns.map(item => ({ ...item, date: item.timestamp, calType: 'ad' }))\n    ];\n\n    var dayEvents = allEvents.filter(item => {\n        var d = new Date(item.date);\n        return d.getDate() === day && d.getMonth() === month && d.getFullYear() === year;\n    });\n\n    if (dayEvents.length === 0) { details.style.display = 'none'; return; }\n\n    content.innerHTML = dayEvents.map(e => {\n        if (e.calType === 'ad') {\n            var plat = e.platform.toLowerCase();\n            var colors = {\n                facebook: { bg: '#1877F2', icon: '\ud83d\udcd8' },\n                instagram: { bg: '#E4405F', icon: '\ud83d\udcf8' },\n                google: { bg: '#FBBC05', icon: '\ud83d\udd0d' },\n                tiktok: { bg: '#000000', icon: '\ud83c\udfb5' },\n                meta: { bg: '#0668E1', icon: '\u267e\ufe0f' }\n            };\n            var theme = colors[plat] || { bg: '#3B82F6', icon: '\ud83d\udce2' };\n            var isCompleted = e.spent >= e.total_budget;\n\n            return `\n            <div class=\"lex-history-item\" style=\"border-left: 5px solid ${theme.bg}; background: rgba(255,255,255,0.02); margin-bottom: 20px;\">\n                <div class=\"lex-history-meta\">\n                    <span class=\"lex-history-type\" style=\"background:${theme.bg}; color:white; font-weight:bold; padding:4px 10px;\">\n                        ${theme.icon} ${e.platform.toUpperCase()} AD\n                    <\/span>\n                    <span class=\"lex-history-date\">${new Date(e.date).toLocaleTimeString()}<\/span>\n                <\/div>\n                \n                <div style=\"margin: 15px 0;\">\n                    <div style=\"color:#fff; font-size:16px; font-weight:bold; margin-bottom:5px;\">${e.name}<\/div>\n                    <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: rgba(0,0,0,0.2); padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);\">\n                        <div>\n                            <small style=\"color:#64748B; display:block; text-transform:uppercase; font-size:10px;\">Status<\/small>\n                            <span style=\"color:${isCompleted ? '#64748B' : '#10B981'}; font-weight:bold;\">\n                                ${isCompleted ? 'O\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5' : '\u25cf \u03a3\u03b5 \u03b5\u03be\u03ad\u03bb\u03b9\u03be\u03b7'}\n                            <\/span>\n                        <\/div>\n                        <div>\n                            <small style=\"color:#64748B; display:block; text-transform:uppercase; font-size:10px;\">Budget<\/small>\n                            <span style=\"color:#fff; font-weight:bold;\">\u20ac${e.spent.toFixed(2)} \/ \u20ac${e.total_budget}<\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div style=\"width:100%; height:4px; background:#1E293B; border-radius:2px; overflow:hidden;\">\n                    <div style=\"width:${(e.spent\/e.total_budget)*100}%; height:100%; background:${theme.bg};\"><\/div>\n                <\/div>\n                \n                <div style=\"margin-top:12px; display:flex; justify-content:space-between; align-items:center;\">\n                    <span style=\"font-size:12px; color:#94A3B8;\">\u0394\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1: ${e.days} \u03b7\u03bc\u03ad\u03c1\u03b5\u03c2<\/span>\n                    <button class=\"lex-btn-copy\" style=\"margin:0;\" onclick=\"nav('dashboard')\">\ud83d\udcca \u03a0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae Analytics<\/button>\n                <\/div>\n            <\/div>`;\n        } else {\n            let texts = [];\n            try {\n                let parsed = JSON.parse(e.content);\n                \/\/ \u0391\u03bd \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03b9 email_preview, \u03c4\u03c1\u03b1\u03b2\u03ac\u03bc\u03b5 \u03c4\u03b1 \u03ba\u03bb\u03b1\u03c3\u03b9\u03ba\u03ac\n                if(parsed.short_text && !parsed.email_preview) texts.push({label: 'Media \/ \u03a3\u03cd\u03bd\u03c4\u03bf\u03bc\u03bf', content: parsed.short_text});\n                if(parsed.medium_text) texts.push({label: '\u039c\u03b5\u03c3\u03b1\u03af\u03bf', content: parsed.medium_text});\n                if(parsed.long_text) texts.push({label: '\u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03cc', content: parsed.long_text});\n                \n                \/\/ \u0391\u03bd \u03ad\u03c7\u03b5\u03b9 email_preview, \u03c4\u03c1\u03b1\u03b2\u03ac\u03bc\u03b5 \u03c4\u03b1 \u03b5\u03b9\u03b4\u03b9\u03ba\u03ac \u03c4\u03bf\u03c5 Email\n                if(parsed.email_preview) texts.push({label: '\u039f\u03c0\u03c4\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7', content: parsed.email_preview, isIframe: true});\n                if(parsed.email_code) texts.push({label: 'HTML \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2', content: parsed.email_code});\n\n                \/\/ \u0391\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae Ads\n                if(parsed.creative && parsed.creative.primary_text) {\n                    texts.push({label: '\u039a\u03cd\u03c1\u03b9\u03bf \u039a\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2', content: parsed.creative.primary_text});\n                    texts.push({label: '\u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1 (Headline)', content: parsed.creative.headline});\n                    if(parsed.creative.hooks && parsed.creative.hooks.length > 0) {\n                        texts.push({label: '\u0395\u03bd\u03b1\u03bb\u03bb\u03b1\u03ba\u03c4\u03b9\u03ba\u03ac Hooks', content: parsed.creative.hooks.map(h => '\u2022 ' + h).join('\\n')});\n                    }\n                }\n\n                \/\/ \u0391\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u039a\u03b1\u03c4\u03ac\u03c3\u03ba\u03bf\u03c0\u03bf\u03c2 (Spy)\n                if(parsed.spy_insights && parsed.action_plan) {\n                    texts.push({label: '\u03a4\u03bf \u039c\u03c5\u03c3\u03c4\u03b9\u03ba\u03cc \u03c4\u03bf\u03c5 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae', content: parsed.spy_insights.competitor_secret});\n                    texts.push({label: '\u03a3\u03c7\u03ad\u03b4\u03b9\u03bf \u0394\u03c1\u03ac\u03c3\u03b7\u03c2', content: parsed.action_plan.map(a => '\u2022 ' + a).join('\\n')});\n                }\n            } catch(err) {\n                texts.push({label: '\u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf', content: e.content});\n            }\n\n            let safeType = e.type ? e.type : '\ud83d\udcf1 SOCIAL POST';\n            let isSystemMessage = safeType.includes('PUBLISHED');\n\n            \/\/ \u0391\u03a3\u03a6\u0391\u039b\u0397\u03a3 \u0394\u0397\u039c\u0399\u039f\u03a5\u03a1\u0393\u0399\u0391 \u03a4\u039f\u03a5 HTML \u0393\u0399\u0391 \u039a\u0391\u0398\u0395 \u039a\u039f\u03a5\u03a4\u0399\n            let contentHtml = '';\n            \n            if (isSystemMessage) {\n                \/\/ \u03a0\u03c1\u03ac\u03c3\u03b9\u03bd\u03bf \u03ba\u03bf\u03c5\u03c4\u03ac\u03ba\u03b9 \u03b3\u03b9\u03b1 \u03c3\u03c5\u03c3\u03c4\u03b7\u03bc\u03b9\u03ba\u03ac \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03b1 (Publish)\n                contentHtml = `\n                <div style=\"background: rgba(16, 185, 129, 0.1); padding: 15px; border-radius: 8px; border: 1px solid rgba(16, 185, 129, 0.3); color: #10B981; font-size: 14px; line-height: 1.6;\">\n                    ${texts[0] ? texts[0].content : ''}\n                <\/div>`;\n            } else {\n                \/\/ --- \u0397 \u039b\u03a5\u03a3\u0397: \u039f\u039b\u0391 \u039c\u0395\u03a3\u0391 \u03a3\u0395 \u0395\u039d\u0391 \u0395\u039d\u0399\u0391\u0399\u039f \u039a\u039f\u03a5\u03a4\u0399 ---\n                let innerSections = texts.map((t, idx) => {\n                    \/\/ \u03a0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c4\u03bf\u03c5\u03bc\u03b5 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03b1\u03ba\u03c1\u03b9\u03c4\u03b9\u03ba\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \u03b1\u03bd\u03ac\u03bc\u03b5\u03c3\u03b1 \u03c3\u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1, \u03b5\u03ba\u03c4\u03cc\u03c2 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03bf\n                    let borderBottom = (idx !== texts.length - 1) ? 'border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; margin-bottom: 20px;' : '';\n                    \n                    if (t.isIframe) {\n                        let blob = new Blob([t.content], {type: 'text\/html;charset=utf-8'});\n                        let blobUrl = URL.createObjectURL(blob);\n                        return `\n                        <div style=\"${borderBottom}\">\n                            <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                            <div style=\"background:#fff; border-radius:8px; padding:10px; display:flex; justify-content:center;\">\n                                <iframe src=\"${blobUrl}\" style=\"width:100%; max-width:600px; height:450px; border:1px solid #E2E8F0; background:#fff; border-radius:8px;\"><\/iframe>\n                            <\/div>\n                        <\/div>`;\n                    } else if (t.label === 'HTML \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2') {\n                        return `\n                        <div style=\"${borderBottom}\">\n                            <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                            <div id=\"copy-target-${e.id}-${idx}\" style=\"background:#0F172A; padding:15px; border-radius:6px; color:#A78BFA; font-family:monospace; font-size:11px; line-height:1.5; max-height:200px; overflow-y:auto; word-break:break-all; border:1px solid rgba(139,92,246,0.3);\">${t.content}<\/div>\n                            <button class=\"lex-btn-copy\" style=\"margin-top:10px; width: auto; padding: 4px 10px;\" onclick=\"copyText('copy-target-${e.id}-${idx}')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae ${t.label}<\/button>\n                        <\/div>`;\n                    } else {\n                        let isMedia = t.content.includes('<img') || t.content.includes('<video');\n                        let finalContent = isMedia ? t.content.replace('width:100%', 'max-width:350px; width:100%') : t.content;\n                        let copyButton = isMedia ? '' : `<button class=\"lex-btn-copy\" style=\"margin-top:10px; width: auto; padding: 4px 10px;\" onclick=\"copyText('copy-target-${e.id}-${idx}')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae ${t.label}<\/button>`;\n                        \n                        return `\n                        <div style=\"${borderBottom}\">\n                            <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                            <div id=\"copy-target-${e.id}-${idx}\" style=\"color:#CBD5E0; font-size:14px; line-height:1.6; white-space: ${isMedia ? 'normal' : 'pre-wrap'}; text-align:${isMedia ? 'center' : 'left'};\">${finalContent}<\/div>\n                            ${copyButton}\n                        <\/div>`;\n                    }\n                }).join('');\n                \n                \/\/ \u03a4\u03c5\u03bb\u03af\u03b3\u03bf\u03c5\u03bc\u03b5 \u03cc\u03bb\u03b1 \u03c4\u03b1 \u03c4\u03bc\u03ae\u03bc\u03b1\u03c4\u03b1 (innerSections) \u03bc\u03ad\u03c3\u03b1 \u03c3\u03b5 1 \u03c3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03cc Background\n                contentHtml = `\n                <div style=\"background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);\">\n                    ${innerSections}\n                <\/div>`;\n            }\n\n            return `\n            <div class=\"lex-history-item\" style=\"margin-bottom: 20px;\">\n                <div class=\"lex-history-meta\" style=\"border-bottom:none; margin-bottom:0; padding-bottom:0;\">\n                    <span class=\"lex-history-type\" style=\"background: rgba(99, 102, 241, 0.2); color: #818CF8; padding: 5px 12px; border-radius: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(99, 102, 241, 0.3);\">\n                        ${safeType}\n                    <\/span>\n                    <span class=\"lex-history-date\">${new Date(e.date).toLocaleTimeString()}<\/span>\n                <\/div>\n                ${e.name ? `<div style=\"color:#fff; font-size:16px; font-weight:bold; margin: 15px 0 5px 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05);\">${e.name}<\/div>` : ''}\n                <div style=\"margin-top: 15px;\">\n                    ${contentHtml}\n                <\/div>\n            <\/div>`;\n        }\n    }).join('');\n    \n    details.style.display = 'block';\n    details.scrollIntoView({behavior: 'smooth'});\n}\n\n\/* --- META SDK & UTILS --- *\/\nwindow.fbAsyncInit = function() { FB.init({ appId: '964952212766625', cookie: true, xfbml: true, version: 'v25.0' }); };\n(function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = \"https:\/\/connect.facebook.net\/el_GR\/sdk.js\"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));\n\nfunction formatText(text) { return !text ? '' : text.replace(\/\\n\/g, '<br>'); }\n\n\/\/ --- LEXAIRO: PREMIUM COPY FUNCTION (BILINGUAL FIX) ---\nwindow.copyText = function(elementId) {\n    const textElement = document.getElementById(elementId);\n    if (!textElement) return;\n\n    \/\/ \u03a4\u03bf innerText \u03ba\u03c1\u03b1\u03c4\u03ac\u03b5\u03b9 \u03c4\u03ad\u03bb\u03b5\u03b9\u03b1 \u03c4\u03b9\u03c2 \u03ba\u03b5\u03bd\u03ad\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03b1 hashtags\n    const textToCopy = textElement.innerText;\n\n    navigator.clipboard.writeText(textToCopy).then(() => {\n        \/\/ \u0392\u03c1\u03af\u03c3\u03ba\u03bf\u03c5\u03bc\u03b5 \u0391\u03a5\u03a3\u03a4\u0397\u03a1\u0391 \u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af \u03bc\u03b5 \u03ba\u03bb\u03ac\u03c3\u03b7 .lex-btn-copy \u03bc\u03ad\u03c3\u03b1 \u03c3\u03c4\u03b7\u03bd \u03ba\u03ac\u03c1\u03c4\u03b1\n        const copyBtn = textElement.parentElement.querySelector('.lex-btn-copy');\n        \n        if (copyBtn) {\n            const originalText = copyBtn.innerHTML;\n            const originalBg = copyBtn.style.backgroundColor || '';\n            const originalColor = copyBtn.style.color || '';\n            const originalBorder = copyBtn.style.border || '';\n            \n            \/\/ \"\u0394\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5\" \u03c4\u03bf \u03b1\u03c1\u03c7\u03b9\u03ba\u03cc \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03b1\u03c4\u03b1\u03bb\u03ac\u03b2\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1\n            const btnTextForLang = copyBtn.innerText || copyBtn.textContent;\n            const isEn = btnTextForLang.toLowerCase().includes('copy');\n            \n            \/\/ Premium UI Feedback (\u0394\u03af\u03b3\u03bb\u03c9\u03c3\u03c3\u03bf)\n            copyBtn.innerHTML = isEn ? '\u2705 Copied!' : '\u2705 \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03b7\u03ba\u03b5!';\n            copyBtn.style.backgroundColor = '#10B981'; \/\/ Lexairo Green\n            copyBtn.style.color = '#ffffff';\n            copyBtn.style.border = 'none';\n\n            \/\/ \u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03bc\u03b5\u03c4\u03ac \u03b1\u03c0\u03cc 2 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1\n            setTimeout(() => {\n                copyBtn.innerHTML = originalText;\n                copyBtn.style.backgroundColor = originalBg;\n                copyBtn.style.color = originalColor;\n                copyBtn.style.border = originalBorder;\n            }, 2000);\n        }\n    }).catch(err => {\n        console.error('Copy failed: ', err);\n        alert('\u26a0\ufe0f \u0397 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03b1\u03c0\u03ad\u03c4\u03c5\u03c7\u03b5 \/ Copy failed. Please select text manually.');\n    });\n};\n\nfunction simulateMediaAnalysis(type) {\n    if(type === 'spy') return; \n    var boxId = (type === 'create') ? 'gen-media-feedback' : 'ind-media-feedback';\n    var textId = (type === 'create') ? 'gen-media-text' : 'ind-media-text';\n    var box = document.getElementById(boxId);\n    var text = document.getElementById(textId);\n    if(box) box.style.display = 'block';\n    if(text) text.innerText = \"\ud83d\udd04 \u0393\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u03bf\u03c0\u03c4\u03b9\u03ba\u03bf\u03cd \u03c5\u03bb\u03b9\u03ba\u03bf\u03cd...\";\n}\n\nfunction setDeviceMode(mode) {\n    var frame = document.getElementById('lex-phone-frame');\n    if(!frame) return;\n    document.getElementById('btn-mode-ios').classList.remove('active');\n    document.getElementById('btn-mode-android').classList.remove('active');\n    if (mode === 'iphone') { frame.classList.add('iphone'); frame.classList.remove('android'); document.getElementById('btn-mode-ios').classList.add('active'); } \n    else { frame.classList.add('android'); frame.classList.remove('iphone'); document.getElementById('btn-mode-android').classList.add('active'); }\n}\n\nfunction setPlatformMode(plat) {\n    var screen = document.getElementById('lex-phone-screen');\n    if(!screen) return;\n    screen.classList.remove('mode-facebook', 'mode-instagram', 'mode-tiktok');\n    document.querySelectorAll('.lex-preview-toggle.platform-btn').forEach(btn => btn.classList.remove('active'));\n    screen.classList.add('mode-' + plat);\n    if(document.getElementById('btn-plat-'+(plat==='instagram'?'ig':(plat==='tiktok'?'tt':'fb')))) {\n        document.getElementById('btn-plat-'+(plat==='instagram'?'ig':(plat==='tiktok'?'tt':'fb'))).classList.add('active');\n    }\n}\n\nfunction openPreview(textId, type) {\n    var textEl = document.getElementById(textId);\n    if(!textEl) return;\n    \n    var fileInputId = 'lex-image';\n    if(type === 'industry') fileInputId = 'ind-img';\n    if(type === 'spy') fileInputId = 'lex-spy-image-comp'; \n    \n    var fileInput = document.getElementById(fileInputId);\n    var previewImg = document.getElementById('lex-preview-img');\n    var previewVid = document.getElementById('lex-preview-vid');\n    var previewText = document.getElementById('lex-preview-text');\n    \n    if(previewText) previewText.innerText = textEl.innerText;\n    \n    if (fileInput && fileInput.files && fileInput.files[0]) {\n        var file = fileInput.files[0];\n        var fileURL = URL.createObjectURL(file);\n        if (file.type.startsWith('video\/')) { \n            if(previewImg) previewImg.style.display = 'none'; \n            if(previewVid) { previewVid.style.display = 'block'; previewVid.src = fileURL; }\n        } else { \n            if(previewVid) previewVid.style.display = 'none'; \n            if(previewImg) { previewImg.style.display = 'block'; previewImg.src = fileURL; }\n        }\n    }\n    var modal = document.getElementById('lex-preview-modal');\n    if(modal) modal.style.display = 'block';\n}\n\n\/* ------------------------------------------------------------- *\/\n\/* --- \u03a3\u03a5\u039d\u0394\u0395\u03a3\u0395\u0399\u03a3 (OAUTH \/ META \/ GOOGLE \/ TIKTOK) --- *\/\n\/* ------------------------------------------------------------- *\/\n\nfunction toggleConnect(platform) {\n    var btn = document.getElementById('btn-con-' + platform);\n    var badge = document.getElementById('badge-' + platform);\n\n    if (platform === 'meta') {\n        handleMetaFlow(btn, badge);\n    } else if (platform === 'google') {\n        handleGoogleConnect(btn, badge);\n    } else if (platform === 'tiktok') {\n        \/\/ --- \u039d\u0395\u039f: \u0395\u039d\u0395\u03a1\u0393\u039f\u03a0\u039f\u0399\u0397\u03a3\u0397 TIKTOK FLOW ---\n        handleTikTokConnect(btn, badge);\n    } else {\n        alert(\"\u0397 \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1 \" + platform.toUpperCase() + \" \u03b4\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9.\");\n    }\n}\n\n\/\/ --- META (FACEBOOK) LOGIC ---\nfunction handleMetaFlow(btn, badge) {\n    if (typeof FB === 'undefined') {\n        alert(\"\u26a0\ufe0f \u03a4\u03bf Facebook SDK \u03bc\u03c0\u03bb\u03bf\u03ba\u03b1\u03c1\u03af\u03c3\u03c4\u03b7\u03ba\u03b5. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf AdBlocker \u03c3\u03b1\u03c2.\");\n        return;\n    }\n\n    if (btn && btn.classList.contains('btn-connect')) {\n        btn.innerText = '\u0386\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 Meta...';\n        FB.login(function(response) {\n            if (response.authResponse) {\n                const shortToken = response.authResponse.accessToken;\n                fetch('https:\/\/lexairo.com\/wp-json\/lexairo\/v1\/extend-token', {\n                    method: 'POST',\n                    headers: { 'Content-Type': 'application\/json' },\n                    body: JSON.stringify({ token: shortToken })\n                })\n                .then(res => res.json())\n                .then(data => {\n                    const finalToken = (data.success && data.long_token) ? data.long_token : shortToken;\n                    localStorage.setItem('lexairo_client_fb_token', finalToken);\n                    btn.classList.remove('btn-connect');\n                    btn.classList.add('btn-disconnect');\n                    btn.innerText = '\u0391\u03c0\u03bf\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n                    if (badge) badge.style.display = 'inline';\n                    alert('\ud83c\udf89 \u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03ae\u03c2 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7! \u0397 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03b8\u03b7\u03ba\u03b5 \u03b3\u03b9\u03b1 60 \u03b7\u03bc\u03ad\u03c1\u03b5\u03c2.');\n                    if (typeof updateDashStats === 'function') updateDashStats();\n                })\n                .catch(err => {\n                    console.error('Token extension error:', err);\n                    localStorage.setItem('lexairo_client_fb_token', shortToken);\n                });\n            } else {\n                btn.innerText = '\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n                alert('\u26a0\ufe0f \u0397 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03ba\u03c5\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5.');\n            }\n        }, { scope: 'public_profile, ads_management, pages_show_list, pages_read_engagement', return_scopes: true });\n    } else if (btn) {\n        localStorage.removeItem('lexairo_client_fb_token');\n        btn.classList.add('btn-connect');\n        btn.classList.remove('btn-disconnect');\n        btn.innerText = '\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        if (badge) badge.style.display = 'none';\n        if (typeof updateDashStats === 'function') updateDashStats();\n        try { FB.logout(); } catch(e) {}\n    }\n}\n\n\/\/ --- GOOGLE ADS LOGIC ---\nwindow.handleGoogleConnect = function() {\n    var btn = document.getElementById('btn-con-google');\n    var badge = document.getElementById('badge-google');\n    var googleToken = localStorage.getItem('lexairo_google_token');\n\n    if (!googleToken) {\n        if (btn) btn.innerText = '\u0391\u03bd\u03b1\u03ba\u03b1\u03c4\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7...'; \n        window.location.href = '\/wp-json\/lexairo\/v1\/google-auth-start';\n    } else {\n        localStorage.removeItem('lexairo_google_token');\n        localStorage.removeItem('lexairo_google_refresh_token');\n        \n        if (btn) {\n            btn.classList.add('btn-connect');\n            btn.classList.remove('btn-disconnect');\n            btn.innerText = '\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        }\n        if (badge) badge.style.display = 'none';\n        \n        var googleSelect = document.getElementById('ind-google-account');\n        if (googleSelect) {\n            googleSelect.innerHTML = '<option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc Google Ads...<\/option>';\n        }\n    }\n};\n\n\/\/ --- TIKTOK LOGIC (\u039d\u0395\u039f) ---\nwindow.handleTikTokConnect = function() {\n    var btn = document.getElementById('btn-con-tiktok');\n    var badge = document.getElementById('badge-tiktok');\n    var tiktokToken = localStorage.getItem('lexairo_tiktok_token');\n\n    if (!tiktokToken) {\n        if (btn) btn.innerText = '\u0391\u03bd\u03b1\u03ba\u03b1\u03c4\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7...'; \n        window.location.href = '\/wp-json\/lexairo\/v1\/tiktok-auth-start';\n    } else {\n        \/\/ \u0391\u03c0\u03bf\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\n        localStorage.removeItem('lexairo_tiktok_token');\n        localStorage.removeItem('lexairo_tiktok_adv_id');\n        \n        if (btn) {\n            btn.classList.add('btn-connect');\n            btn.classList.remove('btn-disconnect');\n            btn.innerText = '\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        }\n        if (badge) badge.style.display = 'none';\n    }\n};\n\n\n\/\/ --- \u0395\u039b\u0395\u0393\u03a7\u039f\u03a3 \u03a3\u03a5\u039d\u0394\u0395\u03a3\u0395\u03a9\u039d \u039a\u0391\u03a4\u0391 \u03a4\u0397 \u03a6\u039f\u03a1\u03a4\u03a9\u03a3\u0397 \u03a4\u0397\u03a3 \u03a3\u0395\u039b\u0399\u0394\u0391\u03a3 ---\ndocument.addEventListener('DOMContentLoaded', function() {\n    \/\/ 1. \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 Meta\n    var fbToken = localStorage.getItem('lexairo_client_fb_token');\n    var btnMeta = document.getElementById('btn-con-meta');\n    var badgeMeta = document.getElementById('badge-meta');\n\n    if (fbToken && btnMeta) {\n        btnMeta.classList.remove('btn-connect');\n        btnMeta.classList.add('btn-disconnect');\n        btnMeta.innerText = '\u0391\u03c0\u03bf\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        if (badgeMeta) badgeMeta.style.display = 'inline';\n    }\n\n    \/\/ 2. \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 Google\n    var googleToken = localStorage.getItem('lexairo_google_token');\n    var btnGoogle = document.getElementById('btn-con-google');\n    var badgeGoogle = document.getElementById('badge-google');\n\n    if (googleToken && btnGoogle) {\n        btnGoogle.classList.remove('btn-connect');\n        btnGoogle.classList.add('btn-disconnect');\n        btnGoogle.innerText = '\u0391\u03c0\u03bf\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        if (badgeGoogle) badgeGoogle.style.display = 'inline';\n        \n        lexairoFetchGoogleAccounts(); \n    }\n\n    \/\/ 3. \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 TikTok (\u039d\u0395\u039f)\n    var tiktokToken = localStorage.getItem('lexairo_tiktok_token');\n    var btnTikTok = document.getElementById('btn-con-tiktok');\n    var badgeTikTok = document.getElementById('badge-tiktok');\n\n    if (tiktokToken && btnTikTok) {\n        btnTikTok.classList.remove('btn-connect');\n        btnTikTok.classList.add('btn-disconnect');\n        btnTikTok.innerText = '\u0391\u03c0\u03bf\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7';\n        if (badgeTikTok) badgeTikTok.style.display = 'inline';\n    }\n});\n\nasync function lexairoFetchGoogleAccounts() {\n    const token = localStorage.getItem('lexairo_google_token');\n    \n    \/\/ \u03a0\u0391\u039d\u0395\u039e\u03a5\u03a0\u039d\u0397 \u0391\u039d\u0391\u0396\u0397\u03a4\u0397\u03a3\u0397 \u03a4\u039f\u03a5 DROPDOWN \u03a3\u03a4\u039f HTML \u03a3\u039f\u03a5\n    let googleSelect = document.getElementById('ind-google-account') || document.getElementById('lex-google-account-select');\n    if (!googleSelect) {\n        const container = document.getElementById('lex-google-accounts-container');\n        if (container) googleSelect = container.querySelector('select');\n    }\n\n    if (!googleSelect) {\n        console.error(\"Lexairo Error: \u03a4\u03bf Dropdown \u03c4\u03b7\u03c2 Google \u03b4\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03bf HTML!\");\n        return; \/\/ \u0391\u03bd \u03b4\u03b5\u03bd \u03c4\u03bf \u03b2\u03c1\u03b5\u03b9, \u03c3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ac\u03b5\u03b9 (\u03b1\u03c5\u03c4\u03cc \u03c0\u03ac\u03b8\u03b1\u03bc\u03b5 \u03c0\u03c1\u03b9\u03bd!)\n    }\n\n    if (!token) {\n        googleSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 Google \u03c3\u03c4\u03b9\u03c2 \"\u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2\"<\/option>';\n        return;\n    }\n\n    try {\n        googleSelect.innerHTML = '<option value=\"\">\u23f3 \u0391\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7 \u03b1\u03c0\u03cc Google API...<\/option>';\n        \n        const res = await fetch('\/wp-json\/lexairo\/v1\/get-google-accounts', {\n            method: 'POST',\n            headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n            body: new URLSearchParams({ 'token': token })\n        });\n        \n        const json = await res.json();\n\n        if (json.success) {\n            if (json.accounts && json.accounts.length > 0) {\n                googleSelect.innerHTML = '<option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc Google Ads...<\/option>';\n                json.accounts.forEach(acc => {\n                    googleSelect.innerHTML += `<option value=\"${acc.id}\">${acc.name}<\/option>`;\n                });\n            } else {\n                googleSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 Ads \u03c3\u03c4\u03bf email \u03c3\u03b1\u03c2<\/option>';\n            }\n        } else {\n            googleSelect.innerHTML = '<option value=\"\">\u274c ' + (json.message || '\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 API') + '<\/option>';\n        }\n    } catch (e) {\n        googleSelect.innerHTML = '<option value=\"\">\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03bc\u03b5 server<\/option>';\n    }\n}\n\n\/* ==========================================================================\n   LOGIC: \u0395\u039e\u0395\u0399\u0394\u0399\u039a\u0395\u03a5\u03a3\u0397 \u039a\u039b\u0391\u0394\u039f\u03a5 (INDUSTRY) - FIXED LANGUAGE CHECK\n   \u03a4\u039c\u0397\u039c\u0391 1: \u039f\u03a1\u0399\u03a3\u039c\u039f\u03a3 \u039c\u0395\u03a4\u0391\u0392\u039b\u0397\u03a4\u03a9\u039d (Selectors)\n   ========================================================================== *\/\nfunction setupCustomUpload(isEn) {\n    var fileInput = document.getElementById('ind-img');\n    var uploadText = document.getElementById('upload-text');\n    var uploadBox = document.getElementById('custom-upload-box');\n    if(fileInput && uploadText && uploadBox) {\n        var newFileInput = fileInput.cloneNode(true);\n        fileInput.parentNode.replaceChild(newFileInput, fileInput);\n        newFileInput.addEventListener('change', function() {\n            if (this.files && this.files.length > 0) {\n                let file = this.files[0];\n                \n                \/\/ --- \u039f \u03a0\u039f\u03a1\u03a4\u0399\u0395\u03a1\u0397\u03a3: \u0395\u039b\u0395\u0393\u03a7\u039f\u03a3 3 \u039b\u0395\u03a0\u03a4\u03a9\u039d \u0393\u0399\u0391 \u0392\u0399\u039d\u03a4\u0395\u039f ---\n                if (file.type.includes('video')) {\n                    let video = document.createElement('video');\n                    video.preload = 'metadata';\n                    \n                    video.onloadedmetadata = function() {\n                        window.URL.revokeObjectURL(video.src); \/\/ \u039a\u03b1\u03b8\u03b1\u03c1\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7 \u03bc\u03bd\u03ae\u03bc\u03b7\n                        let duration = video.duration; \/\/ \u03a4\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1\n                        \n                        if (duration > 180) { \/\/ 180 sec = 3 \u03bb\u03b5\u03c0\u03c4\u03ac\n                            alert(isEn ? \"\u26a0\ufe0f Error: The video cannot exceed 3 minutes. Please select a shorter video.\" : \"\u26a0\ufe0f \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1: \u03a4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03b4\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03be\u03b5\u03c0\u03b5\u03c1\u03bd\u03ac \u03c4\u03b1 3 \u03bb\u03b5\u03c0\u03c4\u03ac. \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03bc\u03b9\u03ba\u03c1\u03cc\u03c4\u03b5\u03c1\u03bf.\");\n                            newFileInput.value = ''; \/\/ \u0391\u03b4\u03b5\u03b9\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf input \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bc\u03b7\u03bd \u03c0\u03b5\u03c1\u03ac\u03c3\u03b5\u03b9!\n                            \n                            \/\/ \u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03c4\u03bf\u03c5 UI \u03c3\u03c4\u03bf \u03b1\u03c1\u03c7\u03b9\u03ba\u03cc \u03c3\u03c4\u03ac\u03b4\u03b9\u03bf\n                            uploadBox.style.borderColor = 'rgba(139, 92, 246, 0.3)';\n                            uploadBox.style.background = 'transparent';\n                            uploadText.innerHTML = isEn ? `\ud83d\udcc1 Click here to upload Media (Image\/Video)` : `\ud83d\udcc1 \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03b1\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 (\u0395\u03b9\u03ba\u03cc\u03bd\u03b1\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf)`;\n                            return;\n                        } else {\n                            acceptFile(file); \/\/ \u03a4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf\u03ba, \u03c0\u03c1\u03bf\u03c7\u03c9\u03c1\u03ac\u03bc\u03b5\n                        }\n                    };\n                    video.src = URL.createObjectURL(file);\n                } else {\n                    acceptFile(file); \/\/ \u0391\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1, \u03c0\u03c1\u03bf\u03c7\u03c9\u03c1\u03ac\u03b5\u03b9 \u03ba\u03b1\u03c4\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03bd\n                }\n\n                \/\/ --- \u0392\u03bf\u03b7\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1\u03c2 ---\n                function acceptFile(f) {\n                    uploadBox.style.borderColor = '#10B981'; \n                    uploadBox.style.background = 'rgba(16, 185, 129, 0.05)';\n                    uploadText.innerHTML = isEn ? `\u2705 <strong>${f.name}<\/strong> selected` : `\u2705 \u0395\u03c0\u03b9\u03bb\u03ad\u03c7\u03b8\u03b7\u03ba\u03b5: <strong>${f.name}<\/strong>`;\n                }\n                \n            } else {\n                uploadBox.style.borderColor = 'rgba(139, 92, 246, 0.3)';\n                uploadBox.style.background = 'transparent';\n                uploadText.innerHTML = isEn ? `\ud83d\udcc1 Click here to upload Media (Image\/Video)` : `\ud83d\udcc1 \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03b1\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 (\u0395\u03b9\u03ba\u03cc\u03bd\u03b1\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf)`;\n            }\n        });\n    }\n}\n\nfunction renderIndustryForm() {\n    var indSel = document.getElementById('lex-industry-selector');\n    var indForm = document.getElementById('lex-industry-form');\n    var indBtn = document.getElementById('btn-run-industry');\n    if(!indSel || !indSel.value) return;\n    \n    var val = indSel.value;\n    var isEn = val.includes('-en') || val.includes('_en') || val.includes('-us'); \n    var isGR = !isEn;\n    indBtn.style.display = 'block';\n    indBtn.innerText = isEn ? '\ud83d\ude80 Generate Content' : '\ud83d\ude80 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5';\n\n    var resTitle = document.querySelector('#view-industry .lex-tool-label');\n    if(resTitle && resTitle.innerText.includes('\u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u0391')) resTitle.innerText = isEn ? \"RESULTS (3 VARIATIONS)\" : \"\u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u0391 (3 VARIATIONS)\";\n    var varLabels = document.querySelectorAll('#view-industry .lex-var-label');\n    if(varLabels.length >= 3) {\n        varLabels[0].innerText = isEn ? \"SHORT\" : \"\u03a3\u03a5\u039d\u03a4\u039f\u039c\u039f\";\n        varLabels[1].innerText = isEn ? \"MEDIUM\" : \"\u039c\u0395\u03a3\u0391\u0399\u039f\";\n        varLabels[2].innerText = isEn ? \"ANALYTICAL\" : \"\u0391\u039d\u0391\u039b\u03a5\u03a4\u0399\u039a\u039f\";\n    }\n    document.querySelectorAll('#view-industry .lex-btn-preview').forEach(btn => btn.innerText = isEn ? \"\ud83d\udc41\ufe0f Preview\" : \"\ud83d\udc41\ufe0f \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7\");\n    document.querySelectorAll('#view-industry .lex-btn-copy').forEach(btn => btn.innerText = isEn ? \"\ud83d\udccb Copy\" : \"\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae\");\n\n    var html = `<div class=\"lex-form\"><label>${isEn?\"Media (Required)\":\"Media (\u03a5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc)\"}<\/label>\n        <div id=\"custom-upload-box\" style=\"border: 2px dashed rgba(139, 92, 246, 0.3); border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; margin-bottom: 15px;\" onclick=\"document.getElementById('ind-img').click();\">\n            <span id=\"upload-text\" style=\"color: #8B5CF6; font-weight: 500;\">${isEn?\"\ud83d\udcc1 Click here to upload\":\"\ud83d\udcc1 \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03b1\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1\"}<\/span>\n            <input type=\"file\" id=\"ind-img\" accept=\"image\/*,video\/*\" style=\"display: none;\" \/>\n        <\/div>\n        <label>${isEn?\"Keywords & Notes\":\"\u039b\u03ad\u03be\u03b5\u03b9\u03c2 \u039a\u03bb\u03b5\u03b9\u03b4\u03b9\u03ac & \u03a3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2\"}<\/label>\n        <input type=\"text\" id=\"ind-kws\" placeholder=\"...\" style=\"border: 1px solid rgba(255,255,255,0.1); padding: 10px; border-radius: 8px; width: 100%; margin-bottom: 10px;\" \/>\n    `;\n    \n    \/* --- LOGIC: \u0395\u03a0\u0399\u039b\u039f\u0393\u0395\u03a3 \u0391\u039d\u0391 \u039a\u039b\u0391\u0394\u039f --- *\/\n    if(val.includes('car')) {\n        if(isGR) {\n            html += `\n            <label>\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1 \u039f\u03c7\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \/ \u03a3\u03ba\u03ac\u03c6\u03bf\u03c5\u03c2<\/label>\n            <select id=\"ind-type\">\n                <optgroup label=\"\u0391\u03c5\u03c4\u03bf\u03ba\u03af\u03bd\u03b7\u03c4\u03b1 &#038; \u039c\u03b7\u03c7\u03b1\u03bd\u03ad\u03c2\">\n                    <option value=\"city\">\u03a0\u03cc\u03bb\u03b7\u03c2 (City \/ Economy)<\/option>\n                    <option value=\"suv\">SUV \/ 4x4 \/ Off-Road<\/option>\n                    <option value=\"luxury\">\u03a0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03b5\u03af\u03b1\u03c2 (Premium \/ Limo)<\/option>\n                    <option value=\"sports\">Sports Car \/ Supercar<\/option>\n                    <option value=\"ev\">\u0397\u03bb\u03b5\u03ba\u03c4\u03c1\u03b9\u03ba\u03cc (EV)<\/option>\n                    <option value=\"van\">Van \/ Minibus (Groups)<\/option>\n                    <option value=\"moto\">Moto \/ Scooter \/ ATV<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u03a3\u03ba\u03ac\u03c6\u03b7 &#038; Camping\">\n                    <option value=\"yacht\">\u0398\u03b1\u03bb\u03b1\u03bc\u03b7\u03b3\u03cc\u03c2 \/ Yacht (Luxury)<\/option>\n                    <option value=\"rib\">\u03a6\u03bf\u03c5\u03c3\u03ba\u03c9\u03c4\u03cc \/ \u03a4\u03b1\u03c7\u03cd\u03c0\u03bb\u03bf\u03bf (Rib)<\/option>\n                    <option value=\"sailboat\">\u0399\u03c3\u03c4\u03b9\u03bf\u03c0\u03bb\u03bf\u03ca\u03ba\u03cc (Sailing)<\/option>\n                    <option value=\"camper\">\u03a4\u03c1\u03bf\u03c7\u03cc\u03c3\u03c0\u03b9\u03c4\u03bf \/ Campervan<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>\u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1 \/ \u03a3\u03ba\u03bf\u03c0\u03cc\u03c2<\/label>\n            <select id=\"ind-focus\">\n                <optgroup label=\"\u0393\u03b5\u03bd\u03b9\u03ba\u03ad\u03c2 \u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b5\u03c2\">\n                    <option value=\"rental\">\u0395\u03bd\u03bf\u03b9\u03ba\u03af\u03b1\u03c3\u03b7 (Rent \/ Charter)<\/option>\n                    <option value=\"sales\">\u03a0\u03ce\u03bb\u03b7\u03c3\u03b7 \/ \u0395\u03bc\u03c0\u03bf\u03c1\u03af\u03b1 (Sales)<\/option>\n                    <option value=\"leasing\">Leasing \/ \u039c\u03b1\u03ba\u03c1\u03bf\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u0395\u03bc\u03c0\u03b5\u03b9\u03c1\u03af\u03b1 &#038; \u039c\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac\">\n                    <option value=\"transfer\">VIP Transfer \/ \u03a3\u03c9\u03c6\u03ad\u03c1 \/ Skipper<\/option>\n                    <option value=\"roadtrip\">Roadtrip \/ Vanlife (\u0393\u03b9\u03b1 Campers)<\/option>\n                    <option value=\"cruise\">\u039a\u03c1\u03bf\u03c5\u03b1\u03b6\u03b9\u03ad\u03c1\u03b1 \/ Island Hopping (\u0393\u03b9\u03b1 \u03a3\u03ba\u03ac\u03c6\u03b7)<\/option>\n                    <option value=\"wedding\">\u0393\u03ac\u03bc\u03bf\u03c2 \/ Event \/ Bachelor<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u03a4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ac\">\n                    <option value=\"service\">Service \/ Detailing \/ Parking<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2 & Vibe<\/label>\n            <select id=\"ind-vibe\">\n                <optgroup label=\"Lifestyle\">\n                    <option value=\"luxury\">\u0391\u03c0\u03cc\u03bb\u03c5\u03c4\u03b7 \u03a0\u03bf\u03bb\u03c5\u03c4\u03ad\u03bb\u03b5\u03b9\u03b1 (VIP)<\/option>\n                    <option value=\"business\">\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc & Corporate<\/option>\n                    <option value=\"freedom\">\u0395\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03af\u03b1 & \u0391\u03c0\u03cc\u03b4\u03c1\u03b1\u03c3\u03b7<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u0394\u03c1\u03ac\u03c3\u03b7 &#038; \u03a6\u03cd\u03c3\u03b7\">\n                    <option value=\"adventure\">\u03a0\u03b5\u03c1\u03b9\u03c0\u03ad\u03c4\u03b5\u03b9\u03b1 & \u0395\u03be\u03b5\u03c1\u03b5\u03cd\u03bd\u03b7\u03c3\u03b7<\/option>\n                    <option value=\"summer\">\u039a\u03b1\u03bb\u03bf\u03ba\u03b1\u03af\u03c1\u03b9 & \u0398\u03ac\u03bb\u03b1\u03c3\u03c3\u03b1 (Greek Summer)<\/option>\n                    <option value=\"speed\">\u0391\u03b4\u03c1\u03b5\u03bd\u03b1\u03bb\u03af\u03bd\u03b7 & \u03a4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1<\/option>\n                    <option value=\"family\">\u039f\u03b9\u03ba\u03bf\u03b3\u03b5\u03bd\u03b5\u03b9\u03b1\u03ba\u03cc & \u0391\u03c3\u03c6\u03b1\u03bb\u03ad\u03c2<\/option>\n                <\/optgroup>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Vehicle \/ Vessel Category<\/label>\n            <select id=\"ind-type\">\n                <optgroup label=\"Cars &#038; Bikes\">\n                    <option value=\"city\">City \/ Economy<\/option>\n                    <option value=\"suv\">SUV \/ 4x4 \/ Off-Road<\/option>\n                    <option value=\"luxury\">Luxury \/ Premium<\/option>\n                    <option value=\"sports\">Sports Car \/ Supercar<\/option>\n                    <option value=\"ev\">Electric (EV)<\/option>\n                    <option value=\"van\">Van \/ Minibus<\/option>\n                    <option value=\"moto\">Moto \/ Scooter \/ ATV<\/option>\n                <\/optgroup>\n                <optgroup label=\"Boats &#038; Camping\">\n                    <option value=\"yacht\">Yacht \/ Motor Boat (Luxury)<\/option>\n                    <option value=\"rib\">Speedboat \/ Rib<\/option>\n                    <option value=\"sailboat\">Sailboat<\/option>\n                    <option value=\"camper\">Campervan \/ RV<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>Service \/ Purpose<\/label>\n            <select id=\"ind-focus\">\n                <optgroup label=\"General Services\">\n                    <option value=\"rental\">Rental \/ Charter<\/option>\n                    <option value=\"sales\">Sales \/ Dealership<\/option>\n                    <option value=\"leasing\">Leasing<\/option>\n                <\/optgroup>\n                <optgroup label=\"Experience &#038; Transport\">\n                    <option value=\"transfer\">VIP Transfer \/ Chauffeur \/ Skipper<\/option>\n                    <option value=\"roadtrip\">Roadtrip \/ Vanlife (Campers)<\/option>\n                    <option value=\"cruise\">Cruise \/ Island Hopping (Boats)<\/option>\n                    <option value=\"wedding\">Wedding \/ Event<\/option>\n                <\/optgroup>\n                <optgroup label=\"Technical\">\n                    <option value=\"service\">Service \/ Detailing \/ Maintenance<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>Vibe & Style<\/label>\n            <select id=\"ind-vibe\">\n                <optgroup label=\"Lifestyle\">\n                    <option value=\"luxury\">High-End Luxury (VIP)<\/option>\n                    <option value=\"business\">Business & Corporate<\/option>\n                    <option value=\"freedom\">Freedom & Escape<\/option>\n                <\/optgroup>\n                <optgroup label=\"Action &#038; Nature\">\n                    <option value=\"adventure\">Adventure & Exploration<\/option>\n                    <option value=\"summer\">Summer & Sea Vibes<\/option>\n                    <option value=\"speed\">Speed & Adrenaline<\/option>\n                    <option value=\"family\">Family & Safety<\/option>\n                <\/optgroup>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('gym')) {\n        if(isGR) {\n            html += `\n            <label>\u0395\u03af\u03b4\u03bf\u03c2 \u0386\u03c3\u03ba\u03b7\u03c3\u03b7\u03c2 \/ \u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1<\/label>\n            <select id=\"ind-type\">\n                <option value=\"gym\">\u03a0\u03c1\u03bf\u03c0\u03cc\u03bd\u03b7\u03c3\u03b7 \u03bc\u03b5 \u0392\u03ac\u03c1\u03b7 & \u038c\u03c1\u03b3\u03b1\u03bd\u03b1<\/option>\n                <option value=\"pt\">\u03a0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03c0\u03cc\u03bd\u03b7\u03c3\u03b7 (Personal Training)<\/option>\n                <option value=\"group_class\">\u039f\u03bc\u03b1\u03b4\u03b9\u03ba\u03ac \u03a0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03b1 (Group Fitness \/ HIIT)<\/option>\n                <option value=\"crossfit\">CrossFit & \u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03c0\u03cc\u03bd\u03b7\u03c3\u03b7<\/option>\n                <option value=\"yoga\">\u0393\u03b9\u03cc\u03b3\u03ba\u03b1 & \u039a\u03b9\u03bd\u03b7\u03c4\u03b9\u03ba\u03cc\u03c4\u03b7\u03c4\u03b1 (Mobility)<\/option>\n                <option value=\"pilates\">\u03a0\u03b9\u03bb\u03ac\u03c4\u03b5\u03c2 (Reformer & Mat)<\/option>\n                <option value=\"martial\">\u03a0\u03bf\u03bb\u03b5\u03bc\u03b9\u03ba\u03ad\u03c2 \u03a4\u03ad\u03c7\u03bd\u03b5\u03c2 & Boxing<\/option>\n                <option value=\"calisthenics\">\u039a\u03b1\u03bb\u03bb\u03b9\u03c3\u03b8\u03b5\u03bd\u03b9\u03ba\u03ae \u0393\u03c5\u03bc\u03bd\u03b1\u03c3\u03c4\u03b9\u03ba\u03ae<\/option>\n                <option value=\"recovery\">\u0391\u03c0\u03bf\u03b8\u03b5\u03c1\u03b1\u03c0\u03b5\u03af\u03b1 & \u0391\u03c0\u03bf\u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 (Recovery)<\/option>\n                <option value=\"nutrition\">\u0394\u03b9\u03b1\u03c4\u03c1\u03bf\u03c6\u03b9\u03ba\u03ae \u039a\u03b1\u03b8\u03bf\u03b4\u03ae\u03b3\u03b7\u03c3\u03b7 (Nutrition)<\/option>\n                <option value=\"online_coaching\">\u0395\u03be \u0391\u03c0\u03bf\u03c3\u03c4\u03ac\u03c3\u03b5\u03c9\u03c2 \u039a\u03b1\u03b8\u03bf\u03b4\u03ae\u03b3\u03b7\u03c3\u03b7 (Online Coaching)<\/option>\n            <\/select>\n            <label>\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 Post<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"muscle\">\u039c\u03c5\u03ca\u03ba\u03ae \u0391\u03bd\u03ac\u03c0\u03c4\u03c5\u03be\u03b7 & \u03a5\u03c0\u03b5\u03c1\u03c4\u03c1\u03bf\u03c6\u03af\u03b1<\/option>\n                <option value=\"weight_loss\">\u0391\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1 \u039b\u03af\u03c0\u03bf\u03c5\u03c2 & \u0391\u03b4\u03c5\u03bd\u03ac\u03c4\u03b9\u03c3\u03bc\u03b1<\/option>\n                <option value=\"performance\">\u0392\u03b5\u03bb\u03c4\u03af\u03c9\u03c3\u03b7 \u0391\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2 & \u0394\u03cd\u03bd\u03b1\u03bc\u03b7\u03c2<\/option>\n                <option value=\"health_longevity\">\u039c\u03b1\u03ba\u03c1\u03bf\u03b6\u03c9\u03af\u03b1 & \u0393\u03b5\u03bd\u03b9\u03ba\u03ae \u03a5\u03b3\u03b5\u03af\u03b1 (Longevity)<\/option>\n                <option value=\"flexibility\">\u0395\u03c5\u03bb\u03c5\u03b3\u03b9\u03c3\u03af\u03b1 & \u039a\u03b9\u03bd\u03b7\u03c4\u03b9\u03ba\u03cc\u03c4\u03b7\u03c4\u03b1 (Flexibility)<\/option>\n                <option value=\"core\">\u0395\u03bd\u03b4\u03c5\u03bd\u03ac\u03bc\u03c9\u03c3\u03b7 \u03a0\u03c5\u03c1\u03ae\u03bd\u03b1 & \u039f\u03c1\u03b8\u03bf\u03c3\u03c9\u03bc\u03af\u03b1 (Core\/Posture)<\/option>\n                <option value=\"injury_prevention\">\u03a0\u03c1\u03cc\u03bb\u03b7\u03c8\u03b7 \u03a4\u03c1\u03b1\u03c5\u03bc\u03b1\u03c4\u03b9\u03c3\u03bc\u03ce\u03bd & \u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1<\/option>\n                <option value=\"stress_relief\">\u0391\u03c0\u03bf\u03c3\u03c5\u03bc\u03c0\u03af\u03b5\u03c3\u03b7 & \u03a8\u03c5\u03c7\u03b9\u03ba\u03ae \u0397\u03c1\u03b5\u03bc\u03af\u03b1 (Anti-Stress)<\/option>\n                <option value=\"defense\">\u0391\u03c5\u03c4\u03bf\u03ac\u03bc\u03c5\u03bd\u03b1 & \u039c\u03b1\u03c7\u03b7\u03c4\u03b9\u03ba\u03cc\u03c4\u03b7\u03c4\u03b1 (Self Defense)<\/option>\n                <option value=\"technique\">\u03a4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ae & \u0395\u03ba\u03c0\u03b1\u03af\u03b4\u03b5\u03c5\u03c3\u03b7<\/option>\n                <option value=\"transformation\">\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 & \u039c\u03b5\u03c4\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7<\/option>\n                <option value=\"mindset\">\u03a8\u03c5\u03c7\u03bf\u03bb\u03bf\u03b3\u03af\u03b1 & \u039a\u03af\u03bd\u03b7\u03c4\u03c1\u03bf<\/option>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2 & Vibe<\/label>\n            <select id=\"ind-style\">\n                <option value=\"motivational\">\u0395\u03bc\u03c8\u03c5\u03c7\u03c9\u03c4\u03b9\u03ba\u03cc & \u03a0\u03b1\u03c1\u03b1\u03ba\u03b9\u03bd\u03b9\u03c4\u03b9\u03ba\u03cc<\/option>\n                <option value=\"hardcore\">\u0394\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03cc & \u0388\u03bd\u03c4\u03bf\u03bd\u03bf (Hardcore)<\/option>\n                <option value=\"educational\">\u0395\u03c0\u03b9\u03c3\u03c4\u03b7\u03bc\u03bf\u03bd\u03b9\u03ba\u03cc & \u0395\u03bd\u03b7\u03bc\u03b5\u03c1\u03c9\u03c4\u03b9\u03ba\u03cc<\/option>\n                <option value=\"fun\">\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03b4\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc & \u0395\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03bf<\/option>\n                <option value=\"relatable\">\u039a\u03b1\u03b8\u03b7\u03bc\u03b5\u03c1\u03b9\u03bd\u03cc & \u03a7\u03b9\u03bf\u03c5\u03bc\u03bf\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc (Gym Humor)<\/option>\n                <option value=\"aesthetic\">Lifestyle & \u0391\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae (Aesthetic)<\/option>\n                <option value=\"zen\">\u03a7\u03b1\u03bb\u03b1\u03c1\u03c9\u03c4\u03b9\u03ba\u03cc & \u0389\u03c1\u03b5\u03bc\u03bf (Zen)<\/option>\n                <option value=\"spiritual\">\u03a0\u03bd\u03b5\u03c5\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc & \u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03cc (Spiritual)<\/option>\n                <option value=\"flow\">\u0391\u03c1\u03bc\u03bf\u03bd\u03af\u03b1 & \u03a1\u03bf\u03ae (Flow)<\/option>\n                <option value=\"discipline\">\u0391\u03c5\u03c3\u03c4\u03b7\u03c1\u03cc & \u03a0\u03b5\u03b9\u03b8\u03b1\u03c1\u03c7\u03b7\u03bc\u03ad\u03bd\u03bf (Discipline)<\/option>\n                <option value=\"community\">\u039f\u03bc\u03b1\u03b4\u03b9\u03ba\u03cc \u03a0\u03bd\u03b5\u03cd\u03bc\u03b1 & \u039a\u03bf\u03b9\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1<\/option>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Fitness Type \/ Service<\/label>\n            <select id=\"ind-type\">\n                <option value=\"gym\">Bodybuilding & Gym Floor<\/option>\n                <option value=\"pt\">Personal Training (1-on-1)<\/option>\n                <option value=\"group_class\">Group Fitness Classes (HIIT, Aerobics)<\/option>\n                <option value=\"crossfit\">CrossFit & Functional Training<\/option>\n                <option value=\"yoga\">Yoga & Mobility<\/option>\n                <option value=\"pilates\">Pilates (Reformer\/Mat)<\/option>\n                <option value=\"martial\">Martial Arts & Boxing<\/option>\n                <option value=\"calisthenics\">Calisthenics (Bodyweight)<\/option>\n                <option value=\"recovery\">Recovery & Injury Rehab<\/option>\n                <option value=\"nutrition\">Nutrition Coaching & Meal Prep<\/option>\n                <option value=\"online_coaching\">Online Coaching<\/option>\n            <\/select>\n            <label>Post Goal<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"muscle\">Muscle Growth (Hypertrophy)<\/option>\n                <option value=\"weight_loss\">Fat Loss & Leaning Out<\/option>\n                <option value=\"performance\">Strength & Performance<\/option>\n                <option value=\"health_longevity\">Longevity & Overall Health<\/option>\n                <option value=\"flexibility\">Flexibility & Mobility<\/option>\n                <option value=\"core\">Core Strength & Posture<\/option>\n                <option value=\"injury_prevention\">Injury Prevention & Safety<\/option>\n                <option value=\"stress_relief\">Stress Relief & Mental Peace<\/option>\n                <option value=\"defense\">Self Defense & Combat Skills<\/option>\n                <option value=\"technique\">Technique & Tips (How-to)<\/option>\n                <option value=\"transformation\">Transformation (Before & After)<\/option>\n                <option value=\"mindset\">Mindset & Motivation<\/option>\n            <\/select>\n            <label>Vibe & Style<\/label>\n            <select id=\"ind-style\">\n                <option value=\"motivational\">Inspirational & Motivational<\/option>\n                <option value=\"hardcore\">Hardcore & Intense (No Excuses)<\/option>\n                <option value=\"educational\">Educational & Science-based<\/option>\n                <option value=\"fun\">Fun & High Energy<\/option>\n                <option value=\"relatable\">Relatable & Gym Humor<\/option>\n                <option value=\"aesthetic\">Fitness Aesthetic & Lifestyle<\/option>\n                <option value=\"zen\">Zen & Mindful<\/option>\n                <option value=\"spiritual\">Spiritual & Deep<\/option>\n                <option value=\"flow\">Flow & Harmony<\/option>\n                <option value=\"discipline\">Disciplined & Traditional<\/option>\n                <option value=\"community\">Community & Tribe<\/option>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('realestate')) {\n        if(isGR) {\n            html += `\n            <label>\u03a4\u03cd\u03c0\u03bf\u03c2 \u0391\u03ba\u03b9\u03bd\u03ae\u03c4\u03bf\u03c5 \/ \u039a\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2<\/label>\n            <select id=\"ind-type\">\n                <optgroup label=\"\u039a\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b5\u03c2 &#038; \u0391\u03ba\u03af\u03bd\u03b7\u03c4\u03b1\">\n                    <option value=\"apartment\">\u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1 \/ Studio<\/option>\n                    <option value=\"villa\">\u03a0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03ae\u03c2 \u0392\u03af\u03bb\u03b1 & \u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1<\/option>\n                    <option value=\"maisonette\">\u039c\u03b5\u03b6\u03bf\u03bd\u03ad\u03c4\u03b1 & Loft<\/option>\n                    <option value=\"vacation_home\">\u0395\u03be\u03bf\u03c7\u03b9\u03ba\u03ae \u039a\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \/ \u0398\u03b5\u03c1\u03b9\u03bd\u03ae \u039a\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1<\/option>\n                    <option value=\"land\">\u039f\u03b9\u03ba\u03cc\u03c0\u03b5\u03b4\u03bf & \u0391\u03b3\u03c1\u03bf\u03c4\u03b5\u03bc\u03ac\u03c7\u03b9\u03bf<\/option>\n                    <option value=\"commercial\">\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc\u03c2 \u03a7\u03ce\u03c1\u03bf\u03c2 & \u0393\u03c1\u03b1\u03c6\u03b5\u03af\u03bf<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 &#038; \u03a6\u03b9\u03bb\u03bf\u03be\u03b5\u03bd\u03af\u03b1\">\n                    <option value=\"airbnb\">Airbnb \/ \u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u039c\u03af\u03c3\u03b8\u03c9\u03c3\u03b7<\/option>\n                    <option value=\"hotel\">\u039e\u03b5\u03bd\u03bf\u03b4\u03bf\u03c7\u03b5\u03af\u03bf \/ Boutique Hotel<\/option>\n                    <option value=\"resort\">Resort \/ \u03a3\u03c5\u03b3\u03ba\u03c1\u03cc\u03c4\u03b7\u03bc\u03b1 \u039a\u03b1\u03c4\u03bf\u03b9\u03ba\u03b9\u03ce\u03bd<\/option>\n                    <option value=\"room\">\u0395\u03bd\u03bf\u03b9\u03ba\u03b9\u03b1\u03b6\u03cc\u03bc\u03b5\u03bd\u03bf \u0394\u03c9\u03bc\u03ac\u03c4\u03b9\u03bf \/ Suite<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 \u0391\u03b3\u03b3\u03b5\u03bb\u03af\u03b1\u03c2 \/ Post<\/label>\n            <select id=\"ind-focus\">\n                <optgroup label=\"Real Estate (\u0391\u03b3\u03bf\u03c1\u03b1\u03c0\u03c9\u03bb\u03b7\u03c3\u03af\u03b5\u03c2)\">\n                    <option value=\"sale\">\u03a0\u03c1\u03bf\u03c2 \u03a0\u03ce\u03bb\u03b7\u03c3\u03b7 (For Sale)<\/option>\n                    <option value=\"rent\">\u03a0\u03c1\u03bf\u03c2 \u0395\u03bd\u03bf\u03b9\u03ba\u03af\u03b1\u03c3\u03b7 (\u039c\u03b1\u03ba\u03c1\u03bf\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1)<\/option>\n                    <option value=\"investment\">\u0395\u03c0\u03b5\u03bd\u03b4\u03c5\u03c4\u03b9\u03ba\u03ae \u0395\u03c5\u03ba\u03b1\u03b9\u03c1\u03af\u03b1 (Golden Visa)<\/option>\n                    <option value=\"new_dev\">\u039d\u03b5\u03cc\u03b4\u03bc\u03b7\u03c4\u03bf \/ \u03a3\u03c4\u03b1 \u03a3\u03c7\u03ad\u03b4\u03b9\u03b1<\/option>\n                    <option value=\"open_house\">Open House \/ \u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7<\/option>\n                    <option value=\"sold\">\u03a0\u03c9\u03bb\u03ae\u03b8\u03b7\u03ba\u03b5 (Success Story)<\/option>\n                    <option value=\"agent_profile\">\u03a0\u03c1\u03bf\u03c6\u03af\u03bb \u039c\u03b5\u03c3\u03af\u03c4\u03b7 (Personal Branding)<\/option>\n                <\/optgroup>\n                <optgroup label=\"Hospitality (\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2)\">\n                    <option value=\"booking\">\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \/ \u0394\u03b9\u03b1\u03b8\u03b5\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1 (Booking)<\/option>\n                    <option value=\"stay\">\u0395\u03bc\u03c0\u03b5\u03b9\u03c1\u03af\u03b1 \u0394\u03b9\u03b1\u03bc\u03bf\u03bd\u03ae\u03c2 (Staycation)<\/option>\n                    <option value=\"amenities\">\u03a0\u03b1\u03c1\u03bf\u03c7\u03ad\u03c2 & \u03a0\u03b9\u03c3\u03af\u03bd\u03b1 (Amenities)<\/option>\n                    <option value=\"location\">\u03a4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 & \u0391\u03be\u03b9\u03bf\u03b8\u03ad\u03b1\u03c4\u03b1<\/option>\n                    <option value=\"offer\">\u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac \/ Last Minute<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>\u03a7\u03b1\u03c1\u03b1\u03ba\u03c4\u03b7\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac & Vibe<\/label>\n            <select id=\"ind-style\">\n                <optgroup label=\"\u0391\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ae &#038; Design\">\n                    <option value=\"luxury\">\u03a0\u03bf\u03bb\u03c5\u03c4\u03ad\u03bb\u03b5\u03b9\u03b1 & \u03a5\u03c8\u03b7\u03bb\u03ae \u0391\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae (Premium)<\/option>\n                    <option value=\"modern\">\u039c\u03bf\u03bd\u03c4\u03ad\u03c1\u03bd\u03bf & \u039c\u03af\u03bd\u03b9\u03bc\u03b1\u03bb Design<\/option>\n                    <option value=\"traditional\">\u03a0\u03b1\u03c1\u03b1\u03b4\u03bf\u03c3\u03b9\u03b1\u03ba\u03cc & \u03a0\u03ad\u03c4\u03c1\u03b9\u03bd\u03bf (Traditional)<\/option>\n                    <option value=\"smart\">\u0388\u03be\u03c5\u03c0\u03bd\u03bf \u03a3\u03c0\u03af\u03c4\u03b9 & \u039f\u03b9\u03ba\u03bf\u03bb\u03bf\u03b3\u03b9\u03ba\u03cc (Smart\/Eco)<\/option>\n                    <option value=\"renovated\">\u03a0\u03bb\u03ae\u03c1\u03c9\u03c2 \u0391\u03bd\u03b1\u03ba\u03b1\u03b9\u03bd\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf<\/option>\n                <\/optgroup>\n                <optgroup label=\"\u0395\u03bc\u03c0\u03b5\u03b9\u03c1\u03af\u03b1 &#038; \u03a4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1\">\n                    <option value=\"view\">\u039c\u03b5 \u0391\u03c0\u03b5\u03c1\u03b9\u03cc\u03c1\u03b9\u03c3\u03c4\u03b7 \u0398\u03ad\u03b1 (\u0398\u03ac\u03bb\u03b1\u03c3\u03c3\u03b1\/\u0392\u03bf\u03c5\u03bd\u03cc)<\/option>\n                    <option value=\"beachfront\">\u03a0\u03b1\u03c1\u03b1\u03b8\u03b1\u03bb\u03ac\u03c3\u03c3\u03b9\u03bf (\u03a0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf \u03ba\u03cd\u03bc\u03b1)<\/option>\n                    <option value=\"urban\">\u039a\u03ad\u03bd\u03c4\u03c1\u03bf \u03a0\u03cc\u03bb\u03b7\u03c2 & \u0391\u03c3\u03c4\u03b9\u03ba\u03cc\u03c2 \u03a0\u03b1\u03bb\u03bc\u03cc\u03c2 (Urban)<\/option>\n                    <option value=\"romantic\">\u03a1\u03bf\u03bc\u03b1\u03bd\u03c4\u03b9\u03ba\u03cc & \u0391\u03c4\u03bc\u03bf\u03c3\u03c6\u03b1\u03b9\u03c1\u03b9\u03ba\u03cc<\/option>\n                    <option value=\"family\">\u039f\u03b9\u03ba\u03bf\u03b3\u03b5\u03bd\u03b5\u03b9\u03b1\u03ba\u03cc & \u03a6\u03b9\u03bb\u03b9\u03ba\u03cc \u03b3\u03b9\u03b1 \u03a0\u03b1\u03b9\u03b4\u03b9\u03ac<\/option>\n                    <option value=\"business\">\u039a\u03b1\u03c4\u03ac\u03bb\u03bb\u03b7\u03bb\u03bf \u03b3\u03b9\u03b1 \u0395\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 & Business<\/option>\n                    <option value=\"cozy\">\u0396\u03b5\u03c3\u03c4\u03cc & \u039f\u03b9\u03ba\u03b5\u03af\u03bf (Cozy)<\/option>\n                    <option value=\"wellness\">\u0395\u03c5\u03b5\u03be\u03af\u03b1 & \u03a7\u03b1\u03bb\u03ac\u03c1\u03c9\u03c3\u03b7 (Spa)<\/option>\n                <\/optgroup>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Property \/ Accommodation Type<\/label>\n            <select id=\"ind-type\">\n                <optgroup label=\"Residential &#038; Commercial\">\n                    <option value=\"apartment\">Apartment \/ Studio<\/option>\n                    <option value=\"villa\">Luxury Villa \/ Detached House<\/option>\n                    <option value=\"maisonette\">Maisonette \/ Loft<\/option>\n                    <option value=\"vacation_home\">Vacation Home \/ Summer House<\/option>\n                    <option value=\"land\">Land \/ Plot<\/option>\n                    <option value=\"commercial\">Commercial \/ Office<\/option>\n                <\/optgroup>\n                <optgroup label=\"Hospitality &#038; Tourism\">\n                    <option value=\"airbnb\">Airbnb \/ Short-term Rental<\/option>\n                    <option value=\"hotel\">Hotel \/ Boutique Hotel<\/option>\n                    <option value=\"resort\">Resort \/ Complex<\/option>\n                    <option value=\"room\">Guest Room \/ Suite<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>Listing Goal \/ Focus<\/label>\n            <select id=\"ind-focus\">\n                <optgroup label=\"Real Estate (Sales\/Rent)\">\n                    <option value=\"sale\">For Sale<\/option>\n                    <option value=\"rent\">For Rent (Long-term)<\/option>\n                    <option value=\"investment\">Investment Opportunity<\/option>\n                    <option value=\"new_dev\">New Development \/ Off-plan<\/option>\n                    <option value=\"open_house\">Open House \/ Viewing<\/option>\n                    <option value=\"sold\">Just Sold (Success Story)<\/option>\n                    <option value=\"agent_profile\">Agent Profile (Personal Branding)<\/option>\n                <\/optgroup>\n                <optgroup label=\"Hospitality (Booking)\">\n                    <option value=\"booking\">Book Now \/ Availability<\/option>\n                    <option value=\"stay\">Stay Experience \/ Staycation<\/option>\n                    <option value=\"amenities\">Amenities & Pool<\/option>\n                    <option value=\"location\">Location & Local Guide<\/option>\n                    <option value=\"offer\">Special Offer \/ Last Minute<\/option>\n                <\/optgroup>\n            <\/select>\n            <label>Style & Vibe<\/label>\n            <select id=\"ind-style\">\n                <optgroup label=\"Architecture &#038; Design\">\n                    <option value=\"luxury\">High-End Luxury (Premium)<\/option>\n                    <option value=\"modern\">Modern & Minimal Design<\/option>\n                    <option value=\"traditional\">Traditional & Stone-built<\/option>\n                    <option value=\"smart\">Smart Home & Eco-friendly<\/option>\n                    <option value=\"renovated\">Fully Renovated<\/option>\n                <\/optgroup>\n                <optgroup label=\"Experience &#038; Location\">\n                    <option value=\"view\">Scenic View (Sea\/Mountain)<\/option>\n                    <option value=\"beachfront\">Beachfront (Direct Access)<\/option>\n                    <option value=\"urban\">City Center & Urban Vibe<\/option>\n                    <option value=\"romantic\">Romantic & Atmospheric<\/option>\n                    <option value=\"family\">Family Friendly & Kids<\/option>\n                    <option value=\"business\">Work-Friendly & Business<\/option>\n                    <option value=\"cozy\">Cozy & Homely<\/option>\n                    <option value=\"wellness\">Spa & Wellness<\/option>\n                <\/optgroup>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('beauty')) {\n        if(isGR) {\n            html += `\n            <label>\u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1 \/ \u0395\u03b9\u03b4\u03b9\u03ba\u03cc\u03c4\u03b7\u03c4\u03b1<\/label>\n            <select id=\"ind-type\">\n                <option value=\"hair\">\u039a\u03bf\u03bc\u03bc\u03c9\u03c4\u03b9\u03ba\u03ae & \u03a4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ad\u03c2 \u03a7\u03c1\u03ce\u03bc\u03b1\u03c4\u03bf\u03c2<\/option>\n                <option value=\"nails\">\u039f\u03bd\u03c5\u03c7\u03bf\u03c0\u03bb\u03b1\u03c3\u03c4\u03b9\u03ba\u03ae & \u039c\u03b1\u03bd\u03b9\u03ba\u03b9\u03bf\u03cd\u03c1 (Nail Art)<\/option>\n                <option value=\"makeup\">\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc \u039c\u03b1\u03ba\u03b9\u03b3\u03b9\u03ac\u03b6 (Bridal & Events)<\/option>\n                <option value=\"aesthetics\">\u0391\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03c3\u03ce\u03c0\u03bf\u03c5 & \u03a3\u03ce\u03bc\u03b1\u03c4\u03bf\u03c2<\/option>\n                <option value=\"brows_lashes\">\u0392\u03bb\u03b5\u03c6\u03b1\u03c1\u03af\u03b4\u03b5\u03c2 & \u03a6\u03c1\u03cd\u03b4\u03b9\u03b1 (Lifting\/Lamination)<\/option>\n                <option value=\"pmu\">\u039c\u03cc\u03bd\u03b9\u03bc\u03bf \u039c\u03b1\u03ba\u03b9\u03b3\u03b9\u03ac\u03b6 (PMU & Microblading)<\/option>\n                <option value=\"laser\">\u0391\u03c0\u03bf\u03c4\u03c1\u03af\u03c7\u03c9\u03c3\u03b7 Laser<\/option>\n                <option value=\"spa\">Spa, \u039c\u03b1\u03c3\u03ac\u03b6 & \u0395\u03c5\u03b5\u03be\u03af\u03b1<\/option>\n                <option value=\"barber\">Barbering & \u0391\u03bd\u03b4\u03c1\u03b9\u03ba\u03ae \u03a0\u03b5\u03c1\u03b9\u03c0\u03bf\u03af\u03b7\u03c3\u03b7<\/option>\n            <\/select>\n            <label>\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 Post \/ \u0398\u03ad\u03bc\u03b1<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"transformation\">\u03a0\u03c1\u03b9\u03bd & \u039c\u03b5\u03c4\u03ac (\u0397 \u039c\u03b5\u03c4\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7)<\/option>\n                <option value=\"showcase\">\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7 \u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 (\u039b\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b1)<\/option>\n                <option value=\"process\">\u0397 \u0394\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u0395\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae\u03c2<\/option>\n                <option value=\"education\">\u03a3\u03c5\u03bc\u03b2\u03bf\u03c5\u03bb\u03ad\u03c2 \u039f\u03bc\u03bf\u03c1\u03c6\u03b9\u03ac\u03c2 & Tips<\/option>\n                <option value=\"product\">\u03a0\u03c1\u03bf\u03ce\u03b8\u03b7\u03c3\u03b7 \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03c9\u03bd \u039c\u03b5\u03c4\u03b1\u03c0\u03ce\u03bb\u03b7\u03c3\u03b7\u03c2<\/option>\n                <option value=\"offer\">\u0395\u03b9\u03b4\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac \/ \u03a0\u03b1\u03ba\u03ad\u03c4\u03bf<\/option>\n                <option value=\"giveaway\">\u0394\u03b9\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \/ Giveaway<\/option>\n                <option value=\"team\">\u0393\u03bd\u03c9\u03c1\u03af\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u039f\u03bc\u03ac\u03b4\u03b1 (Meet the Team)<\/option>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2 & \u0391\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae<\/label>\n            <select id=\"ind-style\">\n                <option value=\"glam\">\u039b\u03ac\u03bc\u03c8\u03b7 & \u03a0\u03bf\u03bb\u03c5\u03c4\u03ad\u03bb\u03b5\u03b9\u03b1 (Glamour)<\/option>\n                <option value=\"clean\">\u03a6\u03c5\u03c3\u03b9\u03ba\u03cc & \u039c\u03af\u03bd\u03b9\u03bc\u03b1\u03bb \u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1<\/option>\n                <option value=\"clinical\">\u0395\u03c0\u03b9\u03c3\u03c4\u03b7\u03bc\u03bf\u03bd\u03b9\u03ba\u03cc \u039a\u03cd\u03c1\u03bf\u03c2 (Clinical)<\/option>\n                <option value=\"edgy\">\u039c\u03bf\u03bd\u03c4\u03ad\u03c1\u03bd\u03bf & \u0395\u03ba\u03ba\u03b5\u03bd\u03c4\u03c1\u03b9\u03ba\u03cc (Edgy)<\/option>\n                <option value=\"relaxing\">\u03a7\u03b1\u03bb\u03ac\u03c1\u03c9\u03c3\u03b7 & \u0397\u03c1\u03b5\u03bc\u03af\u03b1 (Zen)<\/option>\n                <option value=\"festive\">\u0395\u03c0\u03bf\u03c7\u03b9\u03b1\u03ba\u03cc \/ \u0393\u03b9\u03bf\u03c1\u03c4\u03b9\u03bd\u03cc (Festive)<\/option>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Service \/ Niche<\/label>\n            <select id=\"ind-type\">\n                <option value=\"hair\">Hair Salon (Color & Cut)<\/option>\n                <option value=\"nails\">Nail Bar (Nail Art & Care)<\/option>\n                <option value=\"makeup\">Makeup Artist (Bridal & Event)<\/option>\n                <option value=\"aesthetics\">Medical Aesthetics (Injectables\/Skin)<\/option>\n                <option value=\"brows_lashes\">Brows & Lashes (Lamination\/Lift)<\/option>\n                <option value=\"pmu\">Permanent Makeup (PMU & Microblading)<\/option>\n                <option value=\"laser\">Laser Hair Removal<\/option>\n                <option value=\"spa\">Spa & Massage (Wellness)<\/option>\n                <option value=\"barber\">Barber Shop<\/option>\n            <\/select>\n            <label>Post Focus \/ Goal<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"transformation\">Transformation (Before & After)<\/option>\n                <option value=\"showcase\">Result Showcase (Close-up)<\/option>\n                <option value=\"process\">The Process (Satisfying\/ASMR)<\/option>\n                <option value=\"education\">Tips & Education (How-to)<\/option>\n                <option value=\"product\">Product Spotlight (Retail)<\/option>\n                <option value=\"offer\">Special Offer \/ Promo<\/option>\n                <option value=\"giveaway\">Giveaway \/ Contest<\/option>\n                <option value=\"team\">Meet the Team \/ Behind the Scenes<\/option>\n            <\/select>\n            <label>Vibe & Aesthetic<\/label>\n            <select id=\"ind-style\">\n                <option value=\"glam\">Glamour & Luxury<\/option>\n                <option value=\"clean\">Clean & Minimal (Clean Girl)<\/option>\n                <option value=\"clinical\">Clinical & Professional (Trust)<\/option>\n                <option value=\"edgy\">Edgy & Trendy<\/option>\n                <option value=\"relaxing\">Relaxing & Zen<\/option>\n                <option value=\"festive\">Seasonal \/ Festive<\/option>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('studio')) {\n        if(isGR) {\n            html += `\n            <label>\u0395\u03af\u03b4\u03bf\u03c2 \u03a6\u03c9\u03c4\u03bf\u03b3\u03c1\u03ac\u03c6\u03b9\u03c3\u03b7\u03c2 \/ \u0392\u03af\u03bd\u03c4\u03b5\u03bf<\/label>\n            <select id=\"ind-type\">\n                <option value=\"wedding\">\u0393\u03ac\u03bc\u03bf\u03c2 & \u0394\u03b5\u03be\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2<\/option>\n                <option value=\"christening\">\u0392\u03ac\u03c0\u03c4\u03b9\u03c3\u03b7 & \u039f\u03b9\u03ba\u03bf\u03b3\u03b5\u03bd\u03b5\u03b9\u03b1\u03ba\u03ad\u03c2 \u03a3\u03c4\u03b9\u03b3\u03bc\u03ad\u03c2<\/option>\n                <option value=\"branding\">\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc \u03a0\u03bf\u03c1\u03c4\u03c1\u03ad\u03c4\u03bf & \u0395\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ae \u03a4\u03b1\u03c5\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1<\/option>\n                <option value=\"product\">\u03a6\u03c9\u03c4\u03bf\u03b3\u03c1\u03ac\u03c6\u03b9\u03c3\u03b7 \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03c9\u03bd & E-shop<\/option>\n                <option value=\"realestate\">\u0391\u03ba\u03af\u03bd\u03b7\u03c4\u03b1 & \u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03bf\u03af \u03a7\u03ce\u03c1\u03bf\u03b9 (Real Estate)<\/option>\n                <option value=\"newborn\">\u039d\u03b5\u03bf\u03b3\u03ad\u03bd\u03bd\u03b7\u03c4\u03b1 & \u0395\u03b3\u03ba\u03c5\u03bc\u03bf\u03c3\u03cd\u03bd\u03b7<\/option>\n                <option value=\"fashion\">\u039c\u03cc\u03b4\u03b1 & \u039a\u03b1\u03bb\u03bb\u03b9\u03c4\u03b5\u03c7\u03bd\u03b9\u03ba\u03cc (Editorial)<\/option>\n                <option value=\"content\">\u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf Social Media (Reels\/TikTok)<\/option>\n                <option value=\"drone\">\u0391\u03b5\u03c1\u03bf\u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1 (Drone)<\/option>\n            <\/select>\n            <label>\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 Post \/ \u0398\u03ad\u03bc\u03b1<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"portfolio\">\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7 \u0388\u03c1\u03b3\u03bf\u03c5 (Portfolio)<\/option>\n                <option value=\"teaser\">\u03a0\u03c1\u03bf\u03c3\u03b5\u03c7\u03ce\u03c2 \/ \u039c\u03b9\u03ba\u03c1\u03ae \u0393\u03b5\u03cd\u03c3\u03b7 (Teaser)<\/option>\n                <option value=\"bts\">\u03a3\u03c4\u03b1 \u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03ae\u03bd\u03b9\u03b1 (Backstage)<\/option>\n                <option value=\"story\">\u0397 \u0399\u03c3\u03c4\u03bf\u03c1\u03af\u03b1 \u03c0\u03af\u03c3\u03c9 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03ae\u03c8\u03b7<\/option>\n                <option value=\"offer\">\u0395\u03b9\u03b4\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac \/ \u03a0\u03b1\u03ba\u03ad\u03c4\u03bf<\/option>\n                <option value=\"tips\">\u03a3\u03c5\u03bc\u03b2\u03bf\u03c5\u03bb\u03ad\u03c2 \u03c0\u03c1\u03bf\u03c2 \u03a0\u03b5\u03bb\u03ac\u03c4\u03b5\u03c2<\/option>\n            <\/select>\n            <label>\u03a3\u03c4\u03c5\u03bb \u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2<\/label>\n            <select id=\"ind-style\">\n                <option value=\"cinematic\">\u039a\u03b9\u03bd\u03b7\u03bc\u03b1\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03cc \u038e\u03c6\u03bf\u03c2<\/option>\n                <option value=\"candid\">\u0391\u03c5\u03b8\u03cc\u03c1\u03bc\u03b7\u03c4\u03bf & \u03a6\u03c5\u03c3\u03b9\u03ba\u03cc (\u03a1\u03b5\u03c0\u03bf\u03c1\u03c4\u03ac\u03b6)<\/option>\n                <option value=\"bright\">\u03a6\u03c9\u03c4\u03b5\u03b9\u03bd\u03cc & \u0391\u03ad\u03c1\u03b9\u03bd\u03bf<\/option>\n                <option value=\"moody\">\u0391\u03c4\u03bc\u03bf\u03c3\u03c6\u03b1\u03b9\u03c1\u03b9\u03ba\u03cc & \u03a3\u03ba\u03bf\u03c4\u03b5\u03b9\u03bd\u03cc<\/option>\n                <option value=\"editorial\">\u03a3\u03c4\u03c5\u03bb \u03a0\u03b5\u03c1\u03b9\u03bf\u03b4\u03b9\u03ba\u03bf\u03cd (High-End)<\/option>\n                <option value=\"vibrant\">\u0396\u03c9\u03bd\u03c4\u03b1\u03bd\u03ac \u03a7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 & \u0388\u03bd\u03c4\u03b1\u03c3\u03b7<\/option>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Photography \/ Video Niche<\/label>\n            <select id=\"ind-type\">\n                <option value=\"wedding\">Wedding & Elopement<\/option>\n                <option value=\"christening\">Christening & Events<\/option>\n                <option value=\"branding\">Personal Branding & Headshots<\/option>\n                <option value=\"product\">Product & E-commerce<\/option>\n                <option value=\"realestate\">Real Estate & Interiors<\/option>\n                <option value=\"newborn\">Newborn & Maternity<\/option>\n                <option value=\"fashion\">Fashion & Editorial<\/option>\n                <option value=\"content\">Social Media Content (Reels\/TikTok)<\/option>\n                <option value=\"drone\">Drone & Aerial<\/option>\n            <\/select>\n            <label>Post Focus \/ Goal<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"portfolio\">Portfolio Showcase<\/option>\n                <option value=\"teaser\">Teaser \/ Sneak Peek<\/option>\n                <option value=\"bts\">Behind the Scenes (BTS)<\/option>\n                <option value=\"story\">Storytelling (Behind the shot)<\/option>\n                <option value=\"offer\">Special Offer \/ Mini Session<\/option>\n                <option value=\"tips\">Client Tips & Education<\/option>\n            <\/select>\n            <label>Editing Style \/ Aesthetic<\/label>\n            <select id=\"ind-style\">\n                <option value=\"cinematic\">Cinematic<\/option>\n                <option value=\"candid\">Candid \/ Documentary<\/option>\n                <option value=\"bright\">Bright & Airy<\/option>\n                <option value=\"moody\">Moody & Dark<\/option>\n                <option value=\"editorial\">High-End Editorial<\/option>\n                <option value=\"vibrant\">Vibrant & Colorful<\/option>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('food')) {\n        if(isGR) {\n            html += `\n            <label>\u0395\u03af\u03b4\u03bf\u03c2 \u039a\u03b1\u03c4\u03b1\u03c3\u03c4\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \/ \u039a\u03bf\u03c5\u03b6\u03af\u03bd\u03b1<\/label>\n            <select id=\"ind-type\">\n                <option value=\"coffee\">\u039a\u03b1\u03c6\u03b5\u03c4\u03ad\u03c1\u03b9\u03b1 \/ \u039a\u03b1\u03c6\u03ad<\/option>\n                <option value=\"brunch\">\u03a0\u03c1\u03c9\u03b9\u03bd\u03cc & Brunch<\/option>\n                <option value=\"burger\">Burger House \/ Street Food<\/option>\n                <option value=\"pizza\">\u03a0\u03af\u03c4\u03c3\u03b1 \/ \u0399\u03c4\u03b1\u03bb\u03b9\u03ba\u03cc<\/option>\n                <option value=\"sushi\">Sushi \/ \u0391\u03c3\u03b9\u03b1\u03c4\u03b9\u03ba\u03ae \u039a\u03bf\u03c5\u03b6\u03af\u03bd\u03b1<\/option>\n                <option value=\"local\">\u03a4\u03bf\u03c0\u03b9\u03ba\u03ae \/ \u03a0\u03b1\u03c1\u03b1\u03b4\u03bf\u03c3\u03b9\u03b1\u03ba\u03ae \u039a\u03bf\u03c5\u03b6\u03af\u03bd\u03b1<\/option>\n                <option value=\"seafood\">\u0398\u03b1\u03bb\u03b1\u03c3\u03c3\u03b9\u03bd\u03ac \/ \u03a8\u03ac\u03c1\u03b9<\/option>\n                <option value=\"fine\">\u03a5\u03c8\u03b7\u03bb\u03ae \u0393\u03b1\u03c3\u03c4\u03c1\u03bf\u03bd\u03bf\u03bc\u03af\u03b1 (Gourmet)<\/option>\n                <option value=\"healthy\">\u03a5\u03b3\u03b9\u03b5\u03b9\u03bd\u03ae \u0394\u03b9\u03b1\u03c4\u03c1\u03bf\u03c6\u03ae \/ Vegan<\/option>\n                <option value=\"sweets\">\u0396\u03b1\u03c7\u03b1\u03c1\u03bf\u03c0\u03bb\u03b1\u03c3\u03c4\u03b5\u03af\u03bf \/ Bakery<\/option>\n                <option value=\"bar\">\u039c\u03c0\u03b1\u03c1 \/ Cocktails \/ \u039a\u03c1\u03b1\u03c3\u03af<\/option>\n                <option value=\"pub\">\u039c\u03c0\u03c5\u03c1\u03b1\u03c1\u03af\u03b1 \/ Pub<\/option>\n            <\/select>\n            <label>\u0398\u03ad\u03bc\u03b1 Post \/ \u03a3\u03c4\u03cc\u03c7\u03bf\u03c2<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"signature_product\">\u03a4\u03bf \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd (\u03a0\u03b9\u03ac\u03c4\u03bf, \u039a\u03b1\u03c6\u03ad\u03c2 \u03ae \u03a0\u03bf\u03c4\u03cc Focus)<\/option>\n                <option value=\"process\">\u0397 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 (\u03a3\u03c4\u03b7\u03bd \u039a\u03bf\u03c5\u03b6\u03af\u03bd\u03b1 \/ \u03a0\u03af\u03c3\u03c9 \u03b1\u03c0\u03cc \u03c4\u03bf \u039c\u03c0\u03b1\u03c1)<\/option>\n                <option value=\"ingredients\">\u03a4\u03b1 \u03a5\u03bb\u03b9\u03ba\u03ac (\u03a0\u03bf\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 & \u03a6\u03c1\u03b5\u03c3\u03ba\u03ac\u03b4\u03b1)<\/option>\n                <option value=\"team\">\u0397 \u039f\u03bc\u03ac\u03b4\u03b1 (Chef, Barista, Bartender)<\/option>\n                <option value=\"vibe\">\u0397 \u0391\u03c4\u03bc\u03cc\u03c3\u03c6\u03b1\u03b9\u03c1\u03b1 (Interior Design & \u0394\u03b9\u03b1\u03ba\u03cc\u03c3\u03bc\u03b7\u03c3\u03b7)<\/option>\n                <option value=\"after_office\">After Office \/ Lounge & \u03a7\u03b1\u03bb\u03ac\u03c1\u03c9\u03c3\u03b7<\/option>\n                <option value=\"event\">\u0395\u03ba\u03b4\u03ae\u03bb\u03c9\u03c3\u03b7 \/ Live \/ Dj Set \/ Party<\/option>\n                <option value=\"new_menu\">\u039d\u03ad\u03bf \u039c\u03b5\u03bd\u03bf\u03cd \/ Seasonal \u0391\u03c6\u03af\u03be\u03b5\u03b9\u03c2<\/option>\n                <option value=\"offer\">\u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac \/ Combo Deal \/ \u0395\u03b9\u03b4\u03b9\u03ba\u03ae \u03a4\u03b9\u03bc\u03ae<\/option>\n                <option value=\"booking\">\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03a4\u03c1\u03b1\u03c0\u03b5\u03b6\u03b9\u03bf\u03cd \/ Reservations<\/option>\n                <option value=\"delivery\">\u0394\u03b9\u03b1\u03bd\u03bf\u03bc\u03ae (Delivery) & Takeaway<\/option>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2 & \u0391\u03c4\u03bc\u03cc\u03c3\u03c6\u03b1\u03b9\u03c1\u03b1<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"appetizing\">\u039b\u03b1\u03c7\u03c4\u03b1\u03c1\u03b9\u03c3\u03c4\u03cc & \u039f\u03c1\u03b5\u03ba\u03c4\u03b9\u03ba\u03cc (Food Focus)<\/option>\n                <option value=\"fresh\">\u03a6\u03c1\u03ad\u03c3\u03ba\u03bf, \u0394\u03c1\u03bf\u03c3\u03b5\u03c1\u03cc & Light<\/option>\n                <option value=\"cozy\">\u0396\u03b5\u03c3\u03c4\u03cc, \u03a6\u03b9\u03bb\u03cc\u03be\u03b5\u03bd\u03bf & \u0389\u03c3\u03c5\u03c7\u03bf (Cozy)<\/option>\n                <option value=\"lounge\">Chill \/ Lounge \/ \u0391\u03c4\u03bc\u03bf\u03c3\u03c6\u03b1\u03b9\u03c1\u03b9\u03ba\u03cc<\/option>\n                <option value=\"fancy\">\u039a\u03bf\u03bc\u03c8\u03cc, \u03a0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03ad\u03c2 & Fine Dining<\/option>\n                <option value=\"minimal\">Minimal & \u03a3\u03cd\u03b3\u03c7\u03c1\u03bf\u03bd\u03bf<\/option>\n                <option value=\"industrial\">Alternative \/ Industrial \/ Underground<\/option>\n                <option value=\"urban\">Urban \/ Street Vibe<\/option>\n                <option value=\"fun\">\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03b4\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc & \u03a0\u03b1\u03c1\u03b5\u0390\u03c3\u03c4\u03b9\u03ba\u03bf<\/option>\n                <option value=\"nightlife\">High Energy \/ Party \/ Nightlife Vibe<\/option>\n                <option value=\"romantic\">\u03a1\u03bf\u03bc\u03b1\u03bd\u03c4\u03b9\u03ba\u03cc \/ Date Night<\/option>\n                <option value=\"traditional\">\u0391\u03c5\u03b8\u03b5\u03bd\u03c4\u03b9\u03ba\u03cc \/ \u03a0\u03b1\u03c1\u03b1\u03b4\u03bf\u03c3\u03b9\u03b1\u03ba\u03cc \/ \u03a1\u03b5\u03c4\u03c1\u03cc<\/option>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Venue Type \/ Cuisine<\/label>\n            <select id=\"ind-type\">\n                <option value=\"coffee\">Coffee Shop \/ Caf\u00e9<\/option>\n                <option value=\"brunch\">Brunch & Breakfast<\/option>\n                <option value=\"burger\">Burger House \/ Street Food<\/option>\n                <option value=\"pizza\">Pizza \/ Italian<\/option>\n                <option value=\"sushi\">Sushi \/ Asian<\/option>\n                <option value=\"local\">Local \/ Traditional Cuisine<\/option>\n                <option value=\"seafood\">Seafood \/ Fish<\/option>\n                <option value=\"fine\">Fine Dining \/ Gourmet<\/option>\n                <option value=\"healthy\">Healthy \/ Vegan \/ Salad<\/option>\n                <option value=\"sweets\">Pastry \/ Bakery \/ Gelato<\/option>\n                <option value=\"bar\">Bar \/ Cocktails \/ Wine<\/option>\n                <option value=\"pub\">Pub \/ Beerhouse<\/option>\n            <\/select>\n            <label>Post Focus \/ Goal<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"signature_product\">The Product (Dish, Coffee or Drink Focus)<\/option>\n                <option value=\"process\">Behind the Scenes (Kitchen \/ Bar Action)<\/option>\n                <option value=\"ingredients\">The Ingredients (Quality & Freshness)<\/option>\n                <option value=\"team\">Meet the Team (Chef, Barista, Bartender)<\/option>\n                <option value=\"vibe\">The Atmosphere (Interior Design & Vibe)<\/option>\n                <option value=\"after_office\">After Office \/ Unwinding \/ Lounge<\/option>\n                <option value=\"event\">Live Event \/ Dj Set \/ Party<\/option>\n                <option value=\"new_menu\">New Menu \/ Seasonal Arrivals<\/option>\n                <option value=\"offer\">Special Offer \/ Combo Deal<\/option>\n                <option value=\"booking\">Book a Table \/ Reservation<\/option>\n                <option value=\"delivery\">Delivery \/ Takeaway<\/option>\n            <\/select>\n            <label>Vibe & Atmosphere<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"appetizing\">Mouth-watering (Food Porn)<\/option>\n                <option value=\"fresh\">Fresh & Light<\/option>\n                <option value=\"cozy\">Cozy, Warm & Quiet<\/option>\n                <option value=\"lounge\">Chill \/ Lounge \/ Atmospheric<\/option>\n                <option value=\"fancy\">Elegant, Luxury & Fine Dining<\/option>\n                <option value=\"minimal\">Minimal & Modern<\/option>\n                <option value=\"industrial\">Alternative \/ Industrial \/ Underground<\/option>\n                <option value=\"urban\">Urban \/ Street Vibe<\/option>\n                <option value=\"fun\">Fun & Energetic \/ Casual<\/option>\n                <option value=\"nightlife\">High Energy \/ Party \/ Nightlife Vibe<\/option>\n                <option value=\"romantic\">Romantic \/ Date Night<\/option>\n                <option value=\"traditional\">Authentic \/ Traditional \/ Retro<\/option>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('grooming')) {\n    if(isGR) {\n        html += `\n        <label>\u0395\u03af\u03b4\u03bf\u03c2 \u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1\u03c2<\/label>\n        <select id=\"ind-type\">\n            <option value=\"full\">\u03a0\u03bb\u03ae\u03c1\u03b7\u03c2 \u03a0\u03b5\u03c1\u03b9\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 (\u039c\u03c0\u03ac\u03bd\u03b9\u03bf & \u039a\u03bf\u03cd\u03c1\u03b5\u03bc\u03b1)<\/option>\n            <option value=\"bath\">\u039c\u03c0\u03ac\u03bd\u03b9\u03bf, \u03a3\u03c4\u03ad\u03b3\u03bd\u03c9\u03bc\u03b1 & \u039e\u03b5\u03ba\u03cc\u03bc\u03c0\u03b9\u03b1\u03c3\u03bc\u03b1<\/option>\n            <option value=\"deshedding\">\u0398\u03b5\u03c1\u03b1\u03c0\u03b5\u03af\u03b1 \u039c\u03b5\u03af\u03c9\u03c3\u03b7\u03c2 \u03a4\u03c1\u03b9\u03c7\u03cc\u03c0\u03c4\u03c9\u03c3\u03b7\u03c2 (De-shedding)<\/option>\n            <option value=\"stripping\">Hand Stripping (\u039e\u03b5\u03c4\u03c1\u03af\u03c7\u03c9\u03bc\u03b1 \u03b3\u03b9\u03b1 \u03c3\u03ba\u03bb\u03b7\u03c1\u03cc\u03c4\u03c1\u03b9\u03c7\u03b1)<\/option>\n            <option value=\"spa\">Spa & \u039f\u03b6\u03bf\u03bd\u03bf\u03b8\u03b5\u03c1\u03b1\u03c0\u03b5\u03af\u03b1<\/option>\n            <option value=\"teeth\">\u039a\u03bf\u03c3\u03bc\u03b7\u03c4\u03b9\u03ba\u03cc\u03c2 \u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 \u0394\u03bf\u03bd\u03c4\u03b9\u03ce\u03bd (\u03a7\u03c9\u03c1\u03af\u03c2 \u03bd\u03ac\u03c1\u03ba\u03c9\u03c3\u03b7)<\/option>\n            <option value=\"styling\">\u0395\u03be\u03b5\u03b9\u03b4\u03b9\u03ba\u03b5\u03c5\u03bc\u03ad\u03bd\u03bf \u039a\u03bf\u03cd\u03c1\u03b5\u03bc\u03b1 (Styling \/ Asian Fusion)<\/option>\n            <option value=\"hygiene\">\u03a5\u03b3\u03b9\u03b5\u03b9\u03bd\u03ae (\u039d\u03cd\u03c7\u03b9\u03b1, \u0391\u03c5\u03c4\u03b9\u03ac, \u03a0\u03b1\u03c4\u03bf\u03cd\u03c3\u03b5\u03c2)<\/option>\n            <option value=\"puppy\">\u03a0\u03c1\u03ce\u03c4\u03b7 \u0395\u03c0\u03af\u03c3\u03ba\u03b5\u03c8\u03b7 \u039a\u03bf\u03c5\u03c4\u03b1\u03b2\u03b9\u03bf\u03cd (\u0395\u03be\u03bf\u03b9\u03ba\u03b5\u03af\u03c9\u03c3\u03b7)<\/option>\n        <\/select>\n        <label>\u03a4\u03cd\u03c0\u03bf\u03c2 \u03a0\u03b5\u03bb\u03ac\u03c4\u03b7 \/ \u03a4\u03c1\u03af\u03c7\u03c9\u03bc\u03b1<\/label>\n        <select id=\"ind-focus\">\n            <option value=\"small\">\u039c\u03b9\u03ba\u03c1\u03cc\u03c3\u03c9\u03bc\u03bf (\u03c0.\u03c7. Yorkie, Maltese)<\/option>\n            <option value=\"curly\">\u03a3\u03b3\u03bf\u03c5\u03c1\u03cc\u03c4\u03c1\u03b9\u03c7\u03bf \/ Doodles (\u0391\u03c0\u03b1\u03b9\u03c4\u03b7\u03c4\u03b9\u03ba\u03ae \u03c3\u03c5\u03bd\u03c4\u03ae\u03c1\u03b7\u03c3\u03b7)<\/option>\n            <option value=\"double_coat\">\u0394\u03b9\u03c0\u03bb\u03cc \u03a4\u03c1\u03af\u03c7\u03c9\u03bc\u03b1 (\u03c0.\u03c7. Pomeranian, Husky)<\/option>\n            <option value=\"large\">\u039c\u03b5\u03b3\u03b1\u03bb\u03cc\u03c3\u03c9\u03bc\u03bf \/ \u0393\u03af\u03b3\u03b1\u03c2<\/option>\n            <option value=\"matted\">\u039c\u03c0\u03b5\u03c1\u03b4\u03b5\u03bc\u03ad\u03bd\u03bf \u03a4\u03c1\u03af\u03c7\u03c9\u03bc\u03b1 (\u0391\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u039a\u03cc\u03bc\u03c0\u03c9\u03bd)<\/option>\n            <option value=\"senior\">\u0397\u03bb\u03b9\u03ba\u03b9\u03c9\u03bc\u03ad\u03bd\u03bf \u0396\u03ce\u03bf (\u0391\u03c0\u03b1\u03bb\u03ae & \u03b3\u03c1\u03ae\u03b3\u03bf\u03c1\u03b7 \u03b4\u03b9\u03b1\u03c7\u03b5\u03af\u03c1\u03b9\u03c3\u03b7)<\/option>\n            <option value=\"anxious\">\u0391\u03b3\u03c7\u03ce\u03b4\u03b5\u03c2 \/ \u03a6\u03bf\u03b2\u03b9\u03ba\u03cc (\u0389\u03c0\u03b9\u03b1 \u03c0\u03c1\u03bf\u03c3\u03ad\u03b3\u03b3\u03b9\u03c3\u03b7)<\/option>\n            <option value=\"puppy\">\u039a\u03bf\u03c5\u03c4\u03ac\u03b2\u03b9<\/option>\n            <option value=\"cat\">\u03a0\u03b5\u03c1\u03b9\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u0393\u03ac\u03c4\u03b1\u03c2<\/option>\n        <\/select>\n        <label>\u038e\u03c6\u03bf\u03c2 & \u03a3\u03c4\u03cc\u03c7\u03bf\u03c2<\/label>\n        <select id=\"ind-vibe\">\n            <option value=\"transformation\">\u039f\u03bb\u03b9\u03ba\u03ae \u039c\u03b5\u03c4\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 (\u03a0\u03c1\u03b9\u03bd & \u039c\u03b5\u03c4\u03ac)<\/option>\n            <option value=\"relaxing\">\u03a7\u03b1\u03bb\u03ac\u03c1\u03c9\u03c3\u03b7 & \u0395\u03c5\u03b5\u03be\u03af\u03b1 (Pampering)<\/option>\n            <option value=\"clean\">\u0391\u03c3\u03c4\u03c1\u03b1\u03c6\u03c4\u03b5\u03c1\u03ae \u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 & \u03a6\u03c1\u03b5\u03c3\u03ba\u03ac\u03b4\u03b1<\/option>\n            <option value=\"cute\">\u03a7\u03b1\u03c1\u03b9\u03c4\u03c9\u03bc\u03ad\u03bd\u03bf & \u0391\u03c6\u03c1\u03ac\u03c4\u03bf \u03b1\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1<\/option>\n            <option value=\"professional\">\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2 & \u0395\u03be\u03b5\u03b9\u03b4\u03af\u03ba\u03b5\u03c5\u03c3\u03b7<\/option>\n            <option value=\"educational\">\u0395\u03ba\u03c0\u03b1\u03b9\u03b4\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc (\u03a3\u03c5\u03bc\u03b2\u03bf\u03c5\u03bb\u03ad\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03bf \u03c3\u03c0\u03af\u03c4\u03b9)<\/option>\n        <\/select>`;\n    } else {\n        html += `\n        <label>Service Type<\/label>\n        <select id=\"ind-type\">\n            <option value=\"full\">Full Grooming (Bath & Cut)<\/option>\n            <option value=\"bath\">Bath, Blow Dry & Brush<\/option>\n            <option value=\"deshedding\">De-shedding Treatment<\/option>\n            <option value=\"stripping\">Hand Stripping (Wire-haired breeds)<\/option>\n            <option value=\"spa\">Spa & Ozone Therapy<\/option>\n            <option value=\"teeth\">Cosmetic Teeth Cleaning (No anesthesia)<\/option>\n            <option value=\"styling\">Creative Styling \/ Asian Fusion<\/option>\n            <option value=\"hygiene\">Hygiene (Nails, Ears, Paws)<\/option>\n            <option value=\"puppy\">Puppy's First Groom<\/option>\n        <\/select>\n        <label>Client \/ Coat Type<\/label>\n        <select id=\"ind-focus\">\n            <option value=\"small\">Small Breed (Yorkie, Maltese, etc.)<\/option>\n            <option value=\"curly\">Curly Coat \/ Doodles (High maintenance)<\/option>\n            <option value=\"double_coat\">Double Coat (Pom, Husky, etc.)<\/option>\n            <option value=\"large\">Large \/ Giant Breed<\/option>\n            <option value=\"matted\">Matted \/ Knotted Coat<\/option>\n            <option value=\"senior\">Senior Pet (Gentle & fast handling)<\/option>\n            <option value=\"anxious\">Anxious \/ Reactive Pet (Behavioral grooming)<\/option>\n            <option value=\"puppy\">Puppy<\/option>\n            <option value=\"cat\">Cat Grooming<\/option>\n        <\/select>\n        <label>Vibe & Goal<\/label>\n        <select id=\"ind-vibe\">\n            <option value=\"transformation\">Transformation (Before & After)<\/option>\n            <option value=\"relaxing\">Relaxing \/ Spa Experience<\/option>\n            <option value=\"clean\">Squeaky Clean & Fresh<\/option>\n            <option value=\"cute\">Cute & Fluffy<\/option>\n            <option value=\"professional\">Professional & Expert Authority<\/option>\n            <option value=\"educational\">Educational (Home maintenance tips)<\/option>\n        <\/select>`;\n    }\n}\n    else if (val.includes('vet')) {\n        if(isGR) {\n            html += `\n            <label>\u0399\u03b1\u03c4\u03c1\u03b9\u03ba\u03ae \u03a5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1 \/ \u0398\u03ad\u03bc\u03b1<\/label>\n            <select id=\"ind-focus\"> <option value=\"update\">\ud83d\udce2 \u0395\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7 \u039a\u03bb\u03b9\u03bd\u03b9\u03ba\u03ae\u03c2 \/ \u03a9\u03c1\u03ac\u03c1\u03b9\u03bf<\/option>\n                <option value=\"checkup\">\u03a0\u03c1\u03bf\u03bb\u03b7\u03c0\u03c4\u03b9\u03ba\u03cc\u03c2 \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 & \u0395\u03bc\u03b2\u03cc\u03bb\u03b9\u03b1<\/option>\n                <option value=\"parasites\">\u0391\u03c0\u03bf\u03c0\u03b1\u03c1\u03b1\u03c3\u03af\u03c4\u03c9\u03c3\u03b7 (\u03a4\u03c3\u03b9\u03bc\u03c0\u03bf\u03cd\u03c1\u03b9\u03b1\/\u03a6\u03bb\u03b5\u03b2\u03bf\u03c4\u03cc\u03bc\u03bf\u03b9)<\/option>\n                <option value=\"dermatology\">\u0394\u03b5\u03c1\u03bc\u03b1\u03c4\u03bf\u03bb\u03bf\u03b3\u03af\u03b1 & \u0391\u03bb\u03bb\u03b5\u03c1\u03b3\u03af\u03b5\u03c2 (\u03a6\u03b1\u03b3\u03bf\u03cd\u03c1\u03b1)<\/option>\n                <option value=\"surgery\">\u03a7\u03b5\u03b9\u03c1\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03bf & \u03a3\u03c4\u03b5\u03af\u03c1\u03c9\u03c3\u03b7<\/option>\n                <option value=\"dental\">\u039f\u03b4\u03bf\u03bd\u03c4\u03b9\u03b1\u03c4\u03c1\u03b9\u03ba\u03cc\u03c2 \u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2<\/option>\n                <option value=\"emergency\">\u0395\u03c0\u03b5\u03af\u03b3\u03bf\u03bd \u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03b1\u03c4\u03b9\u03ba\u03cc (\u0394\u03b7\u03bb\u03b7\u03c4\u03b7\u03c1\u03af\u03b1\u03c3\u03b7\/\u03a4\u03c1\u03b1\u03cd\u03bc\u03b1)<\/option>\n                <option value=\"nutrition\">\u039a\u03bb\u03b9\u03bd\u03b9\u03ba\u03ae \u0394\u03b9\u03b1\u03c4\u03c1\u03bf\u03c6\u03ae & \u0392\u03ac\u03c1\u03bf\u03c2<\/option>\n                <option value=\"microchip\">Microchip & \u03a4\u03b1\u03c5\u03c4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7<\/option>\n            <\/select>\n            <label>\u0391\u03c3\u03b8\u03b5\u03bd\u03ae\u03c2<\/label>\n            <select id=\"ind-type\"> <option value=\"dog\">\u03a3\u03ba\u03cd\u03bb\u03bf\u03c2<\/option>\n                <option value=\"cat\">\u0393\u03ac\u03c4\u03b1<\/option>\n                <option value=\"puppy\">\u039a\u03bf\u03c5\u03c4\u03ac\u03b2\u03b9 (Puppy)<\/option>\n                <option value=\"kitten\">\u0393\u03b1\u03c4\u03ac\u03ba\u03b9 (Kitten)<\/option>\n                <option value=\"senior\">\u0397\u03bb\u03b9\u03ba\u03b9\u03c9\u03bc\u03ad\u03bd\u03bf \u0396\u03ce\u03bf (Senior)<\/option>\n                <option value=\"exotic\">\u0395\u03be\u03c9\u03c4\u03b9\u03ba\u03ac (\u039a\u03bf\u03c5\u03bd\u03ad\u03bb\u03b9\/\u03a0\u03c4\u03b7\u03bd\u03cc\/\u0395\u03c1\u03c0\u03b5\u03c4\u03cc)<\/option>\n                <option value=\"general\">\u0393\u03b5\u03bd\u03b9\u03ba\u03cc (\u038c\u03bb\u03b1 \u03c4\u03b1 \u03b6\u03ce\u03b1)<\/option>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2 & \u03a4\u03cc\u03bd\u03bf\u03c2<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"reassuring\">\u039a\u03b1\u03b8\u03b7\u03c3\u03c5\u03c7\u03b1\u03c3\u03c4\u03b9\u03ba\u03cc & \u03a3\u03c4\u03bf\u03c1\u03b3\u03b9\u03ba\u03cc<\/option>\n                <option value=\"educational\">\u0395\u03ba\u03c0\u03b1\u03b9\u03b4\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc \/ \u0395\u03c0\u03b9\u03c3\u03c4\u03b7\u03bc\u03bf\u03bd\u03b9\u03ba\u03cc (Expert)<\/option>\n                <option value=\"urgent\">\u03a0\u03c1\u03bf\u03b5\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03b7\u03c4\u03b9\u03ba\u03cc (\u0395\u03c0\u03b5\u03af\u03b3\u03bf\u03bd\/\u039a\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03c2)<\/option>\n                <option value=\"celebratory\">\u0399\u03c3\u03c4\u03bf\u03c1\u03af\u03b1 \u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1\u03c2 (Recovery Story)<\/option>\n                <option value=\"professional\">\u0391\u03c5\u03c3\u03c4\u03b7\u03c1\u03ac \u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc<\/option>\n            <\/select>`;\n        } else {\n            html += `\n            <label>Medical Service \/ Topic<\/label>\n            <select id=\"ind-focus\"> <option value=\"update\">\ud83d\udce2 Clinic Update \/ Hours<\/option>\n                <option value=\"checkup\">Wellness Exam & Vaccines<\/option>\n                <option value=\"parasites\">Parasite Prevention (Ticks\/Fleas)<\/option>\n                <option value=\"dermatology\">Dermatology & Allergies<\/option>\n                <option value=\"surgery\">Surgery & Spay\/Neuter<\/option>\n                <option value=\"dental\">Dental Cleaning<\/option>\n                <option value=\"emergency\">Emergency (Poison\/Trauma)<\/option>\n                <option value=\"nutrition\">Clinical Nutrition & Weight<\/option>\n                <option value=\"microchip\">Microchip & ID<\/option>\n            <\/select>\n            <label>Patient<\/label>\n            <select id=\"ind-type\"> <option value=\"dog\">Dog<\/option>\n                <option value=\"cat\">Cat<\/option>\n                <option value=\"puppy\">Puppy<\/option>\n                <option value=\"kitten\">Kitten<\/option>\n                <option value=\"senior\">Senior Pet<\/option>\n                <option value=\"exotic\">Exotic (Rabbit\/Bird\/Reptile)<\/option>\n                <option value=\"general\">General (All Pets)<\/option>\n            <\/select>\n            <label>Tone of Voice<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"reassuring\">Reassuring & Caring<\/option>\n                <option value=\"educational\">Educational \/ Scientific<\/option>\n                <option value=\"urgent\">Warning \/ Urgent Alert<\/option>\n                <option value=\"celebratory\">Success Story (Recovery)<\/option>\n                <option value=\"professional\">Strictly Professional<\/option>\n            <\/select>`;\n        }\n    }\n    else if (val.includes('pet')) {\n        \/\/ --- \u0395\u039b\u039b\u0397\u039d\u0399\u039a\u0391 ---\n        if(isGR) {\n            html += `\n            <label>\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1 \u0396\u03ce\u03bf\u03c5<\/label>\n            <select id=\"ind-type\">\n                <option value=\"dog\">\u03a3\u03ba\u03cd\u03bb\u03bf\u03c2<\/option>\n                <option value=\"cat\">\u0393\u03ac\u03c4\u03b1<\/option>\n                <option value=\"bird\">\u03a0\u03c4\u03b7\u03bd\u03cc<\/option>\n                <option value=\"small_animal\">\u039c\u03b9\u03ba\u03c1\u03ac \u0396\u03ce\u03b1<\/option>\n                <option value=\"fish\">\u03a8\u03ac\u03c1\u03b9\u03b1<\/option>\n                <option value=\"reptile\">\u0395\u03c1\u03c0\u03b5\u03c4\u03ac<\/option>\n                <option value=\"general\">\u0393\u03b5\u03bd\u03b9\u03ba\u03cc<\/option>\n            <\/select>\n            <label>\u0398\u03ad\u03bc\u03b1 \/ \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"update\">\ud83d\udce2 \u0395\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7 \u03a0\u03b5\u03bb\u03ac\u03c4\u03b7 \/ \u039d\u03ad\u03b1<\/option>\n                <option value=\"food\">\u03a4\u03c1\u03bf\u03c6\u03ae<\/option>\n                <option value=\"treats\">\u039b\u03b9\u03c7\u03bf\u03c5\u03b4\u03b9\u03ad\u03c2<\/option>\n                <option value=\"toys\">\u03a0\u03b1\u03b9\u03c7\u03bd\u03af\u03b4\u03b9\u03b1<\/option>\n                <option value=\"health\">\u03a5\u03b3\u03b5\u03af\u03b1<\/option>\n                <option value=\"hygiene\">\u03a5\u03b3\u03b9\u03b5\u03b9\u03bd\u03ae<\/option>\n                <option value=\"clothing\">\u03a1\u03bf\u03cd\u03c7\u03b1<\/option>\n            <\/select>\n            <label>\u038e\u03c6\u03bf\u03c2<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"loving\">\u03a3\u03c4\u03bf\u03c1\u03b3\u03b9\u03ba\u03cc & \u03a6\u03c1\u03bf\u03bd\u03c4\u03af\u03b4\u03b1<\/option>\n                <option value=\"fun\">\u03a0\u03b1\u03b9\u03c7\u03bd\u03b9\u03b4\u03b9\u03ac\u03c1\u03b9\u03ba\u03bf & \u0395\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03bf<\/option>\n                <option value=\"educational\">\u0395\u03ba\u03c0\u03b1\u03b9\u03b4\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc<\/option>\n                <option value=\"luxury\">\u03a0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03ad\u03c2<\/option>\n            <\/select>\n            <label>\u0397\u03bb\u03b9\u03ba\u03af\u03b1 \u0396\u03ce\u03bf\u03c5<\/label>\n            <select id=\"ind-age\">\n                <option value=\"puppy\">\u039a\u03bf\u03c5\u03c4\u03ac\u03b2\u03b9 \/ \u0393\u03b1\u03c4\u03ac\u03ba\u03b9 (Puppy\/Kitten)<\/option>\n                <option value=\"adult\">\u0395\u03bd\u03ae\u03bb\u03b9\u03ba\u03bf (Adult)<\/option>\n                <option value=\"senior\">\u0397\u03bb\u03b9\u03ba\u03b9\u03c9\u03bc\u03ad\u03bd\u03bf (Senior)<\/option>\n            <\/select>\n            <label>\u03a5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03a0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac;<\/label>\n            <select id=\"ind-offer\">\n                <option value=\"no\">\u038c\u03c7\u03b9 (\u039a\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae)<\/option>\n                <option value=\"yes\">\u039d\u03b1\u03b9 (\u03a0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c3\u03b5 \u03c3\u03c4\u03bf \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03c3\u03c6\u03bf\u03c1\u03ac)<\/option>\n            <\/select>`;\n        } \n        \/\/ --- \u0391\u0393\u0393\u039b\u0399\u039a\u0391 ---\n        else {\n            html += `\n            <label>Pet Category<\/label>\n            <select id=\"ind-type\">\n                <option value=\"dog\">Dog<\/option>\n                <option value=\"cat\">Cat<\/option>\n                <option value=\"bird\">Bird<\/option>\n                <option value=\"small_animal\">Small Animals<\/option>\n                <option value=\"fish\">Fish<\/option><option value=\"reptile\">Reptiles<\/option><option value=\"general\">General<\/option>\n            <\/select>\n            <label>Topic \/ Product<\/label>\n            <select id=\"ind-focus\">\n                <option value=\"update\">\ud83d\udce2 Client Update<\/option>\n                <option value=\"food\">Food<\/option>\n                <option value=\"treats\">Treats<\/option>\n                <option value=\"toys\">Toys<\/option>\n                <option value=\"health\">Health<\/option>\n                <option value=\"hygiene\">Hygiene<\/option>\n                <option value=\"clothing\">Clothing<\/option>\n            <\/select>\n            <label>Vibe<\/label>\n            <select id=\"ind-vibe\">\n                <option value=\"loving\">Loving<\/option>\n                <option value=\"fun\">Fun<\/option>\n                <option value=\"educational\">Educational<\/option>\n                <option value=\"luxury\">Luxury<\/option>\n            <\/select>\n            <label>Pet Age<\/label>\n            <select id=\"ind-age\">\n                <option value=\"puppy\">Puppy \/ Kitten<\/option>\n                <option value=\"adult\">Adult<\/option>\n                <option value=\"senior\">Senior<\/option>\n            <\/select>\n            <label>Special Offer?<\/label>\n            <select id=\"ind-offer\">\n                <option value=\"no\">No (Regular Price)<\/option>\n                <option value=\"yes\">Yes (Include offer in text)<\/option>\n            <\/select>`;\n        }\n    }\n\n    html += `<\/div>`;\n    indForm.innerHTML = html;\n\n    \/\/ \u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 Custom Upload Handler\n    setupCustomUpload(isEn);\n}\n\nvar oldIndBtn = document.getElementById('btn-run-industry');\nif(oldIndBtn) {\n    var newIndBtn = oldIndBtn.cloneNode(true);\n    oldIndBtn.parentNode.replaceChild(newIndBtn, oldIndBtn);\n    newIndBtn.addEventListener('click', async () => {\n        var indSel = document.getElementById('lex-industry-selector');\n        var val = indSel.value;\n        var isEn = val.includes('-en') || val.includes('_en') || val.includes('-us');\n        \n        var imgInput = document.getElementById('ind-img');\n        var kwsInput = document.getElementById('ind-kws');\n\n        if (!imgInput || !imgInput.files[0]) { alert(isEn ? '\u26a0\ufe0f Media is required!' : '\u26a0\ufe0f \u03a4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b5\u03af\u03bd\u03b1\u03b9 \u03c5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc!'); return; }\n        if (!kwsInput || !kwsInput.value.trim()) { alert(isEn ? '\u26a0\ufe0f Keywords are required!' : '\u26a0\ufe0f \u039f\u03b9 \u03bb\u03ad\u03be\u03b5\u03b9\u03c2 \u03ba\u03bb\u03b5\u03b9\u03b4\u03b9\u03ac \u03b5\u03af\u03bd\u03b1\u03b9 \u03c5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03ad\u03c2!'); return; }\n\n        newIndBtn.disabled = true; \n        newIndBtn.innerText = isEn ? \"\u23f3 Processing...\" : \"\u23f3 \u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1...\";\n        document.getElementById('industry-output').style.display = 'block';\n        ['ind-var-short', 'ind-var-medium', 'ind-var-long'].forEach(id => { var el = document.getElementById(id); if(el) el.innerHTML = `<span class=\"lex-loading\">\u23f3...<\/span>`; });\n\n        var fd = new FormData();\n        fd.append('image', imgInput.files[0]);\n        fd.append('keywords', kwsInput.value);\n        if(document.getElementById('ind-type')) fd.append('type', document.getElementById('ind-type').value);\n        if(document.getElementById('ind-focus')) fd.append('focus', document.getElementById('ind-focus').value);\n        if(document.getElementById('ind-vibe')) fd.append('vibe', document.getElementById('ind-vibe').value);\n        if(document.getElementById('ind-style')) fd.append('style', document.getElementById('ind-style').value);\n        if(document.getElementById('ind-age')) fd.append('age', document.getElementById('ind-age').value);\n        if(document.getElementById('ind-offer')) fd.append('offer', document.getElementById('ind-offer').value);\n\n        try {\n            \/\/ --- LEXAIRO SECURITY: \u03a7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03bf\u03c5 WordPress Nonce ---\n            var securityNonce = (typeof wpApiSettings !== 'undefined') ? wpApiSettings.nonce : '';\n            \n            var res = await fetch('\/wp-json\/lexairo\/v1\/generate-' + val, {\n                method: 'POST', \n                credentials: 'same-origin', \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03b5\u03b9 \u03c4\u03bf cookie \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03c3\u03c4\u03bf API\n                headers: {\n                    'X-WP-Nonce': securityNonce \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03b5\u03b9 \u03c4\u03bf \u03ba\u03bb\u03b5\u03b9\u03b4\u03af \u03c3\u03c4\u03bf API\n                },\n                body: fd\n            });\n            var json = await res.json();\n            \n            if(json.success) {\n                \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf ---\n                const indTypeEl = document.getElementById('ind-type');\n                const indName = indTypeEl ? indTypeEl.options[indTypeEl.selectedIndex].text : 'Social Post';\n                lexairoSaveToHistory('\ud83d\udcf1 SOCIAL POST', '\u039a\u03bb\u03ac\u03b4\u03bf\u03c2: ' + indName, json.data.content);\n                \/\/ -------------------------------------------\n                \n                let parsed = null;\n    try { \n        parsed = JSON.parse(json.data.content); \n        if (Array.isArray(parsed)) parsed = parsed[0]; \/\/ \u0395\u03b4\u03ce \u03bc\u03c0\u03b1\u03af\u03bd\u03b5\u03b9 \u03b7 \u03b1\u03c3\u03c0\u03af\u03b4\u03b1!\n    } catch(e) {}\n    \n    if (parsed && parsed.short_text) {\n        document.getElementById('ind-var-short').innerHTML = formatText(parsed.short_text);\n        document.getElementById('ind-var-medium').innerHTML = formatText(parsed.medium_text);\n        document.getElementById('ind-var-long').innerHTML = formatText(parsed.long_text);\n    } else {\n        document.getElementById('ind-var-medium').innerHTML = formatText(json.data.content);\n    }\n            } else { \n                \/\/ --- \u0395\u0394\u03a9 \u03a0\u0399\u0391\u039d\u039f\u03a5\u039c\u0395 \u03a4\u0391 \u03a3\u03a6\u0391\u039b\u039c\u0391\u03a4\u0391 \u03a4\u0397\u03a3 PHP ---\n                let errorMsg = (json.data && json.data.content) ? json.data.content : (json.message || \"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7.\");\n                alert(errorMsg);\n                document.getElementById('ind-var-short').innerHTML = \"\";\n                document.getElementById('ind-var-medium').innerHTML = `<span style='color:#EF4444; font-weight:bold;'>\u274c \u0397 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03ba\u03c5\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5.<\/span>`;\n                document.getElementById('ind-var-long').innerHTML = \"\";\n            }\n        } catch(e) { \n            console.error(e);\n            document.getElementById('ind-var-short').innerHTML = \"\";\n            document.getElementById('ind-var-medium').innerHTML = `<span style='color:#EF4444; font-weight:bold;'>\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd server.<\/span>`;\n            document.getElementById('ind-var-long').innerHTML = \"\";\n        }\n        finally { \n            newIndBtn.disabled = false; \n            newIndBtn.innerText = isEn ? '\ud83d\ude80 Generate Content' : '\ud83d\ude80 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5'; \n        }\n    });\n}\nvar indSelObj = document.getElementById('lex-industry-selector');\nif (indSelObj) indSelObj.addEventListener('change', renderIndustryForm);\n\n\/* ------------------------------------------------------------- *\/\n\/* --- LOGIC: LEXAIRO SPY - V10.0 (TEXT HUNTER FIX) ------------ *\/\n\/* ------------------------------------------------------------- *\/\n\nconst spyBtn = document.getElementById('lex-generate-spy-btn');\n\n\/\/ --- Helper: \u039a\u03b5\u03af\u03bc\u03b5\u03bd\u03b1 ---\nfunction getLexText(key, isEn) {\n    const texts = {\n        title_gr: \"\u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1 \u03a3\u03cd\u03b3\u03ba\u03c1\u03b9\u03c3\u03b7\u03c2 (Feedback)\", \/\/ \u0391\u03ba\u03c1\u03b9\u03b2\u03ad\u03c2 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03c0\u03bf\u03c5 \u03c8\u03ac\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5\n        title_en: \"Audit Result (Feedback)\",\n        btn_upload_comp: isEn ? \"\ud83d\udcc1 Upload Competitor Media\" : \"\ud83d\udcc1 \u0391\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 Media \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae\",\n        btn_upload_mine: isEn ? \"\ud83d\udcc1 Upload Your Media\" : \"\ud83d\udcc1 \u0391\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u0394\u03b9\u03ba\u03bf\u03cd \u03c3\u03b1\u03c2 Media\",\n        btn_start: isEn ? \"\ud83d\udd75\ufe0f Start Neural Audit\" : \"\ud83d\udd75\ufe0f \u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 & \u03a3\u03cd\u03b3\u03ba\u03c1\u03b9\u03c3\u03b7\",\n        btn_loading: isEn ? \"\ud83d\udd75\ufe0f Neural Audit in progress...\" : \"\ud83d\udd75\ufe0f Neural Audit \u03c3\u03b5 \u03b5\u03be\u03ad\u03bb\u03b9\u03be\u03b7...\",\n        loading_txt: isEn ? \"Deconstructing Competitor Strategy...\" : \"\u0391\u03c0\u03bf\u03b4\u03cc\u03bc\u03b7\u03c3\u03b7 \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae...\"\n    };\n    return texts[key] || \"\";\n}\n\n\/\/ --- 1. TEXT HUNTER (\u0397 \u0391\u03a0\u039f\u039b\u03a5\u03a4\u0397 \u039b\u03a5\u03a3\u0397 \u0393\u0399\u0391 \u03a4\u039f\u039d \u03a4\u0399\u03a4\u039b\u039f) ---\nfunction forceTitleTranslation(isEn) {\n    const targetText = isEn ? \"\u0391\u03c0\u03bf\u03c4\u03ad\u03bb\u03b5\u03c3\u03bc\u03b1 \u03a3\u03cd\u03b3\u03ba\u03c1\u03b9\u03c3\u03b7\u03c2\" : \"Audit Result\"; \/\/ \u03a4\u03b9 \u03c8\u03ac\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5 \u03bd\u03b1 \u03b1\u03bb\u03bb\u03ac\u03be\u03bf\u03c5\u03bc\u03b5\n    const newText = isEn ? getLexText('title_en', true) : getLexText('title_gr', false);\n\n    \/\/ \u03a8\u03ac\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5 \u039f\u039b\u0391 \u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03c0\u03bf\u03c5 \u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03bf\u03c5\u03bd \u03c4\u03bf \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf-\u03c3\u03c4\u03cc\u03c7\u03bf\n    \/\/ \u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 XPath \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b2\u03c1\u03bf\u03cd\u03bc\u03b5 \u03c4\u03bf \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03cc\u03c0\u03bf\u03c5 \u03ba\u03b9 \u03b1\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03c1\u03c5\u03bc\u03bc\u03ad\u03bd\u03bf\n    const xpath = `\/\/*[contains(text(), '${targetText}')]`;\n    const matchingElement = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;\n\n    if (matchingElement) {\n        \/\/ \u0391\u03bd \u03b2\u03c1\u03bf\u03cd\u03bc\u03b5 \u03c4\u03bf \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf, \u03c4\u03bf\u03c5 \u03b1\u03bb\u03bb\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03b2\u03af\u03b1\u03b9\u03b1\n        matchingElement.innerText = newText;\n        \/\/ \u03a4\u03bf\u03c5 \u03b4\u03af\u03bd\u03bf\u03c5\u03bc\u03b5 \u03ba\u03b1\u03b9 \u03ad\u03bd\u03b1 ID \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03b2\u03c1\u03af\u03c3\u03ba\u03bf\u03c5\u03bc\u03b5 \u03c0\u03b9\u03bf \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1 \u03c4\u03b7\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03c6\u03bf\u03c1\u03ac\n        matchingElement.id = 'lex-fixed-title'; \n    } else {\n        \/\/ Fallback: \u0391\u03bd \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03ae\u03b4\u03b7 \u03b2\u03c1\u03b5\u03b9 \u03c4\u03bf \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf \u03ba\u03b1\u03b9 \u03c4\u03bf\u03c5 \u03b4\u03ce\u03c3\u03b1\u03bc\u03b5 ID, \u03c4\u03bf \u03b1\u03bb\u03bb\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2\n        const knownTitle = document.getElementById('lex-fixed-title');\n        if (knownTitle) {\n            knownTitle.innerText = newText;\n        }\n    }\n}\n\n\/\/ --- 2. File Upload UI ---\nfunction renderSpyFileButtons() {\n    const langSelect = document.getElementById('lex-spy-lang');\n    if (!langSelect) return;\n    const isEn = (langSelect.value === 'en');\n\n    const inputs = [\n        { id: 'lex-spy-image-comp', btnId: 'fake-btn-spy-comp', key: 'btn_upload_comp' },\n        { id: 'lex-spy-image-mine', btnId: 'fake-btn-spy-mine', key: 'btn_upload_mine' }\n    ];\n\n    inputs.forEach(item => {\n        const fileInput = document.getElementById(item.id);\n        if (!fileInput) return;\n\n        let fakeBtn = document.getElementById(item.btnId);\n        if (!fakeBtn) {\n            fakeBtn = document.createElement('div');\n            fakeBtn.id = item.btnId;\n            fakeBtn.className = 'lex-custom-file-btn';\n            fakeBtn.style.cssText = \"background:#1F2937; border:2px dashed #8B5CF6; padding:15px; border-radius:12px; cursor:pointer; text-align:center; font-weight:700; font-size:14px; margin-top:10px; color:#FFFFFF; transition: 0.3s;\";\n            \n            fileInput.style.display = \"none\";\n            fileInput.parentNode.insertBefore(fakeBtn, fileInput.nextSibling);\n\n            fakeBtn.addEventListener('click', () => fileInput.click());\n\n            fileInput.addEventListener('change', () => {\n                if(fileInput.files.length > 0) {\n                    fakeBtn.innerText = \"\ud83d\udcc4 \" + fileInput.files[0].name;\n                    fakeBtn.style.borderStyle = \"solid\";\n                    fakeBtn.style.borderColor = \"#00E5FF\";\n                }\n            });\n        }\n\n        if (fileInput.files.length === 0) {\n            fakeBtn.innerText = getLexText(item.key, isEn);\n        }\n    });\n}\n\n\/\/ --- 3. UI Update Logic ---\nfunction updateSpyUI() {\n    const langSelect = document.getElementById('lex-spy-lang');\n    if (!langSelect) return;\n    const isEn = (langSelect.value === 'en');\n    \n    const title = document.getElementById('spy-title-lbl');\n    const desc = document.getElementById('spy-desc-txt');\n    const langLabel = document.getElementById('spy-lbl-lang');\n    const compLabel = document.getElementById('spy-lbl-1');\n    const mineLabel = document.getElementById('spy-lbl-2');\n    const btn = document.getElementById('lex-generate-spy-btn');\n\n    if (isEn) {\n        if(title) title.innerText = \"NEURAL COMPETITOR SPY\";\n        if(desc) desc.innerText = \"Deconstruct competitor strategies. Upload media for a Neural Audit.\";\n        if(langLabel) langLabel.innerText = \"Analysis Language\";\n        if(compLabel) compLabel.innerText = \"1. Upload Competitor Media (Target)\";\n        if(mineLabel) mineLabel.innerText = \"2. Upload Your Media (Challenge)\";\n        if(btn) btn.innerText = getLexText('btn_start', true);\n    } else {\n        if(title) title.innerText = \"\u0391\u039d\u0399\u03a7\u039d\u0395\u03a5\u03a4\u0397\u03a3 \u0391\u039d\u03a4\u0391\u0393\u03a9\u039d\u0399\u03a3\u039c\u039f\u03a5 (SPY)\";\n        if(desc) desc.innerText = \"\u0393\u03af\u03bd\u03b5\u03c4\u03b5 \u03ba\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae \u03c3\u03b1\u03c2. \u03a3\u03c5\u03b3\u03ba\u03c1\u03af\u03bd\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03ba\u03b5\u03c1\u03b4\u03af\u03c3\u03c4\u03b5.\";\n        if(langLabel) langLabel.innerText = \"\u0393\u03bb\u03ce\u03c3\u03c3\u03b1 \u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7\u03c2\";\n        if(compLabel) compLabel.innerText = \"1. \u0391\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u03b7 \u03c4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03c4\u03bf\u03c5 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae (Competitor)\";\n        if(mineLabel) mineLabel.innerText = \"2. \u0391\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b4\u03b9\u03ba\u03ae \u03c3\u03b1\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf (My Media)\";\n        if(btn) btn.innerText = getLexText('btn_start', false);\n    }\n\n    \/\/ \u039a\u0391\u039b\u0395\u03a3\u039c\u0391 \u03a4\u039f\u03a5 TEXT HUNTER\n    forceTitleTranslation(isEn);\n    renderSpyFileButtons();\n}\n\n\/\/ --- 4. Main Execution Logic ---\nif(spyBtn) {\n    spyBtn.addEventListener('click', async () => {\n        const fileInputComp = document.getElementById('lex-spy-image-comp');\n        const fileInputMine = document.getElementById('lex-spy-image-mine');\n        if (!fileInputComp || !fileInputMine) return;\n\n        const imgComp = fileInputComp.files[0];\n        const imgMine = fileInputMine.files[0];\n        const langSelect = document.getElementById('lex-spy-lang');\n        const isEn = (langSelect && langSelect.value === 'en');\n\n        if(!imgComp || !imgMine) { \n            alert(isEn ? '\u26a0\ufe0f Both Competitor and Your media are required!' : '\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03bf\u03cd\u03bd\u03c4\u03b1\u03b9 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae \u03ba\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03b5\u03c3\u03ac\u03c2!'); \n            return; \n        }\n\n        const typeComp = imgComp.type.split('\/')[0];\n        const typeMine = imgMine.type.split('\/')[0];\n\n        \/\/ UI Loading\n        spyBtn.disabled = true; \n        spyBtn.innerText = getLexText('btn_loading', isEn);\n        document.getElementById('spy-output').style.display = 'block';\n        \n        \/\/ \u039a\u0391\u039b\u0395\u03a3\u039c\u0391 \u03a4\u039f\u03a5 HUNTER \u039e\u0391\u039d\u0391 (\u0393\u03b9\u03b1 \u03c3\u03b9\u03b3\u03bf\u03c5\u03c1\u03b9\u03ac)\n        forceTitleTranslation(isEn);\n\n        document.getElementById('spy-analysis-text').innerHTML = `<div style=\"text-align:center; padding:40px;\"><span class='lex-loading' style=\"font-size:18px; color:#00E5FF;\">\u23f3 ${getLexText('loading_txt', isEn)}<\/span><\/div>`;\n        \n        const fd = new FormData();\n        fd.append('image_comp', imgComp); \n        fd.append('image_mine', imgMine);\n        const endpoint = isEn ? '\/wp-json\/lexairo\/v1\/generate-spy-en' : '\/wp-json\/lexairo\/v1\/generate-spy-gr';\n\n        try {\n            const res = await fetch(endpoint, { method: 'POST', body: fd });\n            const json = await res.json();\n            \n            if (json.success) {\n\n                lexairoSaveToHistory('\ud83d\udd75\ufe0f SPY AUDIT', '\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03bc\u03bf\u03cd', json.data.content);\n\n                let parsed = JSON.parse(json.data.content);\n                if (parsed) {\n                    \n                    \/\/ --- LOCALIZATION & RENDER ---\n                    const t = {\n                        action: isEn ? \"\u26a1 ACTION PLAN TO WIN\" : \"\u26a1 \u03a3\u03a7\u0395\u0394\u0399\u039f \u0394\u03a1\u0391\u03a3\u0397\u03a3 \u0393\u0399\u0391 \u039d\u0399\u039a\u0397\",\n                        secret: isEn ? \"\ud83d\udd75\ufe0f COMPETITOR'S SECRET\" : \"\ud83d\udd75\ufe0f \u03a4\u039f \u039c\u03a5\u03a3\u03a4\u0399\u039a\u039f \u03a4\u039f\u03a5 \u0391\u039d\u03a4\u0391\u0393\u03a9\u039d\u0399\u03a3\u03a4\u0397\",\n                        battle: isEn ? \"\ud83d\udd25 ATTENTION BATTLE\" : \"\ud83d\udd25 \u0397 \u039c\u0391\u03a7\u0397 \u03a4\u0397\u03a3 \u03a0\u03a1\u039f\u03a3\u039f\u03a7\u0397\u03a3\",\n                        stopRateTitle: isEn ? \"Stop-Rate Prediction\" : \"\u03a0\u03c1\u03cc\u03b2\u03bb\u03b5\u03c8\u03b7 Stop-Rate\",\n                        voice: isEn ? \"\ud83c\udf99\ufe0f NEURAL VOICE AUDIT\" : \"\ud83c\udf99\ufe0f \u039d\u0395\u03a5\u03a1\u03a9\u039d\u0399\u039a\u0397 \u0391\u039d\u0391\u039b\u03a5\u03a3\u0397 \u03a6\u03a9\u039d\u0397\u03a3\",\n                        tone: isEn ? \"Strategy Tone\" : \"\u03a4\u03cc\u03bd\u03bf\u03c2 \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2\",\n                        radarTitle: isEn ? \"\ud83d\udcca STRATEGIC RADAR\" : \"\ud83d\udcca \u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u039f \u03a1\u0391\u039d\u03a4\u0391\u03a1\",\n                        lblStop: isEn ? \"STOP-RATE\" : \"\u0391\u039c\u0395\u03a3\u0397 \u03a0\u03a1\u039f\u03a3\u039f\u03a7\u0397\", \n                        lblTrust: isEn ? \"TRUST\" : \"\u0395\u039c\u03a0\u0399\u03a3\u03a4\u039f\u03a3\u03a5\u039d\u0397\",\n                        lblUrg: isEn ? \"URGENCY\" : \"\u0395\u03a0\u0395\u0399\u0393\u039f\u039d\",\n                        lblClar: isEn ? \"CLARITY\" : \"\u039a\u0391\u0398\u0391\u03a1\u039f\u03a4\u0397\u03a4\u0391\"\n                    };\n\n                    const scoreMine = parsed.benchmarking.score_mine;\n                    const scoreComp = parsed.benchmarking.score_competitor;\n                    const battleText = isEn \n                        ? `Mine: ${scoreMine}% vs Comp: ${scoreComp}%` \n                        : `\u0395\u03bc\u03b5\u03af\u03c2: ${scoreMine}% vs \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae\u03c2: ${scoreComp}%`;\n\n                    const pMine = parsed.radar_data ? parsed.radar_data.mine : {stop:20, trust:20, urgency:20, clarity:20}; \n                    const pComp = parsed.radar_data ? parsed.radar_data.competitor : {stop:20, trust:20, urgency:20, clarity:20};\n                    const getR = (val) => 30 + (val * 0.5); \n\n                    const urlComp = URL.createObjectURL(imgComp);\n                    const urlMine = URL.createObjectURL(imgMine);\n\n                    const mediaTagComp = (typeComp === 'video') \n                        ? `<video src=\"${urlComp}\" autoplay loop muted playsinline style=\"width: 100%; display: block; filter: brightness(0.6); object-fit: cover; aspect-ratio: 16\/9; border-radius: 12px;\"><\/video>`\n                        : `<img decoding=\"async\" src=\"${urlComp}\" style=\"width: 100%; height: auto; display: block; filter: brightness(0.6); border-radius: 12px;\">`;\n\n                    const mediaTagMine = (typeMine === 'video') \n                        ? `<video src=\"${urlMine}\" autoplay loop muted playsinline style=\"width: 100%; display: block; filter: brightness(0.6); object-fit: cover; aspect-ratio: 16\/9; border-radius: 12px;\"><\/video>`\n                        : `<img decoding=\"async\" src=\"${urlMine}\" style=\"width: 100%; height: auto; display: block; filter: brightness(0.6); border-radius: 12px;\">`;\n\n                    \/\/ --- HTML Generation ---\n                    const html = `\n<div style=\"background: #0B0F19; border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 20px; padding: 35px; color: #F8FAFC; font-family: 'Inter', sans-serif; line-height: 1.6;\">\n    \n    <div style=\"text-align: right; margin-bottom: 20px; font-size: 12px; color: #64748B; font-weight: 700;\">\n        NEURAL AUDIT ID: #${Math.floor(Math.random()*90000)+10000}\n    <\/div>\n\n    <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; background: rgba(15, 23, 42, 0.6); padding: 25px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05);\">\n        <div style=\"text-align: center; flex: 1;\">\n            <div style=\"font-size: 11px; color: #94A3B8; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;\">${isEn ? \"COMPETITOR\" : \"\u0391\u039d\u03a4\u0391\u0393\u03a9\u039d\u0399\u03a3\u03a4\u0397\u03a3\"}<\/div>\n            <div style=\"font-size: 38px; font-weight: 900; color: #EF4444; letter-spacing: -1px;\">${parsed.benchmarking.score_competitor}%<\/div>\n        <\/div>\n        <div style=\"width: 1px; height: 50px; background: rgba(255, 255, 255, 0.1);\"><\/div>\n        <div style=\"text-align: center; flex: 1;\">\n            <div style=\"font-size: 11px; color: #94A3B8; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;\">${isEn ? \"YOUR MEDIA\" : \"\u0394\u0399\u039a\u039f \u03a3\u0391\u03a3 MEDIA\"}<\/div>\n            <div style=\"font-size: 38px; font-weight: 900; color: #22D3EE; letter-spacing: -1px;\">${parsed.benchmarking.score_mine}%<\/div>\n        <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom: 35px; background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px; padding: 25px;\">\n        <h4 style=\"color: #00E5FF; font-size: 13px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px;\">\n            <span>\ud83c\udfaf<\/span> ${isEn ? \"NEURAL X-RAY HEATMAP\" : \"\u039d\u0395\u03a5\u03a1\u03a9\u039d\u0399\u039a\u0397 \u0391\u03a0\u0395\u0399\u039a\u039f\u039d\u0399\u03a3\u0397 \u03a0\u03a1\u039f\u03a3\u039f\u03a7\u0397\u03a3 (X-RAY)\"}\n        <\/h4>\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 20px;\">\n            <div style=\"position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(239, 68, 68, 0.3);\">\n                <div style=\"position: absolute; top: 10px; left: 10px; background: #EF4444; color: white; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; z-index: 10;\">TARGET<\/div>\n                ${mediaTagComp}\n                <svg style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5;\">\n                    ${(parsed.attention_audit.heatmap_coords_comp || []).map(coord => `\n                        <circle cx=\"${coord.x}%\" cy=\"${coord.y}%\" r=\"22\" fill=\"none\" stroke=\"rgba(239, 68, 68, 0.8)\" stroke-width=\"2\" \/>\n                        <line x1=\"${coord.x}%\" y1=\"${coord.y - 4}%\" x2=\"${coord.x}%\" y2=\"${coord.y + 4}%\" stroke=\"#EF4444\" stroke-width=\"2\" \/>\n                        <line x1=\"${coord.x - 4}%\" y1=\"${coord.y}%\" x2=\"${coord.x + 4}%\" y2=\"${coord.y}%\" stroke=\"#EF4444\" stroke-width=\"2\" \/>\n                    `).join('')}\n                <\/svg>\n            <\/div>\n            <div style=\"position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(34, 211, 238, 0.3);\">\n                <div style=\"position: absolute; top: 10px; left: 10px; background: #22D3EE; color: #0B0F19; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; z-index: 10;\">CHALLENGER<\/div>\n                ${mediaTagMine}\n                <svg style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5;\">\n                    ${(parsed.attention_audit.heatmap_coords_mine || []).map(coord => `\n                        <circle cx=\"${coord.x}%\" cy=\"${coord.y}%\" r=\"22\" fill=\"none\" stroke=\"rgba(34, 211, 238, 0.8)\" stroke-width=\"2\" \/>\n                        <line x1=\"${coord.x}%\" y1=\"${coord.y - 4}%\" x2=\"${coord.x}%\" y2=\"${coord.y + 4}%\" stroke=\"#22D3EE\" stroke-width=\"2\" \/>\n                        <line x1=\"${coord.x - 4}%\" y1=\"${coord.y}%\" x2=\"${coord.x + 4}%\" y2=\"${coord.y}%\" stroke=\"#22D3EE\" stroke-width=\"2\" \/>\n                    `).join('')}\n                <\/svg>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div style=\"background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); padding: 25px; border-radius: 16px; margin-bottom: 30px; text-align: center;\">\n        <h4 style=\"color: #94A3B8; font-size: 13px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;\">${t.radarTitle}<\/h4>\n        <div style=\"display: flex; justify-content: center; align-items: center; flex-direction: column;\">\n            <svg width=\"100%\" height=\"300\" viewBox=\"0 0 450 300\" style=\"max-width: 450px; overflow: visible;\">\n                <circle cx=\"225\" cy=\"150\" r=\"80\" fill=\"none\" stroke=\"rgba(255,255,255,0.05)\" stroke-width=\"1\"\/>\n                <circle cx=\"225\" cy=\"150\" r=\"60\" fill=\"none\" stroke=\"rgba(255,255,255,0.05)\" stroke-width=\"1\"\/>\n                <circle cx=\"225\" cy=\"150\" r=\"40\" fill=\"none\" stroke=\"rgba(255,255,255,0.05)\" stroke-width=\"1\"\/>\n                <line x1=\"225\" y1=\"70\" x2=\"225\" y2=\"230\" stroke=\"rgba(255,255,255,0.1)\"\/>\n                <line x1=\"145\" y1=\"150\" x2=\"305\" y2=\"150\" stroke=\"rgba(255,255,255,0.1)\"\/>\n                \n                <text x=\"225\" y=\"55\" text-anchor=\"middle\" fill=\"#94A3B8\" font-size=\"11\" font-weight=\"700\">${t.lblStop}<\/text>\n                <text x=\"315\" y=\"154\" text-anchor=\"start\" fill=\"#94A3B8\" font-size=\"11\" font-weight=\"700\">${t.lblTrust}<\/text>\n                <text x=\"225\" y=\"255\" text-anchor=\"middle\" fill=\"#94A3B8\" font-size=\"11\" font-weight=\"700\">${t.lblUrg}<\/text>\n                <text x=\"135\" y=\"154\" text-anchor=\"end\" fill=\"#94A3B8\" font-size=\"11\" font-weight=\"700\">${t.lblClar}<\/text>\n\n                <polygon points=\"225,${150 - getR(pMine.stop)} ${225 + getR(pMine.trust)},150 225,${150 + getR(pMine.urgency)} ${225 - getR(pMine.clarity)},150\" fill=\"rgba(34, 211, 238, 0.4)\" stroke=\"#22D3EE\" stroke-width=\"2\"\/>\n                <polygon points=\"225,${150 - getR(pComp.stop)} ${225 + getR(pComp.trust)},150 225,${150 + getR(pComp.urgency)} ${225 - getR(pComp.clarity)},150\" fill=\"rgba(239, 68, 68, 0.4)\" stroke=\"#EF4444\" stroke-width=\"3.5\"\/>\n            <\/svg>\n        <\/div>\n    <\/div>\n\n    <div style=\"background: rgba(99, 102, 241, 0.05); border: 1px solid rgba(99, 102, 241, 0.2); padding: 25px; border-radius: 16px; margin-bottom: 30px;\">\n        <h4 style=\"color: #C084FC; font-size: 14px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;\">\n            <span>\ud83d\udd25<\/span> ${t.battle}\n        <\/h4>\n        <div style=\"margin-bottom: 20px;\">\n            <div style=\"display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: #E2E8F0;\">\n                <span>${t.stopRateTitle}<\/span>\n                <span style=\"color: #C084FC;\">${battleText}<\/span>\n            <\/div>\n            <div style=\"width: 100%; height: 10px; background: rgba(255, 255, 255, 0.05); border-radius: 20px; overflow: hidden;\">\n                <div style=\"width: ${parsed.attention_audit.stop_rate_prediction}; height: 100%; background: linear-gradient(90deg, #818CF8, #C084FC); border-radius: 20px;\"><\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div style=\"background: rgba(245, 158, 11, 0.03); border: 1px solid rgba(245, 158, 11, 0.2); padding: 25px; border-radius: 16px; margin-bottom: 30px;\">\n        <h4 style=\"color: #FBBF24; font-size: 14px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;\">\n            <span>${t.voice}<\/span>\n        <\/h4>\n        <div style=\"display: grid; grid-template-columns: 1fr; gap: 15px;\">\n            <div style=\"font-size: 14px; color: #E2E8F0;\">\n                <b style=\"color: #FBBF24;\">${t.tone}:<\/b> ${parsed.voice_audit.strategy_tone}\n            <\/div>\n            <div style=\"background: rgba(245, 158, 11, 0.05); padding: 15px; border-radius: 10px; border-left: 3px solid #FBBF24; font-style: italic; color: #FDE68A; font-size: 15px;\">\n                \"${parsed.voice_audit.recommended_hook}\"\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom: 30px;\">\n        <h4 style=\"color: #94A3B8; font-size: 14px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;\">\n            <span>\ud83d\udd75\ufe0f<\/span> ${t.secret}\n        <\/h4>\n        <div style=\"background: rgba(30, 41, 59, 0.5); border-left: 4px solid #6366F1; padding: 20px; border-radius: 4px 12px 12px 4px; font-size: 15px; color: #CBD5E0; font-weight: 400; line-height: 1.7;\">\n            ${parsed.spy_insights.competitor_secret}\n        <\/div>\n    <\/div>\n\n    <div style=\"background: rgba(34, 211, 238, 0.03); border: 1px solid rgba(34, 211, 238, 0.15); padding: 25px; border-radius: 16px;\">\n        <h4 style=\"color: #22D3EE; font-size: 14px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;\">\n            <span>\u26a1<\/span> ${t.action}\n        <\/h4>\n        <div style=\"display: flex; flex-direction: column; gap: 12px;\">\n            ${(parsed.action_plan || []).map(step => `\n                <div style=\"display: flex; gap: 15px; font-size: 15px; align-items: flex-start;\">\n                    <span style=\"color: #22D3EE; font-size: 18px; margin-top: -2px;\">\u2022<\/span>\n                    <span style=\"font-weight: 400; color: #E2E8F0; line-height: 1.5;\">${step}<\/span>\n                <\/div>\n            `).join('')}\n        <\/div>\n    <\/div>\n<\/div>\n`;\n                    document.getElementById('spy-analysis-text').innerHTML = html;\n                }\n            }\n        } catch (err) {\n            document.getElementById('spy-analysis-text').innerText = '\u274c Error processing results.';\n        } finally {\n            spyBtn.disabled = false; \n            spyBtn.innerText = getLexText('btn_start', isEn);\n        }\n    });\n}\n\nconst spyLangSelect = document.getElementById('lex-spy-lang');\nif(spyLangSelect) spyLangSelect.addEventListener('change', updateSpyUI);\ndocument.addEventListener('DOMContentLoaded', updateSpyUI);\n\n\/* ------------------------------------------------------------- *\/\n\/* --- LOGIC: \u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 ADS (SMART) - PREMIUM SaaS EDITION --- *\/\n\/* ------------------------------------------------------------- *\/\nconst smartBtn = document.getElementById('lex-generate-smart-btn');\n\nif(smartBtn) {\n    smartBtn.addEventListener('click', async () => {\n        const platformSelect = document.getElementById('lex-smart-platform');\n        const platform = platformSelect ? platformSelect.value.toLowerCase() : '';\n        const isGoogle = platform.includes('google');\n        \n        const product = document.getElementById('lex-smart-product').value;\n        const audience = document.getElementById('lex-smart-audience').value;\n        const targetUrl = document.getElementById('lex-smart-url').value.trim(); \n        const imgInput = document.getElementById('lex-smart-image');\n        const isEn = (document.getElementById('lex-smart-lang').value === 'en');\n\n        if(!product || !audience || !targetUrl) {\n            alert(isEn ? \"\u26a0\ufe0f Description, Audience and Landing Page URL are required.\" : \"\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae, \u039a\u03bf\u03b9\u03bd\u03cc \u03ba\u03b1\u03b9 URL \u03a3\u03b5\u03bb\u03af\u03b4\u03b1\u03c2 \u03a0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd.\");\n            return;\n        }\n\n        if (!targetUrl.startsWith('http:\/\/') && !targetUrl.startsWith('https:\/\/')) {\n            alert(isEn ? \"\u26a0\ufe0f Please enter a valid URL starting with http:\/\/ or https:\/\/\" : \"\u26a0\ufe0f \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03ad\u03b3\u03ba\u03c5\u03c1\u03bf URL \u03c0\u03bf\u03c5 \u03bd\u03b1 \u03be\u03b5\u03ba\u03b9\u03bd\u03ac\u03b5\u03b9 \u03bc\u03b5 http:\/\/ \u03ae https:\/\/\");\n            return;\n        }\n\n        \/\/ \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2: \u0396\u03b7\u03c4\u03ac\u03bc\u03b5 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u039c\u039f\u039d\u039f \u03b1\u03bd \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 Google\n        if (!isGoogle && (!imgInput || imgInput.files.length === 0)) {\n            alert(isEn ? \"\u26a0\ufe0f Media (Image\/Video) is required for Social Media.\" : \"\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03bf\u03c0\u03c4\u03b9\u03ba\u03cc \u03c5\u03bb\u03b9\u03ba\u03cc (\u0395\u03b9\u03ba\u03cc\u03bd\u03b1\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf) \u03b3\u03b9\u03b1 \u03c4\u03b1 Social Media.\");\n            return;\n        }\n\n        const file = isGoogle ? null : (imgInput && imgInput.files.length > 0 ? imgInput.files[0] : null);\n\n        \/\/ --- LEXAIRO TIKTOK API GUARD ---\n        if (platform === 'tiktok') {\n            let hasVideo = false;\n            if (imgInput && imgInput.files) {\n                for (let i = 0; i < imgInput.files.length; i++) {\n                    if (imgInput.files[i].type.startsWith('video\/')) hasVideo = true;\n                }\n            }\n            if (!hasVideo) {\n                alert(isEn ? \"\u26a0\ufe0f TikTok API requires a Video (MP4) for direct ad creation.\" : \"\u26a0\ufe0f \u03a4\u03bf TikTok \u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u039c\u039f\u039d\u039f \u0392\u03af\u03bd\u03c4\u03b5\u03bf \u03b3\u03b9\u03b1 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf.\");\n                if(smartBtn) smartBtn.disabled = false;\n                return;\n            }\n        }\n        \/\/ ---------------------------------\n\n        smartBtn.disabled = true;\n        const langVal = document.getElementById('lex-smart-lang').value;\n        \n        smartBtn.innerText = isEn ? \"\u2699\ufe0f AI Engine Active...\" : \"\u2699\ufe0f AI Engine \u0395\u03bd\u03b5\u03c1\u03b3\u03cc...\";\n        document.getElementById('smart-output').style.display = 'block';\n        \n        const outputHeader = document.querySelector('#smart-output .lex-output-header-bar');\n        if (outputHeader) outputHeader.style.display = 'none';\n        \n        document.getElementById('smart-output-content').innerHTML = `<span class='lex-loading' style='font-size:18px;'>\ud83e\udd16 ${isEn ? \"Engineering Elite Strategy...\" : \"\u039a\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae Elite \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2...\"}<\/span>`;\n        \n        const fd = new FormData();\n        \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf 'google' \u03b1\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 google, \u03b1\u03bb\u03bb\u03b9\u03ce\u03c2 \u03b1\u03c5\u03c4\u03cc \u03c0\u03bf\u03c5 \u03ad\u03c7\u03b5\u03b9 \u03c4\u03bf dropdown\n        fd.append('platform', isGoogle ? 'google' : document.getElementById('lex-smart-platform').value);\n        fd.append('product', product);\n        fd.append('audience', audience);\n        fd.append('goal', document.getElementById('lex-smart-goal').value);\n        fd.append('landing_url', targetUrl);\n        \n        \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u039f\u039b\u0391 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03b1\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd\n        if (imgInput && imgInput.files.length > 0) {\n            for (let i = 0; i < imgInput.files.length; i++) {\n                fd.append('image[]', imgInput.files[i]);\n            }\n            \/\/ \u039a\u03c1\u03b1\u03c4\u03ac\u03bc\u03b5 \u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03b3\u03b9\u03b1 \u03c4\u03bf\u03c0\u03b9\u03ba\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b1\u03bd \u03c7\u03c1\u03b5\u03b9\u03b1\u03c3\u03c4\u03b5\u03af\n            window.lex_ai_file = imgInput.files; \n        }\n        \n        \/\/ \u03a6\u03c4\u03b9\u03ac\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf preview media \u039c\u039f\u039d\u039f \u03b1\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\n        let mediaHTML = \"\";\n        if (file) {\n            const mediaURL = URL.createObjectURL(file);\n            const isVertical = (platform === 'tiktok' || platform === 'meta');\n            const previewHeight = isVertical ? \"400px\" : \"220px\";\n            mediaHTML = file.type.startsWith('video\/') \n                ? `<video src=\"${mediaURL}\" autoplay loop muted playsinline style=\"width:100%; height:${previewHeight}; object-fit:cover; border-radius:12px;\"><\/video>`\n                : `<img decoding=\"async\" src=\"${mediaURL}\" style=\"width:100%; height:${previewHeight}; object-fit:cover; border-radius:12px;\" \/>`;\n        }\n\n        const endpoint = isEn ? '\/wp-json\/lexairo\/v1\/generate-smart-ads-en' : '\/wp-json\/lexairo\/v1\/generate-smart-ads-gr';\n\n        try {\n            const res = await fetch(endpoint, { method: 'POST', body: fd });\n            const json = await res.json();\n\n            if (json.success) {\n                window.lex_ai_strategy = json.data.content;\n                \n                \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf ---\n                lexairoSaveToHistory('\ud83c\udfaf ADS STRATEGY', '\u03a0\u03c1\u03bf\u03ca\u03cc\u03bd: ' + product.substring(0, 30) + '...', json.data.content);\n                \/\/ -------------------------------------------\n                \n                let parsed = null;\n                try { parsed = JSON.parse(json.data.content); } catch(e) { console.error(\"JSON Error\", e); }\n\n                if(parsed) {\n                    const platformIcon = platform === 'google' ? '\ud83c\udf10' : (platform === 'tiktok' ? '\ud83c\udfb5' : '\u267e\ufe0f');\n                    const platformName = platform.charAt(0).toUpperCase() + platform.slice(1);\n                    \n                    const dailyBudget = (Math.random() * (15 - 8) + 8).toFixed(0);\n                    \n                    \/\/ --- \u039d\u0395\u039f: \u03a1\u03b5\u03b1\u03bb\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc\u03c2 \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u0391\u03c0\u03ae\u03c7\u03b7\u03c3\u03b7\u03c2 \u03b3\u03b9\u03b1 \u0395\u03bb\u03bb\u03ac\u03b4\u03b1 ---\n                    const monthlyBudget = dailyBudget * 30;\n                    const minReach = Math.floor((monthlyBudget \/ 6) * 1000);\n                    const maxReach = Math.floor((monthlyBudget \/ 2.5) * 1000);\n                    const cleanReach = `${(minReach \/ 1000).toFixed(0)}K - ${(maxReach \/ 1000).toFixed(0)}K`;\n\n                    const txtMultiplier = isEn ? \"Profit Multiplier\" : \"\u03a0\u03bf\u03bb\u03bb\u03b1\u03c0\u03bb\u03b1\u03c3\u03b9\u03b1\u03c3\u03c4\u03ae\u03c2 \u039a\u03ad\u03c1\u03b4\u03bf\u03c5\u03c2\";\n                    const txtViral = isEn ? \"Viral Potential\" : \"\u0394\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03ae Viral\";\n                    const txtBudgetTitle = isEn ? \"\ud83d\udcb0 FINANCIAL PLANNING\" : \"\ud83d\udcb0 \u039f\u0399\u039a\u039f\u039d\u039f\u039c\u0399\u039a\u039f\u03a3 \u03a0\u03a1\u039f\u0393\u03a1\u0391\u039c\u039c\u0391\u03a4\u0399\u03a3\u039c\u039f\u03a3\";\n                    const txtDaily = isEn ? \"Daily Budget\" : \"\u0397\u03bc\u03b5\u03c1\u03ae\u03c3\u03b9\u03bf Budget\";\n                    const txtDuration = isEn ? \"Duration\" : \"\u0394\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1\";\n                    const txtDays = isEn ? \"30 Days\" : \"30 \u0397\u03bc\u03ad\u03c1\u03b5\u03c2\";\n                    const txtReachNote = isEn ? `Required investment for reach up to <strong>${cleanReach}<\/strong> unique users.` : `\u0391\u03c0\u03b1\u03b9\u03c4\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03b5\u03c0\u03ad\u03bd\u03b4\u03c5\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03b1\u03c0\u03ae\u03c7\u03b7\u03c3\u03b7 \u03c3\u03b5 <strong>${cleanReach}<\/strong> \u03bc\u03bf\u03bd\u03b1\u03b4\u03b9\u03ba\u03bf\u03cd\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2.`;\n                    const txtGuard = isEn ? \"Smart Spend Guard: Active\" : \"Smart Spend Guard: \u0395\u03bd\u03b5\u03c1\u03b3\u03cc\";\n                    const txtGuardNote = isEn ? \"AI protection against high cost-per-click.\" : \"\u0391\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b7 \u03c0\u03c1\u03bf\u03c3\u03c4\u03b1\u03c3\u03af\u03b1 \u03b1\u03c0\u03cc \u03c5\u03c8\u03b7\u03bb\u03cc \u03ba\u03cc\u03c3\u03c4\u03bf\u03c2 \u03b1\u03bd\u03ac \u03ba\u03bb\u03b9\u03ba.\";\n                    const txtPersona = isEn ? \"\ud83d\udc64 BUYER PERSONA PROFILE\" : \"\ud83d\udc64 \u03a8\u03a5\u03a7\u039f\u0393\u03a1\u0391\u03a6\u0399\u039a\u039f \u03a0\u03a1\u039f\u03a6\u0399\u039b \u039a\u039f\u0399\u039d\u039f\u03a5\";\n                    const txtLocations = isEn ? \"\ud83d\udccd LOCATIONS\" : \"\ud83d\udccd \u03a0\u0395\u03a1\u0399\u039f\u03a7\u0395\u03a3\";\n                    const txtAudience = isEn ? \"\ud83d\udc65 AUDIENCE\" : \"\ud83d\udc65 \u039a\u039f\u0399\u039d\u039f\";\n                    const txtPreview = isEn ? \"\u2728 LIVE PREVIEW\" : \"\u2728 \u0396\u03a9\u039d\u03a4\u0391\u039d\u0397 \u03a0\u03a1\u039f\u0395\u03a0\u0399\u03a3\u039a\u039f\u03a0\u0397\u03a3\u0397\";\n                    const txtReachLabel = isEn ? \"Monthly Reach\" : \"\u039c\u03b7\u03bd\u03b9\u03b1\u03af\u03b1 \u0391\u03c0\u03ae\u03c7\u03b7\u03c3\u03b7\";\n                    const txtStrategyNote = isEn ? \"Data optimized in real-time.\" : \"\u038c\u03bb\u03b1 \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b2\u03b5\u03bb\u03c4\u03b9\u03c3\u03c4\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bd\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03c0\u03c1\u03b1\u03b3\u03bc\u03b1\u03c4\u03b9\u03ba\u03cc \u03c7\u03c1\u03cc\u03bd\u03bf.\";\n\n                    \/\/ --- \u039d\u0395\u039f: \u0395\u039b\u0395\u0393\u03a7\u039f\u03a3 \u0393\u0399\u0391 GOOGLE \u039a\u0391\u0399 \u0391\u039b\u039b\u0391\u0393\u0397 \u03a4\u0399\u03a4\u039b\u03a9\u039d ---\n                    const isGoogle = (platform === 'google');\n                    const txtHooks = isGoogle \n                        ? (isEn ? \"\ud83c\udfaf TARGET KEYWORDS\" : \"\ud83c\udfaf \u039b\u0395\u039e\u0395\u0399\u03a3-\u039a\u039b\u0395\u0399\u0394\u0399\u0391 (KEYWORDS)\") \n                        : (isEn ? \"\ud83d\udd25 AUTOMATED HOOKS (A\/B)\" : \"\ud83d\udd25 \u0391\u03a5\u03a4\u039f\u039c\u0391\u03a4\u0391 HOOKS (A\/B)\");\n                        \n                    const txtAnglesTitle = isGoogle \n                        ? (isEn ? \"\ud83d\udcdd AD VARIATIONS\" : \"\ud83d\udcdd \u0395\u039d\u0391\u039b\u039b\u0391\u039a\u03a4\u0399\u039a\u039f\u0399 \u03a4\u0399\u03a4\u039b\u039f\u0399 & \u03a0\u0395\u03a1\u0399\u0393\u03a1\u0391\u03a6\u0395\u03a3\") \n                        : (isEn ? \"\ud83e\udde0 NEURAL A\/B TESTING\" : \"\ud83e\udde0 NEURAL A\/B TESTING\");\n                    \/\/ ------------------------------------------------\n\n                    let previewContent = \"\";\n                    const pName = platformName.toLowerCase();\n                    const safeText = parsed.creative.primary_text || \"\";\n                    const safeHead = parsed.creative.headline || \"\";\n                    const brandNameNormalized = isEn ? \"Elite Brand\" : \"\u0397 \u0395\u03c0\u03b9\u03c7\u03b5\u03af\u03c1\u03b7\u03c3\u03ae \u03a3\u03b1\u03c2\";\n                    const dynamicCTA = parsed.creative.cta_button || (isEn ? \"LEARN MORE\" : \"\u0394\u0395\u0399\u03a4\u0395 \u03a0\u0395\u03a1\u0399\u03a3\u03a3\u039f\u03a4\u0395\u03a1\u0391\");\n\n                    const cleanMedia = mediaHTML.replace(\/style=\"[^\"]*\"\/, 'style=\"width:100%; height:100%; object-fit:cover; display:block;\"');\n\n                    \/\/ --- \u039d\u0395\u039f: \u03a4\u039f GOOGLE PREVIEW ---\n                    if (isGoogle) {\n                        previewContent = `\n                            <div style=\"background: #ffffff; width: 100%; height: 100%; padding: 25px 20px; box-sizing: border-box; font-family: Arial, sans-serif; text-align: left; overflow: hidden; display: flex; flex-direction: column; justify-content: center;\">\n                                <div style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px;\">\n                                    <div style=\"width: 32px; height: 32px; background: #f1f3f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px;\">\ud83c\udf10<\/div>\n                                    <div style=\"line-height: 1.2;\">\n                                        <div style=\"font-size: 14px; color: #202124; font-weight: normal;\">${brandNameNormalized}<\/div>\n                                        <div style=\"font-size: 12px; color: #4d5156;\"><b>\u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7<\/b> \u00b7 ${targetUrl || 'www.example.com'}<\/div>\n                                    <\/div>\n                                <\/div>\n                                <div style=\"color: #1a0dab; font-size: 22px; font-weight: 400; line-height: 1.3; margin-bottom: 8px;\">\n                                    ${safeHead}\n                                <\/div>\n                                <div style=\"color: #4d5156; font-size: 14px; line-height: 1.58;\">\n                                    ${safeText}\n                                <\/div>\n                            <\/div>\n                        `;\n                    } \n                    \/\/ --- \u0391\u03a0\u039f \u0395\u0394\u03a9 \u039a\u0391\u0399 \u039a\u0391\u03a4\u03a9 \u0395\u0399\u039d\u0391\u0399 \u039f \u0394\u0399\u039a\u039f\u03a3 \u03a3\u039f\u03a5 \u039a\u03a9\u0394\u0399\u039a\u0391\u03a3 (\u0391\u0398\u0399\u039a\u03a4\u039f\u03a3) ---\n                    else if (pName.includes(\"instagram\") || pName.includes(\"meta\")) {\n                        previewContent = `\n                            <div style=\"position: relative; width: 100%; height: 100%; background: #000; font-family: -apple-system, sans-serif; overflow: hidden;\">\n                                <div style=\"position: absolute; top:0; left:0; width:100%; height:100%; z-index:1;\">${cleanMedia}<\/div>\n                                <div style=\"position: absolute; top:0; left:0; width:100%; height:80px; background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); z-index:2; padding: 15px;\">\n                                    <div style=\"display: flex; align-items: center; gap: 8px;\">\n                                        <div style=\"width: 30px; height: 30px; background: #fff; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:10px; color:#000;\">${brandNameNormalized.charAt(0)}<\/div>\n                                        <div style=\"color: #fff; font-weight: 600; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,0.8);\">${brandNameNormalized}<\/div>\n                                    <\/div>\n                                <\/div>\n                                <div style=\"position: absolute; bottom:0; left:0; width:100%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); z-index:10; padding: 20px;\">\n                                    <div style=\"color: #fff; font-size: 14px; margin-bottom: 15px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); line-height: 1.4; max-height: 100px; overflow-y: auto;\">\n                                        ${safeText}\n                                    <\/div>\n                                    <a href=\"${targetUrl}\" target=\"_blank\" style=\"display: block; text-decoration: none;\">\n                                        <div style=\"background: #3897f0; color: #fff; text-align: center; padding: 12px; border-radius: 6px; font-weight: 700; font-size: 14px;\">${dynamicCTA}<\/div>\n                                    <\/a>\n                                <\/div>\n                            <\/div>\n                        `;\n                    } else if (pName.includes(\"facebook\")) {\n                        previewContent = `\n                            <div style=\"background: #242526; height: 100%; display: flex; flex-direction: column; font-family: Helvetica, Arial, sans-serif; overflow: hidden;\">\n                                <div style=\"padding: 12px; display: flex; gap: 10px; align-items: center; flex-shrink: 0;\">\n                                    <div style=\"width: 40px; height: 40px; background: linear-gradient(135deg, #8B5CF6, #00E5FF); border-radius: 50%;\"><\/div>\n                                    <div>\n                                        <div style=\"color: #E4E6EB; font-weight: 600; font-size: 14px;\">${brandNameNormalized}<\/div>\n                                        <div style=\"color: #B0B3B8; font-size: 12px;\">Sponsored \u00b7 \ud83c\udf0d<\/div>\n                                    <\/div>\n                                <\/div>\n                                <div style=\"color: #E4E6EB; font-size: 14px; padding: 0 12px 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0;\">\n                                    ${safeText}\n                                <\/div>\n                                <a href=\"${targetUrl}\" target=\"_blank\" style=\"display: block; width: 100%; height: 260px; background: #000; position: relative; overflow: hidden;\">\n                                    ${cleanMedia}\n                                <\/a>\n                                <a href=\"${targetUrl}\" target=\"_blank\" style=\"text-decoration: none; background: #323436; padding: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #4B4C4F; flex-shrink: 0;\">\n                                    <div style=\"width: 60%; overflow: hidden;\">\n                                        <div style=\"font-size: 11px; color: #B0B3B8; text-transform: uppercase;\">WEBSITE.COM<\/div>\n                                        <div style=\"font-size: 15px; font-weight: 600; color: #E4E6EB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\">${safeHead}<\/div>\n                                    <\/div>\n                                    <div style=\"background: #4B4C4F; color: #E4E6EB; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600;\">${dynamicCTA}<\/div>\n                                <\/a>\n                                <div style=\"flex-grow: 1; background: #242526;\"><\/div> \n                            <\/div>\n                        `;\n                    } else if (pName.includes(\"tiktok\")) {\n                        const fileInputDOM = document.getElementById('lex-smart-image');\n                        const isCarousel = fileInputDOM && fileInputDOM.files.length > 1;\n\n                        if (isCarousel) {\n                            previewContent = `\n                                <div style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #1F2937 0%, #0B0F19 100%); z-index: 10; border-radius: inherit;\">\n                                    \n                                    <svg width=\"46\" height=\"46\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#00E5FF\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-bottom: 15px;\">\n                                        <path d=\"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z\"><\/path>\n                                        <circle cx=\"12\" cy=\"13\" r=\"4\"><\/circle>\n                                    <\/svg>\n\n                                    <div style=\"color: #FFFFFF; font-size: 20px; font-weight: 900; text-align: center; line-height: 1.3; text-transform: uppercase; margin-bottom: 8px;\">\n                                        TIKTOK<br>PHOTO MODE\n                                    <\/div>\n                                    \n                                    <div style=\"color: #8B5CF6; font-size: 12px; font-weight: 800; text-align: center; letter-spacing: 2px; margin-bottom: 30px;\">\n                                        (CAROUSEL)\n                                    <\/div>\n                                    \n                                    <!-- \u0391\u03c0\u03cc\u03bb\u03c5\u03c4\u03bf \u03ba\u03bb\u03b5\u03af\u03b4\u03c9\u03bc\u03b1: nowrap \u03ba\u03b1\u03b9 fit-content -->\n                                    <div style=\"background: #00E5FF; color: #000000; font-size: 13px; font-weight: 900; padding: 12px 26px; border-radius: 30px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0,229,255,0.3); white-space: nowrap; width: fit-content;\">\n                                        \u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 \u0395\u03a4\u039f\u0399\u039c\u0397\n                                    <\/div>\n                                    \n                                <\/div>\n                            `;\n                        } else {\n                            \/\/ \u03a4\u03bf \u03ba\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03cc preview \u03b3\u03b9\u03b1 1 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf\/\u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 (\u0386\u03b8\u03b9\u03ba\u03c4\u03bf)\n                            previewContent = `\n                                <div style=\"position: relative; width: 100%; height: 100%; background: #000; font-family: sans-serif; overflow: hidden;\">\n                                    <div style=\"position: absolute; top:0; left:0; width:100%; height:100%; z-index:1;\">${cleanMedia}<\/div>\n                                    <div style=\"position: absolute; right: 10px; bottom: 150px; display: flex; flex-direction: column; gap: 20px; align-items: center; z-index: 5;\">\n                                        <div style=\"width: 40px; height: 40px; background: #fff; border-radius: 50%; border: 2px solid #fff;\"><\/div>\n                                        <div style=\"color:#fff; text-align:center; text-shadow: 0 1px 2px rgba(0,0,0,0.5);\"><span style=\"font-size:24px;\">\u2764<\/span><br><span style=\"font-size:11px; font-weight:600;\">12.4K<\/span><\/div>\n                                        <div style=\"color:#fff; text-align:center; text-shadow: 0 1px 2px rgba(0,0,0,0.5);\"><span style=\"font-size:24px;\">\ud83d\udcac<\/span><br><span style=\"font-size:11px; font-weight:600;\">842<\/span><\/div>\n                                        <div style=\"color:#fff; text-align:center; text-shadow: 0 1px 2px rgba(0,0,0,0.5);\"><span style=\"font-size:24px;\">\u21aa<\/span><br><span style=\"font-size:11px; font-weight:600;\">Share<\/span><\/div>\n                                    <\/div>\n                                    <div style=\"position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 10;\">\n                                        <div style=\"color: #fff; font-weight: 700; margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0,0,0,0.8);\">@${brandNameNormalized.replace(\/\\s+\/g, '').toLowerCase()}<\/div>\n                                        <div style=\"color: rgba(255,255,255,0.9); font-size: 13px; margin-bottom: 15px; line-height: 1.4; padding-right: 50px; text-shadow: 0 1px 2px rgba(0,0,0,0.8);\">${safeText.substring(0, 90)}...<\/div>\n                                        <a href=\"${targetUrl}\" target=\"_blank\" style=\"display: block; text-decoration: none;\">\n                                            <div style=\"background: #FE2C55; color: #fff; text-align: center; padding: 12px; border-radius: 4px; font-weight: 700; font-size: 14px;\">${dynamicCTA}<\/div>\n                                        <\/a>\n                                    <\/div>\n                                <\/div>\n                            `;\n                        }\n                    }\n\n                    const html = `\n<div style=\"background: linear-gradient(145deg, #0B0F19 0%, #161B2E 100%); border: 1px solid rgba(139, 92, 246, 0.4); border-radius: 24px; overflow: hidden; font-family: 'Inter', system-ui, sans-serif; color: #FFFFFF; max-width: 1000px; margin: auto; box-shadow: 0 40px 120px rgba(0,0,0,0.8); position: relative;\">\n    <div style=\"background: rgba(139, 92, 246, 0.08); padding: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center;\">\n        <div style=\"display: flex; align-items: center; gap: 18px;\">\n            <div style=\"width: 60px; height: 60px; background: linear-gradient(135deg, #8B5CF6 0%, #00E5FF 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px;\">${platformIcon}<\/div>\n            <div>\n                <div style=\"color: #FFFFFF; font-weight: 800; font-size: 28px; letter-spacing: -0.5px;\">${isEn ? \"Elite Strategy\" : \"Elite \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\"}: ${platformName}<\/div>\n                <div style=\"color: #8B5CF6; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;\">LEXAIRO NEURAL CORE <span style=\"color: #00E5FF;\">\u25cf ACTIVE<\/span><\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    <div style=\"display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: rgba(255,255,255,0.05);\">\n        <div style=\"background: #0B0F19; padding: 40px;\">\n            <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 35px;\">\n                <div style=\"background: rgba(0, 229, 255, 0.05); border: 1px solid rgba(0, 229, 255, 0.2); padding: 25px; border-radius: 15px; text-align: center;\">\n                    <div style=\"font-size: 14px; color: #00E5FF; font-weight: 900; text-transform: uppercase; margin-bottom: 10px;\">${txtMultiplier}<\/div>\n                    <div style=\"font-size: 42px; font-weight: 900;\">${(Math.random() * (4.5 - 3.1) + 3.1).toFixed(1)}x<\/div>\n                <\/div>\n                <div style=\"background: rgba(139, 92, 246, 0.05); border: 1px solid rgba(139, 92, 246, 0.2); padding: 25px; border-radius: 15px; text-align: center;\">\n                    <div style=\"font-size: 14px; color: #8B5CF6; font-weight: 900; text-transform: uppercase; margin-bottom: 10px;\">${txtViral}<\/div>\n                    <div style=\"font-size: 26px; font-weight: 900;\">${isEn ? \"EXCELLENT\" : \"\u0395\u039e\u0391\u0399\u03a1\u0395\u03a4\u0399\u039a\u039f\"}<\/div>\n                <\/div>\n            <\/div>\n            <div style=\"background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%); border-left: 6px solid #8B5CF6; padding: 35px; border-radius: 0 20px 20px 0; margin-bottom: 35px;\">\n                <h4 style=\"color: #FFFFFF; font-size: 16px; font-weight: 900; margin: 0 0 15px 0; text-transform: uppercase;\">${txtBudgetTitle}<\/h4>\n                <div style=\"display: flex; gap: 40px; align-items: center;\">\n                    <div><div style=\"font-size: 14px; color: rgba(255,255,255,0.5);\">${txtDaily}<\/div><div style=\"font-size: 32px; font-weight: 800; color: #00E5FF;\">${dailyBudget}\u20ac \/ ${isEn ? \"day\" : \"\u03b7\u03bc\u03ad\u03c1\u03b1\"}<\/div><\/div>\n                    <div><div style=\"font-size: 14px; color: rgba(255,255,255,0.5);\">${txtDuration}<\/div><div style=\"font-size: 32px; font-weight: 800; color: #FFFFFF;\">${txtDays}<\/div><\/div>\n                <\/div>\n                <p style=\"font-size: 16px; color: rgba(255,255,255,0.7); margin: 20px 0 0 0;\">${txtReachNote}<\/p>\n                <div style=\"margin-top: 25px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 15px;\">\n                    <span style=\"color: #10B981; font-size: 24px;\">\ud83d\udee1\ufe0f<\/span>\n                    <div><div style=\"font-size: 16px; color: #10B981; font-weight: 800;\">${txtGuard}<\/div><div style=\"font-size: 14px; color: rgba(255,255,255,0.4);\">${txtGuardNote}<\/div><\/div>\n                <\/div>\n            <\/div>\n            <div style=\"background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 35px; border-radius: 15px;\">\n                <h4 style=\"color: #8B5CF6; font-size: 16px; font-weight: 900; margin-bottom: 15px;\">${txtPersona}<\/h4>\n                <div style=\"font-size: 18px; color: #CBD5E0; line-height: 1.8; font-style: italic;\">\n                    ${(parsed.targeting && parsed.targeting.buyer_persona) ? parsed.targeting.buyer_persona : (isEn ? \"The audience seeks reliability and elite quality.\" : \"\u03a4\u03bf \u03ba\u03bf\u03b9\u03bd\u03cc \u03c3\u03b1\u03c2 \u03b1\u03bd\u03b1\u03b6\u03b7\u03c4\u03ac \u03b1\u03be\u03b9\u03bf\u03c0\u03b9\u03c3\u03c4\u03af\u03b1 \u03ba\u03b1\u03b9 \u03ba\u03bf\u03c1\u03c5\u03c6\u03b1\u03af\u03b1 \u03c0\u03bf\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1.\") }\n                <\/div>\n            <\/div>\n        <\/div>\n        <div style=\"background: rgba(22, 27, 46, 0.5); padding: 40px; display: flex; flex-direction: column; gap: 30px;\">\n            <div>\n                <h4 style=\"color: #00E5FF; font-size: 16px; font-weight: 900; text-align: center; margin-bottom: 25px;\">${txtPreview}<\/h4>\n                ${isGoogle ? `\n                    <div style=\"border-radius: 8px; width: 100%; max-width: 450px; margin: auto; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5);\">\n                        ${previewContent}\n                    <\/div>\n                ` : `\n                    <div style=\"background: #000; border: 6px solid #1F2937; border-radius: 35px; width: 100%; max-width: 300px; height: 560px; margin: auto; overflow:hidden; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5);\">\n                        <div style=\"width: 100px; height: 18px; background: #1F2937; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 12px 12px; z-index: 100;\"><\/div>\n                        ${previewContent}\n                    <\/div>\n                `}\n            <\/div>\n            \n            <div style=\"background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 20px; border-radius: 15px; margin-top: 5px; margin-bottom: 5px;\">\n                <h4 style=\"color: #00E5FF; font-size: 13px; font-weight: 900; margin-bottom: 10px; text-transform: uppercase;\">\ud83d\udcc4 ${isEn ? \"FULL AD CAPTION\" : \"\u03a0\u039b\u0397\u03a1\u0395\u03a3 \u039a\u0395\u0399\u039c\u0395\u039d\u039f \u0394\u0399\u0391\u03a6\u0397\u039c\u0399\u03a3\u0397\u03a3\"}<\/h4>\n                <div style=\"font-size: 15px; color: #E2E8F0; line-height: 1.6; white-space: pre-wrap; text-align: left;\">\n                    ${parsed.creative.primary_text}\n                <\/div>\n            <\/div>\n\n            <div style=\"background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 25px; border-radius: 15px; max-height: 450px; overflow-y: auto;\">\n                <h4 style=\"color: #00E5FF; font-size: 12px; font-weight: 900; margin-bottom: 15px;\">${txtHooks}<\/h4>\n                ${(parsed.creative.hooks || []).slice(0, 10).map((h) => `<div style=\"font-size: 15px; color: #FFFFFF; margin-bottom: 12px; padding: 15px; background: rgba(139, 92, 246, 0.05); border-radius: 10px; border-left: 4px solid #8B5CF6;\">${h}<\/div>`).join('')}\n\n                <div style=\"margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);\">\n                    <h4 style=\"color: #8B5CF6; font-size: 13px; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; display: flex; align-items: center; gap: 8px;\">\n                        ${txtAnglesTitle} <span style=\"background: #8B5CF6; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 4px; letter-spacing: 1px;\">ACTIVE<\/span>\n                    <\/h4>\n                    ${(parsed.creative.creative_angles || []).map((angle) => `\n                        <div style=\"margin-bottom: 15px; background: rgba(255,255,255,0.02); padding: 12px; border-radius: 8px;\">\n                            <div style=\"font-size: 14px; font-weight: 800; color: #FFFFFF; margin-bottom: 4px;\">${angle.title}<\/div>\n                            <div style=\"font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.4; font-style: italic;\">${angle.desc}<\/div>\n                        <\/div>\n                    `).join('')}\n                <\/div>\n            <\/div>\n\n            <div style=\"background: rgba(0, 229, 255, 0.03); border: 1px solid rgba(0, 229, 255, 0.1); padding: 30px; border-radius: 15px; text-align: center;\">\n                <div style=\"font-size: 32px; font-weight: 900; color: #00E5FF;\">${cleanReach}<\/div>\n                <div style=\"font-size: 14px; color: rgba(0, 229, 255, 0.5); font-weight: 800; text-transform: uppercase;\">${txtReachLabel}<\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    <div style=\"background: #0B0F19; padding: 25px 35px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 15px; color: #8B5CF6; font-weight: 700; font-style: italic;\">\"${txtStrategyNote}\"<\/div>\n<\/div>\n`;\n                    document.getElementById('smart-output-content').innerHTML = html;\n                    document.getElementById('smart-actions').style.display = 'flex';\n                }\n            } else {\n                \/\/ --- \u0395\u0394\u03a9 \u03a0\u0399\u0391\u039d\u039f\u03a5\u039c\u0395 \u03a4\u039f \u039c\u0397\u039d\u03a5\u039c\u0391 \u0391\u03a0\u039f \u03a4\u0397\u039d PHP (\u03c0.\u03c7. \u0392\u03af\u03bd\u03c4\u03b5\u03bf > 3 \u03bb\u03b5\u03c0\u03c4\u03ac) ---\n                alert(\"\u26a0\ufe0f \" + (json.message || \"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7.\"));\n                document.getElementById('smart-output-content').innerHTML = `<div style=\"text-align:center; padding:20px; color:#EF4444; font-weight:bold;\">\u274c \u0397 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03ba\u03c5\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5:<br>${json.message}<\/div>`;\n                \n                \/\/ \u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03c4\u03bf\u03c5 \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c3\u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af\n                const isEn = (document.getElementById('lex-smart-lang').value === 'en');\n                smartBtn.innerText = isEn ? \"\ud83c\udfaf Build Elite Strategy\" : \"\ud83c\udfaf \u039a\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae Elite \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2\";\n            }\n        } catch (err) {\n            console.error(err);\n            document.getElementById('smart-output-content').innerHTML = `<div style=\"text-align:center; padding:20px; color:#EF4444; font-weight:bold;\">\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd server.<\/div>`;\n            const isEn = (document.getElementById('lex-smart-lang').value === 'en');\n            smartBtn.innerText = isEn ? \"\ud83c\udfaf Build Elite Strategy\" : \"\ud83c\udfaf \u039a\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae Elite \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2\";\n        } finally {\n            smartBtn.disabled = false;\n        }\n    });\n}\n\n\/\/ --- \u0392\u0397\u039c\u0391 2: \u0397 \u0395\u039d\u03a4\u039f\u039b\u0397 \u03a0\u03a1\u039f\u03a3 \u03a4\u0397 META ---\n        const finalizeBtn = document.getElementById('lex-finalize-strategy-btn');\n        if(finalizeBtn) {\n            \/\/ \u0391\u03bd\u03c4\u03b9\u03ba\u03b1\u03b8\u03b9\u03c3\u03c4\u03bf\u03cd\u03bc\u03b5 \u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af \u03bc\u03b5 \u03ad\u03bd\u03b1\u03bd \u03ba\u03bb\u03ce\u03bd\u03bf \u03c4\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \"\u03be\u03b5\u03c7\u03ac\u03c3\u03b5\u03b9\" \u03c0\u03b1\u03bb\u03b9\u03ac clicks\n            const newFinalizeBtn = finalizeBtn.cloneNode(true);\n            finalizeBtn.parentNode.replaceChild(newFinalizeBtn, finalizeBtn);\n\n            newFinalizeBtn.addEventListener('click', (e) => {\n                e.preventDefault();\n                e.stopImmediatePropagation();\n                \n                \/\/ \u0395\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u0397\u0394\u0397 \u03a5\u03a0\u0391\u03a1\u03a7\u039f\u039d \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf (modal) \u03b1\u03c0\u03cc \u03c4\u03bf HTML \u03c3\u03bf\u03c5!\n                document.getElementById('lex-budget-modal').style.display = 'block';\n                if(typeof calcTotal === 'function') calcTotal(); \/\/ \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u03b1\u03c1\u03c7\u03b9\u03ba\u03bf\u03cd \u03ba\u03cc\u03c3\u03c4\u03bf\u03c5\u03c2\n            });\n        }\n\n\/* ------------------------------------------------------------- *\/\n\/* --- UI TRANSLATION & PREMIUM SaaS STANDARDS --- *\/\n\/* ------------------------------------------------------------- *\/\nconst langSelect = document.getElementById('lex-smart-lang');\nif(langSelect) {\n    langSelect.addEventListener('change', () => {\n        const isEn = (langSelect.value === 'en');\n        \n        document.querySelectorAll('h2, h3, h4, p, label, option, button, span').forEach(el => {\n            const txt = el.innerText.trim();\n\n            if (txt.includes(\"\u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 \u039a\u0391\u039c\u03a0\u0391\u039d\u0399\u0391\u03a3\") || txt.includes(\"CAMPAIGN STRATEGY\")) \n                el.innerText = isEn ? \"CAMPAIGN STRATEGY\" : \"\u03a3\u03a4\u03a1\u0391\u03a4\u0397\u0393\u0399\u039a\u0397 \u039a\u0391\u039c\u03a0\u0391\u039d\u0399\u0391\u03a3\";\n            \n            if (txt.includes(\"\u039f AI Marketing Expert\") || txt.includes(\"The AI Marketing Expert\")) \n                el.innerText = isEn ? \"The AI Marketing Expert that builds your ad structure.\" : \"\u039f AI Marketing Expert \u03c0\u03bf\u03c5 \u03c3\u03c4\u03ae\u03bd\u03b5\u03b9 \u03c4\u03b7 \u03b4\u03bf\u03bc\u03ae \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2.\";\n\n            if (txt.includes(\"\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2\") || txt.includes(\"Product\"))\n                el.innerText = isEn ? \"Product Description & Target Area *\" : \"\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2 & \u03a0\u03b5\u03c1\u03b9\u03bf\u03c7\u03ae\u03c2 \u03a3\u03c4\u03cc\u03c7\u03b5\u03c5\u03c3\u03b7\u03c2 *\";\n\n            if (txt.includes(\"\u03a3\u03c4\u03cc\u03c7\u03b5\u03c5\u03c3\u03b7 \u039a\u03bf\u03b9\u03bd\u03bf\u03cd\") || txt.includes(\"Target Audience\"))\n                el.innerText = isEn ? \"Target Audience (Who is the customer?)\" : \"\u03a3\u03c4\u03cc\u03c7\u03b5\u03c5\u03c3\u03b7 \u039a\u03bf\u03b9\u03bd\u03bf\u03cd (\u03a0\u03bf\u03b9\u03bf\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf \u03c0\u03b5\u03bb\u03ac\u03c4\u03b7\u03c2;)\";\n\n            if (txt.includes(\"\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2\") || txt.includes(\"Campaign Goal\"))\n                el.innerText = isEn ? \"Campaign Goal\" : \"\u03a3\u03c4\u03cc\u03c7\u03bf\u03c2 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2\";\n\n            if (txt.includes(\"\u0393\u03bb\u03ce\u03c3\u03c3\u03b1 \u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2\") || txt.includes(\"Result Language\"))\n                el.innerText = isEn ? \"Result Language \/ Language\" : \"\u0393\u03bb\u03ce\u03c3\u03c3\u03b1 \u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 \/ Language\";\n\n            if (txt.includes(\"URL \u03a3\u03b5\u03bb\u03af\u03b4\u03b1\u03c2 \u03a0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\") || txt.includes(\"Landing Page URL\"))\n                el.innerText = isEn ? \"Landing Page URL\" : \"URL \u03a3\u03b5\u03bb\u03af\u03b4\u03b1\u03c2 \u03a0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\";\n\n            if (txt.includes(\"\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf\") || txt.includes(\"Image\/Video Analysis\"))\n                el.innerText = isEn ? \"Image\/Video Analysis (Required)\" : \"\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf (\u03a5\u03c0\u03bf\u03c7\u03c1\u03b5\u03c9\u03c4\u03b9\u03ba\u03cc)\";\n\n            if (el.tagName === 'OPTION') {\n                const val = el.value.toLowerCase();\n                if (val === 'sales') el.innerText = isEn ? \"Sales \/ Conversions\" : \"\u03a0\u03c9\u03bb\u03ae\u03c3\u03b5\u03b9\u03c2 (Sales)\";\n                if (val === 'leads') el.innerText = isEn ? \"Lead Generation\" : \"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7 \u03a5\u03c0\u03bf\u03c8\u03ae\u03c6\u03b9\u03c9\u03bd \u03a0\u03b5\u03bb\u03b1\u03c4\u03ce\u03bd (Leads)\";\n                if (val === 'awareness' || txt.includes(\"\u0391\u03bd\u03b1\u03b3\u03bd\u03c9\u03c1\u03b9\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\")) \n                    el.innerText = isEn ? \"Brand Awareness\" : \"\u0391\u03bd\u03b1\u03b3\u03bd\u03c9\u03c1\u03b9\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1 (Brand Awareness)\";\n                if (val === 'traffic' || txt.includes(\"\u0395\u03c0\u03b9\u03c3\u03ba\u03b5\u03c8\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\")) \n                    el.innerText = isEn ? \"Website Traffic\" : \"\u0395\u03c0\u03b9\u03c3\u03ba\u03b5\u03c8\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1 (Website Traffic)\";\n            }\n\n            if (el.tagName === 'LABEL') {\n                el.style.fontSize = \"18px\"; el.style.fontWeight = \"700\"; el.style.display = \"block\"; el.style.marginBottom = \"10px\";\n            }\n        });\n\n        const prodInput = document.getElementById('lex-smart-product'); \n        if(prodInput) prodInput.placeholder = isEn \n            ? \"e.g. Luxury yacht rental in Mykonos or Online Store...\" \n            : \"\u03c0.\u03c7. \u03a5\u03b4\u03c1\u03b1\u03c5\u03bb\u03b9\u03ba\u03cc\u03c2 \u03c3\u03c4\u03bf \u039c\u03b1\u03c1\u03bf\u03cd\u03c3\u03b9 \u03ae E-shop \u03c1\u03bf\u03cd\u03c7\u03c9\u03bd (\u03a0\u03b1\u03bd\u03b5\u03bb\u03bb\u03b1\u03b4\u03b9\u03ba\u03ac)...\";\n\n        const audInput = document.getElementById('lex-smart-audience'); \n        if(audInput) audInput.placeholder = isEn \n            ? \"e.g. Tourists, 30-50 years old, high income\" \n            : \"\u03c0.\u03c7. \u03a4\u03bf\u03c5\u03c1\u03af\u03c3\u03c4\u03b5\u03c2, 30-50 \u03b5\u03c4\u03ce\u03bd, \u03c5\u03c8\u03b7\u03bb\u03cc \u03b5\u03b9\u03c3\u03cc\u03b4\u03b7\u03bc\u03b1\";\n\n        const fileInput = document.getElementById('lex-smart-image');\n        if (fileInput) {\n            let fakeBtn = document.getElementById('lex-fake-file-btn');\n            if (!fakeBtn) {\n                fakeBtn = document.createElement('div');\n                fakeBtn.id = 'lex-fake-file-btn';\n                fakeBtn.style.cssText = \"background:#1F2937; border:2px dashed #8B5CF6; padding:15px; border-radius:12px; cursor:pointer; text-align:center; font-weight:700; font-size:16px; margin-top:10px; color:#FFFFFF;\";\n                fileInput.parentNode.insertBefore(fakeBtn, fileInput.nextSibling);\n                fileInput.style.opacity = \"0\"; fileInput.style.position = \"absolute\"; fileInput.style.width = \"0\";\n                \n                fakeBtn.addEventListener('click', () => fileInput.click());\n                \n                fileInput.addEventListener('change', () => {\n                    \/\/ --- \u0395\u0394\u03a9 \u0395\u0399\u039d\u0391\u0399 \u0397 \u0391\u039b\u039b\u0391\u0393\u0397 \u0393\u0399\u0391 \u03a4\u039f CAROUSEL ---\n                    if (fileInput.files.length > 1) {\n                        fakeBtn.innerText = \"\u2705 \" + fileInput.files.length + (isEn ? \" Files selected\" : \" \u0391\u03c1\u03c7\u03b5\u03af\u03b1 \u03b5\u03c0\u03b9\u03bb\u03ad\u03c7\u03b8\u03b7\u03ba\u03b1\u03bd\");\n                    } else {\n                        fakeBtn.innerText = fileInput.files.length > 0 ? fileInput.files[0].name : (isEn ? \"\ud83d\udcc1 Select Media\" : \"\ud83d\udcc1 \u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae Media\");\n                    }\n                    fakeBtn.style.borderStyle = \"solid\";\n                });\n            }\n            if(fileInput.files.length === 0) {\n                fakeBtn.innerText = isEn ? \"\ud83d\udcc1 Upload Image(s) or Video\" : \"\ud83d\udcc1 \u0391\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u0395\u03b9\u03ba\u03cc\u03bd\u03c9\u03bd \u03ae \u0392\u03af\u03bd\u03c4\u03b5\u03bf\";\n            }\n        }\n\n        if(smartBtn) {\n            smartBtn.innerText = isEn ? \"\ud83c\udfaf Build Elite Strategy\" : \"\ud83c\udfaf \u039a\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae Elite \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae\u03c2\";\n            smartBtn.style.fontSize = \"19px\"; smartBtn.style.padding = \"18px 35px\";\n        }\n    });\n    langSelect.dispatchEvent(new Event('change'));\n}\n\n\/* ------------------------------------------------------------- *\/\n\/* --- SMART UI: LEXAIRO AUTO-PILOT NOTIFICATION --- *\/\n\/* ------------------------------------------------------------- *\/\ndocument.addEventListener('DOMContentLoaded', () => {\n    const goalSelect = document.getElementById('lex-smart-goal');\n    const platformSelect = document.getElementById('lex-smart-platform');\n    \n    let smartBadge = document.getElementById('lex-advantage-badge');\n    if (!smartBadge) {\n        smartBadge = document.createElement('div');\n        smartBadge.id = 'lex-advantage-badge';\n        smartBadge.style.cssText = \"margin-top: 15px; padding: 12px 16px; background: rgba(16, 185, 129, 0.08); border-left: 4px solid #10B981; border-radius: 8px; color: #10B981; font-size: 13.5px; line-height: 1.5; display: none; transition: all 0.3s ease;\";\n        \n        if (goalSelect && goalSelect.parentNode) {\n            goalSelect.parentNode.appendChild(smartBadge);\n        }\n    }\n\n    const updateBadgeVisibility = () => {\n        if (!goalSelect || !platformSelect || !smartBadge) return;\n\n        const goal = goalSelect.value.toLowerCase();\n        const platformVal = platformSelect.value.toLowerCase();\n        const platformText = platformSelect.options[platformSelect.selectedIndex] ? platformSelect.options[platformSelect.selectedIndex].text.toLowerCase() : '';\n        const langSelect = document.getElementById('lex-smart-lang');\n        const isEn = langSelect ? (langSelect.value === 'en') : false;\n        \n        const isMetaPlatform = platformVal.includes('facebook') || platformVal.includes('fb') || platformVal.includes('instagram') || platformVal.includes('ig') || platformVal.includes('advantage') || platformText.includes('facebook') || platformText.includes('instagram') || platformVal.includes('meta');\n        \n        if ((goal === 'sales' || goal === 'traffic') && isMetaPlatform) {\n            smartBadge.innerHTML = isEn \n                ? \"\u2728 <b>Lexairo AI Auto-Pilot:<\/b> To guarantee the lowest Cost Per Acquisition (CPA) for sales, our system will automatically optimize your ad using <b>Meta Advantage+<\/b> placements.\"\n                : \"\u2728 <b>Lexairo AI Auto-Pilot:<\/b> \u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03be\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03c3\u03b5\u03b9 \u03c4\u03bf \u03c7\u03b1\u03bc\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03bf \u03ba\u03cc\u03c3\u03c4\u03bf\u03c2 \u03b1\u03bd\u03ac \u03c0\u03ce\u03bb\u03b7\u03c3\u03b7 (CPA), \u03c4\u03bf \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03ac \u03bc\u03b1\u03c2 \u03b8\u03b1 \u03b2\u03b5\u03bb\u03c4\u03b9\u03c3\u03c4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b7 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03ae \u03c3\u03b1\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ce\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b9\u03c2 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 <b>Meta Advantage+<\/b>.\";\n            smartBadge.style.display = 'block';\n        } else {\n            smartBadge.style.display = 'none'; \n        }\n    };\n\n    if (goalSelect && platformSelect) {\n        goalSelect.addEventListener('change', updateBadgeVisibility);\n        platformSelect.addEventListener('change', updateBadgeVisibility);\n        setTimeout(updateBadgeVisibility, 100); \n    }\n});\n\n\/* --- 8. DASHBOARD LOGIC (REAL DATA FETCH) --- *\/\nasync function updateDashStats() {\n    var tipEl = document.getElementById('lex-dynamic-tip');\n    var filter = document.getElementById('dash-platform-filter') ? document.getElementById('dash-platform-filter').value : 'all';\n\n    const premiumTips = [\n        \"\u03a4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03c3\u03c4\u03b1 Social Media \u03ad\u03c7\u03b5\u03b9 80% \u03c5\u03c8\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03bf conversion rate \u03b1\u03c0\u03cc \u03c4\u03b9\u03c2 \u03c3\u03c4\u03b1\u03c4\u03b9\u03ba\u03ad\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b5\u03c2.\",\n        \"\u03a4\u03b1 \u03c0\u03c1\u03ce\u03c4\u03b1 3 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1 \u03bc\u03b9\u03b1\u03c2 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2 (Hook) \u03ba\u03b1\u03b8\u03bf\u03c1\u03af\u03b6\u03bf\u03c5\u03bd \u03c4\u03bf 90% \u03c4\u03b7\u03c2 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1\u03c2 \u03c4\u03b7\u03c2.\",\n        \"\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03bf '\u0391\u03bd\u03b9\u03c7\u03bd\u03b5\u03c5\u03c4\u03ae\u03c2 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03bc\u03bf\u03cd' \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b2\u03c1\u03b5\u03af\u03c4\u03b5 \u03c4\u03b1 \u03ba\u03b5\u03bd\u03ac \u03c3\u03c4\u03b7 \u03c3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae \u03c4\u03c9\u03bd \u03b1\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ce\u03bd \u03c3\u03b1\u03c2.\",\n        \"\u0388\u03bd\u03b1 CTR (\u03a0\u03bf\u03c3\u03bf\u03c3\u03c4\u03cc \u039a\u03bb\u03b9\u03ba) \u03c0\u03ac\u03bd\u03c9 \u03b1\u03c0\u03cc 1.5% \u03c3\u03c4\u03bf Facebook \u03b8\u03b5\u03c9\u03c1\u03b5\u03af\u03c4\u03b1\u03b9 \u03b5\u03be\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc \u03b3\u03b9\u03b1 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b5\u03c2 \u03c0\u03c1\u03bf\u03c3\u03ad\u03b3\u03b3\u03b9\u03c3\u03b7\u03c2.\",\n        \"\u0397 \u03c3\u03c5\u03c7\u03bd\u03ae \u03b5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03ce\u03bd (Creatives) \u03ba\u03ac\u03b8\u03b5 2 \u03b5\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b5\u03c2 \u03b1\u03c0\u03bf\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c4\u03b7\u03bd '\u03ba\u03cc\u03c0\u03c9\u03c3\u03b7' \u03c4\u03bf\u03c5 \u03ba\u03bf\u03b9\u03bd\u03bf\u03cd (Ad Fatigue).\",\n        \"\u03a3\u03c4\u03bf\u03c7\u03b5\u03cd\u03c3\u03c4\u03b5 \u03c3\u03b5 \u03c3\u03c5\u03b3\u03ba\u03b5\u03ba\u03c1\u03b9\u03bc\u03ad\u03bd\u03b1 \u03c3\u03c5\u03bd\u03b1\u03b9\u03c3\u03b8\u03ae\u03bc\u03b1\u03c4\u03b1: \u039f \u03c6\u03cc\u03b2\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 (FOMO) \u03b1\u03c5\u03be\u03ac\u03bd\u03b5\u03b9 \u03b4\u03c1\u03b1\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03c4\u03b1 \u03ba\u03bb\u03b9\u03ba\u03c2.\",\n        \"\u039c\u03b7\u03bd \u03be\u03b5\u03c7\u03bd\u03ac\u03c4\u03b5 \u03c4\u03bf Call to Action (CTA)! \u039f\u03b9 \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03bc\u03b5 \u03be\u03b5\u03ba\u03ac\u03b8\u03b1\u03c1\u03b7 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae \u03ad\u03c7\u03bf\u03c5\u03bd 45% \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf CTR.\",\n        \"\u03a4\u03bf \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03bf '\u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae Ads' \u03c4\u03bf\u03c5 Lexairo \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03b6\u03b5\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 3 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03ad\u03c2 \u03b3\u03c9\u03bd\u03af\u03b5\u03c2 \u03c0\u03ce\u03bb\u03b7\u03c3\u03b7\u03c2 (Angles).\"\n    ];\n    const randomTip = premiumTips[Math.floor(Math.random() * premiumTips.length)];\n\n    \/\/ ==========================================\n    \/\/ ALL PLATFORMS (PREMIUM EMPTY STATE)\n    \/\/ ==========================================\n    if (filter === 'all') {\n        document.getElementById('lex-active-campaigns-list').innerHTML = `\n        <div style=\"background: linear-gradient(145deg, #0F121E 0%, #161A29 100%); border: 1px dashed #3F4F6B; padding: 40px 20px; border-radius: 12px; text-align: center; margin-top: 10px;\">\n            <div style=\"font-size: 40px; margin-bottom: 15px; opacity: 0.9;\">\ud83d\udcca<\/div>\n            <h3 style=\"color: #E2E8F0; font-size: 16px; margin: 0 0 10px 0; font-weight: bold;\">\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03a0\u03b7\u03b3\u03ae\u03c2 \u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd<\/h3>\n            <p style=\"color: #94A3B8; font-size: 13px; max-width: 500px; margin: 0 auto 20px auto; line-height: 1.6;\">\n                \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03b1\u03c2 \u03c0\u03c1\u03bf\u03c3\u03c6\u03ad\u03c1\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03c5\u03c8\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03b7 \u03b1\u03ba\u03c1\u03af\u03b2\u03b5\u03b9\u03b1 \u03c3\u03c4\u03b7\u03bd \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u03ba\u03b1\u03b9 \u03c4\u03bf\u03bd \u03c5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc \u03c4\u03bf\u03c5 \u03c4\u03b5\u03bb\u03b9\u03ba\u03bf\u03cd ROAS, \u03c4\u03bf <b>Lexairo AI<\/b> \u03b1\u03c0\u03bf\u03bc\u03bf\u03bd\u03ce\u03bd\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03ac\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03ba\u03ac\u03b8\u03b5 \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1\u03c2 \u03be\u03b5\u03c7\u03c9\u03c1\u03b9\u03c3\u03c4\u03ac.\n            <\/p>\n            <span style=\"display: inline-block; background: rgba(59, 130, 246, 0.1); color: #3B82F6; border: 1px solid rgba(59, 130, 246, 0.3); padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: bold;\">\n                \ud83d\udc46 \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf \u03bc\u03b5\u03bd\u03bf\u03cd \u03b5\u03c0\u03ac\u03bd\u03c9\n            <\/span>\n        <\/div>`;\n        \n        \/\/ \u039c\u03b7\u03b4\u03b5\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03c9\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03ce\u03bd\n        renderDashboardNumbers({imp: 0, clicks: 0, spend: 0, purchases: 0, revenue: 0}, null, 'all');\n        \n        if(tipEl) tipEl.innerHTML = randomTip;\n        return; \n    }\n\n    if (filter === 'google') {\n        var googleToken = localStorage.getItem('lexairo_google_token');\n        var googleSelect = document.getElementById('ind-google-account');\n        var activeGoogleAccount = googleSelect ? googleSelect.value : '';\n        \n        if (!googleToken || !activeGoogleAccount) {\n            document.getElementById('lex-active-campaigns-list').innerHTML = '';\n            if(tipEl) tipEl.innerHTML = !googleToken ? \"\u26a0\ufe0f <span style='color:#F59E0B;'>\u0394\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc Google Ads \u03c3\u03c4\u03b9\u03c2 \u03a1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2.<\/span>\" : \"\u26a0\ufe0f <span style='color:#F59E0B;'>\u0395\u03ba\u03ba\u03c1\u03b5\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1: \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc...<\/span>\";\n            return;\n        }\n\n        if(tipEl) tipEl.innerHTML = \"\ud83d\udd04 <i>\u03a3\u03c5\u03b3\u03c7\u03c1\u03bf\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03bc\u03b5 Google Ads API...<\/i>\";\n\n        try {\n            var res = await fetch('\/wp-json\/lexairo\/v1\/get-google-insights', {\n                method: 'POST', headers: { 'Content-Type': 'application\/json' },\n                body: JSON.stringify({ token: googleToken, ad_account_id: activeGoogleAccount })\n            });\n            var json = await res.json();\n\n            if (json.success && json.data) {\n                renderDashboardNumbers(json.data, null, 'google');\n                document.getElementById('lex-active-campaigns-list').innerHTML = '<div style=\"color:#64748B; font-size:13px; padding:15px; border:1px solid #2D3748; border-radius:10px;\">\u03a4\u03b1 \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac Google \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03ac \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc.<\/div>';\n                if(tipEl) tipEl.innerHTML = randomTip;\n            } else {\n                if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1: \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03b3\u03b9\u03b1 \u03b1\u03c5\u03c4\u03cc\u03bd \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc.\";\n            }\n        } catch(e) {\n            if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03b7 Google.\";\n        }\n        return;\n    }\n\n    \/\/ ==========================================\n    \/\/ TIKTOK ADS LOGIC\n    \/\/ ==========================================\n    if (filter === 'tiktok') {\n        var tiktokToken = localStorage.getItem('lexairo_tiktok_token');\n        var tiktokAdvId = localStorage.getItem('lexairo_tiktok_adv_id') || ''; \n\n        \/\/ 1. \u039a\u0391\u0398\u0391\u03a1\u0399\u03a3\u039c\u039f\u03a3 \u039f\u0398\u039f\u039d\u0397\u03a3 \u0391\u039c\u0395\u03a3\u03a9\u03a3 (\u039c\u03b7\u03b4\u03b5\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03ce\u03bd \u03ba\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03bb\u03af\u03c3\u03c4\u03b1\u03c2)\n        document.getElementById('lex-active-campaigns-list').innerHTML = '';\n        renderDashboardNumbers({imp: 0, clicks: 0, spend: 0, purchases: 0, revenue: 0}, null, 'tiktok');\n\n        if (!tiktokToken) {\n            if(tipEl) tipEl.innerHTML = \"\u26a0\ufe0f <span style='color:#F59E0B;'>\u0394\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9 \u03c4\u03bf TikTok. \u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b9\u03c2 '\u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 (Social)'.<\/span>\";\n            return;\n        }\n\n        if(tipEl) tipEl.innerHTML = \"\ud83d\udd04 <i>\u03a3\u03c5\u03b3\u03c7\u03c1\u03bf\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03bc\u03b5 TikTok API...<\/i>\";\n\n        try {\n            var res = await fetch('\/wp-json\/lexairo\/v1\/get-tiktok-insights', {\n                method: 'POST', headers: { 'Content-Type': 'application\/json' },\n                body: JSON.stringify({ token: tiktokToken, adv_id: tiktokAdvId })\n            });\n            var json = await res.json();\n\n            if (json.success && json.data) {\n                window.lexGlobalMetaStats = json.data.stats;\n                window.lexGlobalMetaCampaigns = json.data.campaigns;\n\n                renderDashboardNumbers(json.data.stats, null, 'tiktok');\n                renderActiveCampaigns(json.data.campaigns);\n                \n                if(tipEl) tipEl.innerHTML = randomTip;\n            } else {\n                if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1: \" + (json.message || \"\u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03c3\u03c4\u03bf TikTok.\");\n            }\n        } catch(e) {\n            if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf TikTok API.\";\n        }\n        return;\n    }\n\n    \/\/ ==========================================\n    \/\/ META ADS (\u0391\u03a0\u039f\u039b\u03a5\u03a4\u0391 \u03a0\u03a1\u0391\u0393\u039c\u0391\u03a4\u0399\u039a\u0391 \u0394\u0395\u0394\u039f\u039c\u0395\u039d\u0391)\n    \/\/ ==========================================\n    var clientToken = localStorage.getItem('lexairo_client_fb_token');\n    if (!clientToken) {\n        document.getElementById('lex-active-campaigns-list').innerHTML = '';\n        if(tipEl) tipEl.innerHTML = \"\u26a0\ufe0f <span style='color:#F59E0B;'>\u0394\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bd\u03b4\u03b5\u03b8\u03b5\u03af. \u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b9\u03c2 '\u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 (Social)' \u03ba\u03b1\u03b9 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03c4\u03b5 \u03c4\u03bf Meta.<\/span>\";\n        return;\n    }\n\n    var activeAdAccount = localStorage.getItem('lexairo_active_ad_account');\n    if (!activeAdAccount) {\n        if(tipEl) tipEl.innerHTML = \"\u26a0\ufe0f <span style='color:#F59E0B;'>\u0395\u03ba\u03ba\u03c1\u03b5\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1: \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc.<\/span>\";\n        return;\n    }\n\n    if(tipEl) tipEl.innerHTML = \"\ud83d\udd04 <i>\u03a3\u03c5\u03b3\u03c7\u03c1\u03bf\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03bc\u03b5 Meta API...<\/i>\";\n\n    try {\n        var res = await fetch('\/wp-json\/lexairo\/v1\/get-meta-insights', {\n            method: 'POST', headers: { 'Content-Type': 'application\/json' },\n            body: JSON.stringify({ token: clientToken, ad_account_id: activeAdAccount })\n        });\n        var json = await res.json();\n\n        if (json.success && json.data) {\n            \/\/ \u0391\u03a0\u039f\u0398\u0397\u039a\u0395\u03a5\u03a3\u0397 \u03a3\u03a4\u0397 \u039c\u039d\u0397\u039c\u0397 \u0393\u0399\u0391 \u03a4\u039f DRILL-DOWN \u0391\u039d\u0391\u039b\u03a5\u03a3\u0397\u03a3\n            window.lexGlobalMetaStats = json.data.stats;\n            window.lexGlobalMetaCampaigns = json.data.campaigns;\n\n            \/\/ ANIMATED \u0395\u039c\u03a6\u0391\u039d\u0399\u03a3\u0397 \u03a3\u03a5\u039d\u039f\u039b\u0399\u039a\u03a9\u039d \u03a3\u03a4\u0391\u03a4\u0399\u03a3\u03a4\u0399\u039a\u03a9\u039d\n            renderDashboardNumbers(json.data.stats, null, 'meta');\n            renderActiveCampaigns(json.data.campaigns);\n\n            if(tipEl) tipEl.innerHTML = randomTip;\n        } else {\n            if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1: \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03c3\u03c4\u03bf Meta.\";\n        }\n    } catch(e) {\n        if(tipEl) tipEl.innerHTML = \"\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd server.\";\n    }\n}\n\n\/\/ =========================================================\n\/\/ \u039d\u0395\u0395\u03a3 PREMIUM \u039b\u0395\u0399\u03a4\u039f\u03a5\u03a1\u0393\u0399\u0395\u03a3 (ANIMATIONS & DRILL-DOWN)\n\/\/ =========================================================\n\nwindow.renderDashboardNumbers = function(stats, campaignName, platform = 'meta') {\n    \/\/ 1. \u0394\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03cc\u03c2 \u03a4\u03af\u03c4\u03bb\u03bf\u03c2 \u03a6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5\n    let titleEl = document.getElementById('dash-filter-title');\n    if (!titleEl) {\n        let header = document.querySelector('.lex-dash-header');\n        titleEl = document.createElement('div');\n        titleEl.id = 'dash-filter-title';\n        titleEl.style.cssText = 'margin-bottom: 20px; font-size: 14px; color: #00E5FF; font-weight: bold; display: none; align-items: center; gap: 8px; background: rgba(0, 229, 255, 0.1); padding: 8px 15px; border-radius: 8px; border: 1px solid rgba(0, 229, 255, 0.3);';\n        header.parentNode.insertBefore(titleEl, header.nextSibling);\n    }\n\n    if (campaignName) {\n        titleEl.innerHTML = `\ud83c\udfaf <b>\u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2:<\/b> ${campaignName} <button onclick=\"resetDashboardStats()\" style=\"margin-left: auto; background: #EF4444; color: #fff; border: none; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: bold; cursor: pointer;\">\u2716 \u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf \u03a6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5<\/button>`;\n        titleEl.style.display = 'flex';\n    } else {\n        titleEl.style.display = 'none';\n    }\n\n    \/\/ 2. \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd (\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1 \u03b3\u03b9\u03b1 NaN)\n    let imp = parseInt(stats.imp || stats.impressions) || 0;\n    let clicks = parseInt(stats.inline_link_clicks || stats.clicks) || 0;\n    let spend = parseFloat(stats.spend) || 0;\n    \n    \/\/ \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 CTR \u03b1\u03bd \u03b4\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf\n    let rawCtr = stats.ctr !== undefined ? stats.ctr : (imp > 0 ? (clicks \/ imp) * 100 : 0);\n    let ctr = parseFloat(String(rawCtr).replace('%', '')) || 0;\n\n    let purchases = parseInt(stats.purchases) || 0;\n    let revenue = parseFloat(stats.revenue) || 0;\n    let roas = spend > 0 ? (revenue \/ spend).toFixed(2) : \"0.00\";\n    let savedMeta = spend * 0.15;\n\n    \/\/ 3. \u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03c9\u03bd Animated Counters\n    animateValue('stat-imp', imp, false, false, true);\n    animateValue('stat-clicks', clicks, false, false, true);\n    animateValue('stat-ctr', ctr, false, true, false);\n    animateValue('stat-cost', spend, true, false, false);\n    animateValue('lexairo-purchases', purchases, false, false, true);\n    animateValue('stat-saved', savedMeta, true, false, false);\n\n    \/\/ 4. \u0395\u03b9\u03b4\u03b9\u03ba\u03ae \u03b5\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03c4\u03bf ROAS Box (HTML \u03b4\u03bf\u03bc\u03ae)\n    let roasEl = document.getElementById('lexairo-roas');\n    if (roasEl) {\n        roasEl.style.opacity = '0'; \/\/ \u039c\u03b9\u03ba\u03c1\u03cc \u03b5\u03c6\u03ad\n        setTimeout(() => {\n            roasEl.innerHTML = '\u20ac' + revenue.toFixed(2) + ' <span style=\"font-size:14px; color:#10B981; font-weight:900;\">(' + roas + 'x)<\/span>';\n            roasEl.style.opacity = '1';\n            roasEl.style.transition = 'opacity 0.5s';\n        }, 100);\n    }\n};\n\n\/\/ \u0397 \u03bc\u03b7\u03c7\u03b1\u03bd\u03ae Animation \u03c4\u03c9\u03bd \u0391\u03c1\u03b9\u03b8\u03bc\u03ce\u03bd\nwindow.animateValue = function(id, end, isCurrency, isPercentage, isInteger) {\n    let el = document.getElementById(id);\n    if(!el) return;\n    let start = 0;\n    let duration = 1200; \/\/ 1.2 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1 animation\n    let startTimestamp = null;\n    \n    const step = (timestamp) => {\n        if (!startTimestamp) startTimestamp = timestamp;\n        const progress = Math.min((timestamp - startTimestamp) \/ duration, 1);\n        \/\/ \u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 easeOut effect (\u03b3\u03c1\u03ae\u03b3\u03bf\u03c1\u03b1 \u03c3\u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03ae, \u03c3\u03b2\u03ae\u03bd\u03b5\u03b9 \u03c3\u03c4\u03bf \u03c4\u03ad\u03bb\u03bf\u03c2)\n        const easeOut = 1 - Math.pow(1 - progress, 3); \n        let currentVal = easeOut * end;\n        \n        let out = isInteger ? Math.floor(currentVal).toLocaleString() : currentVal.toFixed(2);\n        if(isCurrency) out = '\u20ac' + out;\n        if(isPercentage) out = out + '%';\n        \n        el.innerText = out;\n        \n        if (progress < 1) {\n            window.requestAnimationFrame(step);\n        } else {\n            \/\/ \u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03af\u03bc\u03b1\u03c3\u03c4\u03b5 100% \u03c3\u03af\u03b3\u03bf\u03c5\u03c1\u03bf\u03b9 \u03cc\u03c4\u03b9 \u03ba\u03bb\u03b5\u03b9\u03b4\u03ce\u03bd\u03b5\u03b9 \u03c3\u03c4\u03bf \u03c3\u03c9\u03c3\u03c4\u03cc \u03c4\u03b5\u03bb\u03b9\u03ba\u03cc \u03bd\u03bf\u03cd\u03bc\u03b5\u03c1\u03bf\n            out = isInteger ? Math.floor(end).toLocaleString() : end.toFixed(2);\n            if(isCurrency) out = '\u20ac' + out;\n            if(isPercentage) out = out + '%';\n            el.innerText = out;\n        }\n    };\n    window.requestAnimationFrame(step);\n};\n\n\/\/ \u03a6\u03af\u03bb\u03c4\u03c1\u03bf Drill-down \u03cc\u03c4\u03b1\u03bd \u03ba\u03ac\u03bd\u03b5\u03b9 \u03ba\u03bb\u03b9\u03ba\nwindow.filterDashboardByCampaign = function(campId) {\n    if (!window.lexGlobalMetaCampaigns) return;\n    let camp = window.lexGlobalMetaCampaigns.find(c => c.campaign_id === campId || c.id === campId);\n    if (camp) {\n        renderDashboardNumbers(camp, camp.name, 'meta');\n        window.scrollTo({ top: 0, behavior: 'smooth' });\n    }\n};\n\n\/\/ \u0395\u03c0\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03c3\u03c4\u03b1 \u03a3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03ac\nwindow.resetDashboardStats = function() {\n    if (window.lexGlobalMetaStats) {\n        renderDashboardNumbers(window.lexGlobalMetaStats, null, 'meta');\n    }\n};\n\n\/\/ =========================================================\n\nfunction renderActiveCampaigns(campaigns) {\n    var container = document.getElementById('lex-active-campaigns-list');\n    if (!container) return;\n    \n    if (!campaigns || campaigns.length === 0) {\n        container.innerHTML = '<div class=\"lex-feed-title\" style=\"margin-bottom:15px; color:#64748B;\">\u0394\u0395\u039d \u03a5\u03a0\u0391\u03a1\u03a7\u039f\u03a5\u039d \u0395\u039d\u0395\u03a1\u0393\u0395\u03a3 \u039a\u0391\u039c\u03a0\u0391\u039d\u0399\u0395\u03a3 LEXAIRO \u0391\u039a\u039f\u039c\u0391<\/div>';\n        return;\n    }\n\n    var html = '<div class=\"lex-feed-title\" style=\"margin-bottom:15px; color:#10B981;\">\ud83d\udd25 \u0395\u039d\u0395\u03a1\u0393\u0395\u03a3 \u039a\u0391\u039c\u03a0\u0391\u039d\u0399\u0395\u03a3 LEXAIRO AI (LIVE DATA)<\/div>';\n    \n    campaigns.forEach(c => {\n        var isActive = c.status === 'ACTIVE';\n        var statusColor = isActive ? '#10B981' : '#64748B';\n        var statusText = isActive ? '\u0395\u03bd\u03b5\u03c1\u03b3\u03ae' : '\u039f\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5 \/ \u03a3\u03b5 \u03a0\u03b1\u03cd\u03c3\u03b7';\n        \n        var imp = parseInt(c.impressions) || 0;\n        var clk = parseInt(c.inline_link_clicks || c.clicks) || 0;\n        var spendFloat = parseFloat(c.spend) || 0;\n        var ctrValue = imp > 0 ? (clk \/ imp) * 100 : 0;\n        var campCtr = ctrValue.toFixed(2) + '%';\n        var campId = c.campaign_id || c.id; \/\/ \u03a4\u03bf ID \u03c4\u03b7\u03c2 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03bf \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\n\n        var isWinner = (ctrValue >= 1.5 && imp >= 500);\n\n        var pulseDot = isActive \n            ? '<span style=\"display:inline-block; width:8px; height:8px; background-color:#10B981; border-radius:50%; margin-right:6px; box-shadow: 0 0 8px #10B981; animation: pulse 2s infinite;\"><\/span>' \n            : '<span style=\"display:inline-block; width:8px; height:8px; background-color:#64748B; border-radius:50%; margin-right:6px;\"><\/span>';\n\n        var buttonHtml = '';\n        var safeName = c.name ? c.name.replace(\/'\/g, \"\\\\'\") : ''; \n        \n        if (!isActive && isWinner) {\n            buttonHtml = '<button onclick=\"rerunCampaign(\\'' + safeName + '\\')\" style=\"background: linear-gradient(90deg, #7C3AED 0%, #3B82F6 100%); color: white; border: none; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);\">\ud83d\ude80 \u0395\u03c0\u03b1\u03bd\u03b1\u03ba\u03c5\u03ba\u03bb\u03bf\u03c6\u03bf\u03c1\u03af\u03b1<\/button>';\n        } else {\n            var tooltipText = isActive ? \"\u0397 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03ba\u03cc\u03bc\u03b1 \u03b5\u03bd\u03b5\u03c1\u03b3\u03ae.\" : \"\u0397 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7 \u03b4\u03b5\u03bd \u03b5\u03c0\u03b1\u03c1\u03ba\u03b5\u03af \u03b3\u03b9\u03b1 \u03b5\u03c0\u03b1\u03bd\u03b1\u03ba\u03c5\u03ba\u03bb\u03bf\u03c6\u03bf\u03c1\u03af\u03b1.\";\n            buttonHtml = '<button disabled title=\"' + tooltipText + '\" style=\"background: #334155; color: #94A3B8; border: none; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: bold; cursor: not-allowed;\">\ud83d\ude80 \u0395\u03c0\u03b1\u03bd\u03b1\u03ba\u03c5\u03ba\u03bb\u03bf\u03c6\u03bf\u03c1\u03af\u03b1<\/button>';\n        }\n\n        \/\/ \u039d\u0395\u039f: \u039a\u039f\u03a5\u039c\u03a0\u0399 DRILL-DOWN \u0391\u039d\u0391\u039b\u03a5\u03a3\u0397\u03a3\n        var drillDownBtn = `<button onclick=\"filterDashboardByCampaign('${campId}')\" style=\"background: rgba(0, 229, 255, 0.1); color: #00E5FF; border: 1px solid rgba(0, 229, 255, 0.3); padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: bold; cursor: pointer; transition: 0.2s; margin-right: 10px;\">\ud83d\udcca \u0391\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2<\/button>`;\n\n        var winnerBadge = (!isActive && isWinner) \n            ? '<div style=\"position: absolute; top: 0; right: 0; background: #8B5CF6; color: white; font-size: 9px; font-weight: 900; padding: 3px 25px; transform: rotate(45deg) translate(16px, -12px); box-shadow: 0 2px 10px rgba(0,0,0,0.5); letter-spacing: 1px;\">WINNER<\/div>' \n            : '';\n\n        var clickColor = (!isActive && isWinner) ? '#8B5CF6' : '#3B82F6';\n        var ctrColor = (!isActive && isWinner) ? '#10B981' : '#A0AEC0';\n\n        var localCampaigns = JSON.parse(localStorage.getItem('lex_active_campaigns') || '[]');\n        var localCamp = localCampaigns.find(lc => lc.name === c.name || lc.id === campId);\n        var totalBudget = parseFloat(c.daily_budget) || (localCamp ? parseFloat(localCamp.total_budget || localCamp.budget || 50) : 50); \n        var progressPercent = Math.min((spendFloat \/ totalBudget) * 100, 100).toFixed(1);\n\n        var progressBarHtml = `\n            <div style=\"margin-bottom: 15px; padding: 0 5px;\">\n                <div style=\"display: flex; justify-content: space-between; font-size: 10px; color: #94A3B8; margin-bottom: 6px; text-transform: uppercase; font-weight: bold;\">\n                    <span>\u039a\u03b1\u03c4\u03b1\u03bd\u03b1\u03bb\u03c9\u03c3\u03b7 Budget<\/span>\n                    <span style=\"color:#fff;\">\u20ac${spendFloat.toFixed(2)} <span style=\"color:#64748B;\">\/ \u20ac${totalBudget.toFixed(2)}<\/span><\/span>\n                <\/div>\n                <div style=\"width: 100%; height: 6px; background: rgba(0,0,0,0.4); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05);\">\n                    <div style=\"width: ${progressPercent}%; height: 100%; background: linear-gradient(90deg, #3B82F6, #8B5CF6); border-radius: 6px; box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);\"><\/div>\n                <\/div>\n            <\/div>`;\n\n        html += `\n        <div style=\"background: linear-gradient(145deg, #0F121E 0%, #161A29 100%); border: 1px solid #2D3748; padding: 18px; border-radius: 12px; margin-bottom: 15px; border-left: 5px solid ${statusColor}; position: relative; overflow: hidden;\">\n            ${winnerBadge}\n            <div style=\"display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px;\">\n                <div style=\"font-size: 15px; color: #fff; font-weight: bold; width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\">\n                    <span style=\"font-size:16px; margin-right:5px;\">\ud83e\udd16<\/span> ${c.name}\n                <\/div>\n                <div style=\"color: ${statusColor}; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; display:flex; align-items:center;\">\n                    ${pulseDot} ${statusText}\n                <\/div>\n            <\/div>\n            \n            <div style=\"display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; font-size: 13px; color: #94A3B8; margin-bottom: 12px;\">\n                <div style=\"display:flex; flex-direction:column;\">\n                    <span style=\"font-size:11px; text-transform:uppercase; margin-bottom:3px;\">Lexairo AI \u039a\u03bb\u03b9\u03ba\u03c2<\/span>\n                    <span style=\"color:${clickColor}; font-size:18px; font-weight:800;\">${clk}<\/span>\n                <\/div>\n                <div style=\"display:flex; flex-direction:column;\">\n                    <span style=\"font-size:11px; text-transform:uppercase; margin-bottom:3px;\">\u0395\u03bc\u03c6\u03b1\u03bd\u03b9\u03c3\u03b5\u03b9\u03c2 \/ CTR<\/span>\n                    <span style=\"color:#E2E8F0; font-size:16px; font-weight:600;\">${imp.toLocaleString()} <span style=\"font-size:13px; color:${ctrColor};\">(${campCtr})<\/span><\/span>\n                <\/div>\n                <div style=\"display:flex; flex-direction:column; text-align:right;\">\n                    <span style=\"font-size:11px; text-transform:uppercase; margin-bottom:3px;\">\u03a3\u03c5\u03bd\u03bf\u03bb. \u039a\u03bf\u03c3\u03c4\u03bf\u03c2<\/span>\n                    <span style=\"color:#fff; font-size:16px; font-weight:bold;\">\u20ac${c.spend}<\/span>\n                <\/div>\n            <\/div>\n\n            ${progressBarHtml}\n\n            <div style=\"display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); padding: 10px 15px; border-radius: 8px;\">\n                <div style=\"display:flex; align-items:center; gap:6px;\">\n                    <span style=\"color: #10B981; font-size: 14px;\">\ud83d\udee1\ufe0f<\/span>\n                    <span style=\"color: ${isActive ? '#10B981' : '#64748B'}; font-size: 11px; font-weight: bold;\">SMART SPEND GUARD: ${isActive ? '\u0395\u039d\u0395\u03a1\u0393\u039f' : '\u0391\u039d\u0395\u039d\u0395\u03a1\u0393\u039f'}<\/span>\n                <\/div>\n                <div>\n                    ${drillDownBtn}\n                    ${buttonHtml}\n                <\/div>\n            <\/div>\n        <\/div>`;\n    });\n    \n    if (!document.getElementById('lex-pulse-style')) {\n        const style = document.createElement('style');\n        style.id = 'lex-pulse-style';\n        style.innerHTML = '@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }';\n        document.head.appendChild(style);\n    }\n    container.innerHTML = html;\n}\n\n\/\/ \u0397 \u03a3\u03a5\u039d\u0391\u03a1\u03a4\u0397\u03a3\u0397 \u03a4\u039f\u03a5 \u039a\u039f\u03a5\u039c\u03a0\u0399\u039f\u03a5 \u0391\u03a3\u03a6\u0391\u039b\u03a9\u03a3 \u03a4\u039f\u03a0\u039f\u0398\u0395\u03a4\u0397\u039c\u0395\u039d\u0397\nwindow.rerunCampaign = function(name) {\n    document.getElementById('lex-budget-modal').style.display = 'block';\n    console.log(\"\u03a0\u03c1\u03bf\u03b5\u03c4\u03bf\u03b9\u03bc\u03b1\u03c3\u03af\u03b1 \u03b5\u03c0\u03b1\u03bd\u03b1\u03ba\u03c5\u03ba\u03bb\u03bf\u03c6\u03bf\u03c1\u03af\u03b1\u03c2 (Winner) \u03b3\u03b9\u03b1: \" + name);\n};\n\n\/* --- \u03a6\u039f\u03a1\u03a4\u03a9\u03a3\u0397 \u039b\u039f\u0393\u0391\u03a1\u0399\u0391\u03a3\u039c\u03a9\u039d & \u03a3\u0395\u039b\u0399\u0394\u03a9\u039d META (\u039f \u0391\u039d\u0399\u03a7\u039d\u0395\u03a5\u03a4\u0397\u03a3) --- *\/\nasync function lexairoLoadMetaAccounts() {\n    const token = localStorage.getItem('lexairo_client_fb_token');\n    const container = document.getElementById('lex-meta-accounts-container');\n    const adSelect = document.getElementById('lex-ad-account-select');\n    const pageSelect = document.getElementById('lex-page-select');\n\n    if (!container || !token) return;\n\n    container.style.display = 'block';\n\n    try {\n        const res = await fetch('\/wp-json\/lexairo\/v1\/get-meta-accounts', {\n            method: 'POST',\n            headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n            body: new URLSearchParams({ 'token': token })\n        });\n        const json = await res.json();\n        console.log(\"META DEBUG RESPONSE:\", json); \n\n        if (json.success) {\n            if (json.ad_accounts && json.ad_accounts.length > 0) {\n                adSelect.innerHTML = '';\n                json.ad_accounts.forEach(acc => {\n                    adSelect.innerHTML += `<option value=\"act_${acc.account_id}\">${acc.name} (${acc.account_id})<\/option>`;\n                });\n                \n                if(!localStorage.getItem('lexairo_active_ad_account')) {\n                    localStorage.setItem('lexairo_active_ad_account', 'act_' + json.ad_accounts[0].account_id);\n                }\n                \n                const savedAcc = localStorage.getItem('lexairo_active_ad_account');\n                if(savedAcc) adSelect.value = savedAcc;\n                \n                adSelect.addEventListener('change', function() {\n                    localStorage.setItem('lexairo_active_ad_account', this.value);\n                    if(document.getElementById('view-dashboard').style.display === 'block') updateDashStats();\n                });\n            } else {\n                adSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03af<\/option>';\n            }\n\n            if (json.pages && json.pages.length > 0) {\n                pageSelect.innerHTML = '';\n                json.pages.forEach(page => {\n                    pageSelect.innerHTML += `<option value=\"${page.id}\">${page.name}<\/option>`;\n                });\n            } else {\n                pageSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03c3\u03b5\u03bb\u03af\u03b4\u03b5\u03c2<\/option>';\n            }\n        }\n    } catch (e) {\n        console.error(\"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7\u03c2 Meta Accounts:\", e);\n    }\n}\n\n\/* --- \u0395\u039a\u039a\u0399\u039d\u0397\u03a3\u0397 --- *\/\ndocument.addEventListener('DOMContentLoaded', () => {\n    nav('dashboard'); \n    if(typeof renderGeneralForm === 'function') renderGeneralForm();\n    if(typeof renderIndustryForm === 'function') renderIndustryForm();\n    \n    lexairoLoadMetaAccounts();\n});\n\n\/* ------------------------------------------------------------- *\/\n\/* --- \u039b\u039f\u0393\u0399\u039a\u0397 \u03a4\u039f\u03a5 \u03a0\u0391\u03a1\u0391\u0398\u03a5\u03a1\u039f\u03a5 (BUDGET MODAL) \u041f\u039f\u03a5 \u03a5\u03a0\u0397\u03a1\u03a7\u0395 \u03a3\u03a4\u039f HTML --- *\/\n\/* ------------------------------------------------------------- *\/\nwindow.closeBudgetModal = function() {\n    document.getElementById('lex-budget-modal').style.display = 'none';\n};\n\nwindow.calcTotal = function() {\n    const daily = parseFloat(document.getElementById('budget-daily').value) || 0;\n    const days = parseInt(document.getElementById('budget-days').value) || 0;\n    const total = daily * days;\n    \n    document.getElementById('total-cost').innerText = total.toFixed(2);\n    \n    const plat = document.getElementById('lex-smart-platform');\n    if (plat && plat.value === 'tiktok' && total < 50) {\n        \/\/ \u0391\u03bd\u03c4\u03af \u03b3\u03b9\u03b1 clicks, \u03c4\u03bf\u03c5 \u03b4\u03b5\u03af\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03ba\u03cc\u03ba\u03ba\u03b9\u03bd\u03bf \u03bc\u03ae\u03bd\u03c5\u03bc\u03b1!\n        document.getElementById('est-clicks').innerHTML = '<span style=\"color:#EF4444; font-weight:bold;\">\u26a0\ufe0f \u0395\u03bb\u03ac\u03c7\u03b9\u03c3\u03c4\u03bf TikTok: 50\u20ac<\/span>';\n        window.lexTikTokBlock = true; \/\/ \u039a\u03bb\u03b5\u03b9\u03b4\u03ce\u03bd\u03bf\u03c5\u03bc\u03b5 \u03b1\u03b8\u03cc\u03c1\u03c5\u03b2\u03b1 \u03c4\u03b7\u03bd \u03c0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae\n    } else {\n        \/\/ \u0391\u03bb\u03bb\u03b9\u03ce\u03c2 \u03b4\u03b5\u03af\u03c7\u03bd\u03b5\u03b9 \u03ba\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03ac \u03c4\u03b1 clicks\n        document.getElementById('est-clicks').innerText = \"~\" + Math.floor(total * 3) + \" - \" + Math.floor(total * 6);\n        window.lexTikTokBlock = false; \/\/ \u039e\u03b5\u03ba\u03bb\u03b5\u03b9\u03b4\u03ce\u03bd\u03bf\u03c5\u03bc\u03b5\n    }\n};\n\nwindow.payAndPublish = async function() {\n    if (window.lexTikTokBlock) return;\n\n    const selectedBudget = document.getElementById('budget-daily').value;\n    const selectedDays = document.getElementById('budget-days').value;\n    \n    closeBudgetModal(); \n\n    const finalizeBtn = document.getElementById('lex-finalize-strategy-btn');\n    const isEn = (document.getElementById('lex-smart-lang') && document.getElementById('lex-smart-lang').value === 'en');\n    const outputContent = document.getElementById('smart-output-content');\n    \n    const platformSelect = document.getElementById('lex-smart-platform');\n    const platformVal = platformSelect ? platformSelect.value.toLowerCase() : '';\n    const isGoogle = platformVal.includes('google');\n    const isTikTok = platformVal.includes('tiktok');\n\n    \/\/ \u0394\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03cc \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf Loading \u03b1\u03bd\u03ac\u03bb\u03bf\u03b3\u03b1 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1\n    let loadingTitle = \"\";\n    let icon = \"\u2699\ufe0f\";\n\n    if (isGoogle) {\n        loadingTitle = isEn ? \"Publishing to Google Ads...\" : \"\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf Google Ads...\";\n        icon = '\ud83c\udf10';\n    } else if (isTikTok) {\n        loadingTitle = isEn ? \"Publishing to TikTok...\" : \"\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf TikTok...\";\n        icon = '\ud83c\udfb5';\n    } else {\n        loadingTitle = isEn ? \"Publishing to Meta...\" : \"\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03b7 Meta...\";\n        icon = '\u267e\ufe0f';\n    }\n\n    const loadingSubtitle = isEn ? \"Please wait while we securely set up your campaign...\" : \"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5, \u03c3\u03c4\u03ae\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1 \u03c3\u03b1\u03c2...\";\n    \n    const loadingHtml = '<div id=\"lex-publishing-modal\" style=\"position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(11, 15, 25, 0.9); z-index:999999; display:flex; align-items:center; justify-content:center; backdrop-filter: blur(10px);\"><div style=\"text-align:center; color:#fff; font-family:\\'Inter\\', sans-serif;\"><div style=\"font-size:65px; margin-bottom:20px; animation: pulse 1.5s infinite;\">' + icon + '<\/div><h2 style=\"color:#00E5FF; margin-bottom:10px; font-size:28px;\">' + loadingTitle + '<\/h2><p style=\"color:#94A3B8; font-size:16px;\">' + loadingSubtitle + '<\/p><\/div><\/div>';\n        \n        \/\/ \u039d\u0395\u039f: \u0395\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03b9 \u03c4\u03bf Loading screen \u03c3\u03c4\u03b7\u03bd \u03bf\u03b8\u03cc\u03bd\u03b7!\n        document.body.insertAdjacentHTML('beforeend', loadingHtml);\n    \n    const originalBtnText = finalizeBtn.innerText;\n    finalizeBtn.innerText = loadingTitle;\n    finalizeBtn.disabled = true;\n\n    try {\n        const fd = new FormData();\n        const platformSelect = document.getElementById('lex-smart-platform');\n        const platformVal = platformSelect ? platformSelect.value.toLowerCase() : '';\n        const isGoogle = platformVal.includes('google');\n        const isTikTok = platformVal.includes('tiktok');\n\n        fd.append('platform', platformVal);\n        fd.append('product', document.getElementById('lex-smart-product').value);\n        fd.append('goal', document.getElementById('lex-smart-goal').value);\n        \n        const safeUrl = document.getElementById('lex-smart-url').value.trim();\n        fd.append('landing_url', safeUrl);\n        fd.append('ai_data', window.lex_ai_strategy || '{}');\n        fd.append('daily_budget', selectedBudget);\n        fd.append('duration_days', selectedDays);\n\n        \/\/ \u03a7\u0395\u0399\u03a1\u039f\u03a5\u03a1\u0393\u0399\u039a\u0397 \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0392\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 (\u0395\u03b9\u03ba\u03cc\u03bd\u03b5\u03c2\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf) \u03c3\u03c4\u03bf \u03b4\u03ad\u03bc\u03b1!\n        if (!isGoogle && window.lex_ai_file && window.lex_ai_file.length > 0) {\n            for (let i = 0; i < window.lex_ai_file.length; i++) {\n                \/\/ \u03a4\u03bf \u03c3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c9\u03c2 array (image[]) \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c0\u03b1\u03af\u03b6\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03c4\u03bf TikTok Carousel \u03ba\u03b1\u03b9 \u03b7 Meta!\n                fd.append('image[]', window.lex_ai_file[i]); \n            }\n        }\n\n        let endpoint = '';\n\n        if (isGoogle) {\n            const googleToken = localStorage.getItem('lexairo_google_token') || '';\n            const googleAccEl = document.getElementById('ind-google-account');\n            const selectedGoogleAcc = googleAccEl ? googleAccEl.value : '';\n\n            if (!googleToken || !selectedGoogleAcc) {\n                alert(isEn ? \"\u26a0\ufe0f Please connect to Google and select an Ad Account.\" : \"\u26a0\ufe0f \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03c4\u03b5 \u03c4\u03bf Google Ads \u03ba\u03b1\u03b9 \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc.\");\n                const pubModal = document.getElementById('lex-publishing-modal');\n                if (pubModal) pubModal.remove();\n                finalizeBtn.innerText = originalBtnText;\n                finalizeBtn.disabled = false;\n                return;\n            }\n\n            fd.append('client_token', googleToken);\n            fd.append('ad_account_id', selectedGoogleAcc);\n            endpoint = '\/wp-json\/lexairo\/v1\/publish-to-google-gr';\n\n        } else if (isTikTok) {\n            \/\/ --- \u039d\u0395\u039f: \u0394\u0399\u0391\u0394\u03a1\u039f\u039c\u0397 \u0393\u0399\u0391 TIKTOK ---\n            const tiktokToken = localStorage.getItem('lexairo_tiktok_token') || '';\n            const tiktokAccEl = document.getElementById('lex-tiktok-account-select');\n            const selectedTikTokAcc = tiktokAccEl ? tiktokAccEl.value : '';\n\n            if (!tiktokToken || !selectedTikTokAcc) {\n                alert(isEn ? \"\u26a0\ufe0f Please connect to TikTok and select an Ad Account.\" : \"\u26a0\ufe0f \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03c4\u03b5 \u03c4\u03bf TikTok \u03ba\u03b1\u03b9 \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc.\");\n                const pubModal = document.getElementById('lex-publishing-modal');\n                if (pubModal) pubModal.remove();\n                finalizeBtn.innerText = originalBtnText;\n                finalizeBtn.disabled = false;\n                return;\n            }\n\n            fd.append('client_token', tiktokToken);\n            fd.append('ad_account_id', selectedTikTokAcc);\n\n            \/\/ --- \u0397 \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397 \u039c\u0391\u03a3 ---\n            const lexGoal = document.getElementById('lex-smart-goal').value; \n            let tiktokObjective = \"TRAFFIC\"; \n            if (lexGoal === 'sales') tiktokObjective = \"CONVERSIONS\";\n            else if (lexGoal === 'leads') tiktokObjective = \"LEAD_GENERATION\";\n            else if (lexGoal === 'traffic') tiktokObjective = \"TRAFFIC\";\n            else if (lexGoal === 'awareness') tiktokObjective = \"REACH\";\n\n            fd.append('tiktok_objective', tiktokObjective); \n            fd.append('budget_mode', 'CBO'); \n            \/\/ ----------------------\n            \n            \/\/ --- LEXAIRO CAROUSEL FIX: \u0388\u03be\u03c5\u03c0\u03bd\u03bf \"\u03c0\u03b1\u03ba\u03b5\u03c4\u03ac\u03c1\u03b9\u03c3\u03bc\u03b1\" \u03c0\u03bf\u03bb\u03bb\u03ce\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd ---\n            if (window.lex_ai_file) {\n                \/\/ \u0395\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b1\u03bd \u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03b1\u03bd\u03ad\u03b2\u03b1\u03c3\u03b5 \u03c0\u03bf\u03bb\u03bb\u03ad\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b5\u03c2 (FileList \u03ae Array)\n                if (window.lex_ai_file instanceof FileList || Array.isArray(window.lex_ai_file)) {\n                    for (let i = 0; i < window.lex_ai_file.length; i++) {\n                        fd.append('image[]', window.lex_ai_file[i]);\n                    }\n                } else {\n                    \/\/ \u0391\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf 1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf (\u03c0.\u03c7. \u0392\u03af\u03bd\u03c4\u03b5\u03bf)\n                    fd.append('image[]', window.lex_ai_file);\n                }\n            }\n            \n            endpoint = '\/wp-json\/lexairo\/v1\/publish-to-tiktok-gr'; \/\/ \u03a4\u03bf \u03bd\u03ad\u03bf \u03c3\u03bf\u03c5 TikTok endpoint\n\n        } else {\n            \/\/ --- \u0394\u0399\u0391\u0394\u03a1\u039f\u039c\u0397 \u0393\u0399\u0391 META (FACEBOOK\/INSTAGRAM) ---\n            const metaToken = localStorage.getItem('lexairo_client_fb_token') || '';\n            const adAccEl = document.getElementById('lex-ad-account-select');\n            const pageEl = document.getElementById('lex-page-select');\n            \n            fd.append('client_token', metaToken);\n            fd.append('ad_account_id', adAccEl ? adAccEl.value : '');\n            fd.append('page_id', pageEl ? pageEl.value : '');\n            if (window.lex_ai_file) fd.append('image', window.lex_ai_file);\n            \n            endpoint = '\/wp-json\/lexairo\/v1\/publish-to-meta-gr';\n        }\n\n        const res = await fetch(endpoint, { method: 'POST', body: fd });\n        const json = await res.json();\n\n        if (json.success) {\n            \/\/ \u039d\u0395\u039f: \u0395\u03be\u03b1\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf Loading Modal \u03bc\u03cc\u03bb\u03b9\u03c2 \u03c0\u03ac\u03c1\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \"\u039f\u039a\"\n            const pubModal = document.getElementById('lex-publishing-modal');\n            if (pubModal) pubModal.remove();\n\n            \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u039a\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf ---\n            const platStr = platformVal ? platformVal.toUpperCase() : 'META';\n            const prodStr = document.getElementById('lex-smart-product').value.substring(0,30);\n            lexairoSaveToHistory('\ud83d\ude80 PUBLISHED AD', '\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7: ' + platStr, JSON.stringify({\n                short_text: '\u0397 \u03ba\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1 (' + prodStr + '...) \u03c3\u03c4\u03ac\u03bb\u03b8\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2 \u03c3\u03c4\u03bf API \u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03bf\u03cd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03cd \u03ba\u03b1\u03b9 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03b7\/\u03b5\u03bd\u03b5\u03c1\u03b3\u03ae.'\n            }));\n            \/\/ ------------------------------------------------------\n\n            \/\/ Premium &#038; Universal \u039c\u03ae\u03bd\u03c5\u03bc\u03b1 \u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1\u03c2\n            const successTitle = isEn ? \"Campaign Published!\" : \"\u0397 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1 \u0394\u03b7\u03bc\u03bf\u03c3\u03b9\u03b5\u03cd\u03c4\u03b7\u03ba\u03b5!\";\n            const successDesc = isEn ? \"Your strategy has been successfully synced with your selected Ad Account as a Draft.\" : \"\u0397 \u03c3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae \u03c3\u03b1\u03c2 \u03c3\u03c5\u03b3\u03c7\u03c1\u03bf\u03bd\u03af\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03bf \u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c9\u03c2 \u03a0\u03c1\u03bf\u03c3\u03c7\u03ad\u03b4\u03b9\u03bf (Draft).\";\n\n            outputContent.innerHTML = '<div style=\"text-align:center; padding:60px 20px; background:rgba(16, 185, 129, 0.1); border:2px solid #10B981; border-radius:30px; color:#fff; font-family:\\'Inter\\', sans-serif; animation: fadeIn 0.6s ease-out;\"><div style=\"font-size:70px; margin-bottom:25px;\">\ud83d\ude80<\/div><h2 style=\"margin-bottom:15px; color:#10B981; font-size:32px;\">' + successTitle + '<\/h2><p style=\"font-size:18px; color:#CBD5E0; line-height:1.6; max-width:500px; margin:0 auto;\">' + successDesc + '<\/p><div style=\"margin-top:30px; padding:12px 25px; background:rgba(16, 185, 129, 0.2); border-radius:50px; display:inline-block; font-size:14px; color:#10B981; font-weight:bold;\">STATUS: DIRECT API CONNECTED<\/div><\/div>';        \n\n            const actions = document.getElementById('smart-actions');\n            if(actions) actions.style.display = 'none';\n            window.scrollTo({ top: document.getElementById('smart-output').offsetTop - 50, behavior: 'smooth' });\n        } else {\n            \/\/ \u0395\u03be\u03b1\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf Loading Modal \u039a\u0391\u0399 \u03cc\u03c4\u03b1\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1!\n            const pubModal = document.getElementById('lex-publishing-modal');\n            if (pubModal) pubModal.remove();\n            \n            alert(\"\u26a0\ufe0f \" + json.message);\n            finalizeBtn.innerText = originalBtnText;\n            finalizeBtn.disabled = false;\n        }\n    } catch (err) {\n        console.error(err);\n        const pubModal = document.getElementById('lex-publishing-modal');\n        if (pubModal) pubModal.remove();\n        \n        alert(\"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2. \u0394\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac.\");\n        finalizeBtn.innerText = originalBtnText;\n        finalizeBtn.disabled = false;\n    }\n};\n\n\/\/ --- \u0395\u039b\u0395\u0393\u039a\u03a4\u0397\u03a3 \u0391\u039b\u039b\u0391\u0393\u0397\u03a3 \u03a0\u039b\u0391\u03a4\u03a6\u039f\u03a1\u039c\u0391\u03a3 (META VS GOOGLE VS TIKTOK) ---\ndocument.addEventListener('DOMContentLoaded', function() {\n    const platformSelect = document.getElementById('lex-smart-platform');\n    \n    if (platformSelect) {\n        platformSelect.addEventListener('change', function() {\n          if(typeof calcTotal === 'function') calcTotal();\n            const platformVal = this.value.toLowerCase();\n            const isGoogle = platformVal.includes('google');\n            const isTikTok = platformVal.includes('tiktok');\n            const isMeta = !isGoogle && !isTikTok;\n            \n            const fakeBtn = document.getElementById('lex-fake-file-btn');\n            const metaAccounts = document.getElementById('lex-meta-accounts-container');\n            const googleAccounts = document.getElementById('lex-google-accounts-container');\n            const tiktokAccounts = document.getElementById('lex-tiktok-accounts-container'); \/\/ \u039d\u0395\u039f\n            \n            \/\/ \u03a4\u03bf Google \u03b4\u03b5\u03bd \u03b8\u03ad\u03bb\u03b5\u03b9 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\/\u03b2\u03af\u03bd\u03c4\u03b5\u03bf\n            if (fakeBtn) fakeBtn.style.display = isGoogle ? 'none' : 'block';\n            \n            document.querySelectorAll('label').forEach(lbl => {\n                if(lbl.innerText.includes('\u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\/\u0392\u03af\u03bd\u03c4\u03b5\u03bf') || lbl.innerText.includes('Image\/Video')) {\n                    lbl.style.display = isGoogle ? 'none' : 'block';\n                }\n            });\n            \n            \/\/ \u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03c3\u03c9\u03c3\u03c4\u03bf\u03cd Dropdown \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03ce\u03bd\n            if (metaAccounts) metaAccounts.style.display = isMeta ? 'block' : 'none';\n            \n            if (googleAccounts) {\n                googleAccounts.style.display = isGoogle ? 'block' : 'none';\n                if (isGoogle && typeof lexairoFetchGoogleAccounts === 'function') {\n                    lexairoFetchGoogleAccounts(); \n                }\n            }\n\n            if (tiktokAccounts) {\n                tiktokAccounts.style.display = isTikTok ? 'block' : 'none';\n                if (isTikTok && typeof lexairoFetchTikTokAccounts === 'function') {\n                    lexairoFetchTikTokAccounts(); \/\/ \u03a4\u03c1\u03b1\u03b2\u03ac\u03b5\u03b9 \u03c4\u03b1 TikTok Accounts \u03b4\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03ac!\n                }\n            }\n\n            \/\/ \u0391\u039b\u039b\u0391\u0393\u0397 \u039a\u0395\u0399\u039c\u0395\u039d\u039f\u03a5 \u03a3\u03a4\u039f \u03a0\u03a1\u0391\u03a3\u0399\u039d\u039f \u039a\u039f\u03a5\u039c\u03a0\u0399 \u0394\u0397\u039c\u039f\u03a3\u0399\u0395\u03a5\u03a3\u0397\u03a3\n            const publishBtn = document.getElementById('lex-finalize-strategy-btn');\n            if (publishBtn) {\n                if (isGoogle) {\n                    publishBtn.innerText = '\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf Google Ads...';\n                } else if (isTikTok) {\n                    publishBtn.innerText = '\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf TikTok...';\n                } else {\n                    publishBtn.innerText = '\u0394\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03b7 Meta...';\n                }\n            }\n        });\n        \n        setTimeout(() => { platformSelect.dispatchEvent(new Event('change')); }, 200);\n    }\n});\n\n\/* --- \u03a6\u039f\u03a1\u03a4\u03a9\u03a3\u0397 \u039b\u039f\u0393\u0391\u03a1\u0399\u0391\u03a3\u039c\u03a9\u039d TIKTOK --- *\/\nasync function lexairoFetchTikTokAccounts() {\n    const token = localStorage.getItem('lexairo_tiktok_token');\n    \n    \/\/ \u03a8\u03ac\u03c7\u03bd\u03b5\u03b9 \u03c4\u03bf dropdown \u03c4\u03bf\u03c5 TikTok \u03c3\u03c4\u03bf HTML (\u03a0\u03a1\u0395\u03a0\u0395\u0399 \u039d\u0391 \u03a4\u039f \u0395\u03a7\u0395\u0399\u03a3 \u03a6\u03a4\u0399\u0391\u039e\u0395\u0399 \u039c\u0395 \u0391\u03a5\u03a4\u039f \u03a4\u039f ID)\n    const tiktokSelect = document.getElementById('lex-tiktok-account-select');\n\n    if (!tiktokSelect) {\n        console.warn(\"Lexairo Info: \u03a4\u03bf dropdown \u03c4\u03bf\u03c5 TikTok (lex-tiktok-account-select) \u03b4\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03c3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1.\");\n        return; \n    }\n\n    if (!token) {\n        tiktokSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 TikTok<\/option>';\n        return;\n    }\n\n    try {\n        tiktokSelect.innerHTML = '<option value=\"\">\u23f3 \u0391\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7 \u03b1\u03c0\u03cc TikTok API...<\/option>';\n        \n        const res = await fetch('\/wp-json\/lexairo\/v1\/get-tiktok-accounts', {\n            method: 'POST',\n            headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n            body: new URLSearchParams({ 'token': token })\n        });\n        \n        const json = await res.json();\n\n        if (json.success) {\n            if (json.accounts && json.accounts.length > 0) {\n                tiktokSelect.innerHTML = '<option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc Ads (TikTok)...<\/option>';\n                json.accounts.forEach(acc => {\n                    tiktokSelect.innerHTML += `<option value=\"${acc.id}\">${acc.name} (${acc.id})<\/option>`;\n                });\n            } else {\n                tiktokSelect.innerHTML = '<option value=\"\">\u26a0\ufe0f \u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 Ads<\/option>';\n            }\n        } else {\n            tiktokSelect.innerHTML = '<option value=\"\">\u274c ' + (json.message || '\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 API') + '<\/option>';\n        }\n    } catch (e) {\n        tiktokSelect.innerHTML = '<option value=\"\">\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03bc\u03b5 server<\/option>';\n    }\n}\n\n\/\/ =========================================================================\n\/\/ \u03a3\u03a4\u039f\u03a5\u039d\u03a4\u0399\u039f \u03a0\u0391\u03a1\u0391\u0393\u03a9\u0393\u0397\u03a3 (AI CREATIVE) - \u039b\u039f\u0393\u0399\u039a\u0397 & DRAG N DROP\n\/\/ =========================================================================\nlet currentStudioFile = null; \/\/ \u0391\u03c5\u03c4\u03ae \u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \"\u03ba\u03c1\u03b1\u03c4\u03ac\u03b5\u03b9\" \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c3\u03c4\u03b7 \u03bc\u03bd\u03ae\u03bc\u03b7\nconst studioUploadArea = document.getElementById('lex-studio-upload-area');\nconst studioFileInput = document.getElementById('lex-studio-file-input');\nconst studioResultsArea = document.getElementById('lex-studio-results');\n\n\/\/ 1. \u039a\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u03ba\u03bf\u03c5\u03c4\u03af \u03b3\u03b9\u03b1 \u03ac\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03b1\u03c1\u03b1\u03b8\u03cd\u03c1\u03bf\u03c5 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae\u03c2\nstudioUploadArea.addEventListener('click', () => {\n    studioFileInput.click();\n});\n\n\/\/ 2. \u038c\u03c4\u03b1\u03bd \u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03bb\u03ad\u03be\u03b5\u03b9 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03bc\u03b5 \u03c4\u03bf \u03ba\u03bb\u03b9\u03ba\nstudioFileInput.addEventListener('change', function(e) {\n    if(e.target.files.length > 0) {\n        handleStudioFile(e.target.files[0]);\n    }\n});\n\n\/\/ 3. Drag & Drop - \u038c\u03c4\u03b1\u03bd \u03c3\u03ad\u03c1\u03bd\u03b5\u03b9 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b1\u03c0\u03cc \u03c0\u03ac\u03bd\u03c9\nstudioUploadArea.addEventListener('dragover', (e) => {\n    e.preventDefault();\n    studioUploadArea.style.borderColor = '#10B981'; \/\/ \u0393\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c0\u03c1\u03ac\u03c3\u03b9\u03bd\u03bf \u03c4\u03bf \u03c0\u03b5\u03c1\u03af\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\n    studioUploadArea.style.background = '#0F172A';\n});\n\n\/\/ \u038c\u03c4\u03b1\u03bd \u03c6\u03b5\u03cd\u03b3\u03b5\u03b9 \u03c4\u03bf \u03c0\u03bf\u03bd\u03c4\u03af\u03ba\u03b9 \u03c7\u03c9\u03c1\u03af\u03c2 \u03bd\u03b1 \u03c4\u03bf \u03b1\u03c6\u03ae\u03c3\u03b5\u03b9\nstudioUploadArea.addEventListener('dragleave', (e) => {\n    e.preventDefault();\n    studioUploadArea.style.borderColor = '#3B82F6'; \/\/ \u0395\u03c0\u03b1\u03bd\u03ad\u03c1\u03c7\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03bc\u03c0\u03bb\u03b5\n    studioUploadArea.style.background = '#1E293B';\n});\n\n\/\/ \u038c\u03c4\u03b1\u03bd \u03b1\u03c6\u03ae\u03bd\u03b5\u03b9 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03bc\u03ad\u03c3\u03b1 \u03c3\u03c4\u03bf \u03ba\u03bf\u03c5\u03c4\u03af (Drop)\nstudioUploadArea.addEventListener('drop', (e) => {\n    e.preventDefault();\n    studioUploadArea.style.borderColor = '#3B82F6';\n    studioUploadArea.style.background = '#1E293B';\n    \n    if(e.dataTransfer.files.length > 0) {\n        handleStudioFile(e.dataTransfer.files[0]);\n    }\n});\n\n\/\/ 4. \u0397 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03c0\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c0\u03bf\u03c5 \u03b1\u03bd\u03ad\u03b2\u03b7\u03ba\u03b5 (\u0391\u039d\u0391\u0392\u0391\u0398\u039c\u0399\u03a3\u039c\u0395\u039d\u0397 \u0393\u0399\u0391 IPHONE)\nasync function handleStudioFile(file) {\n    let fileToProcess = file;\n\n    \/\/ --- \u03a7\u0395\u0399\u03a1\u039f\u03a5\u03a1\u0393\u0399\u039a\u0397 \u03a5\u03a0\u039f\u03a3\u03a4\u0397\u03a1\u0399\u039e\u0397 IPHONE (HEIC\/HEIF) ---\n    const isHeic = file.type === \"image\/heic\" || \n                   file.name.toLowerCase().endsWith(\".heic\") || \n                   file.name.toLowerCase().endsWith(\".heif\");\n\n    if (isHeic) {\n        \/\/ --- \u0395\u039b\u0395\u0393\u03a7\u039f\u03a3 \u0391\u03a3\u03a6\u0391\u039b\u0395\u0399\u0391\u03a3: \u03a5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03b7 \u03b2\u03b9\u03b2\u03bb\u03b9\u03bf\u03b8\u03ae\u03ba\u03b7 heic2any; ---\n        if (typeof heic2any !== \"function\") {\n            alert(\"\u26a0\ufe0f \u0397 \u03c5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7 iPhone (HEIC) \u03c0\u03c1\u03bf\u03b5\u03c4\u03bf\u03b9\u03bc\u03ac\u03b6\u03b5\u03c4\u03b1\u03b9. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5 2-3 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03be\u03b1\u03bd\u03b1\u03c0\u03c1\u03bf\u03c3\u03c0\u03b1\u03b8\u03ae\u03c3\u03c4\u03b5.\");\n            return;\n        }\n\n        try {\n            \/\/ \u03a0\u03c1\u03bf\u03c3\u03c9\u03c1\u03b9\u03bd\u03cc UI \u03bc\u03ad\u03c7\u03c1\u03b9 \u03bd\u03b1 \u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9 \u03b7 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae\n            studioUploadArea.innerHTML = `\n                <div style=\"font-size: 40px; margin-bottom: 15px;\">\ud83d\udd04<\/div>\n                <h3 style=\"color: #3B82F6; margin-bottom: 10px;\">\u039c\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 iPhone...<\/h3>\n                <p style=\"color: #94A3B8; font-size: 13px;\">\u0392\u03b5\u03bb\u03c4\u03b9\u03c3\u03c4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c0\u03bf\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03bf AI. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5.<\/p>\n            `;\n            \n            \/\/ \u039c\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae \u03c3\u03b5 JPEG\n            const convertedBlob = await heic2any({\n                blob: file,\n                toType: \"image\/jpeg\",\n                quality: 0.8\n            });\n            \n            \/\/ \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03bd\u03ad\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1\n            fileToProcess = new File([convertedBlob], file.name.replace(\/\\.[^\/.]+$\/, \"\") + \".jpg\", {\n                type: \"image\/jpeg\"\n            });\n        } catch (error) {\n            alert(\"\u26a0\ufe0f \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 iPhone. \u0394\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 JPG \u03ae PNG.\");\n            console.error(\"HEIC Error:\", error);\n            return;\n        }\n    }\n    \/\/ ------------------------------------------------\n\n    \/\/ --- \u0395\u039b\u0395\u0393\u03a7\u039f\u03a3: \u039c\u039f\u039d\u039f \u0395\u0399\u039a\u039f\u039d\u0395\u03a3 ---\n    if (!fileToProcess.type.startsWith('image\/')) {\n        alert(\"\u26a0\ufe0f \u03a4\u03bf \u03a3\u03c4\u03bf\u03cd\u03bd\u03c4\u03b9\u03bf \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf \u03b5\u03b9\u03ba\u03cc\u03bd\u03b5\u03c2 (JPG, PNG, WebP, HEIC).\");\n        studioFileInput.value = \"\"; \n        return;\n    }\n\n    currentStudioFile = fileToProcess;\n\n    \/\/ \u03a4\u039f \u03a5\u03a0\u0391\u03a1\u03a7\u039f\u039d UI \u03a3\u039f\u03a5 - \u03a7\u03a9\u03a1\u0399\u03a3 \u039a\u0391\u039c\u0399\u0391 \u0391\u039b\u039b\u0391\u0393\u0397 \u03a3\u03a4\u0397 \u0394\u039f\u039c\u0397\n    studioUploadArea.innerHTML = `\n        <div style=\"font-size: 40px; margin-bottom: 15px;\">\u2705<\/div>\n        <h3 style=\"color: #10B981; margin-bottom: 10px;\">\u03a4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c6\u03bf\u03c1\u03c4\u03ce\u03b8\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2!<\/h3>\n        <p style=\"color: #94A3B8; font-size: 13px;\">\u0391\u03c1\u03c7\u03b5\u03af\u03bf: ${fileToProcess.name}<\/p>\n    `;\n    \n    studioResultsArea.style.display = 'block';\n    \n    studioResultsArea.innerHTML = `\n        <h3 style=\"color: #F8FAFC; margin-bottom: 20px; font-size: 18px;\">\u2699\ufe0f \u03a1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2<\/h3>\n        \n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px;\">\n            <div>\n                <label style=\"display: block; color: #94A3B8; margin-bottom: 8px; font-size: 14px;\">\u03a0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1 & \u039c\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2<\/label>\n                <select id=\"studio-format\" style=\"width: 100%; padding: 12px; border-radius: 8px; background: #1E293B; border: 1px solid #334155; color: #fff; outline: none;\">\n                    <option value=\"1:1\">\u03a4\u03b5\u03c4\u03c1\u03ac\u03b3\u03c9\u03bd\u03bf (Post Facebook\/Instagram)<\/option>\n                    <option value=\"9:16\">\u039a\u03ac\u03b8\u03b5\u03c4\u03bf (Story \/ TikTok \/ Reels)<\/option>\n                    <option value=\"16:9\">\u039f\u03c1\u03b9\u03b6\u03cc\u03bd\u03c4\u03b9\u03bf (Banner E-shop \/ YouTube)<\/option>\n                    <option value=\"email\">\u039c\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03b3\u03b9\u03b1 Email Newsletter<\/option>\n                <\/select>\n            <\/div>\n\n            <div>\n                <label style=\"display: block; color: #94A3B8; margin-bottom: 8px; font-size: 14px;\">\u03a3\u03c4\u03c5\u03bb & \u03a6\u03cc\u03bd\u03c4\u03bf (AI)<\/label>\n                <select id=\"studio-style\" onchange=\"checkCustomStyle(this.value)\" style=\"width: 100%; padding: 12px; border-radius: 8px; background: #1E293B; border: 1px solid #334155; color: #fff; outline: none;\">\n                    <option value=\"auto\">\u2728 Auto-Magic (\u0386\u03c3\u03c4\u03bf \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf AI)<\/option>\n                    <option value=\"minimal\">\u039c\u03b9\u03bd\u03b9\u03bc\u03b1\u03bb\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc (\u039b\u03b5\u03c5\u03ba\u03cc \u03c6\u03cc\u03bd\u03c4\u03bf \/ \u0391\u03c0\u03b1\u03bb\u03ae \u03a3\u03ba\u03b9\u03ac)<\/option>\n                    <option value=\"lifestyle\">Lifestyle (\u0396\u03b5\u03c3\u03c4\u03cc \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd \u03c3\u03c0\u03b9\u03c4\u03b9\u03bf\u03cd)<\/option>\n                    <option value=\"nature\">\u03a6\u03c5\u03c3\u03b9\u03ba\u03cc (\u0395\u03be\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03cc\u03c2 \u03c7\u03ce\u03c1\u03bf\u03c2, \u03b3\u03c1\u03b1\u03c3\u03af\u03b4\u03b9\/\u03ae\u03bb\u03b9\u03bf\u03c2)<\/option>\n                    <option value=\"neon\">\u039c\u03bf\u03bd\u03c4\u03ad\u03c1\u03bd\u03bf (\u039a\u03b9\u03bd\u03b7\u03bc\u03b1\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03cc\u03c2 \u03c6\u03c9\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2 \/ Neon)<\/option>\n                    <option value=\"luxury\">\u03a0\u03bf\u03bb\u03c5\u03c4\u03b5\u03bb\u03ad\u03c2 (\u039c\u03b1\u03cd\u03c1\u03bf \u03bc\u03ac\u03c1\u03bc\u03b1\u03c1\u03bf & \u03c7\u03c1\u03c5\u03c3\u03ad\u03c2 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2)<\/option>\n                    <option value=\"custom\">\u270f\ufe0f \u03a0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03bc\u03ad\u03bd\u03bf (\u0393\u03c1\u03ac\u03c8\u03c4\u03b5 \u03c4\u03b7 \u03b4\u03b9\u03ba\u03ae \u03c3\u03b1\u03c2 \u03b9\u03b4\u03ad\u03b1)<\/option>\n                <\/select>\n                \n                <div id=\"custom-prompt-container\" style=\"display: none; margin-top: 10px;\">\n                    <input type=\"text\" id=\"custom-studio-prompt\" placeholder=\"\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03ac\u03c8\u03c4\u03b5 \u03c4\u03bf \u03c3\u03ba\u03b7\u03bd\u03b9\u03ba\u03cc (\u03c0.\u03c7. \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf \u03c6\u03b5\u03b3\u03b3\u03ac\u03c1\u03b9)...\" style=\"width: 100%; padding: 12px; border-radius: 8px; background: #0F172A; border: 1px solid #8B5CF6; color: #fff; outline: none; font-size: 13px;\">\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"initial-generate-buttons\" style=\"display: flex; gap: 15px; margin-top: 30px;\">\n            <button onclick=\"showExtraFields('image')\" style=\"flex: 1; background: #8B5CF6; color: white; padding: 14px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s;\" onmouseover=\"this.style.opacity='0.8'\" onmouseout=\"this.style.opacity='1'\">\n                \ud83c\udfa8 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 (AI)\n            <\/button>\n            <button onclick=\"showExtraFields('video')\" style=\"flex: 1; background: #F59E0B; color: white; padding: 14px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s;\" onmouseover=\"this.style.opacity='0.8'\" onmouseout=\"this.style.opacity='1'\">\n                \ud83c\udfac \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0392\u03af\u03bd\u03c4\u03b5\u03bf (AI)\n            <\/button>\n            <button onclick=\"generateStudioEmail()\" style=\"flex: 1; background: #10B981; color: white; padding: 14px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s;\" onmouseover=\"this.style.opacity='0.8'\" onmouseout=\"this.style.opacity='1'\">\n                \u2709\ufe0f \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 Email\n            <\/button>\n        <\/div>\n\n        <div id=\"lexairo-extra-fields-container\" style=\"display: none; background: #1e293b; padding: 20px; border-radius: 8px; margin-top: 15px; border: 1px solid #334155; box-shadow: 0 4px 6px rgba(0,0,0,0.3);\">\n            <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;\">\n                <h4 style=\"color: #10B981; margin: 0; font-size: 16px; font-weight: 600;\">\n                    \u2728 \u039c\u03ae\u03bd\u03c5\u03bc\u03b1 \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2 (\u03a0\u03c1\u03bf\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc)\n                    <span style=\"display:block; font-size: 12px; color: #94a3b8; margin-top: 5px; font-weight: normal;\">\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03ac\u03c8\u03c4\u03b5 \u03b5\u03bb\u03b5\u03cd\u03b8\u03b5\u03c1\u03b1 \u03c4\u03b9 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1. \u039f AI Art Director \u03b8\u03b1 \u03c4\u03bf \u03b4\u03b9\u03b1\u03bc\u03bf\u03c1\u03c6\u03ce\u03c3\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03c4\u03bf \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03b9 \u03b5\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac. (\u0391\u03c6\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03ba\u03b5\u03bd\u03cc \u03b3\u03b9\u03b1 \u03c3\u03ba\u03ad\u03c4\u03b7 \u03c6\u03c9\u03c4\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1).<\/span>\n                <\/h4>\n                <button onclick=\"hideExtraFields()\" style=\"background: transparent; color: #94a3b8; border: none; cursor: pointer; font-size: 20px;\" title=\"\u0391\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7\">\u2716<\/button>\n            <\/div>\n            \n            <div>\n                <textarea id=\"lex_offer\" rows=\"3\" placeholder=\"\u03c0.\u03c7. \u0393\u03c1\u03ac\u03c8\u03b5 \u03cc\u03c4\u03b9 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 -20% \u03ad\u03ba\u03c0\u03c4\u03c9\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03bb\u03af\u03b3\u03b5\u03c2 \u03bc\u03ad\u03c1\u03b5\u03c2, \u03b2\u03ac\u03bb\u03b5 \u03c4\u03b7\u03bd \u03b5\u03c0\u03c9\u03bd\u03c5\u03bc\u03af\u03b1 \u03bc\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b4\u03b9\u03b1\u03ba\u03c1\u03b9\u03c4\u03b9\u03ba\u03ac \u03c4\u03bf \u03c4\u03b7\u03bb\u03ad\u03c6\u03c9\u03bd\u03bf \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2 \u03c3\u03c4\u03bf \u03ba\u03ac\u03c4\u03c9 \u03bc\u03ad\u03c1\u03bf\u03c2...\" style=\"width: 100%; padding: 14px; background: #0f121e; border: 1px solid #334155; color: #f8fafc; border-radius: 8px; outline: none; box-sizing: border-box; font-family: inherit; font-size: 14px; resize: vertical;\"><\/textarea>\n            <\/div>\n\n            <input type=\"hidden\" id=\"lex_production_type\" value=\"\">\n\n            <button onclick=\"startFinalProduction()\" style=\"margin-top: 20px; width: 100%; padding: 14px; background: #10B981; color: #fff; border: none; border-radius: 5px; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s;\" onmouseover=\"this.style.opacity='0.8'\" onmouseout=\"this.style.opacity='1'\">\n                \u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 & \u0388\u03bd\u03b1\u03c1\u03be\u03b7 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 AI \ud83d\ude80\n            <\/button>\n        <\/div>\n        \n        <div id=\"studio-final-output\" style=\"margin-top: 30px; display: none; text-align: center; border-top: 1px solid #334155; padding-top: 30px;\">\n        <\/div>\n    `;\n}\n\n\/\/ \u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7\/\u03b1\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03c4\u03bf\u03c5 Custom Prompt\nfunction checkCustomStyle(val) {\n    const container = document.getElementById('custom-prompt-container');\n    if (container) {\n        container.style.display = (val === 'custom') ? 'block' : 'none';\n    }\n}\n\n\/\/ --- \u039d\u0395\u0395\u03a3 \u03a3\u03a5\u039d\u0391\u03a1\u03a4\u0397\u03a3\u0395\u0399\u03a3 \u0393\u0399\u0391 \u03a4\u0391 \u03a0\u03a1\u039f\u0391\u0399\u03a1\u0395\u03a4\u0399\u039a\u0391 \u03a0\u0395\u0394\u0399\u0391 ---\nfunction showExtraFields(type) {\n    document.getElementById('initial-generate-buttons').style.display = 'none';\n    document.getElementById('lex_production_type').value = type;\n    document.getElementById('lexairo-extra-fields-container').style.display = 'block';\n}\n\nfunction hideExtraFields() {\n    document.getElementById('lexairo-extra-fields-container').style.display = 'none';\n    document.getElementById('initial-generate-buttons').style.display = 'flex';\n}\n\nfunction startFinalProduction() {\n    const type = document.getElementById('lex_production_type').value;\n    document.getElementById('lexairo-extra-fields-container').style.display = 'none';\n    \n    if (type === 'image') {\n        generateStudioImage(); \n    } else if (type === 'video') {\n        generateStudioVideo();\n    }\n}\n\n\/\/ \u0391\u03bd\u03b1\u03b2\u03b1\u03b8\u03bc\u03b9\u03c3\u03bc\u03ad\u03bd\u03b7 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 \u03bc\u03b5 Google API (Imagen 3 & Gemini Pro)\nasync function generateStudioImage() {\n    if (!currentStudioFile) {\n        alert(\"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c0\u03c1\u03ce\u03c4\u03b1 \u03bc\u03b9\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1!\");\n        return;\n    }\n\n    const outputArea = document.getElementById('studio-final-output');\n    const styleSelect = document.getElementById('studio-style');\n    const customInput = document.getElementById('custom-studio-prompt');\n    const formatSelect = document.getElementById('studio-format');\n\n    \/\/ 1. \u0394\u0399\u0391\u0392\u0391\u03a3\u039c\u0391 \u03a4\u03a9\u039d 5 \u03a0\u0395\u0394\u0399\u03a9\u039d \u03a0\u039f\u03a5 \u0398\u0391 \u0394\u0395\u0399 \u03a4\u039f PLUGIN\n    const adOffer   = document.getElementById('lex_offer')?.value || '';\n    const adCta     = document.getElementById('lex_cta')?.value || '';\n    const adAddress = document.getElementById('lex_address')?.value || '';\n    const adPhone   = document.getElementById('lex_phone')?.value || '';\n    const adStore   = document.getElementById('lex_store_name')?.value || '';\n\n    outputArea.style.display = 'block';\n    outputArea.innerHTML = `\n        <div style=\"padding: 30px; background: #1E293B; border-radius: 12px; border: 1px dashed #8B5CF6;\">\n            <h3 style=\"color: #8B5CF6; margin-bottom: 10px;\">\u2728 \u039f AI \u0393\u03c1\u03b1\u03c6\u03af\u03c3\u03c4\u03b1\u03c2 \u03c3\u03c7\u03b5\u03b4\u03b9\u03ac\u03b6\u03b5\u03b9...<\/h3>\n            <p style=\"color: #94A3B8; font-size: 14px;\">\u03a4\u03bf Gemini \u03b1\u03bd\u03b1\u03bb\u03cd\u03b5\u03b9 \u03c4\u03bf \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c4\u03b7\u03bd \u03c4\u03ad\u03bb\u03b5\u03b9\u03b1 \u03b4\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5...<\/p>\n        <\/div>\n    `;\n\n    \/\/ \u03a3\u03c5\u03bc\u03c0\u03af\u03b5\u03c3\u03b7 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 \u03c0\u03c1\u03b9\u03bd \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae (\u0391\u03bc\u03b5\u03c4\u03ac\u03b2\u03bb\u03b7\u03c4\u03b7 \u03bb\u03bf\u03b3\u03b9\u03ba\u03ae)\n    const resizeImage = (file) => {\n        return new Promise((resolve) => {\n            const reader = new FileReader();\n            reader.readAsDataURL(file);\n            reader.onload = (event) => {\n                const img = new Image();\n                img.src = event.target.result;\n                img.onload = () => {\n                    const canvas = document.createElement('canvas');\n                    let width = img.width;\n                    let height = img.height;\n                    const maxSide = 1500;\n\n                    if (width > height) {\n                        if (width > maxSide) {\n                            height = Math.round(height * (maxSide \/ width));\n                            width = maxSide;\n                        }\n                    } else {\n                        if (height > maxSide) {\n                            width = Math.round(width * (maxSide \/ height));\n                            height = maxSide;\n                        }\n                    }\n\n                    canvas.width = width;\n                    canvas.height = height;\n                    const ctx = canvas.getContext('2d');\n                    ctx.drawImage(img, 0, 0, width, height);\n                    resolve(canvas.toDataURL('image\/jpeg', 0.8));\n                };\n            };\n        });\n    };\n\n    try {\n        const compressedBase64 = await resizeImage(currentStudioFile);\n\n        let userPrompt = '';\n        if (styleSelect.value === 'custom') {\n            userPrompt = customInput.value.trim();\n        }\n\n        const formData = new FormData();\n        formData.append('image', compressedBase64);\n        formData.append('action', 'image_generation'); \/\/ \u039d\u03ad\u03bf action \u03b3\u03b9\u03b1 \u03c4\u03bf Google API\n        formData.append('style', styleSelect.value);\n        formData.append('format', formatSelect.value);\n        formData.append('custom_prompt', userPrompt);\n\n        formData.append('ad_offer', adOffer);\n        formData.append('ad_cta', adCta);\n        formData.append('ad_address', adAddress);\n        formData.append('ad_phone', adPhone);\n        formData.append('ad_store', adStore);\n\n        \/\/ --- LEXAIRO SECURITY: Nonce ---\n        const securityNonce = (typeof wpApiSettings !== 'undefined') ? wpApiSettings.nonce : '';\n\n        \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03b1\u03af\u03c4\u03b7\u03bc\u03b1 \u03c3\u03c4\u03bf handler \u03c4\u03bf\u03c5 plugin\n        const response = await fetch('\/wp-content\/plugins\/lexairo-proxy\/studio-handler.php', {\n            method: 'POST',\n            body: formData \n        });\n\n        const data = await response.json();\n\n        if (data.image_url) {\n            \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf ---\n            const imgContent = JSON.stringify({ \n                short_text: `<img decoding=\"async\" src=\"${data.image_url}\" style=\"width:100%; border-radius:8px; margin-bottom:10px;\"><br><a href=\"${data.image_url}\" download=\"lexairo-creative.jpg\" style=\"color:#3B82F6; text-decoration:none; font-weight:bold;\">\ud83d\udd17 \u039b\u03ae\u03c8\u03b7 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2<\/a>` \n            });\n            lexairoSaveToHistory('\ud83c\udfa8 AI IMAGE', '\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2 (Google AI)', imgContent);\n            \/\/ ---------------------------------------------------------------\n            \n            outputArea.innerHTML = `\n                <h3 style=\"color: #10B981; margin-bottom: 20px;\">\u2705 \u03a4\u03bf \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03cc \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf!<\/h3>\n                <div style=\"background: #1E293B; padding: 15px; border-radius: 12px; display: inline-block; border: 1px solid #334155; max-width: 400px; width: 100%;\">\n                    <img decoding=\"async\" src=\"${data.image_url}\" alt=\"AI Creative\" style=\"width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; border: 1px solid #334155;\">\n                    <a href=\"${data.image_url}\" download=\"lexairo-creative.jpg\" style=\"display: block; text-align: center; background: #3B82F6; color: white; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; width: 100%; text-decoration: none; transition: 0.2s;\">\n                        \u2b07\ufe0f \u039a\u03b1\u03c4\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2\n                    <\/a>\n                <\/div>\n            `;\n        } else {\n            outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 AI: ${data.message || '\u0386\u03b3\u03bd\u03c9\u03c3\u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae.'}<\/p>`;\n        }\n\n    } catch (error) {\n        outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd Lexairo Server. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac.<\/p>`;\n        console.error('Studio Image Gen Error:', error);\n    }\n}\n\n\/\/ \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0392\u03af\u03bd\u03c4\u03b5\u03bf \u03bc\u03b5 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b7 \u03c3\u03c5\u03bc\u03c0\u03af\u03b5\u03c3\u03b7 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03ba\u03b1\u03c1\u03ad\nasync function generateStudioVideo() {\n    if (!currentStudioFile) {\n        alert(\"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c0\u03c1\u03ce\u03c4\u03b1 \u03bc\u03b9\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1!\");\n        return;\n    }\n\n    const outputArea = document.getElementById('studio-final-output');\n    const styleSelect = document.getElementById('studio-style');\n    const customInput = document.getElementById('custom-studio-prompt');\n    const formatSelect = document.getElementById('studio-format');\n    \n    outputArea.style.display = 'block';\n    outputArea.innerHTML = `\n        <div style=\"padding: 30px; background: #1E293B; border-radius: 12px; border: 1px dashed #F59E0B; text-align: center;\">\n            <style>\n                @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }\n                @keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }\n            <\/style>\n            \n            <div style=\"display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 10px;\">\n                <div style=\"width: 24px; height: 24px; border: 3px solid #334155; border-top: 3px solid #F59E0B; border-radius: 50%; animation: spin 1s linear infinite;\"><\/div>\n                <h3 style=\"color: #F59E0B; margin: 0; animation: pulse 2s infinite;\">\ud83c\udfac \u039f \u03a3\u03ba\u03b7\u03bd\u03bf\u03b8\u03ad\u03c4\u03b7\u03c2 (AI) \u03b5\u03c4\u03bf\u03b9\u03bc\u03ac\u03b6\u03b5\u03b9 \u03c4\u03bf \u03c0\u03bb\u03ac\u03bd\u03bf...<\/h3>\n            <\/div>\n            \n            <p style=\"color: #94A3B8; font-size: 14px; margin-top: 10px;\">\u0397 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03b1\u03c0\u03b1\u03b9\u03c4\u03b5\u03af \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03bf \u03c7\u03c1\u03cc\u03bd\u03bf (\u03ad\u03c9\u03c2 \u03ba\u03b1\u03b9 5-10 \u03bb\u03b5\u03c0\u03c4\u03ac).<br>\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03bc\u03b7\u03bd \u03b1\u03bd\u03b1\u03bd\u03b5\u03ce\u03c3\u03b5\u03c4\u03b5 \u03ae \u03ba\u03bb\u03b5\u03af\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1...<\/p>\n        <\/div>\n    `;\n\n    \/\/ \u038a\u03b4\u03b9\u03b1 \u03c7\u03b5\u03b9\u03c1\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03ae \u03c3\u03c5\u03bc\u03c0\u03af\u03b5\u03c3\u03b7 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\n    const resizeImage = (file) => {\n        return new Promise((resolve) => {\n            const reader = new FileReader();\n            reader.readAsDataURL(file);\n            reader.onload = (event) => {\n                const img = new Image();\n                img.src = event.target.result;\n                img.onload = () => {\n                    const canvas = document.createElement('canvas');\n                    let width = img.width;\n                    let height = img.height;\n                    const maxSide = 1500;\n\n                    if (width > height) {\n                        if (width > maxSide) {\n                            height *= maxSide \/ width;\n                            width = maxSide;\n                        }\n                    } else {\n                        if (height > maxSide) {\n                            width *= maxSide \/ height;\n                            height = maxSide;\n                        }\n                    }\n\n                    canvas.width = width;\n                    canvas.height = height;\n                    const ctx = canvas.getContext('2d');\n                    ctx.drawImage(img, 0, 0, width, height);\n                    resolve(canvas.toDataURL('image\/jpeg', 0.8));\n                };\n            };\n        });\n    };\n\n    try {\n        const compressedBase64 = await resizeImage(currentStudioFile);\n\n        let userPrompt = \"\";\n        if (styleSelect.value === 'custom') {\n            userPrompt = customInput.value.trim();\n        }\n\n        \/\/ --- \u039d\u0395\u0391 \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0394\u0399\u0391\u0392\u0391\u0396\u039f\u03a5\u039c\u0395 \u03a4\u0391 \u03a0\u0395\u0394\u0399\u0391 \u03a4\u039f\u03a5 OVERLAY ---\n        const adOffer   = document.getElementById('lex_offer')?.value || '';\n        const adCta     = document.getElementById('lex_cta')?.value || '';\n        const adAddress = document.getElementById('lex_address')?.value || '';\n        const adPhone   = document.getElementById('lex_phone')?.value || '';\n        const adStore   = document.getElementById('lex_store_name')?.value || '';\n\n        const formData = new FormData();\n        formData.append('image', compressedBase64);\n        formData.append('action', 'video'); \/\/ \u0391\u039b\u039b\u0391\u0393\u0397 \u03a3\u0395 VIDEO\n        formData.append('style', styleSelect.value);\n        formData.append('format', formatSelect.value);\n        formData.append('custom_prompt', userPrompt);\n\n        \/\/ --- \u039d\u0395\u0391 \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u03a3\u03a4\u0395\u039b\u039d\u039f\u03a5\u039c\u0395 \u03a4\u0391 \u03a0\u0395\u0394\u0399\u0391 \u03a3\u03a4\u0397\u039d PHP ---\n        formData.append('ad_offer', adOffer);\n        formData.append('ad_cta', adCta);\n        formData.append('ad_address', adAddress);\n        formData.append('ad_phone', adPhone);\n        formData.append('ad_store', adStore);\n\n        const response = await fetch('\/wp-content\/plugins\/lexairo-proxy\/studio-handler.php', {\n            method: 'POST',\n            body: formData \n        });\n\n        const data = await response.json();\n\n        if (data.error) {\n            \/\/ \u0391\u03bd \u03c0\u03b9\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03cc\u03c1\u03b9\u03bf, \u03c0\u03b5\u03c4\u03ac\u03bc\u03b5 \u03b5\u03c0\u03af\u03c4\u03b7\u03b4\u03b5\u03c2 Error \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c0\u03ac\u03b5\u03b9 \u03c3\u03c4\u03bf catch block \u03c3\u03bf\u03c5!\n            if (data.error === 'LIMIT_REACHED') {\n                throw new Error(\"LIMIT_REACHED\"); \n            }\n            outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 AI: ${data.error}<\/p>`;\n            return;\n        }\n\n        \/\/ \u0391\u03bd \u03c0\u03ac\u03c1\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \"\u03b5\u03b9\u03c3\u03b9\u03c4\u03ae\u03c1\u03b9\u03bf\", \u03be\u03b5\u03ba\u03b9\u03bd\u03ac\u03bc\u03b5 \u03c4\u03bf Polling!\n        if (data.operationName) {\n            let attempts = 0;\n            const maxAttempts = 60; \/\/ 10 \u03bb\u03b5\u03c0\u03c4\u03ac (60 * 10s)\n            \n            const pollInterval = setInterval(async () => {\n                attempts++;\n                if (attempts > maxAttempts) {\n                    clearInterval(pollInterval);\n                    outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u0397 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u03c0\u03ae\u03c1\u03b5 \u03c5\u03c0\u03b5\u03c1\u03b2\u03bf\u03bb\u03b9\u03ba\u03ac \u03c0\u03bf\u03bb\u03bb\u03ae \u03ce\u03c1\u03b1. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac.<\/p>`;\n                    return;\n                }\n\n                try {\n                    const pollForm = new FormData();\n                    pollForm.append('action', 'check_video_status');\n                    pollForm.append('operationName', data.operationName);\n\n                    const pollRes = await fetch('\/wp-content\/plugins\/lexairo-proxy\/studio-handler.php', {\n                        method: 'POST',\n                        body: pollForm\n                    });\n                    const pollData = await pollRes.json();\n\n                    if (pollData.error) {\n                        clearInterval(pollInterval);\n                        outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 AI: ${pollData.error}<\/p>`;\n                        return;\n                    }\n\n                    \/\/ \u03a4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf! \u03a3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ac\u03bc\u03b5 \u03c4\u03b7 \u03bb\u03bf\u03cd\u03c0\u03b1 \u03ba\u03b1\u03b9 \u03c4\u03bf \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03c5\u03bc\u03b5!\n                    if (pollData.status === 'done' && pollData.video_url) {\n                        clearInterval(pollInterval);\n                        \n                        \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf (\u03bc\u03cc\u03bd\u03bf \u03c4\u03bf URL) ---\n                        const vidContent = JSON.stringify({ \n                            short_text: `<video src=\"${pollData.video_url}\" controls style=\"width:100%; border-radius:8px; margin-bottom:10px;\"><\/video><br><a href=\"${pollData.video_url}\" download=\"lexairo-video.mp4\" style=\"color:#F59E0B; text-decoration:none; font-weight:bold;\">\ud83d\udd17 \u039b\u03ae\u03c8\u03b7 \u0392\u03af\u03bd\u03c4\u03b5\u03bf<\/a>` \n                        });\n                        lexairoSaveToHistory('\ud83c\udfac AI VIDEO', '\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0392\u03af\u03bd\u03c4\u03b5\u03bf', vidContent);\n                        \/\/ ---------------------------------------------------------------\n\n                        outputArea.innerHTML = `\n                            <h3 style=\"color: #10B981; margin-bottom: 20px;\">\u2705 \u03a4\u03bf \u0392\u03af\u03bd\u03c4\u03b5\u03bf \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf!<\/h3>\n                            <div style=\"background: #1E293B; padding: 15px; border-radius: 12px; display: inline-block; border: 1px solid #334155; max-width: 400px; width: 100%;\">\n                                <video controls autoplay loop style=\"width: 100%; border-radius: 8px; margin-bottom: 15px; border: 1px solid #334155;\">\n                                    <source src=\"${pollData.video_url}\" type=\"video\/mp4\">\n                                    \u039f browser \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03b9 \u03c4\u03bf video tag.\n                                <\/video>\n                                <a href=\"${pollData.video_url}\" download=\"lexairo-creative-video.mp4\" style=\"display: block; text-align: center; background: #F59E0B; color: white; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; width: 100%; text-decoration: none; transition: 0.2s;\">\n                                    \u2b07\ufe0f \u039a\u03b1\u03c4\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u0392\u03af\u03bd\u03c4\u03b5\u03bf (MP4)\n                                <\/a>\n                            <\/div>\n                        `;\n                    }\n                    \/\/ \u0391\u03bd \u03c4\u03bf status \u03b5\u03af\u03bd\u03b1\u03b9 'processing', \u03b1\u03c0\u03bb\u03ac \u03b4\u03b5\u03bd \u03ba\u03ac\u03bd\u03b5\u03b9 \u03c4\u03af\u03c0\u03bf\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03be\u03b1\u03bd\u03b1\u03c1\u03c9\u03c4\u03ac\u03b5\u03b9 \u03c3\u03b5 10 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1.\n                } catch (e) {\n                    console.error(\"Polling error:\", e);\n                }\n            }, 10000); \/\/ 10000ms = 10 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1\n        }\n\n    } catch (error) {\n            console.error(\"Studio Video Error:\", error); \n            \n            outputArea.innerHTML = `\n                <div style=\"padding: 30px; background: #1E293B; border-radius: 12px; border: 1px solid #3B82F6; text-align: center; max-width: 600px; margin: 0 auto;\">\n                    <div style=\"font-size: 40px; margin-bottom: 15px;\">\ud83d\udcca<\/div>\n                    <h3 style=\"color: #3B82F6; margin-bottom: 10px;\">\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u0397\u03bc\u03b5\u03c1\u03ae\u03c3\u03b9\u03bf\u03c5 \u039f\u03c1\u03af\u03bf\u03c5<\/h3>\n                    <p style=\"color: #94A3B8; font-size: 14px; margin-bottom: 20px;\">\n                        \u0397 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae AI Video \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03b1 \u03b1\u03c0\u03b1\u03b9\u03c4\u03b7\u03c4\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03ba\u03b1\u03b9 \u03c4\u03bf \u03b7\u03bc\u03b5\u03c1\u03ae\u03c3\u03b9\u03bf \u03cc\u03c1\u03b9\u03bf \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c3\u03b1\u03c2 \u03ad\u03c7\u03b5\u03b9 \u03c3\u03c5\u03bc\u03c0\u03bb\u03b7\u03c1\u03c9\u03b8\u03b5\u03af.\n                        <br><br>\n                        <strong>\u039c\u03b7\u03bd \u03b1\u03bd\u03b7\u03c3\u03c5\u03c7\u03b5\u03af\u03c4\u03b5:<\/strong> \u03a4\u03bf \u03cc\u03c1\u03b9\u03bf \u03bc\u03b7\u03b4\u03b5\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b1 \u03bc\u03b5\u03c3\u03ac\u03bd\u03c5\u03c7\u03c4\u03b1. \u039c\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03c3\u03b5\u03c4\u03b5 \u03ba\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03ac \u03bc\u03b5 \u03c4\u03b7\u03bd <strong>\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u0395\u03b9\u03ba\u03cc\u03bd\u03c9\u03bd<\/strong> \u03ba\u03b1\u03b9 <strong>Emails<\/strong> \u03c0\u03bf\u03c5 \u03b4\u03b5\u03bd \u03ad\u03c7\u03bf\u03c5\u03bd \u03c0\u03b5\u03c1\u03b9\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2!\n                    <\/p>\n                    <div style=\"display: flex; gap: 10px; justify-content: center;\">\n                        <button type=\"button\" onclick=\"document.querySelector('[onclick*=\\\\'generateStudioImage\\\\']').click()\" style=\"background: #3B82F6; color: white; padding: 10px 15px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; font-size: 13px;\">\n                            \ud83c\udfa8 \u03a6\u03c4\u03b9\u03ac\u03be\u03b5 \u0395\u03b9\u03ba\u03cc\u03bd\u03b1\n                        <\/button>\n                        <button type=\"button\" onclick=\"generateStudioEmail()\" style=\"background: #10B981; color: white; padding: 10px 15px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; font-size: 13px;\">\n                            \u2709\ufe0f \u03a6\u03c4\u03b9\u03ac\u03be\u03b5 Email\n                        <\/button>\n                    <\/div>\n                <\/div>\n            `;\n        }\n}\n\n\/\/ \u03a3\u03a5\u039d\u0391\u03a1\u03a4\u0397\u03a3\u0397 1: \u038c\u03c4\u03b1\u03bd \u03c0\u03b1\u03c4\u03ac\u03b5\u03b9 \"\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 Email\" \u03c3\u03c4\u03bf \u03ba\u03b5\u03bd\u03c4\u03c1\u03b9\u03ba\u03cc UI\nasync function generateStudioEmail() {\n    if (!currentStudioFile) {\n        alert(\"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c0\u03c1\u03ce\u03c4\u03b1 \u03bc\u03b9\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2!\");\n        return;\n    }\n\n    const outputArea = document.getElementById('studio-final-output');\n    outputArea.style.display = 'block';\n    \n    \/\/ \u03a0\u03a1\u039f\u03a3\u039f\u03a7\u0397: \u0392\u03ac\u03bb\u03b1\u03bc\u03b5 type=\"button\" \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bc\u03b7\u03bd \u03ba\u03ac\u03bd\u03b5\u03b9 \u03c0\u03bf\u03c4\u03ad Refresh \u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1!\n    outputArea.innerHTML = `\n        <div style=\"padding: 30px; background: #1E293B; border-radius: 12px; border: 1px solid #334155; text-align: center; max-width: 600px; margin: 0 auto;\">\n            <h3 style=\"color: #10B981; margin-bottom: 10px;\">\ud83d\udd17 \u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03bc\u03b5 \u03c4\u03bf E-shop \u03c3\u03b1\u03c2<\/h3>\n            <p style=\"color: #94A3B8; font-size: 14px; margin-bottom: 20px;\">\n                \u0393\u03b9\u03b1 \u03bd\u03b1 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c3\u03c9\u03c3\u03c4\u03ac \u03c4\u03bf \u03ba\u03bf\u03c5\u03bc\u03c0\u03af \"\u0391\u03b3\u03bf\u03c1\u03ac\" \u03c3\u03c4\u03bf Email \u03c3\u03b1\u03c2, \u03b5\u03c0\u03b9\u03ba\u03bf\u03bb\u03bb\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf link \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd\u03c4\u03bf\u03c2.\n            <\/p>\n            <input type=\"text\" id=\"studio-product-link\" placeholder=\"\u03c0.\u03c7. https:\/\/mysite.gr\/product\/123\" \n                   style=\"width: 80%; padding: 12px; margin-bottom: 20px; border-radius: 6px; background: #0F172A; border: 1px solid #475569; color: white; outline: none; text-align: left;\">\n            <br>\n            <button type=\"button\" onclick=\"startEmailGenerationProcess()\" style=\"background: #10B981; color: white; padding: 12px 25px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.3s;\">\n                \ud83d\ude80 \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u039a\u03b1\u03bc\u03c0\u03ac\u03bd\u03b9\u03b1\u03c2\n            <\/button>\n        <\/div>\n    `;\n}\n\n\/\/ \u03a3\u03a5\u039d\u0391\u03a1\u03a4\u0397\u03a3\u0397 2: \u0397 \u03c0\u03c1\u03b1\u03b3\u03bc\u03b1\u03c4\u03b9\u03ba\u03ae \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u03bc\u03cc\u03bb\u03b9\u03c2 \u03b4\u03ce\u03c3\u03b5\u03b9 \u03c4\u03bf link\nasync function startEmailGenerationProcess() {\n    if (!currentStudioFile) {\n        alert(\"\u03a4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c7\u03ac\u03b8\u03b7\u03ba\u03b5! \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03bd\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac \u03c4\u03b7\u03bd \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1.\");\n        return;\n    }\n\n    const outputArea = document.getElementById('studio-final-output');\n    \n    \/\/ 1. \u0394\u03b9\u03b1\u03b2\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b1 \u03c0\u03b5\u03b4\u03af\u03b1 \u03a0\u03a1\u0399\u039d \u03c4\u03b1 \u03c3\u03b2\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03bf\u03b8\u03cc\u03bd\u03b7\n    const linkInput = document.getElementById('studio-product-link');\n    const linkValue = linkInput ? linkInput.value : '';\n    \n    const styleInput = document.getElementById('studio-style');\n    const styleValue = styleInput ? styleInput.value : 'auto';\n\n    \/\/ 2. \u0394\u03b5\u03af\u03c7\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf Loading State (\u03c4\u03ce\u03c1\u03b1 \u03c4\u03b1 \u03c0\u03b5\u03b4\u03af\u03b1 \u03b5\u03be\u03b1\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9)\n    outputArea.innerHTML = `\n        <div style=\"padding: 30px; background: #1E293B; border-radius: 12px; border: 1px dashed #10B981;\">\n            <h3 style=\"color: #10B981; margin-bottom: 10px;\">\u2709\ufe0f \u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 Email Campaign...<\/h3>\n            <p style=\"color: #94A3B8; font-size: 14px;\">\u0391\u03bd\u03b1\u03bb\u03cd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03c0\u03c1\u03bf\u03ca\u03cc\u03bd \u03ba\u03b1\u03b9 \u03b3\u03c1\u03ac\u03c6\u03bf\u03c5\u03bc\u03b5 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03b1. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5...<\/p>\n        <\/div>\n    `;\n\n    const reader = new FileReader();\n    reader.readAsDataURL(currentStudioFile);\n    \n    \/\/ 3. \u039f \"\u0391\u03bb\u03b5\u03be\u03af\u03c3\u03c6\u03b1\u03b9\u03c1\u03bf\u03c2\" \u03c4\u03c1\u03cc\u03c0\u03bf\u03c2: \u0392\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf try\/catch \u039c\u0395\u03a3\u0391 \u03c3\u03c4\u03bf onload\n    reader.onload = async function () {\n        try {\n            const base64Data = reader.result;\n            const formData = new FormData();\n            formData.append('image', base64Data);\n            formData.append('action', 'email');\n            formData.append('style', styleValue);\n            \n            if (linkValue) {\n                formData.append('link', linkValue);\n            }\n\n            \/\/ \u0395\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1 \u03bc\u03b5 \u03c4\u03bf WordPress \u03b3\u03b9\u03b1 \u03c4\u03bf \u03a0\u03c1\u03bf\u03c6\u03af\u03bb\n            const profileResponse = await fetch('\/wp-admin\/admin-ajax.php', {\n                method: 'POST',\n                headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n                body: 'action=lexairo_get_profile_data'\n            });\n            \n            if (!profileResponse.ok) throw new Error(\"\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03b1\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c6\u03af\u03bb \u03b1\u03c0\u03cc \u03c4\u03bf WordPress.\");\n            const profileRes = await profileResponse.json();\n\n            if (profileRes.success && profileRes.data) {\n                const d = profileRes.data;\n                formData.append('company', d.b_name || '');\n                formData.append('phone', d.phone || '');\n                formData.append('address', d.address || '');\n                formData.append('website', d.website || '');\n            }\n\n            \/\/ \u03a3\u03c4\u03ad\u03bb\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03b1\u03af\u03c4\u03b7\u03bc\u03b1 \u03c3\u03c4\u03bf \u03b4\u03b9\u03ba\u03cc \u03bc\u03b1\u03c2 Proxy API\n            const response = await fetch('\/wp-content\/plugins\/lexairo-proxy\/studio-handler.php', {\n                method: 'POST',\n                body: formData \n            });\n\n            if (!response.ok) throw new Error(\"\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd AI Server.\");\n            const data = await response.json();\n\n            \/\/ \u0391\u03bd \u03b7 PHP \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03b9 \u03b4\u03b9\u03ba\u03cc \u03c4\u03b7\u03c2 error\n            if (data.error) throw new Error(data.error);\n\n            \/\/ \u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1! \u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2\n            \n            \/\/ --- \u03a0\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c3\u03c4\u03bf \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf (\u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7 & \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2) ---\n            \/\/ \u039a\u03ac\u03bd\u03bf\u03c5\u03bc\u03b5 \"\u03b1\u03c3\u03c6\u03b1\u03bb\u03ae\" \u03c4\u03bf\u03bd \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b1 tags, \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b1\u03bd \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03c3\u03c4\u03bf \u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc!\n            const safeHTML = data.body.replace(\/&\/g, '&amp;').replace(\/<\/g, '&lt;').replace(\/>\/g, '&gt;');\n            \n            const emailContent = JSON.stringify({ \n                email_preview: data.body, \n                email_code: safeHTML \n            }); \n            lexairoSaveToHistory('\u2709\ufe0f EMAIL CAMPAIGN', '\u0398\u03ad\u03bc\u03b1: ' + (data.subject || 'Newsletter'), emailContent);\n            \/\/ -------------------------------------------\n            \n            outputArea.innerHTML = `\n                <h3 style=\"color: #10B981; margin-bottom: 20px;\">\u2705 \u03a4\u03bf Email \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03c4\u03bf\u03b9\u03bc\u03bf!<\/h3>\n                <div style=\"background: #0F172A; padding: 20px; border-radius: 12px; display: inline-block; border: 1px solid #334155; max-width: 600px; width: 100%; text-align: left;\">\n                    \n                    <div style=\"margin-bottom: 15px;\">\n                        <b style=\"color: #94A3B8; font-size: 13px;\">Subject:<\/b> \n                        <span style=\"color: #F8FAFC;\">${data.subject || '\u03a7\u03c9\u03c1\u03af\u03c2 \u0398\u03ad\u03bc\u03b1'}<\/span>\n                    <\/div>\n\n                    <div id=\"email-preview-container\" style=\"background: #f4f4f4; color: #000; border-radius: 8px; overflow: hidden; margin-bottom: 20px; border: 1px solid #334155;\">\n                        ${data.body || '<p>\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5.<\/p>'}\n                    <\/div>\n                    \n                    <div style=\"display: flex; gap: 15px;\">\n                        <button type=\"button\" onclick=\"copyEmailHTML()\" style=\"flex: 1; background: #8B5CF6; color: white; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold;\">\n                            \ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1 HTML\n                        <\/button>\n                    <\/div>\n                <\/div>\n                <textarea id=\"raw-email-html\" style=\"display:none;\">${data.body}<\/textarea>\n            `;\n        } catch (error) {\n            console.error(\"\u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03cc \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2:\", error);\n            outputArea.innerHTML = `<div style=\"padding: 20px; background: #450a0a; border: 1px solid #ef4444; border-radius: 8px;\"><p style=\"color: #fca5a5; margin: 0;\">\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1: ${error.message}<br>\u0394\u03b5\u03af\u03c4\u03b5 \u03c4\u03bf Console (F12) \u03b3\u03b9\u03b1 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2.<\/p><\/div>`;\n        }\n    };\n    \n    reader.onerror = function() {\n        outputArea.innerHTML = `<p style=\"color: #EF4444;\">\u274c \u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2.<\/p>`;\n    };\n}\n\n\/\/ \u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1 (\u039c\u03ad\u03bd\u03b5\u03b9 \u03cc\u03c0\u03c9\u03c2 \u03ae\u03c4\u03b1\u03bd)\nfunction copyEmailHTML() {\n    const text = document.getElementById('raw-email-html').value;\n    navigator.clipboard.writeText(text).then(() => {\n        alert(\"\u039f \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2 HTML \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03b7\u03ba\u03b5! \u039c\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf\u03bd \u03b5\u03c0\u03b9\u03ba\u03bf\u03bb\u03bb\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c3\u03c4\u03bf SMTP \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03bf \u03c3\u03b1\u03c2.\");\n    });\n}\n\/\/ =========================================================================\n\n\/\/\u0391\u03bd\u03b1\u03b4\u03b9\u03c0\u03bb\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03bc\u03c0\u03ac\u03c1\u03b1 (collapsible)\ndocument.addEventListener('DOMContentLoaded', function() {\n        const sidebar = document.querySelector('.lex-sidebar');\n        const wrapper = document.querySelector('.lex-workspace-wrapper');\n        \n        if (sidebar && wrapper && !document.querySelector('.lex-toggle-sidebar')) {\n            const btn = document.createElement('button');\n            btn.className = 'lex-toggle-sidebar';\n            btn.title = '\u0395\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u039c\u03b5\u03bd\u03bf\u03cd';\n            \n            sidebar.appendChild(btn);\n            \n            btn.addEventListener('click', function() {\n                wrapper.classList.toggle('collapsed');\n            });\n        }\n    });\n\n\/* =========================================================================\n   LOGIC: \u0399\u03a3\u03a4\u039f\u03a1\u0399\u039a\u039f (FEED) & \u039a\u0391\u0398\u0391\u03a1\u0399\u03a3\u039c\u039f\u03a3\n   ========================================================================= *\/\n\nwindow.renderHistory = function() {\n    var list = document.getElementById('lex-history-list');\n    if (!list) return;\n\n    var history = JSON.parse(localStorage.getItem('lexairo_history') || '[]');\n\n    \/\/ --- \u039a\u0395\u039d\u0397 \u039a\u0391\u03a4\u0391\u03a3\u03a4\u0391\u03a3\u0397 (\u038c\u03c4\u03b1\u03bd \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03b9 \u03c6\u03c4\u03b9\u03ac\u03be\u03b5\u03b9 \u03c4\u03af\u03c0\u03bf\u03c4\u03b1) ---\n    if (history.length === 0) {\n        list.innerHTML = `\n        <div style=\"text-align:center; padding:60px 20px; background:rgba(255,255,255,0.02); border-radius:16px; border:1px dashed rgba(255,255,255,0.1); margin-top:20px;\">\n            <div style=\"font-size:40px; margin-bottom:15px; opacity:0.5;\">\ud83d\udced<\/div>\n            <h3 style=\"color:#94A3B8; margin:0 0 10px 0; font-size:18px;\">\u03a4\u03bf \u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ac\u03b4\u03b5\u03b9\u03bf<\/h3>\n            <p style=\"color:#64748B; font-size:14px;\">\u038c,\u03c4\u03b9 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5 \u03c3\u03c4\u03bf Lexairo AI \u03b8\u03b1 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03b5\u03b4\u03ce, \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b5 \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1.<\/p>\n        <\/div>`;\n        return;\n    }\n\n    \/\/ --- \u0395\u039c\u03a6\u0391\u039d\u0399\u03a3\u0397 \u039b\u0399\u03a3\u03a4\u0391\u03a3 ---\n    list.innerHTML = history.map((e, itemIndex) => {\n        let texts = [];\n        try {\n            let parsed = JSON.parse(e.content);\n            if(parsed.short_text && !parsed.email_preview) texts.push({label: 'Media \/ \u03a3\u03cd\u03bd\u03c4\u03bf\u03bc\u03bf', content: parsed.short_text});\n            if(parsed.medium_text) texts.push({label: '\u039c\u03b5\u03c3\u03b1\u03af\u03bf', content: parsed.medium_text});\n            if(parsed.long_text) texts.push({label: '\u0391\u03bd\u03b1\u03bb\u03c5\u03c4\u03b9\u03ba\u03cc', content: parsed.long_text});\n            \n            if(parsed.email_preview) texts.push({label: '\u039f\u03c0\u03c4\u03b9\u03ba\u03ae \u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7', content: parsed.email_preview, isIframe: true});\n            if(parsed.email_code) texts.push({label: 'HTML \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2', content: parsed.email_code});\n\n            if(parsed.creative && parsed.creative.primary_text) {\n                texts.push({label: '\u039a\u03cd\u03c1\u03b9\u03bf \u039a\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u0394\u03b9\u03b1\u03c6\u03ae\u03bc\u03b9\u03c3\u03b7\u03c2', content: parsed.creative.primary_text});\n                texts.push({label: '\u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1 (Headline)', content: parsed.creative.headline});\n                if(parsed.creative.hooks && parsed.creative.hooks.length > 0) {\n                    texts.push({label: '\u0395\u03bd\u03b1\u03bb\u03bb\u03b1\u03ba\u03c4\u03b9\u03ba\u03ac Hooks', content: parsed.creative.hooks.map(h => '\u2022 ' + h).join('\\n')});\n                }\n            }\n\n            if(parsed.spy_insights && parsed.action_plan) {\n                texts.push({label: '\u03a4\u03bf \u039c\u03c5\u03c3\u03c4\u03b9\u03ba\u03cc \u03c4\u03bf\u03c5 \u0391\u03bd\u03c4\u03b1\u03b3\u03c9\u03bd\u03b9\u03c3\u03c4\u03ae', content: parsed.spy_insights.competitor_secret});\n                texts.push({label: '\u03a3\u03c7\u03ad\u03b4\u03b9\u03bf \u0394\u03c1\u03ac\u03c3\u03b7\u03c2', content: parsed.action_plan.map(a => '\u2022 ' + a).join('\\n')});\n            }\n        } catch(err) {\n            texts.push({label: '\u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf', content: e.content});\n        }\n\n        let safeType = e.type ? e.type : '\ud83d\udcf1 SOCIAL POST';\n        let isSystemMessage = safeType.includes('PUBLISHED');\n        let contentHtml = '';\n\n        if (isSystemMessage) {\n            contentHtml = `\n            <div style=\"background: rgba(16, 185, 129, 0.1); padding: 15px; border-radius: 8px; border: 1px solid rgba(16, 185, 129, 0.3); color: #10B981; font-size: 14px; line-height: 1.6;\">\n                ${texts[0] ? texts[0].content : ''}\n            <\/div>`;\n        } else {\n            let innerSections = texts.map((t, idx) => {\n                let borderBottom = (idx !== texts.length - 1) ? 'border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; margin-bottom: 20px;' : '';\n                \n                if (t.isIframe) {\n                    let blob = new Blob([t.content], {type: 'text\/html;charset=utf-8'});\n                    let blobUrl = URL.createObjectURL(blob);\n                    return `\n                    <div style=\"${borderBottom}\">\n                        <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                        <div style=\"background:#fff; border-radius:8px; padding:10px; display:flex; justify-content:center;\">\n                            <iframe src=\"${blobUrl}\" style=\"width:100%; max-width:600px; height:450px; border:1px solid #E2E8F0; background:#fff; border-radius:8px;\"><\/iframe>\n                        <\/div>\n                    <\/div>`;\n                } else if (t.label === 'HTML \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2') {\n                    return `\n                    <div style=\"${borderBottom}\">\n                        <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                        <div id=\"hist-copy-${itemIndex}-${idx}\" style=\"background:#0F172A; padding:15px; border-radius:6px; color:#A78BFA; font-family:monospace; font-size:11px; line-height:1.5; max-height:200px; overflow-y:auto; word-break:break-all; border:1px solid rgba(139,92,246,0.3);\">${t.content}<\/div>\n                        <button class=\"lex-btn-copy\" style=\"margin-top:10px; width: auto; padding: 4px 10px;\" onclick=\"copyText('hist-copy-${itemIndex}-${idx}')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae ${t.label}<\/button>\n                    <\/div>`;\n                } else {\n                    let isMedia = t.content.includes('<img') || t.content.includes('<video');\n                    let finalContent = isMedia ? t.content.replace('width:100%', 'max-width:350px; width:100%') : t.content;\n                    let copyButton = isMedia ? '' : `<button class=\"lex-btn-copy\" style=\"margin-top:10px; width: auto; padding: 4px 10px;\" onclick=\"copyText('hist-copy-${itemIndex}-${idx}')\">\ud83d\udccb \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae ${t.label}<\/button>`;\n                    return `\n                    <div style=\"${borderBottom}\">\n                        <div style=\"font-size: 10px; color: #3B82F6; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;\">${t.label}<\/div>\n                        <div id=\"hist-copy-${itemIndex}-${idx}\" style=\"color:#CBD5E0; font-size:14px; line-height:1.6; white-space: ${isMedia ? 'normal' : 'pre-wrap'}; text-align:${isMedia ? 'center' : 'left'};\">${finalContent}<\/div>\n                        ${copyButton}\n                    <\/div>`;\n                }\n            }).join('');\n            \n            contentHtml = `\n            <div style=\"background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);\">\n                ${innerSections}\n            <\/div>`;\n        }\n\n        let dateObj = new Date(e.date);\n        let niceDate = dateObj.toLocaleDateString('el-GR') + ' - ' + dateObj.toLocaleTimeString('el-GR', {hour: '2-digit', minute:'2-digit'});\n\n        return `\n        <div class=\"lex-history-item\" style=\"margin-bottom: 30px; background: rgba(15, 20, 35, 0.4); border: 1px solid rgba(255,255,255,0.08); padding: 25px; border-radius: 16px;\">\n            <div class=\"lex-history-meta\" style=\"border-bottom:none; margin-bottom:0; padding-bottom:0; align-items: center;\">\n                <span class=\"lex-history-type\" style=\"background: rgba(99, 102, 241, 0.2); color: #818CF8; padding: 5px 12px; border-radius: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(99, 102, 241, 0.3);\">\n                    ${safeType}\n                <\/span>\n                <span class=\"lex-history-date\" style=\"color: #64748B; font-size: 13px; font-weight: 600;\">\n                    \ud83d\udcc5 ${niceDate}\n                <\/span>\n            <\/div>\n            ${e.name ? `<div style=\"color:#fff; font-size:18px; font-weight:bold; margin: 15px 0 10px 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05);\">${e.name}<\/div>` : ''}\n            <div style=\"margin-top: 15px;\">\n                ${contentHtml}\n            <\/div>\n        <\/div>`;\n    }).join('');\n};\n\nwindow.clearAllHistory = function() {\n    if(confirm('\u0395\u03af\u03c3\u03c4\u03b5 \u03c3\u03af\u03b3\u03bf\u03c5\u03c1\u03bf\u03b9 \u03cc\u03c4\u03b9 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c8\u03b5\u03c4\u03b5 \u03cc\u03bb\u03bf \u03c4\u03bf \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u03c3\u03b1\u03c2;\\n\\n\u03a3\u03b7\u03bc\u03b5\u03af\u03c9\u03c3\u03b7: \u0391\u03c5\u03c4\u03cc \u0394\u0395\u039d \u03b8\u03b1 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c8\u03b5\u03b9 \u03c4\u03b1 \u03b6\u03c9\u03bd\u03c4\u03b1\u03bd\u03ac \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03b1\u03c0\u03cc \u03c4\u03b9\u03c2 \u03b5\u03bd\u03b5\u03c1\u03b3\u03ad\u03c2 \u03c3\u03b1\u03c2 \u03b4\u03b9\u03b1\u03c6\u03b7\u03bc\u03af\u03c3\u03b5\u03b9\u03c2!')) {\n        localStorage.removeItem('lexairo_history');\n        renderHistory();\n        if (typeof renderCalendar === 'function') renderCalendar();\n    }\n};\n\n\/\/ =========================================================================\n\/\/ \u041f\u03a1\u039f\u03a3\u0398\u0397\u039a\u0397: \u0395\u039e\u03a5\u03a0\u039d\u039f \u03a6\u0399\u039b\u03a4\u03a1\u0391\u03a1\u0399\u03a3\u039c\u0391 \u039a\u039b\u0391\u0394\u03a9\u039d (DYNAMIC UI PERSONALIZATION)\n\/\/ =========================================================================\ndocument.addEventListener('DOMContentLoaded', async function() {\n    \n    \/\/ --- \u0391\u039b\u0395\u039e\u0399\u03a3\u03a6\u0391\u0399\u03a1\u039f ADMIN BYPASS (GOD MODE) ---\n    \/\/ \u0394\u03b9\u03b1\u03b2\u03ac\u03b6\u03b5\u03b9 \u03c4\u03b7\u03bd \u03ba\u03c1\u03c5\u03c6\u03ae \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae \u03c0\u03bf\u03c5 \u03c3\u03c4\u03b5\u03af\u03bb\u03b1\u03bc\u03b5 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd PHP!\n    if (window.isLexairoAdmin) {\n        console.log('Lexairo Admin Mode: \u038c\u03bb\u03bf\u03b9 \u03bf\u03b9 \u03ba\u03bb\u03ac\u03b4\u03bf\u03b9 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03bd\u03bf\u03c5\u03bd \u03bf\u03c1\u03b1\u03c4\u03bf\u03af.');\n        return; \n    }\n    \/\/ -------------------------------------------\n\n    try {\n        const res = await fetch('\/wp-admin\/admin-ajax.php?action=lexairo_get_user_stats');\n        const json = await res.json();\n        \n        if (json.success && json.data && json.data.industry) {\n            const userInd = json.data.industry.toLowerCase();\n            let allowed = [];\n            \n            if (userInd.includes('pet') || userInd.includes('vet') || userInd.includes('\u03ba\u03c4\u03b7\u03bd\u03b9\u03b1')) allowed = ['pet-', 'vet-', 'grooming-'];\n            else if (userInd.includes('food') || userInd.includes('\u03b5\u03c3\u03c4\u03af\u03b1\u03c3\u03b7') || userInd.includes('\u03ba\u03b1\u03c6\u03ad') || userInd.includes('bar')) allowed = ['food-'];\n            else if (userInd.includes('real') || userInd.includes('estate') || userInd.includes('\u03b1\u03ba\u03af\u03bd\u03b7\u03c4\u03b1')) allowed = ['realestate-'];\n            else if (userInd.includes('gym') || userInd.includes('fitness') || userInd.includes('\u03b3\u03c5\u03bc\u03bd')) allowed = ['gym-'];\n            else if (userInd.includes('car') || userInd.includes('rent') || userInd.includes('\u03bf\u03c7\u03ae\u03bc')) allowed = ['car-'];\n            else if (userInd.includes('beauty') || userInd.includes('\u03bf\u03bc\u03bf\u03c1\u03c6\u03b9\u03ac') || userInd.includes('\u03b1\u03b9\u03c3\u03b8\u03b7\u03c4') || userInd.includes('\u03ba\u03bf\u03bc\u03bc\u03c9')) allowed = ['beauty-'];\n            else if (userInd.includes('studio') || userInd.includes('\u03c6\u03c9\u03c4\u03bf\u03b3\u03c1')) allowed = ['studio-'];\n\n            if (allowed.length > 0) {\n                const select = document.getElementById('lex-industry-selector');\n                if (!select) return;\n                \n                const options = Array.from(select.children);\n                let currentHeader = null;\n                let keepHeader = false;\n\n                options.forEach(opt => {\n                    \/\/ \u039a\u03c1\u03b1\u03c4\u03ac\u03bc\u03b5 \u03c0\u03ac\u03bd\u03c4\u03b1 \u03c4\u03b7\u03bd \u03c0\u03c1\u03ce\u03c4\u03b7 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b1\u03c3\u03c6\u03b1\u03bb\u03ae\n                    if (opt.text.includes('\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1')) return; \n\n                    \/\/ \u0391\u03bd\u03b1\u03b3\u03bd\u03c9\u03c1\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03cc\u03bc\u03bf\u03c1\u03c6\u03b5\u03c2 \u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b5\u03c2 (\u03b5\u03af\u03bd\u03b1\u03b9 disabled \u03c3\u03c4\u03bf HTML \u03c3\u03bf\u03c5)\n                    if (opt.disabled) { \n                        if (currentHeader && !keepHeader) currentHeader.remove(); \n                        currentHeader = opt;\n                        keepHeader = false;\n                    } else { \n                        \/\/ \u0395\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03ba\u03b1\u03bd\u03bf\u03bd\u03b9\u03ba\u03ad\u03c2 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ad\u03c2\n                        const match = allowed.some(prefix => opt.value.startsWith(prefix));\n                        if (!match) {\n                            opt.remove(); \n                        } else {\n                            keepHeader = true; \n                        }\n                    }\n                });\n\n                \/\/ \u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03b7\u03c2 \u03c4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03b1\u03c2 \u03b5\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1\u03c2 \u03b1\u03bd \u03ad\u03bc\u03b5\u03b9\u03bd\u03b5 \u03b5\u03bd\u03c4\u03b5\u03bb\u03ce\u03c2 \u03ac\u03b4\u03b5\u03b9\u03b1\n                if (currentHeader && !keepHeader) currentHeader.remove();\n            }\n        }\n    } catch (e) { \n        console.error('Lexairo Personalization Error:', e); \n    }\n});\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MAIN MENU \ud83d\udcca \u0395\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7 (Dashboard) \ud83d\udcc5 \u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf \ud83d\udd17 \u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 (Social) \ud83d\udcdc \u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u0395\u03a1\u0393\u0391\u039b\u0395\u0399\u0391 \ud83d\ude80 \u0395\u03be\u03b5\u03b9\u03b4\u03af\u03ba\u03b5\u03c5\u03c3\u03b7 \u039a\u03bb\u03ac\u03b4\u03bf\u03c5 \ud83d\udcf8 \u03a3\u03c4\u03bf\u03cd\u03bd\u03c4\u03b9\u03bf \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \ud83d\udd75\ufe0f \u039a\u03b1\u03c4\u03ac\u03c3\u03ba\u03bf\u03c0\u03bf\u03c2 (Spy) \ud83c\udfaf \u03a3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae Ads BOH\u0398\u0395\u0399\u0391 \u2139\ufe0f \u039f\u03b4\u03b7\u03b3\u03cc\u03c2 \u03a7\u03c1\u03ae\u03c3\u03b7\u03c2 \u039a\u03b1\u03bb\u03c9\u03c3\u03ae\u03c1\u03b8\u03b5\u03c2 \u03c3\u03c4\u03bf Lexairo! \ud83d\udc4b \ud83c\udf10 \u038c\u03bb\u03b5\u03c2 \u03bf\u03b9 \u03a0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b5\u03c2\u267e\ufe0f Meta Ads\ud83d\udd0d Google Ads\ud83c\udfb5 TikTok Ads \ud83d\udca1 Lexairo Marketing Insight \u03a6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03b9&#8230; \u03a0\u03a1\u039f\u0392\u039f\u039b\u0395\u03a3&#8211; CLICKS&#8211; CTR&#8211; \u039a\u039f\u03a3\u03a4\u039f\u03a3&#8211; \u03a0\u03a9\u039b\u0397\u03a3\u0395\u0399\u03a30 \u03a4\u0396\u0399\u03a1\u039f\u03a3 \/ &#8230; <a title=\"\u03a7\u03ce\u03c1\u03bf\u03c2 \u0395\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2\" class=\"read-more\" href=\"https:\/\/lexairo.com\/en\/choros-ergasias\/\" aria-label=\"Read more about \u03a7\u03ce\u03c1\u03bf\u03c2 \u0395\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2\">Read more<\/a><\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-674","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/pages\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":914,"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/pages\/674\/revisions"}],"predecessor-version":[{"id":2221,"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/pages\/674\/revisions\/2221"}],"wp:attachment":[{"href":"https:\/\/lexairo.com\/en\/wp-json\/wp\/v2\/media?parent=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}