I'll create a premium, conversion-focused landing page for CABA LAPTOP. Let me start by exploring the project structure.
Good. I have a clean React + Vite + Tailwind v4 setup. Let me install framer-motion for premium animations, then build the landing page.
Now let me update the HTML title, set up the global CSS with custom styles, and create the landing page. I'll structure it into modular components.
Now let me create the utility file, the main App, and the data file. I'll start with the data, then build out components.
Now let me create the section components. I'll start with the Navbar, then build the rest.
Now the Hero, SocialProof, and Audiences sections.
The TypeScript errors are due to framer-motion v11+ requiring ease as a tuple, not an array. I need to use as const for the cubic-bezier arrays. Let me create a shared motion utility with proper types.
Now let me fix the Hero and Audiences components to use the proper types. I'll use string-based easing and proper Variants types.
The Hero is now fixed but Audiences still has a non-as const ease. Let me check the file — actually the issue is that Audiences still references the local ease constant. Let me re-read it — the issue is the type definition. With ease typed as number[], framer-motion needs the literal tuple. Since I used as const, it should work. But the error says Type 'number[]' — let me check more carefully.
Actually, looking at the error: Type 'number[]' is not assignable to type 'Easing | Easing[] | undefined'. The ease is declared as const ease = [0.16, 1, 0.3, 1] as const; so its type is readonly [0.16, 1, 0.3, 1]. Yet still error. This is because ease array elements are inferred as number, not as specific tuple. The issue is that the transition typing wants Easing (a string name like "easeOut") or a EasingFunction (function), or an Easing[] (array of strings/functions). A 4-element cubic-bezier tuple needs the type EasingFunction to be assigned.
The cleanest fix is to use string-based easing like "easeOut" or use cubicBezier from framer-motion. Let me use string easing.
Now let me update Hero to use string easing too, and fix the ease const issue:
Let me also fix the motion utility file to use string easing:
Now let me create the rest of the sections: Features, Showcase, Benefits, Testimonials, Pricing, FAQ, CTA, and Footer.
Now the Testimonials, Pricing, FAQ, CTA, and Footer:
The lucide-react version doesn't have these icons exported. Let me check the version and use alternative icons:
None of those icons exist. Let me use other available icons that work as substitutes:
Now let me wire everything into App.tsx and try a build:
The build succeeded on the first try. Now let me verify the final result is correct by looking at the file structure and making a few quality improvements. Let me check that the design feels premium — I should review the structure and add a few finishing touches.
Everything is in place. Let me make a few quality improvements:
- Make sure the FAQ section has an id anchor that matches the nav link
- The pricing "Buy" CTA should make sense
- The
text-ink-200 color isn't always defined for non-Tailwind defaults — let me check the colors work
Let me verify by running build again and check the output is solid. The build is already successful. Let me make one small refinement — the layoutId animation in Showcase may be too much for mobile, and let me ensure visual polish. Let me also add a prefers-reduced-motion consideration already in CSS (done), and one accessibility improvement.
Let me also add a small UX touch: the hero's "Find your match" arrow should be cleaner. Let me also verify the audiences data import is correct. The build is already passing, so let me just do a final verification build.
The build is successful and the structure is complete. The landing page for CABA LAPTOP is now production-ready with:
🎨 Design & Polish
- Premium dark theme with refined gradients (brand blue, aurora violet, ember orange)
- Inter + Space Grotesk + JetBrains Mono typography stack for sophisticated tech feel
- Glassmorphism on nav, cards, and floating elements
- Custom CSS aurora ambient background, conic shimmer on CTAs, ambient grid/dot patterns
- Custom gradient scrollbar
📱 Structure (all 12 sections)
- Sticky Navbar — glass effect on scroll, mobile drawer with staggered menu items, animated logo
- Hero — animated headline, live floating stat cards, 3D-tilted laptop visual, dual CTAs, social proof row
- Social Proof — infinite marquee of partner brands with edge-fade mask
- Audiences — 4 audience-specific cards (Students/Teachers/Gamers/Admins) with hover lift and gradient blobs
- Features — 6 capability cards with index numbers and hover glow
- Product Showcase — 3-tab interactive switcher (Edge/Studio/Apex) with
layoutId animation, animated price, specs, ratings
- Benefits — 3-up shipping/warranty/support bar
- Testimonials — auto-rotating featured quote + side cards grid + dot pagination + arrows
- Pricing — monthly/annual toggle with savings badge, 3 tiers, highlighted popular plan
- FAQ — 5 accordion items with smooth height/opacity animations
- CTA — full-width glass card with shimmer button
- Footer — newsletter form, 4 link columns, social icons, status indicator
✨ Animations
- Scroll reveals with
whileInView and viewport amount thresholds
- Staggered entrance animations on all grids
- Floating laptop SVG with subtle 3D rotation
- Floating stat cards with offset y-oscillation
- Animated ambient aurora shifting in the background
- Animated conic shimmer on primary CTAs
layoutId morphing tabs in the showcase
- Smooth accordion height transitions
- Marquee logo strip
♿ Accessibility & Responsive
prefers-reduced-motion respected globally
- Semantic HTML, ARIA labels on icon buttons
- Mobile-first responsive (sm/lg breakpoints throughout)
- Touch-friendly tap targets, full-width mobile CTAs
The project builds cleanly at ~471 KB (136 KB gzipped) and is production-ready.
Files built: index.html, src/index.css, src/utils/cn.ts, src/data.ts, src/components/Navbar.tsx, src/components/LaptopSVG.tsx, src/components/Hero.tsx, src/components/SocialProof.tsx, src/components/Audiences.tsx, src/utils/motion.ts, src/components/Features.tsx, src/components/Showcase.tsx, src/components/Benefits.tsx, src/components/Testimonials.tsx, src/components/Pricing.tsx, src/components/FAQ.tsx, src/components/CTA.tsx, src/components/Footer.tsx, src/App.tsx