export function getKnowledgeBaseApp(): string {
  return `<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>Knowledge Base</title><style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;background:#f5f7fa;padding:20px}.container{max-width:1200px;margin:0 auto}.header{background:white;padding:40px;border-radius:12px;margin-bottom:20px;box-shadow:0 2px 4px rgba(0,0,0,0.1);text-align:center}.header h1{font-size:36px;color:#1f2937;margin-bottom:16px}.search-box{max-width:600px;margin:0 auto;position:relative}.search-box input{width:100%;padding:16px 24px;border:2px solid #e5e7eb;border-radius:50px;font-size:16px}.search-box input:focus{outline:none;border-color:#667eea}.categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:30px}.category-card{background:white;padding:24px;border-radius:12px;box-shadow:0 2px 4px rgba(0,0,0,0.1);transition:transform 0.2s}.category-card:hover{transform:translateY(-4px)}.category-card h2{font-size:20px;color:#667eea;margin-bottom:12px}.category-card p{color:#6b7280;font-size:14px;margin-bottom:16px}.article-list{list-style:none}.article-list li{padding:8px 0;color:#374151;font-size:14px}.article-list li:before{content:"📄";margin-right:8px}.popular{background:white;padding:24px;border-radius:12px;box-shadow:0 2px 4px rgba(0,0,0,0.1)}.popular h2{font-size:20px;color:#1f2937;margin-bottom:16px}.popular-item{padding:16px;background:#f9fafb;margin-bottom:12px;border-radius:8px;display:flex;justify-content:between;align-items:center}.popular-item:hover{background:#f3f4f6}.views{color:#667eea;font-weight:600}</style></head><body><div class="container"><div class="header"><h1>📚 Knowledge Base</h1><p style="color:#6b7280;margin-bottom:24px">Search our help articles and guides</p><div class="search-box"><input type="search" placeholder="What can we help you with?"></div></div><div class="categories"><div class="category-card"><h2>Getting Started</h2><p>New to our platform? Start here</p><ul class="article-list"><li>Quick start guide</li><li>Account setup</li><li>First steps tutorial</li><li>System requirements</li></ul><div style="margin-top:16px"><strong style="color:#667eea">12 articles</strong></div></div><div class="category-card"><h2>Account & Billing</h2><p>Manage your account and subscriptions</p><ul class="article-list"><li>Update payment method</li><li>View invoices</li><li>Change plan</li><li>Cancel subscription</li></ul><div style="margin-top:16px"><strong style="color:#667eea">18 articles</strong></div></div><div class="category-card"><h2>Technical Issues</h2><p>Troubleshooting and technical support</p><ul class="article-list"><li>Login problems</li><li>Connection errors</li><li>Performance issues</li><li>Browser compatibility</li></ul><div style="margin-top:16px"><strong style="color:#667eea">25 articles</strong></div></div><div class="category-card"><h2>API Documentation</h2><p>Developer resources and API guides</p><ul class="article-list"><li>API authentication</li><li>Rate limits</li><li>Webhooks</li><li>Code examples</li></ul><div style="margin-top:16px"><strong style="color:#667eea">32 articles</strong></div></div></div><div class="popular"><h2>🔥 Most Popular Articles</h2><div class="popular-item"><div><strong>How to reset your password</strong><br><small style="color:#6b7280">Updated 2 days ago</small></div><span class="views">1.2K views</span></div><div class="popular-item"><div><strong>Integrating with third-party tools</strong><br><small style="color:#6b7280">Updated 1 week ago</small></div><span class="views">856 views</span></div><div class="popular-item"><div><strong>Understanding your dashboard</strong><br><small style="color:#6b7280">Updated 3 days ago</small></div><span class="views">743 views</span></div></div></div></body></html>`;
}
