I will explore the existing project files to understand the setup and dependencies.
I will examine package.json to see the available libraries and icons.
I will install three, @types/three, and lucide-react to give us icons and Three.js 3D rendering.
I will examine src/index.css to verify the Tailwind and custom font setup.
I will inspect index.html to update the page title and include standard Google Fonts (Inter, Space Grotesk, JetBrains Mono) to achieve the high-end glass-morphism aesthetic.
I will update index.html with premium Google Fonts and the title "Instinct — Cosmic Voice-First AI Assistant".
I will enhance src/index.css to add necessary animations, glowing blur utilities, custom scrollbars, and keyframe definitions for the pulse and floating effects.
I will create src/types.ts to define the data structures for assistant statuses, interactive task items, alerts, and floating response cards.
I will create src/data/mockData.ts to supply realistic initial tasks, alerts, response cards, and multi-modal interactive voice prompts.
I will create src/components/CosmicScene.tsx which houses the complete Three.js visualizer with the starfield, drifting iridescent nebula clouds, and the multi-layered luminous glowing orb reactive to voice amplitude.
I will edit src/components/CosmicScene.tsx to remove the unused idx parameter.
I will create src/components/Header.tsx to implement the frosted-glass fixed header with the Instinct wordmark, live reactive status dot, and ghost buttons for Neural Map, Alerts with badge counts, and Settings.
I will create src/components/ActivityPanel.tsx to implement the collapsible 260px activity panel with stacked interactive sections for Inbox Replies, Scout Tasks, Flux Tasks, and Relay Drafts.
I will create src/components/FloatingCards.tsx to render the floating response cards around the orb with the 2px teal accent bar, frosted glass backgrounds, and float keyframe animations.
I will remove the unused icon from src/components/FloatingCards.tsx.
I will create src/components/MicControlBar.tsx to implement the circular 64x64px mic button with premium pulse rings, listening box-shadows, hint text, and an interactive voice prompt simulation drawer.
I will correct the imports in src/components/MicControlBar.tsx.
I will create src/components/Modals/NeuralMapModal.tsx to provide an interactive node cluster status inspector for the AI core.
I will clean up unused imports in src/components/Modals/NeuralMapModal.tsx.
I will create src/components/Modals/AlertsModal.tsx to provide an elegant alerts inspector where users can view, filter, and clear notifications.
I will create src/components/Modals/SettingsModal.tsx to provide comprehensive user customization over the assistant persona, visual fidelity, and Web Speech API microphone options.
I will edit src/components/Modals/SettingsModal.tsx to remove the unused variables.
I will edit SettingsModal.tsx to remove the unused testMode state.
I will create src/components/Modals/DeepInspectionModal.tsx to provide an interactive multi-tab data and JSON telemetry inspector for active response cards and Scout tasks.
I will now write src/App.tsx to weave together the Three.js cosmic hero canvas, the glass-morphism header, the 260px right-side collapsible activity panel, the floating response cards, the bottom circular mic button, and the deep inspection modals.
I will check src/main.tsx to verify how it imports App.
I will update src/App.tsx to include export default App;.
I will now test building the project to confirm there are no TypeScript or bundling errors.
I have successfully built "Instinct" — a futuristic, voice-first AI assistant featuring a high-fidelity Three.js cosmic hero background and premium glass-morphism interface overlays.
✨ What was built:
1. 🌌 Luminous Orb & Cosmic Background (CosmicScene.tsx)
- Three.js Visualizer: Pinned to the background canvas, rendering a
#0E0F13 cosmic background.
- Drifting Iridescent Nebula: Noise/gradient-based layered planar clouds in ultramarine, twilight purple, teal, and shimmering platinum white that slowly drift and rotate.
- Starfield: 2,000 spatial stars with custom twinkling algorithms.
- Centerpiece Teal Orb (
#2DD4A8): Constructed with three additive glow layers: (1) a wide soft atmospheric bloom, (2) a medium glow-rimmed halo, and (3) an active inner core.
- Reactive Audio Brightness: Exposes the
uVoiceBright uniform (0.0 – 1.0) to intensify the core and halo during speech and audio recording, combined with a 4-second idle sine breathing pulse.
- Interactive Parallax: Fully supports immersive camera orbiting and parallax shifting when moving the mouse or dragging across the canvas.
2. 🔮 The Glass Shell & App Layer (Header.tsx, ActivityPanel.tsx, FloatingCards.tsx)
- Premium Frosted Surfaces: Styled with
rgba(14,15,19,0.15) surfaces, 14px (and 16px/24px) backdrop blurring, and delicate 1px borders.
- 56px Fixed Header: Features the Instinct wordmark with a pulsing teal dot, a live multi-state system dot (
listening teal pulse, processing purple/blue ping, speaking cyan bounce, idle gray), and ghost icon buttons for Neural Map, System Alerts (with notification badge), and Settings.
- 260px Collapsible Right Activity Panel: Includes stacked interactive sections for
Inbox Replies, Scout Tasks, Flux Tasks, and Relay Drafts with uppercase 10px section headers and live counts. Animated entry with cubic-bezier(0.16, 1, 0.3, 1) easing. Smoothly collapses to a sleek 36px vertical strip on toggle.
- Floating Response Cards: Floating elegantly around the central orb in computed 3D positions with float loop animations (
±8px vertical, 4s loop), rotateX(8deg) transforms, 2px teal accent top bars, and rich diagnostic inspection modals.
3. 🎙️ Bottom Mic Control Bar (MicControlBar.tsx)
- Fixed Center Microphone: A transparent bar centering a
64x64px circular mic control button.
- Idle State: Dark circle (
#16171D) with an elegant white border and crisp mic SVG icon.
- Active State: Swaps to a white stop square icon, highly reactive glowing teal box-shadows (
0 0 24px rgba(45,212,168,0.5)), and an expanding pulse ring spreading 0 - 10px with opacity fading over 1.4s infinite loops.
- Interactive Hint & Voice Simulator: Below the button sits
11px uppercase helper text ("TAP OR SAY 'HEY Instinct'"). Includes a fully built-in interactive "Voice Command Simulator Menu" to instant-test enterprise ARR flux queries, automated Scout fleets, and board relay drafts, alongside Real Web Speech API microphone speech recognition.
Files built: index.html, src/index.css, src/types.ts, src/data/mockData.ts, src/components/CosmicScene.tsx, src/components/Header.tsx, src/components/ActivityPanel.tsx, src/components/FloatingCards.tsx, src/components/MicControlBar.tsx, src/components/Modals/NeuralMapModal.tsx, src/components/Modals/AlertsModal.tsx, src/components/Modals/SettingsModal.tsx, src/components/Modals/DeepInspectionModal.tsx, src/App.tsx