I will explore the project directory to see what files exist and understand the project structure.
I will check the existing dependencies and configurations in package.json to see if libraries like lucide-react, framer-motion, or others are available.
I will inspect the contents of src/App.tsx and src/index.css to see what styling is available and what structure is already set up.
I will read src/index.css to see the CSS configuration and verify if Tailwind CSS v4 is loaded correctly.
I will install lucide-react using the install_npm_packages tool to have access to a rich set of high-quality icons for our premium landing page.
I will read the contents of index.html to find out where to update the title and ensure we have any necessary Google Fonts or styling headers.
I will edit index.html to update the application's page title to a highly relevant and premium name, "CustomsFlow", and import modern high-end typography fonts (Plus Jakarta Sans and JetBrains Mono) from Google Fonts.
I will inspect the utility helper src/utils/cn.ts to see how class merging is set up so we can use it to craft our responsive and styled Tailwind components.
I will create the Navbar component which includes a sticky glassmorphic layout, a live operational status bar showing simulated latency values, navigation links with sleek micro-interactions, and a primary call-to-action button that scrolls directly to the quote/pricing engine.
I will fix the unused imports in src/components/Navbar.tsx to maintain strict TypeScript cleanliness.
I will create a highly interactive and conversion-focused Hero component which contains a live freight-plus-customs calculation widget. When customs brokers input the freight lanes, category, and shipment value, the widget displays a simulated API calculation log, outputs granular pricing breakdowns (Freight, Port Handling, HS-based Duty, Customs Bond, and Entry Surcharge), and provides a conversion form to lock in rates.
I will edit src/components/Hero.tsx to remove unused React imports and icons, ensuring full TypeScript compliance.
I will create the SocialProof component. It showcases premium carrier partnerships (Maersk, MSC, DHL, CMA CGM, FedEx), recognized regulatory compliance badges (AEO, FMC, C-TPAT, WCO), and key structural trust indicators that instantly establish credibility for customs brokers.
I will edit src/components/SocialProof.tsx to remove the unused icon import and complete the TypeScript validation.
I will create the Features component. It includes an interactive vertical tabbed panel that allows customs agents to cycle through real-world tech solutions:
- AI-Powered HS Classifier with a live simulator where typing an item filters and displays its corresponding HS Code, standard duty rate, and PGA regulatory flags.
- Lane Spot Rate Index tracking spot market trends with a customized SVG chart.
- JSON Webhook Logs Console displaying a live simulation of customs clearance webhooks (e.g., clearance bonds accepted).
- Guaranteed Local Fee Engine illustrating granular port charges that protect agents from surprise handling fees.
I will edit src/components/Features.tsx to clean up the unused icon imports and maintain exact TypeScript standards.
I will create the CustomsMap component to provide a comprehensive, interactive, step-by-step visualization of how a container moves through customs clearance gates. Each stage is clickable, revealing live terminal fees, customs filings, real-time tracking webhooks, and legacy broker vs. CustomsFlow speed comparison benchmarks.
I will edit src/components/CustomsMap.tsx to clean up the unused imports and render the customized step icons directly in each timeline slot, enhancing the premium visual experience.
I will read lines 90 to 140 of src/components/CustomsMap.tsx to precisely locate the icon declaration and integrate it into the timeline layout.
I will edit src/components/CustomsMap.tsx to render the modern icons dynamically for each timeline stage next to the milestone number, resolving the unused variable warning and adding visual fidelity.
I will create the Comparison component, which compares legacy freight forwarding brokers with CustomsFlow's automated digital pipeline. This includes comparison items like quoting times, tariff classification compliance, local drayage fees, and custom JSON webhook integrations.
I will create the Pricing component. It includes a dynamic volume-based monthly shipment slider. When users adjust their shipment volumes, the component dynamically scales the base price, reduces the per-container clearance rate, and highlights the appropriate subscription tier (Starter, Scale, or Enterprise). This provides transparency and instantly illustrates the economies of scale.
I will edit src/components/Pricing.tsx to correct the slider state updater function name (from setSetVolume to setShipments) and clean up the unused icon imports.
I will read lines 70 to 95 of src/components/Pricing.tsx to identify the exact code to replace for the input range slider.
I will edit the slider's onChange event in src/components/Pricing.tsx to call the correct state updater setShipments, completing the pricing slider's interactive functionality.
I will create the Testimonials component, designed with a premium filter tab. Customs agents can filter reviews by business model (Independent Customs Broker, Freight Forwarder, Enterprise Compliance Director) to view highly relevant success stories, verified compliance badges, and real-world rating statistics.
I will edit src/components/Testimonials.tsx to remove the unused icon import, keeping the codebase fully optimized and type-safe.
I will create the FAQ component containing comprehensive compliance-focused accordion items. Each accordion opens with elegant React transitions, offering detailed answers to critical questions about automated duty estimates, integration with systems like CargoWise, drayage guarantees, and CBP exam coordination.
I will edit src/components/FAQ.tsx to remove the unused import FileQuestion to satisfy strict TypeScript builds.
I will create the CTA (Call to Action) component. This component features an immersive dark layout with a vibrant radial background glow, designed for high conversion. It hosts an interactive subscription form capturing work email, company name, monthly cargo volume, and port lanes of interest. Upon submission, it displays a premium animated success screen confirming the setup.
I will edit src/components/CTA.tsx to remove the unused import Database and guarantee a successful TypeScript build.
I will create the Footer component containing structured column navigation for features, lanes, compliance files, and API docs. It also features standard regulatory disclosures (such as FMC License status) and a real-time server operational indicator with glowing status states.
I will edit src/components/Footer.tsx to replace the third-party social brand icons with beautiful custom inline SVGs and remove any unused icon imports to ensure a robust, flawless compile.
I will read lines 155 to 180 of src/components/Footer.tsx to inspect the social icon block and replace it with reliable, clean inline SVGs.
I will edit src/components/Footer.tsx to insert premium inline SVG code for the social media icons, completely solving the TypeScript undefined import errors.
I will update the main src/App.tsx component to orchestrate the entire premium customs agent landing page. This will assemble our sticky navbar, live calculating hero, carrier alignments social proof, AI classifier and rate index features, step-by-step customs map, competitor audit comparisons, volume-based pricing slider, compliance testimonials, accordioned FAQ, and our high-conversion CTA forms.
I will run build_project to verify that our code is completely error-free and compiles smoothly with React 19 and Tailwind CSS v4.
I have created a premium, modern, conversion-focused landing page for CustomsFlow, a next-gen logistics and automated pricing platform targeting customs agents and brokers.
Here is a summary of the fully responsive, high-performance solution I built:
1. Complete Structure & Sections Included
- Sticky Navbar (
src/components/Navbar.tsx): High-end glassmorphic navbar with logo design, quick link scrolling, and a live, simulated US Customs API latency ticker that pulses in real time.
- Hero Section (
src/components/Hero.tsx): A dynamic split-screen containing:
- Compelling, trade-compliance-focused copy to capture interest immediately.
- Interactive Freight & Duty Estimator Widget: This core conversion driver allows users to select origins/destinations, specify cargo modes, select HS categories, and input cargo value. Clicking Calculate End-to-End Freight Rates starts an animated terminal-lookup sequence and outputs a complete, granular, itemized bill (Port-to-Port Freight, Estimated HS Duty, Terminal Handling, Surcharges, and a Total Landed Estimate).
- Lock-Rate Modal: Includes a contact form asking for a work email and phone number to download a contract rate sheet.
- Social Proof (
src/components/SocialProof.tsx): Displays direct tier-1 carrier integration partners (Maersk, DHL, CMA CGM, etc.) and recognized regulatory badges (AEO Certified, FMC Licensed, C-TPAT, WCO) to establish trust.
- Interactive Features (
src/components/Features.tsx): Stateful vertical tab panels highlighting:
- AI-Powered HS Classifier: A live-search simulation where typing terms (like "cotton" or "lithium") instantly returns their predicted HS Code, standard duty rates, and regulatory PGA flags.
- Live Spot Rate Index: An interactive, customized SVG trend chart tracking Shanghai/Rotterdam lanes with custom tooltips.
- Compliance Webhook Console: A developer console simulating real-time JSON log feeds.
- Guaranteed Handling Fee Engine: Upfront itemization table comparing traditional forwarders' surprise bills vs. CustomsFlow's fixed profiles.
- Product Showcase / Transit Map (
src/components/CustomsMap.tsx): An interactive, step-by-step visual container route timeline (Origin, Ocean Transit, Import Customs, final drayage). Selecting a milestone opens detailed compliance auditing records and legacy vs. automated speed comparisons.
- Competitive Audit Comparison (
src/components/Comparison.tsx): A structured matrix detailing exactly why legacy manual forwarder processes are slow and expensive compared to CustomsFlow's real-time APIs.
- Interactive Volume Pricing Slider (
src/components/Pricing.tsx): Allows brokers to slide between 1 and 500+ monthly shipments. The tool dynamically updates per-container clearance fees, scales monthly subscriptions, estimates , and highlights the matching plan tier (Starter, Scale, or Enterprise).
2. Premium Tech Design Elements
- Premium Typography: Configured Google Fonts (
Plus Jakarta Sans for clean typography and JetBrains Mono for developer/terminal readouts).
- Elegant Visuals: Sophisticated glowing backgrounds, ambient radial neon gradients, subtle glassmorphic containers, and interactive hover effects.
- Build & Production Ready: Checked and successfully compiled with Vite, React 19, and Tailwind CSS v4 in under 3 seconds!
Files built: index.html, src/components/Navbar.tsx, src/components/Hero.tsx, src/components/SocialProof.tsx, src/components/Features.tsx, src/components/CustomsMap.tsx, src/components/Comparison.tsx, src/components/Pricing.tsx, src/components/Testimonials.tsx, src/components/FAQ.tsx, src/components/CTA.tsx, src/components/Footer.tsx, src/App.tsx