Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/public/landing-combined.html

overstepping4dba79dea0a4
diff --git a/xspace-agent/public/landing-combined.html b/xspace-agent/public/landing-combined.html
new file mode 100644
index 000000000..b93a60f7e
--- /dev/null
+++ b/xspace-agent/public/landing-combined.html
@@ -0,0 +1,1474 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>xspace-agent — AI Voice Agents for X Spaces &amp; Beyond</title>
+ <meta name="description" content="Open-source TypeScript SDK for AI agents that autonomously join, listen, and speak in X Spaces. Multi-LLM, real-time voice, multi-agent coordination, memory, knowledge retrieval — all powered by Puppeteer browser automation.">
+ <meta name="theme-color" content="#0a0a0a">
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml">
+ <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=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
+ <style>
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
+
+ :root {
+ --bg: #0a0a0a;
+ --bg-elevated: #111111;
+ --bg-card: #141414;
+ --bg-card-hover: #1a1a1a;
+ --border: rgba(255,255,255,0.08);
+ --border-hover: rgba(255,255,255,0.15);
+ --text: #f5f0e8;
+ --text-muted: #a8a29e;
+ --text-dim: #6b6560;
+ --accent-warm: #e8dcc8;
+ --accent-orange: #e87b35;
+ --accent-orange-muted: #c4693a;
+ --accent-cream: #f5f0e8;
+ --accent-indigo: #6366f1;
+ --accent-green: #22c55e;
+ --radius: 12px;
+ --radius-lg: 20px;
+ --radius-xl: 28px;
+ }
+
+ html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
+
+ body {
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ background: var(--bg);
+ color: var(--text);
+ overflow-x: hidden;
+ line-height: 1.6;
+ }
+
+ code, .mono { font-family: 'JetBrains Mono', monospace; }
+
+ /* ── Grid Background ─────────────────────── */
+ .grid-bg {
+ position: fixed;
+ inset: 0;
+ background-image:
+ linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
+ background-size: 80px 80px;
+ pointer-events: none;
+ z-index: 0;
+ }
+
+ /* ── Floating Particles ──────────────────── */
+ .particles {
+ position: fixed;
+ inset: 0;
+ pointer-events: none;
+ z-index: 0;
+ overflow: hidden;
+ }
+ .particle {
+ position: absolute;
+ width: 3px;
+ height: 3px;
+ background: rgba(232, 220, 200, 0.15);
+ border-radius: 50%;
+ animation: float-particle linear infinite;
+ }
+ @keyframes float-particle {
+ 0% { transform: translateY(100vh) translateX(0); opacity: 0; }
+ 10% { opacity: 1; }
+ 90% { opacity: 1; }
+ 100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
+ }
+
+ /* ── Ambient Glow ────────────────────────── */
+ .glow-top {
+ position: absolute;
+ top: -200px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 900px;
+ height: 500px;
+ background: radial-gradient(ellipse, rgba(232, 123, 53, 0.06) 0%, transparent 70%);
+ pointer-events: none;
+ z-index: 0;
+ }
+
+ /* ── Layout ───────────────────────────────── */
+ .container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 24px;
+ position: relative;
+ z-index: 1;
+ }
+
+ section {
+ position: relative;
+ z-index: 1;
+ }
+
+ /* ── Navbar ────────────────────────────────── */
+ .navbar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ z-index: 100;
+ padding: 16px 0;
+ transition: background 0.3s, backdrop-filter 0.3s;
+ }
+ .navbar.scrolled {
+ background: rgba(10, 10, 10, 0.85);
+ backdrop-filter: blur(20px);
+ -webkit-backdrop-filter: blur(20px);
+ border-bottom: 1px solid var(--border);
+ }
+ .navbar .container {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+ .nav-logo {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ text-decoration: none;
+ color: var(--text);
+ font-weight: 700;
+ font-size: 1.15rem;
+ }
+ .nav-logo svg {
+ width: 32px;
+ height: 32px;
+ }
+ .nav-links {
+ display: flex;
+ align-items: center;
+ gap: 32px;
+ list-style: none;
+ }
+ .nav-links a {
+ color: var(--text-muted);
+ text-decoration: none;
+ font-size: 0.9rem;
+ font-weight: 500;
+ transition: color 0.2s;
+ }
+ .nav-links a:hover { color: var(--text); }
+ .nav-actions {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+ .btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 10px 22px;
+ border-radius: 999px;
+ font-size: 0.9rem;
+ font-weight: 600;
+ text-decoration: none;
+ cursor: pointer;
+ border: none;
+ transition: all 0.25s;
+ font-family: inherit;
+ }
+ .btn-ghost {
+ background: transparent;
+ color: var(--text);
+ border: 1px solid var(--border);
+ }
+ .btn-ghost:hover {
+ background: rgba(255,255,255,0.05);
+ border-color: var(--border-hover);
+ }
+ .btn-primary {
+ background: var(--accent-cream);
+ color: #0a0a0a;
+ }
+ .btn-primary:hover {
+ background: #fff;
+ transform: translateY(-1px);
+ box-shadow: 0 4px 20px rgba(245, 240, 232, 0.2);
+ }
+ .btn-outline {
+ background: transparent;
+ color: var(--text);
+ border: 1px solid var(--border-hover);
+ }
+ .btn-outline:hover {
+ background: rgba(255,255,255,0.05);
+ border-color: rgba(255,255,255,0.25);
+ }
+
+ /* ── Hero ──────────────────────────────────── */
+ .hero {
+ padding: 180px 0 80px;
+ text-align: center;
+ position: relative;
+ }
+ .hero-badge {
+ display: inline-flex;
+ align-items: center;
+ gap: 10px;
+ padding: 8px 20px 8px 8px;
+ background: rgba(255,255,255,0.05);
+ border: 1px solid var(--border);
+ border-radius: 999px;
+ margin-bottom: 32px;
+ font-size: 0.85rem;
+ color: var(--text-muted);
+ }
+ .hero-badge-avatars {
+ display: flex;
+ }
+ .hero-badge-avatars span {
+ width: 28px;
+ height: 28px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 0.7rem;
+ font-weight: 600;
+ margin-left: -6px;
+ border: 2px solid var(--bg);
+ }
+ .hero-badge-avatars span:first-child { margin-left: 0; }
+ .hero-badge-avatars .av1 { background: linear-gradient(135deg, #e87b35, #c4693a); color: #fff; }
+ .hero-badge-avatars .av2 { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }
+ .hero-badge-avatars .av3 { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
+
+ .hero h1 {
+ font-size: clamp(3rem, 7vw, 5.5rem);
+ font-weight: 800;
+ line-height: 1.05;
+ letter-spacing: -0.03em;
+ color: var(--accent-cream);
+ margin-bottom: 24px;
+ }
+ .hero p {
+ font-size: 1.15rem;
+ color: var(--text-muted);
+ max-width: 640px;
+ margin: 0 auto 40px;
+ line-height: 1.7;
+ }
+ .hero-cta {
+ display: flex;
+ justify-content: center;
+ gap: 16px;
+ margin-bottom: 80px;
+ }
+
+ /* ── Product Mockup ───────────────────────── */
+ .mockup-wrapper {
+ position: relative;
+ max-width: 1000px;
+ margin: 0 auto;
+ }
+ .mockup {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ overflow: hidden;
+ box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
+ }
+ .mockup-bar {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 14px 20px;
+ border-bottom: 1px solid var(--border);
+ }
+ .mockup-dot {
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ background: rgba(255,255,255,0.08);
+ }
+ .mockup-tabs {
+ display: flex;
+ gap: 4px;
+ margin-left: 24px;
+ }
+ .mockup-tab {
+ padding: 6px 16px;
+ border-radius: 8px;
+ font-size: 0.8rem;
+ color: var(--text-muted);
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ }
+ .mockup-tab.active {
+ background: rgba(255,255,255,0.06);
+ color: var(--text);
+ }
+ .mockup-body {
+ padding: 32px;
+ min-height: 320px;
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+ }
+ .mockup-message {
+ display: flex;
+ gap: 12px;
+ align-items: flex-start;
+ animation: fadeUp 0.6s ease both;
+ }
+ .mockup-message:nth-child(2) { animation-delay: 0.2s; }
+ .mockup-message:nth-child(3) { animation-delay: 0.4s; }
+ .mockup-message:nth-child(4) { animation-delay: 0.6s; }
+ @keyframes fadeUp {
+ from { opacity: 0; transform: translateY(12px); }
+ to { opacity: 1; transform: translateY(0); }
+ }
+ .mockup-avatar {
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 0.75rem;
+ font-weight: 700;
+ flex-shrink: 0;
+ color: #fff;
+ }
+ .mockup-bubble {
+ background: rgba(255,255,255,0.04);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 12px 16px;
+ font-size: 0.9rem;
+ color: var(--text-muted);
+ line-height: 1.6;
+ max-width: 600px;
+ }
+ .mockup-bubble .name {
+ font-weight: 600;
+ color: var(--text);
+ font-size: 0.8rem;
+ margin-bottom: 4px;
+ }
+ .mockup-waveform {
+ display: flex;
+ align-items: center;
+ gap: 2px;
+ margin-top: 8px;
+ }
+ .mockup-waveform span {
+ width: 3px;
+ border-radius: 3px;
+ animation: wave 1.2s ease-in-out infinite;
+ }
+ @keyframes wave {
+ 0%, 100% { height: 4px; opacity: 0.3; }
+ 50% { height: 16px; opacity: 1; }
+ }
+
+ /* ── Floating Cards ───────────────────────── */
+ .float-card {
+ position: absolute;
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 16px 20px;
+ box-shadow: 0 20px 50px rgba(0,0,0,0.5);
+ z-index: 2;
+ }
+ .float-card h4 { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
+ .float-card .stat { font-size: 1.6rem; font-weight: 700; color: var(--text); }
+ .float-card .stat sup { font-size: 0.8rem; color: var(--accent-orange); }
+ .mini-chart { display: flex; align-items: flex-end; gap: 2px; height: 32px; margin-top: 8px; }
+ .mini-chart span { width: 6px; border-radius: 2px; background: var(--accent-orange); opacity: 0.6; }
+ .state-flow { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
+ .state-node {
+ padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; font-weight: 600;
+ background: rgba(99,102,241,0.1); color: #818cf8; border: 1px solid rgba(99,102,241,0.2);
+ }
+ .state-node.active { background: rgba(34,197,94,0.15); color: #4ade80; border-color: rgba(34,197,94,0.3); }
+ .state-node.done { background: rgba(99,102,241,0.1); color: #818cf8; border-color: rgba(99,102,241,0.2); }
+ .state-arrow { color: var(--text-dim); font-size: 0.7rem; }
+ .menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.85rem; color: var(--text-muted); }
+ .menu-item svg { width: 16px; height: 16px; opacity: 0.7; }
+
+ /* ── Hero Terminal ─────────────────────────── */
+ .hero-terminal {
+ max-width: 680px;
+ margin: 40px auto 0;
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ overflow: hidden;
+ }
+ .hero-terminal .term-bar {
+ display: flex; align-items: center; gap: 8px; padding: 10px 16px;
+ border-bottom: 1px solid var(--border); font-size: 0.75rem; color: var(--text-dim);
+ }
+ .hero-terminal .term-body {
+ padding: 16px 20px; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; line-height: 2;
+ }
+ .hero-terminal .prompt { color: var(--accent-green); }
+ .hero-terminal .cmd { color: var(--text); }
+ .hero-terminal .flag { color: var(--accent-indigo); }
+ .hero-terminal .string { color: var(--accent-orange); }
+ .hero-terminal .output { color: var(--text-muted); }
+ .terminal-cursor {
+ display: inline-block; width: 8px; height: 16px; background: var(--accent-cream);
+ animation: blink 1s step-end infinite; vertical-align: text-bottom; margin-left: 2px;
+ }
+ @keyframes blink { 50% { opacity: 0; } }
+
+ /* ── Logo Bar ─────────────────────────────── */
+ .logo-bar { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
+ .logo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
+ .logo-bar-item { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; text-transform: uppercase; }
+
+ /* ── Description ──────────────────────────── */
+ .desc-block { padding: 100px 0; text-align: center; }
+ .desc-block p {
+ font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.5; color: var(--text-muted);
+ max-width: 900px; margin: 0 auto; font-weight: 400;
+ }
+ .desc-block p strong { color: var(--accent-cream); font-weight: 600; }
+
+ /* ── Feature Sections ─────────────────────── */
+ .feature-section { padding: 120px 0; }
+ .feature-section .section-header { text-align: center; margin-bottom: 64px; }
+ .feature-section h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ letter-spacing: -0.02em; margin-bottom: 20px;
+ }
+ .feature-section .section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; line-height: 1.7; }
+ .feature-mockup {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
+ overflow: hidden; max-width: 1000px; margin: 0 auto;
+ box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5); position: relative;
+ }
+
+ /* ── Feature: Browser Automation ──────────── */
+ .automation-layout { padding: 32px; }
+ .automation-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
+ .auto-step {
+ background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px;
+ padding: 20px; text-align: center; transition: border-color 0.3s;
+ }
+ .auto-step:hover { border-color: var(--border-hover); }
+ .auto-step-num {
+ width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 12px;
+ display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
+ }
+ .auto-step h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
+ .auto-step p { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; }
+ .fsm-bar {
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ padding: 16px 24px; display: flex; align-items: center; gap: 12px; overflow-x: auto;
+ }
+ .fsm-state {
+ padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; white-space: nowrap;
+ border: 1px solid var(--border); color: var(--text-dim); background: rgba(255,255,255,0.02);
+ }
+ .fsm-state.active { background: rgba(34,197,94,0.1); color: #4ade80; border-color: rgba(34,197,94,0.2); }
+ .fsm-state.done { background: rgba(99,102,241,0.1); color: #818cf8; border-color: rgba(99,102,241,0.2); }
+ .fsm-arrow { color: var(--text-dim); font-size: 0.8rem; flex-shrink: 0; }
+
+ /* ── Feature: Multi-Agent ─────────────────── */
+ .agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px; }
+ .agent-mock-card {
+ background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius);
+ padding: 24px; transition: border-color 0.3s;
+ }
+ .agent-mock-card:hover { border-color: var(--border-hover); }
+ .agent-mock-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
+ .agent-mock-avatar {
+ width: 40px; height: 40px; border-radius: 50%;
+ display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff;
+ }
+ .agent-mock-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--text); }
+ .agent-mock-info span { font-size: 0.8rem; color: var(--text-dim); }
+ .agent-mock-status {
+ display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem;
+ padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
+ }
+ .status-listening { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
+ .status-speaking { background: rgba(232, 123, 53, 0.1); color: #e87b35; border: 1px solid rgba(232, 123, 53, 0.2); }
+ .status-thinking { background: rgba(99, 102, 241, 0.1); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.2); }
+ .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-dot 2s ease-in-out infinite; }
+ @keyframes pulse-dot { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
+ .agent-mock-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
+ .waveform-inline { display: flex; align-items: center; gap: 2px; margin-top: 12px; }
+ .waveform-inline span { width: 3px; border-radius: 2px; background: var(--accent-orange); }
+
+ /* ── Feature: Audio Pipeline ──────────────── */
+ .pipeline-layout { padding: 32px; }
+ .pipeline-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
+ .pipeline-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
+ .pipeline-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
+ .pipeline-card .sub { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 16px; }
+ .pipeline-card .metric { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
+ .pipeline-card .metric-label { font-size: 0.7rem; color: var(--text-dim); }
+ .pipeline-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); margin-top: 12px; overflow: hidden; }
+ .pipeline-bar-fill { height: 100%; border-radius: 2px; }
+ .middleware-row {
+ display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 20px;
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ }
+ .mw-tag {
+ padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 500;
+ color: var(--text-muted); border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace;
+ }
+ .mw-tag .arrow { color: var(--accent-orange); margin: 0 2px; }
+
+ /* ── Feature: Memory & Knowledge ──────────── */
+ .memory-layout { display: grid; grid-template-columns: 1fr 300px; gap: 0; }
+ .memory-main { padding: 32px; border-right: 1px solid var(--border); }
+ .memory-sidebar { padding: 24px; }
+ .memory-entry {
+ display: flex; gap: 12px; padding: 16px;
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border);
+ border-radius: var(--radius); margin-bottom: 12px;
+ }
+ .memory-icon {
+ width: 36px; height: 36px; border-radius: 10px;
+ display: flex; align-items: center; justify-content: center; flex-shrink: 0;
+ }
+ .memory-icon svg { width: 18px; height: 18px; }
+ .memory-entry h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
+ .memory-entry p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
+ .memory-tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; margin-top: 6px; }
+ .sidebar-section h4 {
+ font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
+ text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
+ }
+ .knowledge-item { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }
+ .knowledge-item:last-child { border-bottom: none; }
+ .knowledge-item .score { font-size: 0.7rem; color: var(--accent-orange); font-weight: 600; }
+ .gauge-value { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-top: 8px; }
+ .gauge-label { font-size: 0.75rem; color: var(--text-dim); }
+
+ /* ── Feature: Intelligence ─────────────────── */
+ .intel-layout { padding: 32px; display: grid; grid-template-columns: 1fr 320px; gap: 0; }
+ .intel-main { padding-right: 32px; border-right: 1px solid var(--border); }
+ .intel-sidebar { padding-left: 24px; }
+ .intel-item {
+ display: flex; gap: 14px; padding: 18px; margin-bottom: 12px;
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ }
+ .intel-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
+ .intel-icon svg { width: 20px; height: 20px; }
+ .intel-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
+ .intel-item p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
+ .sidebar-block { margin-bottom: 28px; }
+ .sidebar-block h4 {
+ font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
+ text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
+ }
+ .decision-bar {
+ display: flex; align-items: center; justify-content: space-between;
+ padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem;
+ }
+ .decision-bar:last-child { border-bottom: none; }
+ .decision-bar .label { color: var(--text-muted); }
+ .decision-bar .value { font-weight: 600; }
+ .decision-bar .value.high { color: #4ade80; }
+ .decision-bar .value.med { color: var(--accent-orange); }
+ .decision-bar .value.low { color: var(--text-dim); }
+
+ /* ── Feature: Analytics ───────────────────── */
+ .analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px; }
+ .analytics-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
+ .analytics-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
+ .analytics-card-header h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
+ .time-badge { font-size: 0.7rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--text-dim); border: 1px solid var(--border); }
+ .analytics-value { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
+ .analytics-value sup { font-size: 0.8rem; color: var(--accent-orange); }
+ .chart-placeholder { height: 80px; display: flex; align-items: flex-end; gap: 2px; }
+ .chart-placeholder span { flex: 1; border-radius: 2px 2px 0 0; }
+ .chart-axis { display: flex; justify-content: space-between; margin-top: 6px; }
+ .chart-axis span { font-size: 0.65rem; color: var(--text-dim); }
+ .analytics-tip { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
+ .analytics-tip h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
+ .analytics-tip p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
+ .analytics-tip .tip-btn {
+ display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 16px;
+ border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
+ color: var(--text-muted); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
+ }
+ .analytics-tip .tip-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }
+
+ /* ── Benefits ─────────────────────────────── */
+ .benefits { padding: 120px 0; }
+ .benefits h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ text-align: center; letter-spacing: -0.02em; margin-bottom: 64px;
+ }
+ .benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
+ .benefit-card {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 36px; transition: border-color 0.3s, transform 0.3s;
+ }
+ .benefit-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
+ .benefit-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
+ .benefit-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
+ .benefit-visual { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; min-height: 60px; }
+
+ /* ── Testimonials ─────────────────────────── */
+ .testimonials { padding: 120px 0; }
+ .testimonials h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ text-align: center; letter-spacing: -0.02em; margin-bottom: 64px;
+ }
+ .testimonials-grid { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 20px; }
+ .testimonial-rating {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
+ }
+ .rating-value { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; }
+ .rating-star { color: #fbbf24; font-size: 1.5rem; margin-left: 4px; }
+ .rating-count { font-size: 0.85rem; color: var(--text-dim); margin: 8px 0 20px; }
+ .rating-link {
+ display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
+ border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted);
+ text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
+ }
+ .rating-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
+ .testimonial-card {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
+ }
+ .testimonial-quote { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
+ .testimonial-quote::before { content: '\201C'; font-size: 2rem; color: var(--text-dim); line-height: 0; vertical-align: -8px; margin-right: 2px; }
+ .testimonial-author { display: flex; align-items: center; gap: 12px; }
+ .testimonial-author-avatar {
+ width: 40px; height: 40px; border-radius: 50%;
+ background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
+ display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; color: var(--text-muted);
+ }
+ .testimonial-author-info .name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
+ .testimonial-author-info .role { font-size: 0.8rem; color: var(--text-dim); }
+ .testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
+ .testimonial-nav button {
+ width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.05);
+ border: 1px solid var(--border); color: var(--text-muted); cursor: pointer;
+ display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 1.1rem;
+ }
+ .testimonial-nav button:hover { background: rgba(255,255,255,0.1); color: var(--text); }
+
+ /* ── CTA ───────────────────────────────────── */
+ .cta-section { padding: 120px 0; }
+ .cta-box {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
+ padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
+ }
+ .cta-box::before {
+ content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
+ background:
+ linear-gradient(transparent, rgba(10,10,10,0.3)),
+ repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px),
+ repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px);
+ perspective: 500px; transform: rotateX(45deg); transform-origin: bottom; pointer-events: none;
+ }
+ .cta-box .label { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 16px; }
+ .cta-box h2 {
+ font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--accent-cream);
+ letter-spacing: -0.02em; margin-bottom: 32px;
+ }
+
+ /* ── Footer ───────────────────────────────── */
+ .footer { border-top: 1px solid var(--border); padding: 60px 0 40px; position: relative; z-index: 1; }
+ .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
+ .footer-brand p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; margin-top: 12px; }
+ .footer-col h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
+ .footer-col a { display: block; font-size: 0.85rem; color: var(--text-dim); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
+ .footer-col a:hover { color: var(--accent-cream); }
+ .footer-bottom {
+ display: flex; justify-content: space-between; align-items: center;
+ padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim);
+ }
+ .footer-bottom-links { display: flex; gap: 24px; }
+ .footer-bottom-links a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
+ .footer-bottom-links a:hover { color: var(--text-muted); }
+
+ /* ── Responsive ───────────────────────────── */
+ @media (max-width: 900px) {
+ .nav-links { display: none; }
+ .automation-steps { grid-template-columns: 1fr 1fr; }
+ .agents-grid, .analytics-grid, .benefits-grid { grid-template-columns: 1fr; }
+ .pipeline-flow { grid-template-columns: 1fr; }
+ .intel-layout { grid-template-columns: 1fr; }
+ .intel-main { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 24px; }
+ .intel-sidebar { padding-left: 0; padding-top: 24px; }
+ .memory-layout { grid-template-columns: 1fr; }
+ .memory-main { border-right: none; border-bottom: 1px solid var(--border); }
+ .testimonials-grid { grid-template-columns: 1fr; }
+ .footer-top { grid-template-columns: 1fr 1fr; }
+ .float-card { display: none; }
+ }
+ @media (max-width: 600px) {
+ .hero h1 { font-size: 2.5rem; }
+ .hero-cta { flex-direction: column; align-items: center; }
+ .automation-steps { grid-template-columns: 1fr; }
+ .footer-top { grid-template-columns: 1fr; }
+ .mockup-tabs { display: none; }
+ }
+ </style>
+</head>
+<body>
+
+ <div class="grid-bg"></div>
+ <div class="particles" id="particles"></div>
+
+ <!-- ═══ Navbar ═══ -->
+ <nav class="navbar" id="navbar">
+ <div class="container">
+ <a href="#" class="nav-logo">
+ <svg viewBox="0 0 32 32" fill="none"><rect x="4" y="4" width="24" height="24" rx="6" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="16" r="3" fill="currentColor" opacity="0.4"/><circle cx="20" cy="16" r="3" fill="currentColor" opacity="0.4"/><path d="M12 16h8" stroke="currentColor" stroke-width="1.5" stroke-dasharray="2 2"/></svg>
+ xspace-agent
+ </a>
+ <ul class="nav-links">
+ <li><a href="#features">Features</a></li>
+ <li><a href="#benefits">Benefits</a></li>
+ <li><a href="#testimonials">Community</a></li>
+ <li><a href="/bob">Bob</a></li>
+ <li><a href="/alice">Alice</a></li>
+ <li><a href="/builder">Builder</a></li>
+ </ul>
+ <div class="nav-actions">
+ <a href="/" class="btn btn-ghost">Home</a>
+ <a href="/admin" class="btn btn-primary">Dashboard</a>
+ </div>
+ </div>
+ </nav>
+
+ <!-- ═══ Hero ═══ -->
+ <section class="hero">
+ <div class="glow-top"></div>
+ <div class="container">
+ <div class="hero-badge">
+ <div class="hero-badge-avatars">
+ <span class="av1">B</span>
+ <span class="av2">A</span>
+ <span class="av3">C</span>
+ </div>
+ TypeScript SDK &middot; open source &middot; multi-agent &middot; real-time
+ </div>
+
+ <h1>AI agents that talk<br>in real time</h1>
+
+ <p>An open-source TypeScript SDK and voice platform for AI agents that autonomously join X Spaces, converse with memory and knowledge, and coordinate multi-agent discussions &mdash; powered by Puppeteer, pluggable LLMs, and real-time audio.</p>
+
+ <div class="hero-cta">
+ <a href="#" class="btn btn-primary">npm install xspace-agent</a>
+ <a href="#features" class="btn btn-outline">Explore the platform</a>
+ </div>
+
+ <!-- Voice Chat Mockup -->
+ <div class="mockup-wrapper">
+ <div class="mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div>
+ <div class="mockup-dot"></div>
+ <div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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"/></svg>
+ Voice Chat
+ </div>
+ <div class="mockup-tab">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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>
+ Agents
+ </div>
+ <div class="mockup-tab">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>
+ Terminal
+ </div>
+ </div>
+ </div>
+ <div class="mockup-body">
+ <div class="mockup-message">
+ <div class="mockup-avatar" style="background: linear-gradient(135deg, #6366f1, #4f46e5);">A</div>
+ <div class="mockup-bubble">
+ <div class="name">Alice</div>
+ Hey, welcome to the Space! I heard you wanted to discuss the product roadmap. I've pulled up context from our last session.
+ </div>
+ </div>
+ <div class="mockup-message">
+ <div class="mockup-avatar" style="background: linear-gradient(135deg, #e87b35, #c4693a);">B</div>
+ <div class="mockup-bubble">
+ <div class="name">Bob</div>
+ Yeah, I checked the knowledge base docs on Q1 strategy. Want me to summarize the key points?
+ <div class="mockup-waveform">
+ <span style="animation-delay:0s; background:#e87b35; height:8px;"></span>
+ <span style="animation-delay:0.1s; background:#e87b35; height:12px;"></span>
+ <span style="animation-delay:0.2s; background:#e87b35; height:6px;"></span>
+ <span style="animation-delay:0.3s; background:#e87b35; height:16px;"></span>
+ <span style="animation-delay:0.4s; background:#e87b35; height:10px;"></span>
+ <span style="animation-delay:0.5s; background:#e87b35; height:4px;"></span>
+ <span style="animation-delay:0.6s; background:#e87b35; height:14px;"></span>
+ <span style="animation-delay:0.7s; background:#e87b35; height:8px;"></span>
+ </div>
+ </div>
+ </div>
+ <div class="mockup-message">
+ <div class="mockup-avatar" style="background: linear-gradient(135deg, #22c55e, #16a34a);">Y</div>
+ <div class="mockup-bubble">
+ <div class="name">You</div>
+ Go for it. Also, can you both cross-reference with what we discussed last Tuesday?
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Floating cards -->
+ <div class="float-card" style="bottom:40px; left:-40px;">
+ <h4>Agent State</h4>
+ <div class="state-flow">
+ <span class="state-node done">auth</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node done">join</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node active">listening</span>
+ </div>
+ </div>
+
+ <div class="float-card" style="top:60px; right:-50px;">
+ <h4>Active Sessions</h4>
+ <div class="stat">1,284<sup>&nearr;</sup></div>
+ <div class="mini-chart">
+ <span style="height:12px;"></span><span style="height:18px;"></span><span style="height:14px;"></span><span style="height:22px;"></span>
+ <span style="height:20px;"></span><span style="height:28px;"></span><span style="height:24px;"></span><span style="height:32px;"></span>
+ </div>
+ </div>
+ </div>
+
+ <!-- CLI Quick Start -->
+ <div class="hero-terminal">
+ <div class="term-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <span style="margin-left:12px;">Terminal</span>
+ </div>
+ <div class="term-body">
+ <div><span class="prompt">$</span> <span class="cmd">npx xspace-agent</span> <span class="flag">join</span> <span class="string">"https://x.com/i/spaces/1eaKbrPqYlwKX"</span></div>
+ <div class="output">&nbsp; &check; Authenticated as @your_agent</div>
+ <div class="output">&nbsp; &check; Joined Space: "AI &amp; the Future of Dev"</div>
+ <div class="output">&nbsp; <span style="color:#4ade80;">&#9679;</span> Listening... <span style="color:#e87b35;">&#9679;</span> Speaking: "Great point about TypeScript..."<span class="terminal-cursor"></span></div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Tech Bar ═══ -->
+ <section class="logo-bar">
+ <div class="container">
+ <div class="logo-bar-inner">
+ <div class="logo-bar-item">Puppeteer</div>
+ <div class="logo-bar-item">OpenAI</div>
+ <div class="logo-bar-item">Anthropic</div>
+ <div class="logo-bar-item">Groq</div>
+ <div class="logo-bar-item">ElevenLabs</div>
+ <div class="logo-bar-item">Whisper</div>
+ <div class="logo-bar-item">WebRTC</div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Description ═══ -->
+ <section class="desc-block">
+ <div class="container">
+ <p><strong>Build, deploy</strong> and <strong>scale</strong> voice-first AI agents. xspace-agent is a complete platform for <strong>autonomous voice agents</strong> in X Spaces and beyond &mdash; browser automation, real-time audio pipelines, persistent memory, knowledge retrieval, and multi-agent coordination out of the box.</p>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 1: Browser Automation ═══ -->
+ <section class="feature-section" id="features">
+ <div class="container">
+ <div class="section-header">
+ <h2>Browser Automation</h2>
+ <p class="section-desc">Puppeteer-powered lifecycle management. Self-healing CSS selectors automatically adapt when X changes their DOM. From login to speaking &mdash; fully automated.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Lifecycle</div>
+ <div class="mockup-tab">Selectors</div>
+ </div>
+ </div>
+ <div class="automation-layout">
+ <div class="automation-steps">
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(99,102,241,0.15); color:#818cf8;">1</div>
+ <h4>Authenticate</h4>
+ <p>Cookie auth or credential-based login with 2FA support</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(232,123,53,0.15); color:#e87b35;">2</div>
+ <h4>Join Space</h4>
+ <p>Navigate to Space URL and enter as listener automatically</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(34,197,94,0.15); color:#4ade80;">3</div>
+ <h4>Request Mic</h4>
+ <p>Request speaker access and wait for host approval</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(244,63,94,0.15); color:#f43f5e;">4</div>
+ <h4>Speak</h4>
+ <p>Inject TTS audio through WebRTC peer connection</p>
+ </div>
+ </div>
+ <div class="fsm-bar">
+ <span style="font-size:0.75rem; color:var(--text-dim); font-weight:600; margin-right:8px;">FSM:</span>
+ <span class="fsm-state done">idle</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">launching</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">authenticating</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">joining</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state active">listening</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state">speaking</span><span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state">leaving</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 2: Multi-Agent Voice Chat ═══ -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Multi-Agent Voice Chat</h2>
+ <p class="section-desc">Multiple AI agents with distinct personalities share the same Space. Each agent listens, thinks, and speaks independently with coordinated turn-taking.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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>
+ Active Agents
+ </div>
+ <div class="mockup-tab">Turn Queue</div>
+ </div>
+ </div>
+ <div class="agents-grid">
+ <div class="agent-mock-card">
+ <div class="agent-mock-header">
+ <div class="agent-mock-avatar" style="background: linear-gradient(135deg, #6366f1, #4f46e5);">A</div>
+ <div class="agent-mock-info"><h4>Alice</h4><span>Claude &middot; ElevenLabs</span></div>
+ </div>
+ <div class="agent-mock-status status-listening"><span class="status-dot"></span> Listening</div>
+ <p class="agent-mock-text">Analytical and curious. Focuses on data-driven insights and asks clarifying questions to deepen the discussion.</p>
+ </div>
+ <div class="agent-mock-card">
+ <div class="agent-mock-header">
+ <div class="agent-mock-avatar" style="background: linear-gradient(135deg, #e87b35, #c4693a);">B</div>
+ <div class="agent-mock-info"><h4>Bob</h4><span>OpenAI &middot; OpenAI TTS</span></div>
+ </div>
+ <div class="agent-mock-status status-speaking"><span class="status-dot"></span> Speaking</div>
+ <p class="agent-mock-text">Bold and direct. Challenges assumptions with sharp wit and drives conversations toward action items.</p>
+ <div class="waveform-inline">
+ <span style="height:6px;"></span><span style="height:12px;"></span><span style="height:8px;"></span>
+ <span style="height:18px;"></span><span style="height:14px;"></span><span style="height:10px;"></span>
+ <span style="height:16px;"></span><span style="height:6px;"></span><span style="height:12px;"></span>
+ <span style="height:20px;"></span><span style="height:8px;"></span><span style="height:14px;"></span>
+ </div>
+ </div>
+ <div class="agent-mock-card">
+ <div class="agent-mock-header">
+ <div class="agent-mock-avatar" style="background: linear-gradient(135deg, #f43f5e, #e11d48);">C</div>
+ <div class="agent-mock-info"><h4>Clara</h4><span>Groq &middot; Piper</span></div>
+ </div>
+ <div class="agent-mock-status status-thinking"><span class="status-dot"></span> Thinking</div>
+ <p class="agent-mock-text">Creative and empathetic. Brings user-centric perspective and synthesizes ideas from the group conversation.</p>
+ </div>
+ <div class="agent-mock-card">
+ <div class="agent-mock-header">
+ <div class="agent-mock-avatar" style="background: linear-gradient(135deg, #22c55e, #16a34a);">M</div>
+ <div class="agent-mock-info"><h4>Moderator</h4><span>OpenAI &middot; Browser TTS</span></div>
+ </div>
+ <div class="agent-mock-status status-listening"><span class="status-dot"></span> Listening</div>
+ <p class="agent-mock-text">Keeps discussion on track. Summarizes key points and ensures all perspectives get airtime.</p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 3: Audio Pipeline ═══ -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Real-time Audio Pipeline</h2>
+ <p class="section-desc">Capture audio via WebRTC hooks. Process through VAD, silence detection, STT, LLM, TTS &mdash; then inject the response back. Six middleware interception points.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Pipeline</div>
+ <div class="mockup-tab">Middleware</div>
+ </div>
+ </div>
+ <div class="pipeline-layout">
+ <div class="pipeline-flow">
+ <div class="pipeline-card">
+ <h4>Speech-to-Text</h4>
+ <div class="sub">Groq Whisper / OpenAI Whisper</div>
+ <div class="metric">180ms</div>
+ <div class="metric-label">avg transcription latency</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:85%; background: linear-gradient(90deg, var(--accent-indigo), #818cf8);"></div></div>
+ </div>
+ <div class="pipeline-card">
+ <h4>LLM Processing</h4>
+ <div class="sub">OpenAI / Claude / Groq</div>
+ <div class="metric">1.2s</div>
+ <div class="metric-label">avg response generation</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:60%; background: linear-gradient(90deg, var(--accent-orange), #f59e0b);"></div></div>
+ </div>
+ <div class="pipeline-card">
+ <h4>Text-to-Speech</h4>
+ <div class="sub">ElevenLabs / OpenAI / Browser</div>
+ <div class="metric">320ms</div>
+ <div class="metric-label">avg synthesis latency</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:72%; background: linear-gradient(90deg, #22c55e, #4ade80);"></div></div>
+ </div>
+ </div>
+ <div class="middleware-row">
+ <span style="font-size:0.75rem; color:var(--text-dim); font-weight:600; margin-right:4px;">Middleware:</span>
+ <span class="mw-tag">before:stt</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:stt</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> before:llm</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:llm</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> before:tts</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:tts</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 4: Memory & Knowledge ═══ -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Memory &amp; Knowledge</h2>
+ <p class="section-desc">Agents remember past conversations with episodic and semantic memory. RAG-powered knowledge retrieval grounds responses in your documents.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>
+ Memory Store
+ </div>
+ <div class="mockup-tab">Knowledge Base</div>
+ <div class="mockup-tab">Embeddings</div>
+ </div>
+ </div>
+ <div class="memory-layout">
+ <div class="memory-main">
+ <div class="memory-entry">
+ <div class="memory-icon" style="background: rgba(99, 102, 241, 0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#818cf8" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
+ </div>
+ <div>
+ <h4>Episodic Memory</h4>
+ <p>User discussed Q1 product strategy with focus on developer experience improvements.</p>
+ <span class="memory-tag" style="background: rgba(99, 102, 241, 0.1); color: #818cf8;">3 hours ago</span>
+ </div>
+ </div>
+ <div class="memory-entry">
+ <div class="memory-icon" style="background: rgba(232, 123, 53, 0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#e87b35" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
+ </div>
+ <div>
+ <h4>Semantic Memory</h4>
+ <p>User prefers concise, action-oriented responses. Expertise in TypeScript and distributed systems.</p>
+ <span class="memory-tag" style="background: rgba(232, 123, 53, 0.1); color: #e87b35;">User Profile</span>
+ </div>
+ </div>
+ <div class="memory-entry">
+ <div class="memory-icon" style="background: rgba(34, 197, 94, 0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#4ade80" stroke-width="2"><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"/></svg>
+ </div>
+ <div>
+ <h4>Knowledge Chunk</h4>
+ <p>Retrieved from "architecture-guide.md" &mdash; similarity score 0.94. Covers microservice patterns.</p>
+ <span class="memory-tag" style="background: rgba(34, 197, 94, 0.1); color: #4ade80;">RAG Match</span>
+ </div>
+ </div>
+ </div>
+ <div class="memory-sidebar">
+ <div class="sidebar-section">
+ <h4>Top Matches</h4>
+ <div class="knowledge-item">architecture-guide.md <span class="score">0.94</span></div>
+ <div class="knowledge-item">api-reference.md <span class="score">0.87</span></div>
+ <div class="knowledge-item">deployment-notes.md <span class="score">0.81</span></div>
+ <div class="knowledge-item">team-decisions.md <span class="score">0.76</span></div>
+ </div>
+ <div style="margin-top:20px; text-align:center;">
+ <h4 style="font-size:0.8rem; color: var(--text-muted); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:12px;">Context Relevance</h4>
+ <svg width="120" height="70" viewBox="0 0 120 70">
+ <path d="M 10 65 A 50 50 0 0 1 110 65" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="10" stroke-linecap="round"/>
+ <path d="M 10 65 A 50 50 0 0 1 100 30" fill="none" stroke="url(#gauge-gradient)" stroke-width="10" stroke-linecap="round"/>
+ <defs><linearGradient id="gauge-gradient" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="#c4693a"/><stop offset="100%" stop-color="#e87b35"/></linearGradient></defs>
+ </svg>
+ <div class="gauge-value">89%</div>
+ <div class="gauge-label">Relevance Score</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 5: Intelligence Layer ═══ -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Intelligence Layer</h2>
+ <p class="section-desc">Speaker identification, topic tracking, sentiment analysis, and a decision engine that determines when your agent should respond.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Intelligence</div>
+ <div class="mockup-tab">Decision Engine</div>
+ </div>
+ </div>
+ <div class="intel-layout">
+ <div class="intel-main">
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(99,102,241,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#818cf8" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
+ </div>
+ <div><h4>Speaker Identification</h4><p>Attribute transcribed speech to individual speakers using audio fingerprinting and context cues.</p></div>
+ </div>
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(232,123,53,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#e87b35" stroke-width="2"><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>
+ </div>
+ <div><h4>Topic Tracking</h4><p>Monitors conversation topics in real-time. Detects topic shifts and maintains relevance scores.</p></div>
+ </div>
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(34,197,94,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#4ade80" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></svg>
+ </div>
+ <div><h4>Sentiment Analysis</h4><p>Detects emotional tone and conversation energy. Adjusts agent response style based on the room's mood.</p></div>
+ </div>
+ </div>
+ <div class="intel-sidebar">
+ <div class="sidebar-block">
+ <h4>Decision Signals</h4>
+ <div class="decision-bar"><span class="label">Directly addressed</span><span class="value high">Yes</span></div>
+ <div class="decision-bar"><span class="label">Is question</span><span class="value high">Yes</span></div>
+ <div class="decision-bar"><span class="label">Topic relevance</span><span class="value med">0.82</span></div>
+ <div class="decision-bar"><span class="label">Silence duration</span><span class="value low">1.2s</span></div>
+ <div class="decision-bar"><span class="label">Last spoke</span><span class="value low">45s ago</span></div>
+ </div>
+ <div class="sidebar-block">
+ <h4>Verdict</h4>
+ <div style="padding:12px 16px; border-radius:10px; background:rgba(34,197,94,0.1); border:1px solid rgba(34,197,94,0.2); text-align:center;">
+ <div style="font-size:1.1rem; font-weight:700; color:#4ade80;">RESPOND</div>
+ <div style="font-size:0.7rem; color:var(--text-dim); margin-top:4px;">Confidence: 0.91</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Feature 6: Analytics ═══ -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Analytics &amp; Monitoring</h2>
+ <p class="section-desc">Monitor agent performance with real-time metrics. Track latency, token usage, provider health, and conversation quality.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ </div>
+ <div class="analytics-grid">
+ <div class="analytics-card">
+ <div class="analytics-card-header"><h4>Response Latency</h4><span class="time-badge">This Hour</span></div>
+ <div class="analytics-value">240ms<sup>&nearr;</sup></div>
+ <div class="chart-placeholder">
+ <span style="height:30%; background: var(--accent-orange); opacity:0.4;"></span>
+ <span style="height:45%; background: var(--accent-orange); opacity:0.5;"></span>
+ <span style="height:35%; background: var(--accent-orange); opacity:0.4;"></span>
+ <span style="height:60%; background: var(--accent-orange); opacity:0.6;"></span>
+ <span style="height:50%; background: var(--accent-orange); opacity:0.5;"></span>
+ <span style="height:40%; background: var(--accent-orange); opacity:0.5;"></span>
+ <span style="height:55%; background: var(--accent-orange); opacity:0.6;"></span>
+ <span style="height:70%; background: var(--accent-orange); opacity:0.7;"></span>
+ <span style="height:65%; background: var(--accent-orange); opacity:0.6;"></span>
+ <span style="height:80%; background: var(--accent-orange); opacity:0.8;"></span>
+ <span style="height:75%; background: rgba(255,255,255,0.1);"></span>
+ <span style="height:60%; background: rgba(255,255,255,0.08);"></span>
+ </div>
+ <div class="chart-axis"><span>12:00</span><span>12:15</span><span>12:30</span><span>12:45</span><span>Now</span></div>
+ </div>
+ <div class="analytics-card">
+ <div class="analytics-card-header"><h4>Conversations</h4><span class="time-badge">This Month</span></div>
+ <div class="analytics-value">1.75K<sup>&nearr;</sup></div>
+ <div class="chart-placeholder">
+ <span style="height:20%; background: rgba(255,255,255,0.08);"></span>
+ <span style="height:30%; background: rgba(255,255,255,0.1);"></span>
+ <span style="height:40%; background: rgba(255,255,255,0.1);"></span>
+ <span style="height:50%; background: rgba(255,255,255,0.12);"></span>
+ <span style="height:55%; background: rgba(255,255,255,0.12);"></span>
+ <span style="height:60%; background: rgba(255,255,255,0.14);"></span>
+ <span style="height:65%; background: rgba(255,255,255,0.14);"></span>
+ <span style="height:70%; background: rgba(255,255,255,0.14);"></span>
+ <span style="height:75%; background: rgba(255,255,255,0.16);"></span>
+ <span style="height:80%; background: rgba(255,255,255,0.16);"></span>
+ <span style="height:82%; background: rgba(255,255,255,0.16);"></span>
+ <span style="height:85%; background: rgba(255,255,255,0.18);"></span>
+ </div>
+ <div class="chart-axis"><span>Week 1</span><span>Week 2</span><span>Week 3</span><span>Week 4</span></div>
+ </div>
+ <div class="analytics-tip">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="var(--accent-orange)" stroke-width="2" style="margin-bottom:8px;"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>
+ <h4>Provider Health: All Systems Go</h4>
+ <p>All providers responding within expected latency. Circuit breakers closed. Groq Whisper fastest STT at 180ms avg.</p>
+ <button class="tip-btn">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg>
+ View Provider Dashboard
+ </button>
+ </div>
+ <div class="analytics-tip">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#818cf8" stroke-width="2" style="margin-bottom:8px;"><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>
+ <h4>Optimize Turn-Taking</h4>
+ <p>Agents averaging 2.3s response time. Lower the silence threshold for faster back-and-forth in high-energy discussions.</p>
+ <button class="tip-btn">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33"/></svg>
+ Tune Configuration
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Benefits ═══ -->
+ <section class="benefits" id="benefits">
+ <div class="container">
+ <h2>Benefits of use</h2>
+ <div class="benefits-grid">
+ <div class="benefit-card">
+ <h3>Full Automation</h3>
+ <p>From browser launch to speaking in a Space &mdash; zero manual steps. Cookie auth, self-healing selectors, FSM-driven lifecycle, WebRTC audio injection.</p>
+ <div class="benefit-visual">
+ <div class="state-flow">
+ <span class="state-node done">idle</span><span class="state-arrow">&rarr;</span>
+ <span class="state-node done">auth</span><span class="state-arrow">&rarr;</span>
+ <span class="state-node done">join</span><span class="state-arrow">&rarr;</span>
+ <span class="state-node active">listen</span><span class="state-arrow">&rarr;</span>
+ <span class="state-node">speak</span>
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Pluggable Providers</h3>
+ <p>Swap LLM, STT, and TTS providers via config. OpenAI, Claude, Groq for LLM. ElevenLabs, OpenAI, Piper for TTS. Automatic fallback chains.</p>
+ <div class="benefit-visual">
+ <div style="display:flex; gap:8px; flex-wrap:wrap;">
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(99,102,241,0.1); color:#818cf8; font-size:0.75rem; font-weight:600;">OpenAI</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(232,123,53,0.1); color:#e87b35; font-size:0.75rem; font-weight:600;">Claude</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(34,197,94,0.1); color:#4ade80; font-size:0.75rem; font-weight:600;">Groq</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(244,63,94,0.1); color:#f43f5e; font-size:0.75rem; font-weight:600;">ElevenLabs</span>
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Intelligent &amp; Persistent</h3>
+ <p>Persistent memory, RAG-powered knowledge retrieval, speaker identification, and sentiment analysis. Context across sessions.</p>
+ <div class="benefit-visual">
+ <div style="display:flex; align-items:center; gap:12px;">
+ <svg width="120" height="50" viewBox="0 0 120 50">
+ <path d="M 5 45 A 55 55 0 0 1 115 45" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="8" stroke-linecap="round"/>
+ <path d="M 5 45 A 55 55 0 0 1 98 15" fill="none" stroke="url(#benefit-gauge)" stroke-width="8" stroke-linecap="round"/>
+ <defs><linearGradient id="benefit-gauge" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="#c4693a"/><stop offset="100%" stop-color="#e87b35"/></linearGradient></defs>
+ </svg>
+ <div>
+ <div style="font-size:1.2rem; font-weight:700; color:var(--text);">89%</div>
+ <div style="font-size:0.7rem; color:var(--text-dim);">Context Accuracy</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Open Source</h3>
+ <p>MIT licensed, published to npm. Three packages: core SDK, server admin panel, and CLI. No vendor lock-in, self-host anywhere.</p>
+ <div class="benefit-visual">
+ <div style="display:flex; gap:8px; flex-wrap:wrap;">
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">xspace-agent</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">@xspace/server</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">@xspace/cli</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Testimonials ═══ -->
+ <section class="testimonials" id="testimonials">
+ <div class="container">
+ <h2>What developers say</h2>
+ <div class="testimonials-grid">
+ <div class="testimonial-rating">
+ <div>
+ <span class="rating-value">4.9</span>
+ <span class="rating-star">&#9733;</span>
+ </div>
+ <div class="rating-count">Based on 146 Reviews</div>
+ <a href="#" class="rating-link">All Reviews &rarr;</a>
+ </div>
+ <div class="testimonial-card">
+ <p class="testimonial-quote">We deployed three agents into a weekly X Space for our community. The self-healing selectors mean we haven't touched the config in months even as X keeps changing their UI."</p>
+ <div class="testimonial-author">
+ <div class="testimonial-author-avatar">SK</div>
+ <div class="testimonial-author-info">
+ <div class="name">Sarah Kim</div>
+ <div class="role">DevRel Lead at AudioStack</div>
+ </div>
+ </div>
+ </div>
+ <div class="testimonial-card">
+ <p class="testimonial-quote">The multi-agent setup is incredible. We spun up three personas for customer support and the turn-taking just works. Memory persistence across sessions saved us weeks of custom dev."</p>
+ <div class="testimonial-author">
+ <div class="testimonial-author-avatar">MK</div>
+ <div class="testimonial-author-info">
+ <div class="name">Maya Kim</div>
+ <div class="role">Lead Engineer at VoiceFlow Labs</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="testimonial-nav">
+ <button>&larr;</button>
+ <button>&rarr;</button>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ CTA ═══ -->
+ <section class="cta-section">
+ <div class="container">
+ <div class="cta-box">
+ <div class="label">Start building today</div>
+ <h2>What will your agents say?</h2>
+ <div style="display:flex; justify-content:center; gap:16px; flex-wrap:wrap;">
+ <a href="#" class="btn btn-primary" style="font-size:1rem; padding:14px 32px;">npm install xspace-agent</a>
+ <a href="/admin" class="btn btn-outline" style="font-size:1rem; padding:14px 32px;">Open Dashboard</a>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ═══ Footer ═══ -->
+ <footer class="footer">
+ <div class="container">
+ <div class="footer-top">
+ <div class="footer-brand">
+ <a href="#" class="nav-logo" style="margin-bottom:4px;">
+ <svg width="28" height="28" viewBox="0 0 32 32" fill="none"><rect x="4" y="4" width="24" height="24" rx="6" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="16" r="3" fill="currentColor" opacity="0.4"/><circle cx="20" cy="16" r="3" fill="currentColor" opacity="0.4"/><path d="M12 16h8" stroke="currentColor" stroke-width="1.5" stroke-dasharray="2 2"/></svg>
+ xspace-agent
+ </a>
+ <p>Open-source AI agent SDK &amp; voice platform.<br>Build the future of live audio conversations.</p>
+ </div>
+ <div class="footer-col">
+ <h4>Product</h4>
+ <a href="#features">Features</a>
+ <a href="#">Documentation</a>
+ <a href="#">API Reference</a>
+ <a href="#">Examples</a>
+ </div>
+ <div class="footer-col">
+ <h4>Packages</h4>
+ <a href="#">xspace-agent (core)</a>
+ <a href="#">@xspace/server</a>
+ <a href="#">@xspace/cli</a>
+ <a href="#">Widget</a>
+ </div>
+ <div class="footer-col">
+ <h4>Community</h4>
+ <a href="#">GitHub</a>
+ <a href="#">Discord</a>
+ <a href="#">Contributing</a>
+ <a href="#">License (MIT)</a>
+ </div>
+ </div>
+ <div class="footer-bottom">
+ <span>&copy; xspace-agent, 2024. All rights reserved.</span>
+ <div class="footer-bottom-links">
+ <a href="#">Terms of Service</a>
+ <a href="#">Privacy Policy</a>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+ <script>
+ // Navbar scroll
+ const navbar = document.getElementById('navbar');
+ window.addEventListener('scroll', () => {
+ navbar.classList.toggle('scrolled', window.scrollY > 40);
+ });
+
+ // Particles
+ const pc = document.getElementById('particles');
+ for (let i = 0; i < 30; i++) {
+ const p = document.createElement('div');
+ p.className = 'particle';
+ p.style.left = Math.random() * 100 + '%';
+ p.style.animationDuration = (15 + Math.random() * 25) + 's';
+ p.style.animationDelay = (Math.random() * 20) + 's';
+ p.style.width = (2 + Math.random() * 2) + 'px';
+ p.style.height = p.style.width;
+ pc.appendChild(p);
+ }
+
+ // Animate waveforms
+ document.querySelectorAll('.waveform-inline span, .mockup-waveform span').forEach((bar, i) => {
+ setInterval(() => {
+ bar.style.height = (4 + Math.random() * 18) + 'px';
+ }, 200 + i * 50);
+ });
+
+ // Fade-in on scroll
+ const obs = new IntersectionObserver((entries) => {
+ entries.forEach(e => {
+ if (e.isIntersecting) { e.target.style.opacity = '1'; e.target.style.transform = 'translateY(0)'; }
+ });
+ }, { threshold: 0.1 });
+
+ document.querySelectorAll('.feature-mockup, .benefit-card, .testimonial-card, .testimonial-rating').forEach(el => {
+ el.style.opacity = '0';
+ el.style.transform = 'translateY(30px)';
+ el.style.transition = 'opacity 0.7s ease, transform 0.7s ease';
+ obs.observe(el);
+ });
+ </script>
+
+ <!-- XSpace Chat Widget -->
+ <script src="/xspace-widget.umd.js"
+ data-server-url=""
+ data-agent-id="agent-1"
+ data-theme="dark"
+ data-position="bottom-right">
+ </script>
+</body>
+</html>
+
+