'use client'
/**
* @file Features / Product Tour page.
*
* Comprehensive showcase of everything Pulse offers — designed to convert
* visitors who land here from search or internal navigation. Each feature
* section uses consistent glass-morphism cards with staggered animations.
*/
import Link from 'next/link'
import { motion } from 'framer-motion'
import { Button } from '@ciphera-net/ui'
import { initiateOAuthFlow } from '@/lib/api/oauth'
import {
BarChartIcon,
LockIcon,
ZapIcon,
GlobeIcon,
Share2Icon,
EyeIcon,
ArrowRightIcon,
} from '@ciphera-net/ui'
// * Feature definitions grouped by section
const heroFeatures = [
{
icon: LockIcon,
title: 'Privacy First',
description:
'No cookies, no IP tracking, no fingerprinting. Fully GDPR, CCPA, and PECR compliant out of the box — no cookie banner required.',
},
{
icon: BarChartIcon,
title: 'Simple Dashboard',
description:
'One clear dashboard with everything you need. Page views, unique visitors, referral sources, and top pages — no learning curve.',
},
{
icon: ZapIcon,
title: 'Lightweight Script',
description:
'Less than 1 KB. Our tracking script loads in milliseconds and has zero impact on your Lighthouse score or Core Web Vitals.',
},
]
const coreCapabilities = [
{
icon: (
),
title: 'Real-Time Analytics',
description: 'Watch visitors arrive on your site in real time. See active pages, live referrers, and current visitor counts — no delay.',
},
{
icon: (
),
title: 'Conversion Funnels',
description: 'Define multi-step funnels to see where visitors drop off. Track sign-ups, purchases, or any custom flow with precise conversion rates.',
},
{
icon: (
),
title: 'Goals & Events',
description: 'Set goals for key pages or custom events. Track completions, conversion rates, and revenue attribution — all without cookies.',
},
{
icon: (
),
title: 'UTM Campaign Tracking',
description: 'Automatically parse UTM parameters to attribute traffic to campaigns, sources, and mediums. Built-in UTM link builder included.',
},
{
icon: Share2Icon,
title: 'Shared Dashboards',
description: 'Generate a public link to share your analytics with clients, teammates, or the world. No login required for viewers.',
},
{
icon: GlobeIcon,
title: 'Geographic Insights',
description: 'See where your visitors are from — country, region, and city level. All derived at request time; IP addresses are never stored.',
},
]
const technicalFeatures = [
{
title: 'One-Line Installation',
description: 'Add a single