'use client' import { motion } from 'framer-motion' import { useState } from 'react' import { TrendingDown, DollarSign } from 'lucide-react' export function PricingComparison() { const [monitorCount, setMonitorCount] = useState(50) // Pricing calculation logic const calculatePricing = (monitors: number) => { // Competitors: tiered pricing let competitorMin, competitorMax if (monitors <= 10) { competitorMin = 29 competitorMax = 49 } else if (monitors <= 50) { competitorMin = 79 competitorMax = 129 } else if (monitors <= 100) { competitorMin = 129 competitorMax = 199 } else { competitorMin = 199 competitorMax = 299 } // Our pricing: simpler, fairer let ourPrice if (monitors <= 10) { ourPrice = 19 } else if (monitors <= 50) { ourPrice = 49 } else if (monitors <= 100) { ourPrice = 89 } else { ourPrice = 149 } const competitorAvg = (competitorMin + competitorMax) / 2 const savings = competitorAvg - ourPrice const savingsPercent = Math.round((savings / competitorAvg) * 100) return { competitorMin, competitorMax, competitorAvg, ourPrice, savings, savingsPercent } } const pricing = calculatePricing(monitorCount) return (
{/* Background Pattern - Enhanced Dot Grid */}
{/* Section Header */}
Fair Pricing

See how much you{' '} save

Compare our transparent pricing with typical competitors. No hidden fees, no surprises.

{/* Interactive Comparison Card */} {/* Monitor Count Slider */}
{monitorCount}
{/* Slider */}
setMonitorCount(Number(e.target.value))} className="w-full h-3 bg-secondary rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-6 [&::-webkit-slider-thumb]:h-6 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-[hsl(var(--teal))] [&::-webkit-slider-thumb]:shadow-lg [&::-webkit-slider-thumb]:cursor-grab [&::-webkit-slider-thumb]:active:cursor-grabbing [&::-webkit-slider-thumb]:hover:scale-110 [&::-webkit-slider-thumb]:transition-transform [&::-moz-range-thumb]:w-6 [&::-moz-range-thumb]:h-6 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-[hsl(var(--teal))] [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:shadow-lg [&::-moz-range-thumb]:cursor-grab [&::-moz-range-thumb]:active:cursor-grabbing" /> {/* Tick marks - positioned by percentage based on slider range (5-200) */}
5 50 100 200
{/* Price Comparison Bars */}
{/* Competitors */}
Typical Competitors
{/* Bar */}
${pricing.competitorMin}-{pricing.competitorMax}
per month
{/* Us */}
Our Pricing
{/* Bar */}
${pricing.ourPrice}
per month
{/* Savings Badge */}
You save
${Math.round(pricing.savings)} /month {pricing.savingsPercent}% off
{/* Fine Print */}

* Based on average pricing from Visualping, Distill.io, and similar competitors as of Jan 2026

) }