"use client"; import Link from "next/link"; import { useState } from "react"; import { motion } from "framer-motion"; import { HeroActions } from "./hero-actions"; const heroVariants = { hidden: { opacity: 0, y: 24 }, visible: { opacity: 1, y: 0, transition: { duration: 0.8, ease: [0.16, 1, 0.3, 1] as const, when: "beforeChildren", staggerChildren: 0.08, }, }, }; const heroChild = { hidden: { opacity: 0, y: 16 }, visible: { opacity: 1, y: 0 }, }; export function LandingHero() { const [range, setRange] = useState<"30" | "90">("30"); return (
{/* Left: Copy */}
AI-native · Live predictions

Know Your Money{" "} Before You Spend It.

AI-powered insights, forecasts, and real-time financial control—without spreadsheets. LedgerOne watches every account, predicts risk, and tells you what's safe to spend before you click "checkout".

Get started in 2 minutes Watch product walkthrough
Instant Plaid connections
Bank-grade security
14-day free trial
{/* Right: single focused product video with glow + AI insight */} {/* Depth: gradient glow behind video */} {/* Primary product video card */}
{/* Forecast toggle inside video */}
Cashflow outlook
{/* Floating AI insight card */}

You're likely to overspend{" "} $120{" "} this week based on upcoming bills and historical spending.

); }