Ctrl K
ComunidadGuías…

website/index.pt.html

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
<!DOCTYPE html>
<html lang="pt">
<head>
    <script>
        (function(){
            var t = localStorage.getItem('theme') || 'system';
            if (t === 'dark' || (t === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
                document.documentElement.classList.add('dark');
            }
        })();
    </script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="color-scheme" content="light dark">
    <title>Moltis — Um servidor de agente pessoal seguro e persistente em Rust</title>
    <link rel="icon" type="image/svg+xml" href="favicon.svg">
    <meta name="description" content="Um servidor de agente pessoal seguro e persistente em Rust. Um binário, execução em sandbox, LLMs multi-provedor, voz, memória, Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams e ferramentas MCP. Seguro por design, roda no seu hardware.">
    <meta property="og:title" content="Moltis — Um servidor de agente pessoal seguro e persistente em Rust">
    <meta property="og:description" content="Um servidor de agente pessoal seguro e persistente em Rust. Um binário, execução em sandbox, LLMs multi-provedor, voz, memória, Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams e ferramentas MCP. Seguro por design, roda no seu hardware.">
    <meta property="og:site_name" content="Moltis">
    <meta property="og:locale" content="pt_BR">
    <meta property="og:image" content="https://moltis.org/og-social.png?v=9">
    <meta property="og:image:secure_url" content="https://moltis.org/og-social.png?v=9">
    <meta property="og:image:width" content="1200">
    <meta property="og:image:height" content="630">
    <meta property="og:image:alt" content="Moltis — Um servidor de agente pessoal seguro e persistente em Rust">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://moltis.org">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content="https://moltis.org/og-social.png?v=9">
    <meta name="twitter:image:alt" content="Moltis — Um servidor de agente pessoal seguro e persistente em Rust">
    <meta name="twitter:title" content="Moltis — Um servidor de agente pessoal seguro e persistente em Rust">
    <meta name="twitter:description" content="Um servidor de agente pessoal seguro e persistente em Rust. Um binário, execução em sandbox, LLMs multi-provedor, voz, memória, Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams e ferramentas MCP. Seguro por design, roda no seu hardware.">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=JetBrains+Mono:wght@400&family=Outfit:wght@700&display=swap" rel="stylesheet">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    fontFamily: {
                        sans: ['Space Grotesk', 'system-ui', 'sans-serif'],
                        mono: ['JetBrains Mono', 'monospace'],
                    },
                },
            },
        }
        function applyTheme(mode) {
            if (mode === 'dark' || (mode === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
                document.documentElement.classList.add('dark');
            } else {
                document.documentElement.classList.remove('dark');
            }
        }
        const savedTheme = localStorage.getItem('theme') || 'system';
        applyTheme(savedTheme);
        window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
            if ((localStorage.getItem('theme') || 'system') === 'system') applyTheme('system');
        });
    </script>
    <style>
        .compare-table {
            table-layout: fixed;
            min-width: 46rem;
        }

        .compare-table th,
        .compare-table td {
            white-space: normal;
            overflow-wrap: anywhere;
            vertical-align: top;
        }

        .compare-table th:first-child,
        .compare-table td:first-child {
            width: 8.5rem;
            overflow-wrap: normal;
        }

        .compare-table th:nth-child(2),
        .compare-table td:nth-child(2),
        .compare-table th:nth-child(3),
        .compare-table td:nth-child(3) {
            width: 13.5rem;
            max-width: 13.5rem;
        }

        .compare-table th:nth-child(4),
        .compare-table td:nth-child(4) {
            position: sticky;
            right: 0;
            z-index: 20;
            width: 14rem;
            min-width: 14rem;
            background-color: rgb(255 247 237);
            box-shadow: -1px 0 0 rgb(254 215 170);
        }

        .dark .compare-table th:nth-child(4),
        .dark .compare-table td:nth-child(4) {
            background-color: rgb(67 20 7);
            box-shadow: -1px 0 0 rgb(124 45 18);
        }
    </style>
    <link rel="stylesheet" href="style.css">
</head>
<body class="bg-white dark:bg-gray-950 text-gray-900 dark:text-white min-h-screen relative transition-colors duration-300 overflow-x-hidden w-full">
    <!-- Toast notification -->
    <div id="toast" role="status" aria-live="polite" class="fixed bottom-6 left-1/2 -translate-x-1/2 px-4 py-2 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 text-sm font-medium rounded-lg shadow-lg opacity-0 pointer-events-none transition-opacity duration-300 z-50"></div>

    <!-- Background gradient blobs -->
    <div class="absolute inset-0 overflow-hidden pointer-events-none">
        <div class="absolute top-1/4 left-1/4 w-64 h-64 sm:w-96 sm:h-96 bg-orange-300/20 dark:bg-orange-600/15 rounded-full blur-3xl animate-pulse-slow"></div>
        <div class="absolute bottom-1/4 right-1/4 w-64 h-64 sm:w-96 sm:h-96 bg-red-300/20 dark:bg-red-600/15 rounded-full blur-3xl animate-pulse-slow animation-delay-2s"></div>
    </div>

    <!--NAV-->

    <!-- Lightbox overlay -->
    <div id="lightbox" class="hidden fixed inset-0 z-50 bg-black/90 flex items-center justify-center" onclick="if(event.target===this)closeLightbox()">
        <button onclick="closeLightbox()" class="absolute top-4 right-4 text-white/70 hover:text-white transition-colors" aria-label="Close">
            <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>
        </button>
        <button id="lb-prev" onclick="prevImage()" class="absolute left-4 text-white/70 hover:text-white transition-colors" aria-label="Previous">
            <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
        </button>
        <img id="lb-img" src="" alt="Screenshot" class="max-w-[90vw] max-h-[85vh] object-contain rounded-lg">
        <button id="lb-next" onclick="nextImage()" class="absolute right-4 text-white/70 hover:text-white transition-colors" aria-label="Next">
            <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
        </button>
    </div>

    <!-- ============================================================ -->
    <!-- PAGE: Home -->
    <!-- ============================================================ -->
    <div id="page-home" class="page-content">
        <div class="relative z-10 text-center px-4 sm:px-6 w-full max-w-3xl mx-auto pt-12 pb-8">
            <!-- Announcement banner -->
            <a href="#features" onclick="navigateTo('features')" class="group inline-flex items-center gap-2 px-4 py-2 mb-6 rounded-full bg-orange-50 dark:bg-orange-950/30 border border-orange-200 dark:border-orange-800 hover:border-orange-400 dark:hover:border-orange-500 transition-all hover:shadow-md">
                <span class="inline-flex items-center justify-center px-2 py-0.5 rounded-full bg-orange-500 text-white text-[10px] font-bold uppercase tracking-wide">Novo</span>
                <span class="text-xs sm:text-sm font-medium text-gray-700 dark:text-gray-200">Importação completa do OpenClaw — troque em um clique</span>
                <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-orange-500 dark:text-orange-400 group-hover:translate-x-0.5 transition-transform"><polyline points="9 18 15 12 9 6"/></svg>
            </a>

            <h1 class="text-2xl sm:text-3xl md:text-4xl font-bold tracking-tight mb-2 text-gray-800 dark:text-gray-100">Um claw nativo em Rust em que você pode confiar</h1>
            <p class="text-sm sm:text-base text-gray-400 dark:text-gray-500 mb-4">One binary — sandboxed, built in Rust, yours to own.</p>

            <!-- Positioning -->
            <p class="text-sm sm:text-base text-gray-600 dark:text-gray-400 max-w-xl mx-auto mb-6 leading-relaxed">
                Not a chatbot wrapper. Not a cloud service tied to one provider.
                A real agent server that runs on your hardware, remembers across sessions,
                and reaches you through every channel you use.
            </p>

            <!-- CTA buttons -->
            <div class="flex items-center justify-center gap-3 mb-6">
                <a href="#install" onclick="navigateTo('install')" class="inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-gradient-to-r from-orange-500 to-red-500 text-white hover:from-orange-600 hover:to-red-600 transition-all text-sm font-medium shadow-md hover:shadow-lg">
                    <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="13 17 18 12 13 7"/><polyline points="6 17 11 12 6 7"/></svg>
                    Get Started
                </a>
                <a href="https://docs.moltis.org" class="inline-flex items-center gap-2 px-5 py-2.5 rounded-lg border border-gray-200 dark:border-gray-700 bg-gray-100 dark:bg-gray-900 text-gray-700 dark:text-gray-300 hover:border-orange-400 dark:hover:border-orange-500 hover:text-orange-600 dark:hover:text-orange-400 transition-colors text-sm font-medium">
                    <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
                    Documentation
                </a>
            </div>

            <!-- Screenshot gallery -->
            <div class="max-w-3xl mx-auto mb-8 relative">
                <div class="absolute left-0 top-0 bottom-0 w-6 sm:w-10 bg-gradient-to-r from-white dark:from-gray-950 to-transparent z-10 pointer-events-none"></div>
                <div class="absolute right-0 top-0 bottom-0 w-6 sm:w-10 bg-gradient-to-l from-white dark:from-gray-950 to-transparent z-10 pointer-events-none"></div>
                <div class="flex overflow-x-auto gap-3 hide-scrollbar px-6 sm:px-10">
                    <img src="screenshots/thumbs/1.png" alt="Onboarding — secure your instance with passkey or password" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(0)">
                    <img src="screenshots/thumbs/2.png" alt="Onboarding — setup summary with identity, LLM and channel config" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(1)">
                    <img src="screenshots/thumbs/3.png" alt="Voz settings — speech-to-text and text-to-speech providers" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(2)">
                    <img src="screenshots/thumbs/4.png" alt="Chat with voice, map and tool use" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(3)">
                    <img src="screenshots/thumbs/5.png" alt="Sandboxed shell execution in Docker container" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(4)">
                    <img src="screenshots/thumbs/6.png" alt="Telegram bot channel with voice and events" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(5)">
                    <img src="screenshots/thumbs/7.png" alt="Web UI showing Telegram channel messages" class="h-24 sm:h-32 rounded-lg border border-gray-200 dark:border-gray-700 cursor-pointer hover:border-orange-400 dark:hover:border-orange-500 hover:shadow-md transition-all shrink-0" onclick="openLightbox(6)">
                </div>
            </div>

            <!-- How it works -->
            <div class="max-w-3xl mx-auto mb-8 text-left">
                <h2 class="text-lg sm:text-xl font-bold text-gray-800 dark:text-gray-100 mb-1 text-center">Up and running in 60 seconds</h2>
                <p class="text-xs sm:text-sm text-gray-400 dark:text-gray-500 mb-6 text-center">Three steps. No dependencies.</p>

                <div class="grid grid-cols-1 sm:grid-cols-3 gap-4">
                    <!-- Step 1: Install -->
                    <div class="p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-3">
                            <span class="inline-flex items-center justify-center w-6 h-6 rounded-full bg-orange-500 text-white text-xs font-bold">1</span>
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Instalar</h3>
                        </div>
                        <div class="flex items-center gap-2 rounded-md bg-gray-900 dark:bg-gray-800 p-2 pl-3 font-mono text-[11px] text-gray-300 leading-relaxed">
                            <code class="min-w-0 flex-1 overflow-x-auto whitespace-nowrap hide-scrollbar"><span class="text-gray-500">$</span> curl -fsSL moltis.org/install.sh | sh</code>
                            <button type="button" data-copy-text="curl -fsSL moltis.org/install.sh | sh" data-copy-message="Comando copiado" aria-label="Copiar comando" title="Copiar comando" class="shrink-0 rounded p-1.5 text-gray-500 hover:bg-gray-700 hover:text-gray-200 focus:outline-none focus:ring-2 focus:ring-orange-400 transition-colors">
                                <svg data-copy-icon width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
                                <svg data-copy-check class="hidden text-green-400" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 4 4L19 6"/></svg>
                            </button>
                        </div>
                    </div>

                    <!-- Step 2: Configure -->
                    <div class="p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-3">
                            <span class="inline-flex items-center justify-center w-6 h-6 rounded-full bg-orange-500 text-white text-xs font-bold">2</span>
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Configure</h3>
                        </div>
                        <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Open <span class="font-mono text-orange-500 dark:text-orange-400">localhost:13131</span>, paste your provider key, pick a model. OAuth providers like GitHub Copilot work with zero config.</p>
                    </div>

                    <!-- Step 3: Chat from anywhere -->
                    <div class="p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-3">
                            <span class="inline-flex items-center justify-center w-6 h-6 rounded-full bg-orange-500 text-white text-xs font-bold">3</span>
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Chat from anywhere</h3>
                        </div>
                        <div class="flex flex-wrap gap-1.5">
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/globe.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Web UI</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/telegram.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Telegram</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/whatsapp.svg" alt="" width="12" height="12" class="dark:invert opacity-60">WhatsApp</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/discord.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Discord</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/slack.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Slack</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/matrix.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Matrix</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/nostr.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Nostr</span>
                            <span class="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-gray-100 dark:bg-gray-800 text-[11px] text-gray-600 dark:text-gray-300 border border-gray-200 dark:border-gray-700"><img src="images/icons/teams.svg" alt="" width="12" height="12" class="dark:invert opacity-60">Teams</span>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 3 value proposition cards -->
            <div class="grid grid-cols-1 sm:grid-cols-3 gap-4 max-w-3xl mx-auto mb-8 text-left">
                <a href="#security" onclick="navigateTo('security')" class="group p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 hover:border-orange-400 dark:hover:border-orange-500 transition-all hover:shadow-md">
                    <div class="flex items-center gap-2 mb-2">
                        <span class="text-orange-500 dark:text-orange-400">
                            <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
                        </span>
                        <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200 group-hover:text-orange-600 dark:group-hover:text-orange-400 transition-colors">Secure by design</h3>
                    </div>
                    <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Your keys and private data never leave your machine. Sandboxed by default — your AI can't touch your filesystem unless you say so.</p>
                </a>
                <a href="#install" onclick="navigateTo('install')" class="group p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 hover:border-orange-400 dark:hover:border-orange-500 transition-all hover:shadow-md">
                    <div class="flex items-center gap-2 mb-2">
                        <span class="text-orange-500 dark:text-orange-400">
                            <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><path d="M9 9h6v6H9z"/></svg>
                        </span>
                        <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200 group-hover:text-orange-600 dark:group-hover:text-orange-400 transition-colors">Your hardware</h3>
                    </div>
                    <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Runs on a <img src="images/apple.svg" alt="" width="11" height="11" class="inline -mt-0.5 dark:invert opacity-60">&nbsp;Mac Mini, a Raspberry Pi, or any server you own. Always on, always local — like a house elf for your digital life.</p>
                    <div class="flex items-center gap-3 mt-2">
                        <span class="flex items-center gap-1 text-[10px] text-gray-400 dark:text-gray-500"><img src="images/apple.svg" alt="" width="12" height="12" class="dark:invert opacity-50">macOS</span>
                        <span class="flex items-center gap-1 text-[10px] text-gray-400 dark:text-gray-500"><img src="images/linux.svg" alt="" width="12" height="12" class="dark:invert opacity-50">Linux</span>
                        <span class="flex items-center gap-1 text-[10px] text-gray-400 dark:text-gray-500"><img src="images/windows.svg" alt="" width="12" height="12" class="dark:invert opacity-50">Windows</span>
                    </div>
                </a>
                <a href="#features" onclick="navigateTo('features')" class="group p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 hover:border-orange-400 dark:hover:border-orange-500 transition-all hover:shadow-md">
                    <div class="flex items-center gap-2 mb-2">
                        <span class="text-orange-500 dark:text-orange-400">
                            <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
                        </span>
                        <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200 group-hover:text-orange-600 dark:group-hover:text-orange-400 transition-colors">Full-featured</h3>
                    </div>
                    <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams, voice, memory, scheduling, tools — all built-in. No plugin marketplace to get supply-chain attacked through.</p>
                </a>
            </div>

            <!-- What your agent actually does -->
            <div class="max-w-3xl mx-auto mb-8 text-center">
                <h2 class="text-lg sm:text-xl font-bold text-gray-800 dark:text-gray-100 mb-1">What your agent actually does</h2>
                <p class="text-xs sm:text-sm text-gray-400 dark:text-gray-500 mb-6">Not a demo. These run today.</p>

                <div class="grid grid-cols-2 sm:grid-cols-4 gap-3 text-left">
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Schedules tasks</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Recurring cron jobs in natural language</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Runs code safely</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Sandboxed shell in Docker or Apple Containers</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Browses the web</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Fetches, summarizes, and SSRF-protected</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Manages your calendar</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">CalDAV integration for events and reminders</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Messages everywhere</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Remembers context</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Persistent memory with vector + full-text search</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/><path d="M19 10v2a7 7 0 0 1-14 0v-2"/><line x1="12" y1="19" x2="12" y2="23"/><line x1="8" y1="23" x2="16" y2="23"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Talks and listens</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Voz input and output with cloud and local providers</p>
                    </div>
                    <div class="p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <span class="text-orange-500 dark:text-orange-400 block mb-1.5">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>
                        </span>
                        <p class="text-xs font-semibold text-gray-700 dark:text-gray-200 mb-0.5">Extends itself</p>
                        <p class="text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed">Creates its own skills, hooks, and Ferramentas MCP at runtime</p>
                    </div>
                </div>
            </div>

            <!-- Community quotes (horizontal scroll) -->
            <div class="max-w-3xl mx-auto mb-8 overflow-x-auto hide-scrollbar">
                <div class="flex gap-4 px-1 pb-2 snap-x snap-mandatory" style="min-width: min-content">
                    <div class="w-72 sm:w-80 flex-shrink-0 snap-start p-5 rounded-xl bg-orange-50 dark:bg-orange-950/20 border border-orange-200 dark:border-orange-800 text-left">
                        <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="text-orange-300 dark:text-orange-700 mb-2"><path d="M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983z"/></svg>
                        <blockquote class="text-sm text-gray-700 dark:text-gray-200 leading-relaxed mb-2">
                            Moltis worked in 1 command. I found several AI guardrails missing or turned off in OpenClaw which are working out of the box here. Moltis is way more performant and stable.
                        </blockquote>
                        <p class="text-xs text-gray-500 dark:text-gray-400 flex items-center gap-1.5">
                            <img src="images/icons/discord.svg" alt="" width="14" height="14" class="opacity-60">
                            <span class="font-medium">Noita</span> on Discord
                            <a href="https://discord.com/channels/1469505370169933837/1469505371398996115/1488503462487654500" class="text-orange-500 dark:text-orange-400 hover:underline ml-1">#1</a>
                            <a href="https://discord.com/channels/1469505370169933837/1469505371398996115/1488498690376204379" class="text-orange-500 dark:text-orange-400 hover:underline">#2</a>
                        </p>
                    </div>
                    <div class="w-72 sm:w-80 flex-shrink-0 snap-start p-5 rounded-xl bg-orange-50 dark:bg-orange-950/20 border border-orange-200 dark:border-orange-800 text-left">
                        <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="text-orange-300 dark:text-orange-700 mb-2"><path d="M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983z"/></svg>
                        <blockquote class="text-sm text-gray-700 dark:text-gray-200 leading-relaxed mb-2">
                            I've found the project incredibly useful. In fact I do my Moltis contributions in Moltis.
                        </blockquote>
                        <p class="text-xs text-gray-500 dark:text-gray-400 flex items-center gap-1.5">
                            <img src="images/icons/github.svg" alt="" width="14" height="14" class="opacity-60">
                            <span class="font-medium">Cstewart-HC</span> on GitHub
                            <a href="https://github.com/moltis-org/moltis/discussions/680" class="text-orange-500 dark:text-orange-400 hover:underline ml-1">discussion</a>
                        </p>
                    </div>
                </div>
            </div>

            <!-- Funciona com seu stack -->
            <div class="max-w-3xl mx-auto mb-10 text-center">
                <h2 class="text-lg sm:text-xl font-bold text-gray-800 dark:text-gray-100 mb-1">Funciona com seu stack</h2>
                <p class="text-xs sm:text-sm text-gray-400 dark:text-gray-500 mb-6">Mais de 20 provedores, modelos locais e todos os canais principais — tudo integrado.</p>

                <div class="space-y-6">
                    <!-- Provedores Cloud -->
                    <div data-reveal>
                        <p class="text-[10px] sm:text-xs uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-3 font-medium">Provedores Cloud</p>
                        <div class="flex flex-wrap items-center justify-center gap-2 sm:gap-3">
                            <span class="pill"><img src="images/icons/anthropic.svg" alt="" class="pill-icon">Anthropic</span>
                            <span class="pill"><img src="images/icons/openai.svg" alt="" class="pill-icon">OpenAI</span>
                            <span class="pill"><img src="images/icons/gemini.svg" alt="" class="pill-icon">Google Gemini</span>
                            <span class="pill"><img src="images/icons/mistral.svg" alt="" class="pill-icon">Mistral</span>
                            <span class="pill"><img src="images/icons/deepseek.svg" alt="" class="pill-icon">DeepSeek</span>
                            <span class="pill"><img src="images/icons/fireworks.svg" alt="" class="pill-icon">Fireworks</span>
                            <span class="pill"><img src="images/icons/cerebras.svg" alt="" class="pill-icon">Cerebras</span>
                            <span class="pill"><img src="images/icons/minimax.png" alt="" class="pill-icon pill-icon-color">MiniMax</span>
                            <span class="pill"><img src="images/icons/moonshot.svg" alt="" class="pill-icon">Moonshot</span>
                            <span class="pill"><img src="images/icons/zai.svg" alt="" class="pill-icon">Z.AI</span>
                            <span class="pill"><img src="images/icons/globe.svg" alt="" class="pill-icon">Venice</span>
                            <span class="pill"><img src="images/icons/globe.svg" alt="" class="pill-icon">NEAR AI Cloud</span>
                        </div>
                    </div>

                    <!-- Local & BYOM -->
                    <div data-reveal>
                        <p class="text-[10px] sm:text-xs uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-3 font-medium">Local & traga o seu</p>
                        <div class="flex flex-wrap items-center justify-center gap-2 sm:gap-3">
                            <span class="pill"><img src="images/icons/ollama.svg" alt="" class="pill-icon">Ollama</span>
                            <span class="pill"><img src="images/icons/lmstudio.webp" alt="" class="pill-icon pill-icon-color">LM Studio</span>
                            <span class="pill">Local GGUF <span class="pill-badge bg-orange-100 dark:bg-orange-900/40 text-orange-600 dark:text-orange-300">CPU/GPU</span></span>
                            <span class="pill"><img src="images/apple.svg" alt="" class="pill-icon">MLX <span class="pill-badge bg-gray-100 dark:bg-gray-800 text-gray-500 dark:text-gray-400">Apple Silicon</span></span>
                            <span class="pill"><img src="images/icons/huggingface.svg" alt="" class="pill-icon">Hugging Face</span>
                            <span class="pill"><img src="images/icons/openrouter.svg" alt="" class="pill-icon">OpenRouter</span>
                            <span class="pill"><img src="images/icons/openai-compat.svg" alt="" class="pill-icon">Any OpenAI-compatible</span>
                        </div>
                    </div>

                    <!-- OAuth / Zero-Config -->
                    <div data-reveal>
                        <p class="text-[10px] sm:text-xs uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-3 font-medium">OAuth &mdash; Sem configuração</p>
                        <div class="flex flex-wrap items-center justify-center gap-2 sm:gap-3">
                            <span class="pill"><img src="images/icons/github.svg" alt="" class="pill-icon">GitHub Copilot</span>
                            <span class="pill"><img src="images/icons/openai.svg" alt="" class="pill-icon">OpenAI Codex</span>
                            <span class="pill"><img src="images/icons/moonshot.svg" alt="" class="pill-icon">Kimi Code</span>
                        </div>
                    </div>

                    <!-- Canais -->
                    <div data-reveal>
                        <p class="text-[10px] sm:text-xs uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-3 font-medium">Canais</p>
                        <div class="flex flex-wrap items-center justify-center gap-2 sm:gap-3">
                            <span class="pill"><img src="images/icons/globe.svg" alt="" class="pill-icon">Web UI</span>
                            <span class="pill"><img src="images/icons/telegram.svg" alt="" class="pill-icon">Telegram</span>
                            <span class="pill"><img src="images/icons/whatsapp.svg" alt="" class="pill-icon">WhatsApp</span>
                            <span class="pill"><img src="images/icons/discord.svg" alt="" class="pill-icon">Discord</span>
                            <span class="pill"><img src="images/icons/slack.svg" alt="" class="pill-icon">Slack</span>
                            <span class="pill"><img src="images/icons/matrix.svg" alt="" class="pill-icon">Matrix</span>
                            <span class="pill"><img src="images/icons/nostr.svg" alt="" class="pill-icon">Nostr</span>
                            <span class="pill"><img src="images/icons/teams.svg" alt="" class="pill-icon">Microsoft Teams</span>
                            <span class="pill"><img src="images/apple.svg" alt="" class="pill-icon">iOS <span class="pill-badge bg-gray-100 dark:bg-gray-800 text-gray-500 dark:text-gray-400">Soon</span></span>
                            <span class="pill"><img src="images/icons/graphql.svg" alt="" class="pill-icon">GraphQL API</span>
                            <span class="pill"><img src="images/icons/code.svg" alt="" class="pill-icon">JSON-RPC</span>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- ============================================================ -->
    <!-- PAGE: Install -->
    <!-- ============================================================ -->
    <div id="page-install" class="page-content hidden">
        <div class="relative z-10 px-4 sm:px-6 w-full max-w-3xl mx-auto pt-12 pb-8">
            <h1 class="text-3xl sm:text-4xl font-bold tracking-tight mb-2 text-center text-gray-900 dark:text-white font-outfit">Get Started</h1>
            <p class="text-sm sm:text-base text-gray-500 dark:text-gray-400 mb-8 text-center">Install Moltis and start your AI assistant in minutes</p>

            <!-- Installation tabs -->
            <div class="text-left mb-8">
                <div class="bg-gray-100 dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg overflow-hidden shadow-lg">
                    <div class="flex items-center gap-2 px-4 py-2.5 bg-gray-200 dark:bg-gray-800 border-b border-gray-300 dark:border-gray-700">
                        <span class="w-3 h-3 rounded-full bg-red-400"></span>
                        <span class="w-3 h-3 rounded-full bg-yellow-400"></span>
                        <span class="w-3 h-3 rounded-full bg-green-400"></span>
                        <span class="ml-2 text-xs font-mono text-gray-400 dark:text-gray-500">~ quickstart</span>
                    </div>
                    <div class="flex gap-1 px-4 pt-3 pb-2 border-b border-gray-200 dark:border-gray-800 overflow-x-auto hide-scrollbar" id="install-tabs">
                        <button data-tab="curl" class="shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors">Instalar</button>
                        <button data-tab="brew" class="shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors">Homebrew</button>
                        <button data-tab="docker" class="shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors">Docker</button>
                        <button data-tab="source" class="shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors">Fonte</button>
                        <button data-tab="others" class="shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors">Outros</button>
                    </div>
                    <div class="p-4 font-mono text-xs sm:text-sm leading-relaxed overflow-x-auto">
                        <div id="tab-curl" class="install-content flex items-center gap-3">
                            <p class="min-w-0 flex-1 overflow-x-auto whitespace-nowrap text-gray-500 dark:text-gray-500 hide-scrollbar">$ <span class="text-gray-700 dark:text-gray-300">curl -fsSL https://www.moltis.org/install.sh | sh</span></p>
                            <button type="button" data-copy-text="curl -fsSL https://www.moltis.org/install.sh | sh" data-copy-message="Comando copiado" aria-label="Copiar comando" title="Copiar comando" class="shrink-0 rounded-md p-1.5 text-gray-400 hover:bg-gray-200 hover:text-orange-600 dark:text-gray-500 dark:hover:bg-gray-800 dark:hover:text-orange-400 focus:outline-none focus:ring-2 focus:ring-orange-400 transition-colors">
                                <svg data-copy-icon width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
                                <svg data-copy-check class="hidden text-green-500" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 4 4L19 6"/></svg>
                            </button>
                        </div>
                        <div id="tab-brew" class="install-content hidden flex items-center gap-3">
                            <p class="min-w-0 flex-1 overflow-x-auto whitespace-nowrap text-gray-500 dark:text-gray-500 hide-scrollbar">$ <span class="text-gray-700 dark:text-gray-300">brew install moltis-org/tap/moltis</span></p>
                            <button type="button" data-copy-text="brew install moltis-org/tap/moltis" data-copy-message="Comando copiado" aria-label="Copiar comando" title="Copiar comando" class="shrink-0 rounded-md p-1.5 text-gray-400 hover:bg-gray-200 hover:text-orange-600 dark:text-gray-500 dark:hover:bg-gray-800 dark:hover:text-orange-400 focus:outline-none focus:ring-2 focus:ring-orange-400 transition-colors">
                                <svg data-copy-icon width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
                                <svg data-copy-check class="hidden text-green-500" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 4 4L19 6"/></svg>
                            </button>
                        </div>
                        <div id="tab-docker" class="install-content hidden relative pr-8">
                            <button type="button" data-copy-text="docker run -d \&#10;    --name moltis -p 13131:13131 -p 1455:1455 \&#10;    -v moltis-config:/home/moltis/.config/moltis \&#10;    -v moltis-data:/home/moltis/.moltis \&#10;    -v /var/run/docker.sock:/var/run/docker.sock \&#10;    ghcr.io/moltis-org/moltis:latest" data-copy-message="Comando copiado" aria-label="Copiar comando" title="Copiar comando" class="absolute right-0 top-0 rounded-md p-1.5 text-gray-400 hover:bg-gray-200 hover:text-orange-600 dark:text-gray-500 dark:hover:bg-gray-800 dark:hover:text-orange-400 focus:outline-none focus:ring-2 focus:ring-orange-400 transition-colors">
                                <svg data-copy-icon width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
                                <svg data-copy-check class="hidden text-green-500" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 4 4L19 6"/></svg>
                            </button>
                            <p class="text-gray-500 dark:text-gray-500 mb-1"># Multi-arch: amd64/arm64</p>
                            <p class="text-gray-500 dark:text-gray-500 mb-1">$ <span class="text-gray-700 dark:text-gray-300">docker run -d \</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-1">    <span class="text-gray-700 dark:text-gray-300">--name moltis -p 13131:13131 -p 1455:1455 \</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-1">    <span class="text-gray-700 dark:text-gray-300">-v moltis-config:/home/moltis/.config/moltis \</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-1">    <span class="text-gray-700 dark:text-gray-300">-v moltis-data:/home/moltis/.moltis \</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-1">    <span class="text-gray-700 dark:text-gray-300">-v /var/run/docker.sock:/var/run/docker.sock \</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-3">    <span class="text-gray-700 dark:text-gray-300">ghcr.io/moltis-org/moltis:latest</span></p>
                            <p class="text-gray-500 dark:text-gray-500"># Open <span class="text-gray-700 dark:text-gray-300">http://localhost:13131</span> and complete the setup</p>
                        </div>
                        <div id="tab-source" class="install-content hidden relative pr-8">
                            <button type="button" data-copy-text="cargo install moltis --git https://github.com/moltis-org/moltis" data-copy-message="Comando copiado" aria-label="Copiar comando" title="Copiar comando" class="absolute right-0 top-0 rounded-md p-1.5 text-gray-400 hover:bg-gray-200 hover:text-orange-600 dark:text-gray-500 dark:hover:bg-gray-800 dark:hover:text-orange-400 focus:outline-none focus:ring-2 focus:ring-orange-400 transition-colors">
                                <svg data-copy-icon width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
                                <svg data-copy-check class="hidden text-green-500" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 4 4L19 6"/></svg>
                            </button>
                            <p class="text-gray-500 dark:text-gray-500 mb-1"># Build from source</p>
                            <p class="text-gray-500 dark:text-gray-500">$ <span class="text-gray-700 dark:text-gray-300">cargo install moltis --git https://github.com/moltis-org/moltis</span></p>
                        </div>
                        <div id="tab-others" class="install-content hidden">
                            <p class="text-gray-500 dark:text-gray-500 mb-3"># Download packages from <a href="https://github.com/moltis-org/moltis/releases" class="text-orange-500 hover:text-orange-600 dark:text-orange-400 dark:hover:text-orange-300 underline">GitHub Releases</a></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-2"># Debian/Ubuntu (.deb)</p>
                            <p class="text-gray-500 dark:text-gray-500 mb-3">$ <span class="text-gray-700 dark:text-gray-300">sudo dpkg -i moltis_*_amd64.deb</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-2"># Fedora/RHEL (.rpm)</p>
                            <p class="text-gray-500 dark:text-gray-500 mb-3">$ <span class="text-gray-700 dark:text-gray-300">sudo dnf install moltis-*.x86_64.rpm</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-2"># Arch Linux (.pkg.tar.zst)</p>
                            <p class="text-gray-500 dark:text-gray-500 mb-3">$ <span class="text-gray-700 dark:text-gray-300">sudo pacman -U moltis-*-x86_64.pkg.tar.zst</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-2"># Snap</p>
                            <p class="text-gray-500 dark:text-gray-500 mb-3">$ <span class="text-gray-700 dark:text-gray-300">sudo snap install moltis</span></p>
                            <p class="text-gray-500 dark:text-gray-500 mb-2"># AppImage</p>
                            <p class="text-gray-500 dark:text-gray-500">$ <span class="text-gray-700 dark:text-gray-300">./moltis-*-x86_64.AppImage</span></p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Supported platforms -->
            <div class="mb-8 text-left">
                <div class="flex flex-wrap items-center justify-between gap-2 mb-4">
                    <h2 class="text-lg sm:text-xl font-semibold text-gray-800 dark:text-gray-100">Supported Platforms</h2>
                    <span class="inline-flex items-center rounded-full bg-gray-100 dark:bg-gray-900 border border-gray-200 dark:border-gray-800 px-2.5 py-1 text-[11px] font-medium text-gray-500 dark:text-gray-400">Pre-built releases</span>
                </div>
                <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4">
                    <a href="https://github.com/moltis-org/moltis/releases" target="_blank" rel="noopener" class="group relative overflow-hidden rounded-2xl border border-gray-200 dark:border-gray-800 bg-gradient-to-br from-gray-50 to-white dark:from-gray-900 dark:to-gray-950 p-4 sm:p-5 transition-all hover:-translate-y-0.5 hover:border-orange-300 dark:hover:border-orange-700 hover:shadow-lg">
                        <div class="absolute -top-16 -right-16 w-36 h-36 rounded-full bg-orange-200/40 dark:bg-orange-700/20 blur-2xl pointer-events-none"></div>
                        <div class="relative">
                            <div class="flex items-center gap-2 mb-2">
                                <span class="inline-flex items-center justify-center w-9 h-9 rounded-lg bg-white/70 dark:bg-gray-900/70 border border-gray-200 dark:border-gray-800">
                                    <img src="images/apple.svg" alt="" width="17" height="17" class="dark:invert">
                                </span>
                                <h3 class="text-lg sm:text-xl font-semibold text-gray-900 dark:text-white tracking-tight">macOS</h3>
                            </div>
                            <p class="text-xs sm:text-sm text-gray-500 dark:text-gray-400">Apple Silicon & Intel</p>
                        </div>
                    </a>
                    <a href="https://github.com/moltis-org/moltis/releases" target="_blank" rel="noopener" class="group relative overflow-hidden rounded-2xl border border-gray-200 dark:border-gray-800 bg-gradient-to-br from-gray-50 to-white dark:from-gray-900 dark:to-gray-950 p-4 sm:p-5 transition-all hover:-translate-y-0.5 hover:border-orange-300 dark:hover:border-orange-700 hover:shadow-lg">
                        <div class="absolute -top-16 -right-16 w-36 h-36 rounded-full bg-red-200/40 dark:bg-red-700/20 blur-2xl pointer-events-none"></div>
                        <div class="relative">
                            <div class="flex items-center gap-2 mb-2">
                                <span class="inline-flex items-center justify-center w-9 h-9 rounded-lg bg-white/70 dark:bg-gray-900/70 border border-gray-200 dark:border-gray-800">
                                    <img src="images/linux.svg" alt="" width="17" height="17" class="dark:invert">
                                </span>
                                <h3 class="text-lg sm:text-xl font-semibold text-gray-900 dark:text-white tracking-tight">Linux</h3>
                            </div>
                            <p class="text-xs sm:text-sm text-gray-500 dark:text-gray-400">x86_64 & ARM64</p>
                        </div>
                    </a>
                    <a href="https://github.com/moltis-org/moltis/releases" target="_blank" rel="noopener" class="group relative overflow-hidden rounded-2xl border border-gray-200 dark:border-gray-800 bg-gradient-to-br from-gray-50 to-white dark:from-gray-900 dark:to-gray-950 p-4 sm:p-5 transition-all hover:-translate-y-0.5 hover:border-orange-300 dark:hover:border-orange-700 hover:shadow-lg sm:col-span-2 lg:col-span-1">
                        <div class="absolute -top-16 -right-16 w-36 h-36 rounded-full bg-orange-200/40 dark:bg-orange-700/20 blur-2xl pointer-events-none"></div>
                        <div class="relative">
                            <div class="flex items-center gap-2 mb-2">
                                <span class="inline-flex items-center justify-center w-9 h-9 rounded-lg bg-white/70 dark:bg-gray-900/70 border border-gray-200 dark:border-gray-800">
                                    <img src="images/windows.svg" alt="" width="17" height="17" class="dark:invert">
                                </span>
                                <h3 class="text-lg sm:text-xl font-semibold text-gray-900 dark:text-white tracking-tight">Windows</h3>
                            </div>
                            <p class="text-xs sm:text-sm text-gray-500 dark:text-gray-400">x86_64</p>
                        </div>
                    </a>
                </div>
                <p class="mt-3 text-xs text-gray-500 dark:text-gray-400">Install with one command, or pick a release artifact for your platform from <a href="https://github.com/moltis-org/moltis/releases" target="_blank" rel="noopener" class="text-orange-500 hover:text-orange-600 dark:text-orange-400 dark:hover:text-orange-300 underline">GitHub Releases</a>.</p>
            </div>

            <!-- Cloud deploy section -->
            <div id="cloud-deploy" class="mb-8 text-left">
                <div class="p-4 sm:p-5 rounded-xl bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex flex-wrap items-center justify-between gap-2 mb-3">
                        <div class="inline-flex items-center gap-2">
                            <span class="text-orange-500 dark:text-orange-400">
                            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"/><path d="m8 17 4 4 4-4"/><path d="M12 12v9"/></svg>
                            </span>
                            <h2 class="text-sm sm:text-base font-semibold text-gray-700 dark:text-gray-200">Try it in the cloud</h2>
                        </div>
                        <span class="inline-flex items-center rounded-full bg-orange-100 dark:bg-orange-900/40 border border-orange-200 dark:border-orange-800 px-2 py-0.5 text-[10px] sm:text-[11px] font-semibold text-orange-700 dark:text-orange-300">Ready in under a minute</span>
                    </div>
                    <p class="text-xs sm:text-sm text-gray-500 dark:text-gray-400 mb-4">Cloud is a great way to try Moltis. For the full experience, run it on your Mac, a VM, or any dedicated host.</p>
                    <div class="flex flex-wrap items-center gap-2 mb-4">
                        <a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/moltis-org/moltis/tree/main" target="_blank" rel="noopener" class="inline-flex items-center justify-center gap-1.5 px-3 py-1.5 rounded-md border border-sky-200 dark:border-sky-900/70 bg-sky-50 dark:bg-sky-950/30 text-sky-700 dark:text-sky-300 hover:border-sky-400 dark:hover:border-sky-600 transition-colors text-[11px] sm:text-xs font-medium" aria-label="Deploy Moltis to DigitalOcean">
                            <svg width="12" height="12" viewBox="0 0 24 24" fill="none" aria-hidden="true">
                                <circle cx="12" cy="12" r="10" fill="#0080FF"/>
                                <rect x="10" y="5" width="4" height="14" fill="white"/>
                                <rect x="5" y="10" width="14" height="4" fill="white"/>
                            </svg>
                            Deploy on DigitalOcean
                        </a>
                    </div>
                    <div id="fly-command" class="mb-1 flex w-full flex-col gap-2 px-3 py-2 rounded-md bg-orange-50 dark:bg-orange-950/40 border border-orange-200 dark:border-orange-800 cursor-pointer hover:bg-orange-100 dark:hover:bg-orange-950/60 transition-colors" title="Click to copy">
                        <div class="flex items-center gap-3">
                            <span class="shrink-0 text-[10px] font-semibold uppercase tracking-wide text-orange-700 dark:text-orange-300">Fly.io</span>
                            <code id="fly-code" class="min-w-0 flex-1 font-mono text-[11px] sm:text-xs text-orange-800 dark:text-orange-200 break-all"></code>
                        </div>
                        <code id="fly-logs-hint" class="font-mono text-[11px] sm:text-xs text-orange-600/70 dark:text-orange-300/50"></code>
                    </div>
                    <p class="mt-2 text-xs text-gray-500 dark:text-gray-400">Need setup details? See <a href="https://docs.moltis.org/cloud-deploy.html" class="text-orange-500 dark:text-orange-400 hover:text-orange-600 dark:hover:text-orange-300 underline">Cloud Deploy docs</a>.</p>
                </div>
            </div>
        </div>
    </div>

    <!-- ============================================================ -->
    <!-- PAGE: Features -->
    <!-- ============================================================ -->
    <div id="page-features" class="page-content hidden">
        <div class="relative z-10 px-4 sm:px-6 w-full max-w-3xl mx-auto pt-12 pb-8">
            <h1 class="text-3xl sm:text-4xl font-bold tracking-tight mb-2 text-center text-gray-900 dark:text-white font-outfit">Recursos</h1>
            <p class="text-sm sm:text-base text-gray-500 dark:text-gray-400 mb-8 text-center">Tudo que você precisa in one binary</p>

            <!-- Feature highlights (12 cards) -->
            <div class="grid grid-cols-2 md:grid-cols-3 gap-3 sm:gap-4 mb-10 text-left">
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Single Binary</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">One self-contained binary. No runtime dependencies, just download and run.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><path d="M9 9h6v6H9z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Local LLMs</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Run your own models locally. Automatic download and setup included.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Authentication</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">HTTPS by default. Password, token, and passkeys access.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="14" rx="2"/><path d="M8 20h8"/><path d="M12 18v2"/><path d="M7 9h10"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Sandboxed Browsing</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Run browser sessions in isolated Docker containers for safer automation.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">SSRF Protected</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Blocks loopback, private, and link-local IPs from LLM fetch.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Streaming-first</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">First token appears instantly. Smooth replies, even during long runs.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Skills, Hooks & MCP</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Plugins, hooks, MCP tool servers with OAuth 2.1. Stdio or HTTP/SSE, auto-restart.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/><line x1="12" y1="11" x2="12" y2="17"/><line x1="9" y1="14" x2="15" y2="14"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">FS or Sandbox</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Full filesystem or per-session Docker, Podman, Apple Container, or WASM isolation.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Long-term Memory</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Hybrid vector + full-text search. Your agent remembers context.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Pi-Inspired Self-Extension</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Pi-inspired self-extension: creates its own skills at runtime. Session branching, hot-reload.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Multi-Channel</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Web UI, Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams, or API. One agent, every frontend.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/><path d="M19 10v2a7 7 0 0 1-14 0v-2"/><line x1="12" y1="19" x2="12" y2="23"/><line x1="8" y1="23" x2="16" y2="23"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Voz</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Talk to your assistant with multiple cloud and local TTS/STT providers.</p>
                </div>
            </div>

            <!-- New major features -->
            <div class="grid grid-cols-2 md:grid-cols-3 gap-3 sm:gap-4 mb-10 text-left">
                <div class="p-3 sm:p-4 rounded-lg bg-orange-50 dark:bg-orange-950/20 border border-orange-200 dark:border-orange-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">OpenClaw Import</p>
                        <span class="px-1.5 py-0.5 rounded-full bg-orange-500 text-white text-[9px] font-bold uppercase">Novo</span>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Full read-only import of your OpenClaw workspace — conversations, skills, and settings. Switch in one click.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Multi-Agent Personas</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Create multiple agent personas with distinct personalities and capabilities. Full CRUD management UI.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/><circle cx="12" cy="16" r="1"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Encryption Vault</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Encryption-at-rest vault for API keys and secrets. Your credentials are encrypted on disk, not just in memory.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="2" width="14" height="20" rx="2" ry="2"/><line x1="12" y1="18" x2="12.01" y2="18"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">iOS Companion</p>
                        <span class="px-1.5 py-0.5 rounded-full bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-300 text-[9px] font-bold uppercase">Soon</span>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Native iOS app with push notifications via APNS relay. Coming soon to the App Store.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">GraphQL API</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Full GraphQL API exposing all RPC methods. Build your own integrations and frontends.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Internationalization</p>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Suporte i18n completo. Onze idiomas já vêm integrados.</p>
                </div>
                <div class="p-3 sm:p-4 rounded-lg bg-orange-50 dark:bg-orange-950/20 border border-orange-200 dark:border-orange-800">
                    <div class="flex items-center gap-2 mb-1.5 sm:mb-2">
                        <span class="text-orange-500 dark:text-orange-400 shrink-0">
                            <svg width="16" height="16" class="sm:w-5 sm:h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21a9 9 0 0 0 8.7-6.7M12 21a9 9 0 0 1-8.7-6.7M12 21c2.5 0 4.5-4 4.5-9S14.5 3 12 3m0 18c-2.5 0-4.5-4-4.5-9S9.5 3 12 3m0 0a9 9 0 0 1 7.8 4.6M12 3a9 9 0 0 0-7.8 4.6m15.6 0A12 12 0 0 1 12 10.5 12 12 0 0 1 4.2 7.6m15.6 0A9 9 0 0 1 21 12c0 .8-.1 1.5-.3 2.3m0 0A18 18 0 0 1 12 16.5a18 18 0 0 1-8.7-2.2m0 0A9 9 0 0 1 3 12c0-1.3.3-2.5.7-3.6"/></svg>
                        </span>
                        <p class="text-xs sm:text-sm font-semibold text-gray-700 dark:text-gray-200">Webhooks</p>
                        <span class="px-1.5 py-0.5 rounded-full bg-orange-500 text-white text-[9px] font-bold uppercase">Novo</span>
                    </div>
                    <p class="text-[11px] sm:text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Run AI agents on GitHub PRs, Stripe payments, or any webhook. Review code, triage issues, handle payments &mdash; automatically.</p>
                </div>
            </div>

            <!-- Extended features checklist -->
            <div class="mb-8 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 text-center">And much more...</h2>
                <div class="grid grid-cols-2 sm:grid-cols-2 md:grid-cols-3 gap-4 sm:gap-6">
                    <!-- Security -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">Segurança</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Passkeys (WebAuthn)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Scoped API keys</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Encryption-at-rest vault</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Secrets zeroed on drop</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Human-in-the-loop approval</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Origin validation (CSWSH)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> No unsafe code</li>
                        </ul>
                    </div>
                    <!-- LLM Providers -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">LLM Providers</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Anthropic, OpenAI, Gemini</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> DeepSeek, Mistral, Groq, xAI</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> OpenRouter, Ollama, Local LLM</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Custom OpenAI-compatible endpoints</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Provider fallback chains</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Per-provider metrics</li>
                        </ul>
                    </div>
                    <!-- Memory -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">Memory</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Hybrid search (vector + FTS)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Local embeddings (GGUF)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> OpenAI batch API (50% off)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Embedding cache</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> File watching / live sync</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Session export</li>
                        </ul>
                    </div>
                    <!-- Extensibility -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">Extensibility</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> MCP server support</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> GraphQL API</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> CalDAV calendar integration</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Hook system (lifecycle)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Cron job scheduling</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> <a href="https://docs.moltis.org/webhooks.html" class="hover:text-orange-500 transition-colors">Webhook triggers</a></li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> i18n (11 idiomas)</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> <a href="https://docs.moltis.org/openclaw-import.html" class="hover:text-orange-500 transition-colors">Importação OpenClaw</a></li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> TOML configuration</li>
                        </ul>
                    </div>
                    <!-- Canais -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">Canais</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Web UI</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Telegram bot</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> WhatsApp</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Discord</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Slack</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Matrix</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Nostr</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Microsoft Teams</li>
                            <li class="flex items-center gap-2"><span class="text-gray-400 dark:text-gray-500">&#9675;</span> <span class="text-gray-400 dark:text-gray-500">iOS companion app (coming soon)</span></li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> JSON-RPC + GraphQL API</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Push notifications</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Multi-device sync</li>
                        </ul>
                    </div>
                    <!-- Observability -->
                    <div>
                        <h3 class="text-sm font-semibold text-orange-500 dark:text-orange-400 mb-2 uppercase tracking-wide">Observability</h3>
                        <ul class="space-y-1 text-xs text-gray-600 dark:text-gray-400">
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Prometheus metrics</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> OpenTelemetry tracing</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Structured logging</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Per-provider charts</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> SQLite persistence</li>
                            <li class="flex items-center gap-2"><span class="text-orange-500">&#10003;</span> Real-time WebSocket</li>
                        </ul>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- ============================================================ -->
    <!-- PAGE: Security -->
    <!-- ============================================================ -->
    <div id="page-security" class="page-content hidden">
        <div class="relative z-10 px-4 sm:px-6 w-full max-w-3xl mx-auto pt-12 pb-8">
            <h1 class="text-3xl sm:text-4xl font-bold tracking-tight mb-2 text-center text-gray-900 dark:text-white font-outfit">Design com segurança em primeiro lugar</h1>
            <p class="text-sm sm:text-base text-gray-500 dark:text-gray-400 mb-10 text-center">Um assistente IA em que você pode confiar na sua máquina</p>

            <!-- Why Rust -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-3 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
                    </span>
                    Por que você deveria confiar nele?
                </h2>
                <div class="space-y-3">
                    <p class="text-sm text-gray-600 dark:text-gray-400 leading-relaxed">
                        Moltis é um arquivo. Você baixa, executa, pronto. Não há loja de plugins, gerenciador de pacotes ou runtime que possa ser comprometido. A aplicação inteira é um único binário que você pode verificar.
                    </p>
                    <p class="text-sm text-gray-600 dark:text-gray-400 leading-relaxed">
                        Sua IA roda em sandbox por padrão. Ela não pode ler seus arquivos, executar comandos ou navegar na web a menos que você permita explicitamente. Cada ação de ferramenta pode exigir sua aprovação — ou você pode pré-aprovar as que confia.
                    </p>
                    <p class="text-sm text-gray-600 dark:text-gray-400 leading-relaxed">
                        Suas senhas e chaves API são encapsuladas para nunca serem registradas acidentalmente, e a memória é zerada no momento em que não são mais necessárias. A linguagem em que é construído (Rust) torna classes inteiras de bugs de segurança impossíveis no nível do compilador.
                    </p>
                    <div class="mt-4 p-3 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <p class="text-sm font-medium text-gray-700 dark:text-gray-200 mb-1">O que você não encontrará aqui</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Sem marketplace de plugins para ser comprometido. Sem runtime JavaScript. Sem árvore de dependências de 1.200 pacotes que você não consegue revisar. Um binário que você pode auditar de ponta a ponta.</p>
                    </div>
                </div>
            </div>

            <!-- Threat defense table -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 .5-.87l8-4.5a1 1 0 0 1 1 0l8 4.5A1 1 0 0 1 20 6z"/><path d="m9 12 2 2 4-4"/></svg>
                    </span>
                    Como protegemos você
                </h2>
                <div class="overflow-x-auto rounded-lg border border-gray-200 dark:border-gray-800">
                    <table class="w-full text-xs sm:text-sm text-left">
                        <thead>
                            <tr class="bg-gray-50 dark:bg-gray-900/50">
                                <th class="px-4 py-3 font-semibold text-gray-700 dark:text-gray-200 border-b border-gray-200 dark:border-gray-800">E se...</th>
                                <th class="px-4 py-3 font-semibold text-gray-700 dark:text-gray-200 border-b border-gray-200 dark:border-gray-800">Como Moltis lida com isso</th>
                            </tr>
                        </thead>
                        <tbody class="text-gray-600 dark:text-gray-400">
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">Alguém encontra sua instância</td>
                                <td class="px-4 py-3">Senha ou passkey obrigatória desde o primeiro início, HTTPS automático, limitação de taxa</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">IA tenta executar código perigoso</td>
                                <td class="px-4 py-3">Tudo roda em sandbox (Docker ou Apple Container). Cada ação precisa da sua aprovação primeiro</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">Uma dependência é comprometida</td>
                                <td class="px-4 py-3">Não há pacotes npm/pip para comprometer. Um binário, dependências auditáveis. Integrações como Telegram são código integrado e testado</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">IA acessa sua rede interna</td>
                                <td class="px-4 py-3">Endereços de rede internos e privados são bloqueados automaticamente</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">Alguém tenta roubar suas chaves</td>
                                <td class="px-4 py-3">Chaves API e senhas são ocultadas dos logs e zeradas na memória após o uso</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">Sessão é sequestrada</td>
                                <td class="px-4 py-3">Verificação de origem previne ataques cross-site, HTTPS habilitado por padrão</td>
                            </tr>
                            <tr>
                                <td class="px-4 py-3 font-medium text-gray-700 dark:text-gray-300">Acesso não autorizado</td>
                                <td class="px-4 py-3">Passkeys, chaves API com escopo, políticas de permissão por ferramenta</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- Sandbox section -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/><line x1="12" y1="11" x2="12" y2="17"/><line x1="9" y1="14" x2="15" y2="14"/></svg>
                    </span>
                    Execução em sandbox
                </h2>
                <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-2">
                            <img src="images/docker.svg" alt="Docker" width="20" height="20">
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Docker & Podman</h3>
                        </div>
                        <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Cada conversa tem seu próprio container isolado. Comandos shell e navegação web acontecem dentro do sandbox, não no seu sistema real.</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-2">
                            <img src="images/apple.svg" alt="Apple" width="20" height="20" class="dark:invert opacity-60">
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Apple Containers</h3>
                        </div>
                        <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">No Mac, usa a virtualização integrada da Apple para isolamento leve — sem necessidade de Docker.</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800">
                        <div class="flex items-center gap-2 mb-2">
                            <span class="text-orange-500 dark:text-orange-400">
                                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/></svg>
                            </span>
                            <h3 class="text-sm font-semibold text-gray-700 dark:text-gray-200">Sandbox WASM</h3>
                        </div>
                        <p class="text-xs text-gray-500 dark:text-gray-400 leading-relaxed">Sandbox baseado em Wasmtime com failover genérico. Isolamento leve sem containers.</p>
                    </div>
                </div>
            </div>

            <!-- Auditable codebase section -->
            <div class="mb-8 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>
                    </span>
                    Totalmente open source
                </h2>
                <div class="grid grid-cols-3 gap-3">
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">pequena</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">pequena superfície unsafe isolada*</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">0</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">dependências npm</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">59</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">crates Rust do workspace</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">~270K</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">linhas de Rust</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">470+</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">arquivos Rust com testes</p>
                    </div>
                    <div class="p-4 rounded-lg bg-gray-50 dark:bg-gray-900/50 border border-gray-200 dark:border-gray-800 text-center">
                        <p class="text-2xl font-bold text-orange-500 dark:text-orange-400 mb-1">MIT</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">licença</p>
                    </div>
                </div>
                <p class="mt-2 text-[11px] text-gray-400 dark:text-gray-500">*Código unsafe fica isolado em FFI Swift, wrappers de modelos locais e limites WASM/runtime pré-compilados. Os caminhos centrais do agente e do gateway permanecem em Rust seguro.</p>
            </div>
        </div>
    </div>

    <!-- ============================================================ -->
    <!-- PAGE: Compare -->
    <!-- ============================================================ -->
    <div id="page-compare" class="page-content hidden">
        <div class="relative z-10 px-4 sm:px-6 lg:px-8 w-full max-w-6xl mx-auto pt-12 pb-8">
            <h1 class="text-3xl sm:text-4xl font-bold tracking-tight mb-2 text-center text-gray-900 dark:text-white font-outfit">Como Moltis se compara</h1>
            <p class="text-sm sm:text-base text-gray-500 dark:text-gray-400 mb-10 text-center">Assistentes IA open-source que você pode auto-hospedar</p>

            <!-- Feature comparison -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>
                    </span>
                    Visão geral
                </h2>
                <div class="overflow-x-auto rounded-lg border border-gray-200 dark:border-gray-800">
                    <table class="compare-table w-full text-[11px] sm:text-xs text-left">
                        <thead>
                            <tr class="bg-gray-50 dark:bg-gray-900/50">
                                <th class="px-3 py-2.5 font-semibold text-gray-700 dark:text-gray-200 border-b border-gray-200 dark:border-gray-800 sticky left-0 bg-gray-50 dark:bg-gray-900/80 z-10"></th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800"><a href="https://github.com/openclaw/openclaw" target="_blank" rel="noopener" class="hover:text-orange-500 transition-colors">OpenClaw</a></th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800"><a href="https://github.com/NousResearch/hermes-agent" target="_blank" rel="noopener" class="hover:text-orange-500 transition-colors">Hermes Agent</a></th>
                                <th class="px-3 py-2.5 font-semibold text-orange-600 dark:text-orange-400 border-b border-orange-200 dark:border-orange-800 bg-orange-50/50 dark:bg-orange-950/20">Moltis</th>
                            </tr>
                        </thead>
                        <tbody class="text-gray-600 dark:text-gray-400">
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Linguagem</td>
                                <td class="px-3 py-2">TypeScript + native apps</td>
                                <td class="px-3 py-2">Python + TypeScript UI</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Rust</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Runtime</td>
                                <td class="px-3 py-2">Node.js + npm/pnpm/bun</td>
                                <td class="px-3 py-2">Python + uv/pip</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Single binary</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Main shape</td>
                                <td class="px-3 py-2">Gateway + apps + nodes</td>
                                <td class="px-3 py-2">CLI + gateway + research tools</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Persistent agent server</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Sandbox</td>
                                <td class="px-3 py-2">App-level permissions</td>
                                <td class="px-3 py-2">Local, Docker, SSH, cloud backends</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Docker/Podman + Apple + WASM</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Auth</td>
                                <td class="px-3 py-2">Pairing + gateway controls</td>
                                <td class="px-3 py-2">CLI + gateway setup</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Password + Passkey + API keys</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Voz</td>
                                <td class="px-3 py-2">Voz wake + talk modes</td>
                                <td class="px-3 py-2">Voz memo transcription</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Built-in (15+ providers)</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">MCP</td>
                                <td class="px-3 py-2">Plugin/integration support</td>
                                <td class="px-3 py-2">MCP integration</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Yes (stdio + HTTP/SSE)</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Memória / RAG</td>
                                <td class="px-3 py-2">Plugin + context engine</td>
                                <td class="px-3 py-2">Memory + session search + user model</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">SQLite + FTS + vector</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Hooks</td>
                                <td class="px-3 py-2">Plugin/runtime hooks</td>
                                <td class="px-3 py-2">Hooks/plugins</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">15 event types</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Canais</td>
                                <td class="px-3 py-2">Broad channel and device list</td>
                                <td class="px-3 py-2">Telegram, Discord, Slack, WhatsApp, Signal, CLI</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Web, Telegram, WhatsApp, Discord, Slack, Matrix, Nostr, Teams</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">API</td>
                                <td class="px-3 py-2">Gateway APIs</td>
                                <td class="px-3 py-2">CLI/gateway APIs</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">JSON-RPC + GraphQL</td>
                            </tr>
                            <tr>
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Importação OpenClaw</td>
                                <td class="px-3 py-2 text-gray-400 dark:text-gray-600">&#x2014;</td>
                                <td class="px-3 py-2">Migration command</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Full (read-only, safe)</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- Comparação de segurança -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
                    </span>
                    Comparação de segurança
                </h2>
                <div class="overflow-x-auto rounded-lg border border-gray-200 dark:border-gray-800">
                    <table class="compare-table w-full text-[11px] sm:text-xs text-left">
                        <thead>
                            <tr class="bg-gray-50 dark:bg-gray-900/50">
                                <th class="px-3 py-2.5 font-semibold text-gray-700 dark:text-gray-200 border-b border-gray-200 dark:border-gray-800 sticky left-0 bg-gray-50 dark:bg-gray-900/80 z-10"></th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800">OpenClaw</th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800">Hermes Agent</th>
                                <th class="px-3 py-2.5 font-semibold text-orange-600 dark:text-orange-400 border-b border-orange-200 dark:border-orange-800 bg-orange-50/50 dark:bg-orange-950/20">Moltis</th>
                            </tr>
                        </thead>
                        <tbody class="text-gray-600 dark:text-gray-400">
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Sandbox de código</td>
                                <td class="px-3 py-2">App-level permissions and tool controls</td>
                                <td class="px-3 py-2">Local, container, SSH, and cloud backends</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Docker/Podman + Apple + WASM</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Gerenciamento de segredos</td>
                                <td class="px-3 py-2">Config, env, and plugin paths</td>
                                <td class="px-3 py-2">Config and provider credentials</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Cofre criptografado, editado, zerado</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Proteção SSRF</td>
                                <td class="px-3 py-2">Tool/plugin dependent</td>
                                <td class="px-3 py-2">Tool/backend dependent</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Blocks loopback/private/CGNAT</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Origem WebSocket</td>
                                <td class="px-3 py-2">Gateway dependent</td>
                                <td class="px-3 py-2">Gateway dependent</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Rejeição cross-origin</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Controle de hooks</td>
                                <td class="px-3 py-2">Plugin/runtime hooks</td>
                                <td class="px-3 py-2">Hooks/plugins</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Inspecionar / modificar / bloquear</td>
                            </tr>
                            <tr>
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Limitação de taxa</td>
                                <td class="px-3 py-2">Gateway dependent</td>
                                <td class="px-3 py-2">Gateway dependent</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Throttle por IP + limites de login</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- Codebase comparison -->
            <div class="mb-10 text-left">
                <h2 class="text-lg font-semibold text-gray-700 dark:text-gray-200 mb-4 flex items-center gap-2">
                    <span class="text-orange-500 dark:text-orange-400">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
                    </span>
                    Snapshot do código
                </h2>
                <div class="overflow-x-auto rounded-lg border border-gray-200 dark:border-gray-800">
                    <table class="compare-table w-full text-[11px] sm:text-xs text-left">
                        <thead>
                            <tr class="bg-gray-50 dark:bg-gray-900/50">
                                <th class="px-3 py-2.5 font-semibold text-gray-700 dark:text-gray-200 border-b border-gray-200 dark:border-gray-800 sticky left-0 bg-gray-50 dark:bg-gray-900/80 z-10"></th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800">OpenClaw</th>
                                <th class="px-3 py-2.5 font-medium text-gray-500 dark:text-gray-400 border-b border-gray-200 dark:border-gray-800">Hermes Agent</th>
                                <th class="px-3 py-2.5 font-semibold text-orange-600 dark:text-orange-400 border-b border-orange-200 dark:border-orange-800 bg-orange-50/50 dark:bg-orange-950/20">Moltis</th>
                            </tr>
                        </thead>
                        <tbody class="text-gray-600 dark:text-gray-400">
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Tamanho do código local*</td>
                                <td class="px-3 py-2">~1.1M app LoC</td>
                                <td class="px-3 py-2">~152K app LoC</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">~270K Rust LoC</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50 bg-gray-50/50 dark:bg-gray-900/20">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-gray-50/50 dark:bg-gray-900/20 z-10">Formato do pacote</td>
                                <td class="px-3 py-2">npm packages, extensions, apps</td>
                                <td class="px-3 py-2">Python package, plugins, tools, UI packages</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">59 crates Rust do workspace</td>
                            </tr>
                            <tr class="border-b border-gray-100 dark:border-gray-800/50">
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Instalação principal</td>
                                <td class="px-3 py-2">npm install -g openclaw</td>
                                <td class="px-3 py-2">install script, then hermes</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">Install script, Homebrew, Docker, Cargo</td>
                            </tr>
                            <tr>
                                <td class="px-3 py-2 font-medium text-gray-700 dark:text-gray-300 sticky left-0 bg-white dark:bg-gray-950 z-10">Sinal da superfície de testes</td>
                                <td class="px-3 py-2">Large TS/app test tree</td>
                                <td class="px-3 py-2">Python and TUI tests</td>
                                <td class="px-3 py-2 bg-orange-50/30 dark:bg-orange-950/10 font-medium text-gray-700 dark:text-gray-200">470+ arquivos Rust com testes</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <p class="mt-3 text-xs text-gray-500 dark:text-gray-400 leading-relaxed">*Medido com tokei a partir de checkouts locais, excluindo pastas de dependências e saída gerada. LoC é um sinal de escala e auditabilidade, não um ranking.</p>
            </div>

            <p class="text-[10px] text-gray-400 dark:text-gray-500 text-center">Baseado em snapshots de checkouts locais e informações públicas do projeto. Projetos evoluem rápido — verifique cada repositório para o mais recente. <a href="https://docs.moltis.org/comparison.html" class="text-orange-500 dark:text-orange-400 hover:underline">Comparação completa na documentação</a>.</p>
        </div>
    </div>

    <!-- ============================================================ -->
    <!-- Community feedback -->
    <!-- ============================================================ -->
    <div class="relative z-10 max-w-3xl mx-auto px-4 py-12">
        <h2 class="text-center text-lg font-semibold text-gray-700 dark:text-gray-300 mb-6">What users are saying</h2>
        <blockquote class="bg-white/60 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 rounded-xl px-6 py-5 shadow-sm">
            <p class="text-gray-600 dark:text-gray-300 text-sm leading-relaxed italic">"Moltis feels exactly how this kind of tool should feel: fast, lightweight, easy to install, easy to debug, with proper logging, a clean web UI, and the ability to build custom extensions around it. This is the first tool in this space that actually feels practical and usable instead of being another fragile experiment."</p>
            <footer class="mt-3 text-xs text-gray-400 dark:text-gray-500">
                &mdash; <a href="https://github.com/moltis-org/moltis/discussions/929" class="text-orange-500 dark:text-orange-400 hover:underline">bashrusakh</a>, via GitHub Discussions
            </footer>
        </blockquote>
    </div>

    <!-- ============================================================ -->
    <!-- Footer (always visible) -->
    <!-- ============================================================ -->
    <footer class="relative z-10 text-center px-4 pb-8 pt-4">
        <p class="max-w-2xl mx-auto mb-4 text-xs sm:text-sm text-amber-700 dark:text-amber-300 bg-amber-50 dark:bg-amber-950/30 border border-amber-200 dark:border-amber-800 rounded-lg px-3 py-2">
            Assistentes IA locais ainda são software em estágio inicial. Trate Moltis como alpha: execute com cuidado, revise permissões de ferramentas e evite dar acesso amplo ao sistema que você não precisa. Use com responsabilidade.
        </p>
        <p class="inline-flex items-center gap-3 text-xs text-gray-400 dark:text-gray-600">
            <span class="inline-flex items-center gap-1.5">
                <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
                Licença MIT
            </span>
            <a href="https://github.com/moltis-org/moltis" class="inline-flex items-center gap-1.5 hover:text-orange-500 dark:hover:text-orange-400 transition-colors">
                <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
                GitHub
            </a>
            <a href="https://discord.gg/XnmrepsXp5" class="inline-flex items-center gap-1.5 hover:text-orange-500 dark:hover:text-orange-400 transition-colors">
                <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.369a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.211.375-.444.864-.608 1.249a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.249.077.077 0 0 0-.079-.037 19.736 19.736 0 0 0-4.885 1.515.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.056 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.995a.076.076 0 0 0-.041-.106 13.106 13.106 0 0 1-1.872-.892.078.078 0 0 1-.008-.128c.126-.094.252-.192.372-.291a.074.074 0 0 1 .077-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 0 1 .078.009c.12.1.246.198.373.292a.078.078 0 0 1-.006.128 12.298 12.298 0 0 1-1.873.892.077.077 0 0 0-.04.107c.36.699.772 1.364 1.225 1.994a.076.076 0 0 0 .084.028 19.837 19.837 0 0 0 6.002-3.03.077.077 0 0 0 .031-.055c.5-5.177-.838-9.674-3.548-13.66a.061.061 0 0 0-.031-.03zM8.02 15.331c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.418 2.157-2.418 1.211 0 2.176 1.094 2.157 2.418 0 1.334-.955 2.419-2.157 2.419zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.418 2.157-2.418 1.212 0 2.176 1.094 2.157 2.418 0 1.334-.945 2.419-2.157 2.419z"/></svg>
                Discord
            </a>
        </p>
        <p class="text-xs text-gray-400 dark:text-gray-600 mt-2">
            feito com amor &#10084;&#65039; by <a href="https://pen.so" class="underline hover:text-orange-500 dark:hover:text-orange-400 transition-colors">Fabien Penso</a>
        </p>
    </footer>

    <script src="clipboard.js"></script>
    <script>
        // ============================================================
        // Linguagem switcher
        // ============================================================
        function setLang(lang) {
            document.cookie = 'lang=' + lang + ';path=/;max-age=31536000;SameSite=Lax';
            if (location.pathname === '/') {
                location.reload();
            } else {
                location.href = '/';
            }
        }
        document.addEventListener('click', function(e) {
            var sw = document.getElementById('lang-switcher');
            if (sw && !sw.contains(e.target)) {
                sw.querySelector('div').classList.add('hidden');
            }
        });

        // ============================================================
        // Page routing
        // ============================================================
        const pages = ['home', 'install', 'features', 'security', 'compare'];
        let currentPage = 'home';

        function navigateTo(page) {
            if (!pages.includes(page)) page = 'home';
            currentPage = page;

            // Show/hide page content
            document.querySelectorAll('.page-content').forEach(function(el) {
                el.classList.toggle('hidden', el.id !== 'page-' + page);
            });

            // Update nav tab styling
            document.querySelectorAll('.nav-tab').forEach(function(tab) {
                var isActive = tab.dataset.page === page;
                if (isActive) {
                    tab.className = 'nav-tab shrink-0 px-3 py-1.5 text-xs sm:text-sm font-medium rounded-md transition-colors bg-orange-500 text-white';
                } else {
                    tab.className = 'nav-tab shrink-0 px-3 py-1.5 text-xs sm:text-sm font-medium rounded-md transition-colors text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800';
                }
            });

            // Update hash without triggering hashchange
            if (location.hash !== '#' + page) {
                history.pushState(null, '', '#' + page);
            }

            // Scroll to top
            window.scrollTo(0, 0);
        }

        // Handle hash changes (back/forward)
        window.addEventListener('hashchange', function() {
            var page = location.hash.replace('#', '') || 'home';
            navigateTo(page);
        });

        // Handle popstate for browser back/forward
        window.addEventListener('popstate', function() {
            var page = location.hash.replace('#', '') || 'home';
            navigateTo(page);
        });

        // Initial navigation
        navigateTo(location.hash.replace('#', '') || 'home');

        // Intercept nav tab clicks to prevent default hash jump
        document.querySelectorAll('.nav-tab').forEach(function(tab) {
            tab.addEventListener('click', function(e) {
                var href = tab.getAttribute('href') || '';
                if (!tab.dataset.page || !href.startsWith('#') && !href.startsWith('/#')) return;
                e.preventDefault();
                navigateTo(tab.dataset.page);
            });
        });

        // GitHub stars are fetched by the shared nav partial script.

        // ============================================================
        // Installation tabs
        // ============================================================
        var tabsEl = document.getElementById('install-tabs');
        var installTabs = ['curl', 'brew', 'docker', 'source', 'others'];
        var activeTab = 'curl';

        function updateInstallTabs() {
            if (!tabsEl) return;
            tabsEl.querySelectorAll('button').forEach(function(btn) {
                var isActive = btn.dataset.tab === activeTab;
                btn.className = 'shrink-0 px-3 py-1 text-xs font-medium rounded-md transition-colors ' + (isActive
                    ? 'bg-orange-500 text-white'
                    : 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700');
            });
            installTabs.forEach(function(tab) {
                var content = document.getElementById('tab-' + tab);
                if (content) content.classList.toggle('hidden', tab !== activeTab);
            });
        }
        updateInstallTabs();

        if (tabsEl) {
            tabsEl.addEventListener('click', function(e) {
                var btn = e.target.closest('button[data-tab]');
                if (!btn) return;
                activeTab = btn.dataset.tab;
                updateInstallTabs();
            });
        }

        // ============================================================
        // Theme toggle (cycle: light → system → dark)
        // ============================================================
        var themeToggle = document.getElementById('theme-toggle');
        var themeCycle = ['light', 'system', 'dark'];
        function updateThemeIcon(mode) {
            document.getElementById('theme-icon-light').classList.toggle('hidden', mode !== 'light');
            document.getElementById('theme-icon-system').classList.toggle('hidden', mode !== 'system');
            document.getElementById('theme-icon-dark').classList.toggle('hidden', mode !== 'dark');
            var titles = { light: 'Theme: Light', system: 'Theme: System', dark: 'Theme: Dark' };
            if (themeToggle) themeToggle.title = titles[mode] || 'Toggle theme';
        }
        updateThemeIcon(savedTheme);
        if (themeToggle) {
            themeToggle.addEventListener('click', function() {
                var current = localStorage.getItem('theme') || 'system';
                var idx = themeCycle.indexOf(current);
                var next = themeCycle[(idx + 1) % themeCycle.length];
                localStorage.setItem('theme', next);
                applyTheme(next);
                updateThemeIcon(next);
            });
        }

        // ============================================================
        // Lightbox
        // ============================================================
        var lbTotal = 7;
        var lbIndex = 0;
        var lbEl = document.getElementById('lightbox');
        var lbImg = document.getElementById('lb-img');
        var lbPrev = document.getElementById('lb-prev');
        var lbNext = document.getElementById('lb-next');
        function openLightbox(i) {
            lbIndex = i;
            lbImg.src = 'screenshots/' + (i + 1) + '.png';
            lbPrev.classList.toggle('invisible', i === 0);
            lbNext.classList.toggle('invisible', i === lbTotal - 1);
            lbEl.classList.remove('hidden');
            document.body.style.overflow = 'hidden';
        }
        function closeLightbox() {
            lbEl.classList.add('hidden');
            document.body.style.overflow = '';
        }
        function prevImage() { if (lbIndex > 0) openLightbox(lbIndex - 1); }
        function nextImage() { if (lbIndex < lbTotal - 1) openLightbox(lbIndex + 1); }
        document.addEventListener('keydown', function(e) {
            if (lbEl.classList.contains('hidden')) return;
            if (e.key === 'Escape') closeLightbox();
            else if (e.key === 'ArrowLeft') prevImage();
            else if (e.key === 'ArrowRight') nextImage();
        });

        // ============================================================
        // Fly.io command with random app name
        // ============================================================
        var flyCmd = document.getElementById('fly-command');
        var flyName = 'moltis-' + Math.random().toString(36).slice(2, 10) + Math.random().toString(36).slice(2, 8);
        var flyText = 'curl -o fly.toml https://raw.githubusercontent.com/moltis-org/moltis/main/fly.toml && flyctl launch --name ' + flyName;
        var flyCodeEl = document.getElementById('fly-code');
        var flyLogsEl = document.getElementById('fly-logs-hint');
        if (flyCodeEl) flyCodeEl.textContent = flyText;
        if (flyLogsEl) flyLogsEl.textContent = '# To get your setup code: flyctl logs -a ' + flyName + ' | grep "setup code"';
        if (flyCmd) {
            flyCmd.addEventListener('click', function() {
                window.moltisClipboard.copyText(flyText).then(function() {
                    window.moltisClipboard.showToast('Comando Fly copiado');
                }).catch(function() {});
            });
        }
        // Scroll-reveal for pill groups
        var revealObserver = new IntersectionObserver(function(entries) {
            var idx = 0;
            entries.forEach(function(entry) {
                if (!entry.isIntersecting) return;
                setTimeout(function() { entry.target.classList.add('revealed'); }, idx * 100);
                idx++;
                revealObserver.unobserve(entry.target);
            });
        }, { threshold: 0.15 });
        document.querySelectorAll('[data-reveal]').forEach(function(el) {
            revealObserver.observe(el);
        });
    </script>
</body>
</html>