Build a PDF indexing posture: HTML alternates, metadata, and tracking.
- User
Build a PDF indexing posture: HTML alternates, metadata, and tracking.
Assistant
Build a PDF indexing posture: HTML alternates, metadata, and tracking.
The user wants me to build a PDF indexing posture page. This seems to be about a system/interface for managing PDF indexing with features like:
I'll create a sophisticated, modern dashboard-style page for this PDF indexing system using the design specifications provided.
Let me design:
I'll use:
A sophisticated dashboard for managing PDF indexing with HTML alternates, metadata extraction, and usage tracking.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PDF Indexing Posture | Document Intelligence</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<!-- Tailwind -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Iconify -->
<script src="https://code.iconify.design/3/3.1.0/iconify.min.js"></script>
<!-- GSAP -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
accent: '#0088FF',
surface: '#0F0F0F',
'pdf-red': '#E13F34',
'pdf-orange': '#F57614'
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
display: ['Space Grotesk', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace']
}
}
}
}
</script>
<style>
* {
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.1) transparent;
}
body {
background: #050505;
font-family: 'Inter', sans-serif;
}
.font-display {
font-family: 'Space Grotesk', sans-serif;
}
/* Grid Background */
.grid-bg {
background-image:
linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 50px 50px;
}
/* Noise Overlay */
.noise-overlay::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
opacity: 0.04;
pointer-events: none;
z-index: 9999;
}
/* Spotlight Effect */
.spotlight-card {
position: relative;
background: rgba(10, 10, 10, 0.8);
border: 1px solid rgba(255,255,255,0.08);
}
.spotlight-card::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 136, 255, 0.08), transparent 40%);
opacity: 0;
transition: opacity 0.5s;
pointer-events: none;
}
.spotlight-card:hover::before {
opacity: 1;
}
/* PDF Icon Animation */
@keyframes float {
0%, 100% { transform: translateY(0) rotate(-3deg); }
50% { transform: translateY(-15px) rotate(3deg); }
}
.pdf-float {
animation: float 4s ease-in-out infinite;
}
@keyframes float-delayed {
0%, 100% { transform: translateY(0) rotate(3deg); }
50% { transform: translateY(-20px) rotate(-3deg); }
}
.pdf-float-delayed {
animation: float-delayed 5s ease-in-out infinite;
}
/* Scan Line Effect */
@keyframes scan {
0% { top: -10%; }
100% { top: 110%; }
}
.scan-line {
animation: scan 3s linear infinite;
}
/* Progress Bar Animation */
@keyframes progress {
0% { width: 0; }
100% { width: var(--progress); }
}
.progress-fill {
animation: progress 1.5s ease-out forwards;
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(to right, #fff, #9ca3af, #4b5563);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Status Indicator Pulse */
@keyframes pulse-ring {
0% { transform: scale(0.8); opacity: 1; }
100% { transform: scale(2); opacity: 0; }
}
.status-pulse::after {
content: '';
position: absolute;
inset: -4px;
border-radius: 50%;
border: 2px solid currentColor;
animation: pulse-ring 2s ease-out infinite;
}
/* Data Flow Animation */
@keyframes data-flow {
0% { stroke-dashoffset: 100; }
100% { stroke-dashoffset: 0; }
}
.data-path {
stroke-dasharray: 10 5;
animation: data-flow 2s linear infinite;
}
/* Terminal Cursor */
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.cursor-blink {
animation: blink 1s step-end infinite;
}
/* Barcode Lines */
@keyframes barcode {
0%, 100% { opacity: 0.3; }
50% { opacity: 1; }
}
</style>
</head>
<body class="noise-overlay grid-bg text-white overflow-x-hidden">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 h-20 bg-black/50 backdrop-blur-xl border-b border-white/5">
<div class="max-w-7xl mx-auto px-6 h-full flex items-center justify-between">
<a href="#" class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-pdf-red via-pdf-orange to-accent flex items-center justify-center">
<span class="iconify text-white text-xl" data-icon="ph:file-pdf-fill"></span>
</div>
<span class="font-display font-bold text-lg">PDF<span class="text-accent">Index</span></span>
</a>
<div class="hidden md:flex items-center gap-8">
<a href="#alternates" class="text-sm text-gray-400 hover:text-white transition-colors">Alternates</a>
<a href="#metadata" class="text-sm text-gray-400 hover:text-white transition-colors">Metadata</a>
<a href="#tracking" class="text-sm text-gray-400 hover:text-white transition-colors">Tracking</a>
<a href="#pipeline" class="text-sm text-gray-400 hover:text-white transition-colors">Pipeline</a>
</div>
<div class="flex items-center gap-4">
<div class="hidden sm:flex items-center gap-2 px-4 py-2 rounded-full bg-white/5 border border-white/10">
<div class="w-2 h-2 rounded-full bg-green-500 relative status-pulse"></div>
<span class="text-xs font-mono text-gray-400">3,847 indexed</span>
</div>
<button class="px-5 py-2 bg-accent text-white text-xs font-bold uppercase tracking-widest rounded-lg hover:bg-white transition-all hover:scale-105">
New Index
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="min-h-screen pt-20 flex items-center relative overflow-hidden">
<!-- Background Glow -->
<div class="absolute top-1/4 left-1/4 w-[600px] h-[600px] bg-pdf-red/10 rounded-full blur-[150px] pointer-events-none"></div>
<div class="absolute bottom-1/4 right-1/4 w-[400px] h-[400px] bg-accent/10 rounded-full blur-[120px] pointer-events-none"></div>
<div class="max-w-7xl mx-auto px-6 py-20">
<div class="grid lg:grid-cols-2 gap-16 items-center">
<!-- Left Content -->
<div>
<div class="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/5 border border-white/10 mb-8">
<span class="iconify text-accent" data-icon="ph:lightning-fill"></span>
<span class="text-xs font-mono text-gray-400">INTELLIGENT DOCUMENT INDEXING</span>
</div>
<h1 class="font-display text-5xl md:text-6xl lg:text-7xl font-bold tracking-tighter leading-[0.95] mb-6">
<span class="gradient-text">PDF Indexing</span>
<br>
<span class="text-white">Posture</span>
</h1>
<p class="text-lg text-gray-400 leading-relaxed mb-10 max-w-lg">
Transform static PDFs into intelligent, searchable assets with HTML alternates, rich metadata extraction, and comprehensive usage tracking.
</p>
<div class="flex flex-wrap gap-4">
<button class="group px-8 py-4 bg-accent text-white text-sm font-bold uppercase tracking-widest rounded-xl hover:bg-white hover:text-black transition-all duration-300 flex items-center gap-3">
<span class="iconify text-xl" data-icon="ph:upload-simple-bold"></span>
Upload PDFs
<span class="iconify text-lg group-hover:translate-x-1 transition-transform" data-icon="ph:arrow-right-bold"></span>
</button>
<button class="px-8 py-4 border border-white/20 text-white text-sm font-bold uppercase tracking-widest rounded-xl hover:bg-white/5 transition-all flex items-center gap-3">
<span class="iconify text-xl" data-icon="ph:play-circle-bold"></span>
Watch Demo
</button>
</div>
<!-- Quick Stats -->
<div class="grid grid-cols-3 gap-6 mt-12 pt-12 border-t border-white/10">
<div>
<div class="font-display text-3xl font-bold text-white">12M+</div>
<div class="text-xs text-gray-500 mt-1">Pages Indexed</div>
</div>
<div>
<div class="font-display text-3xl font-bold text-white">99.7%</div>
<div class="text-xs text-gray-500 mt-1">Accuracy Rate</div>
</div>
<div>
<div class="font-display text-3xl font-bold text-white"><50ms</div>
<div class="text-xs text-gray-500 mt-1">Avg. Response</div>
</div>
</div>
</div>
<!-- Right - Visual -->
<div class="relative h-[500px]">
<!-- Floating PDF Cards -->
<div class="absolute top-10 left-10 w-40 h-52 bg-white rounded-lg shadow-2xl pdf-float" style="perspective: 1000px;">
<div class="h-full flex flex-col">
<div class="h-8 bg-pdf-red rounded-t-lg flex items-center px-3 gap-1">
<div class="w-2 h-2 rounded-full bg-white/50"></div>
<div class="w-2 h-2 rounded-full bg-white/50"></div>
<div class="w-2 h-2 rounded-full bg-white/50"></div>
</div>
<div class="flex-1 p-4 space-y-2">
<div class="h-3 bg-gray-200 rounded w-3/4"></div>
<div class="h-3 bg-gray-200 rounded w-1/2"></div>
<div class="h-3 bg-gray-200 rounded w-5/6"></div>
<div class="h-3 bg-gray-200 rounded w-2/3"></div>
<div class="h-20 bg-gray-100 rounded mt-4"></div>
</div>
</div>
</div>
<div class="absolute top-20 right-5 w-36 h-48 bg-white rounded-lg shadow-2xl pdf-float-delayed" style="animation-delay: -2s;">
<div class="h-full flex flex-col">
<div class="h-8 bg-accent rounded-t-lg flex items-center px-3">
<span class="text-white text-[10px] font-bold">HTML</span>
</div>
<div class="flex-1 p-3 space-y-2">
<div class="h-2 bg-green-100 rounded w-full"></div>
<div class="h-2 bg-green-100 rounded w-3/4"></div>
<div class="h-2 bg-green-100 rounded w-5/6"></div>
<div class="font-mono text-[8px] text-gray-400 mt-4">
<html><br>
<body><br>
<p>...</p><br>
</body><br>
</html>
</div>
</div>
</div>
</div>
<!-- Processing Circle -->
<div class="absolute bottom-10 left-1/2 -translate-x-1/2 w-64 h-64">
<svg viewBox="0 0 200 200" class="w-full h-full">
<!-- Outer Ring -->
<circle cx="100" cy="100" r="90" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/>
<!-- Progress Ring -->
<circle cx="100" cy="100" r="90" fill="none" stroke="url(#gradient)" stroke-width="3"
stroke-dasharray="565" stroke-dashoffset="140" stroke-linecap="round"
style="transform: rotate(-90deg); transform-origin: center;"/>
<!-- Data Paths -->
<path d="M 100 10 L 100 190" class="data-path" stroke="rgba(0,136,255,0.3)" stroke-width="1" fill="none"/>
<path d="M 10 100 L 190 100" class="data-path" stroke="rgba(0,136,255,0.3)" stroke-width="1" fill="none" style="animation-delay: -1s;"/>
<!-- Gradient Definition -->
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#E13F34"/>
<stop offset="50%" stop-color="#F57614"/>
<stop offset="100%" stop-color="#0088FF"/>
</linearGradient>
</defs>
</svg>
<!-- Center Content -->
<div class="absolute inset-0 flex flex-col items-center justify-center">
<span class="iconify text-4xl text-accent mb-2" data-icon="ph:brain-fill"></span>
<span class="font-display font-bold text-2xl">75%</span>
<span class="text-xs text-gray-500">Processing</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- HTML Alternates Section -->
<section id="alternates" class="py-32 relative">
<div class="max-w-7xl mx-auto px-6">
<!-- Section Header -->
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-xl bg-accent/20 flex items-center justify-center">
<span class="iconify text-accent text-2xl" data-icon="ph:code-bold"></span>
</div>
<span class="font-mono text-xs text-accent uppercase tracking-widest">01 / HTML Alternates</span>
</div>
<h2 class="font-display text-4xl md:text-5xl font-bold tracking-tighter mb-6">
Seamless HTML Conversion
</h2>
<p class="text-lg text-gray-400 max-w-2xl mb-16">
Every indexed PDF gets an automatic HTML alternate for maximum accessibility, SEO benefits, and faster loading across all devices.
</p>
<!-- Feature Cards -->
<div class="grid md:grid-cols-3 gap-6">
<!-- Card 1: Original PDF -->
<div class="spotlight-card rounded-2xl p-8 group hover:border-white/20 transition-all duration-500">
<div class="w-16 h-20 rounded-lg bg-pdf-red/20 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<span class="iconify text-pdf-red text-3xl" data-icon="ph:file-pdf-fill"></span>
</div>
<h3 class="font-display text-xl font-bold mb-3">Original PDF</h3>
<p class="text-sm text-gray-400 leading-relaxed mb-6">
Binary format preserved for exact fidelity, downloads, and print workflows.
</p>
<div class="space-y-3">
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">File Size</span>
<span class="font-mono text-white">2.4 MB</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">Pages</span>
<span class="font-mono text-white">47</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">Format</span>
<span class="font-mono text-white">PDF 1.7</span>
</div>
</div>
</div>
<!-- Card 2: HTML Alternate -->
<div class="spotlight-card rounded-2xl p-8 group hover:border-white/20 transition-all duration-500">
<div class="w-16 h-20 rounded-lg bg-green-500/20 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<span class="iconify text-green-500 text-3xl" data-icon="ph:file-html-fill"></span>
</div>
<h3 class="font-display text-xl font-bold mb-3">HTML Alternate</h3>
<p class="text-sm text-gray-400 leading-relaxed mb-6">
Fully responsive HTML version with preserved formatting and searchable text.
</p>
<div class="space-y-3">
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">File Size</span>
<span class="font-mono text-green-400">340 KB</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">Load Time</span>
<span class="font-mono text-green-400"><100ms</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">SEO Score</span>
<span class="font-mono text-green-400">98/100</span>
</div>
</div>
</div>
<!-- Card 3: JSON Data -->
<div class="spotlight-card rounded-2xl p-8 group hover:border-white/20 transition-all duration-500">
<div class="w-16 h-20 rounded-lg bg-amber-500/20 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<span class="iconify text-amber-500 text-3xl" data-icon="ph:brackets-curly-fill"></span>
</div>
<h3 class="font-display text-xl font-bold mb-3">Structured Data</h3>
<p class="text-sm text-gray-400 leading-relaxed mb-6">
JSON export with content structure, metadata, and full-text search index.
</p>
<div class="space-y-3">
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">Schema</span>
<span class="font-mono text-amber-400">JSON-LD</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">API Ready</span>
<span class="font-mono text-amber-400">REST/GraphQL</span>
</div>
<div class="flex items-center justify-between text-xs">
<span class="text-gray-500">Index</span>
<span class="font-mono text-amber-400">Elasticsearch</span>
</div>
</div>
</div>
</div>
<!-- Code Preview -->
<div class="mt-16 spotlight-card rounded-2xl overflow-hidden">
<div class="flex items-center gap-2 px-4 py-3 bg-white/5 border-b border-white/5">
<div class="w-3 h-3 rounded-full bg-pdf-red"></div>
<div class="w-3 h-3 rounded-full bg-amber-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
<span class="ml-4 text-xs font-mono text-gray-500">alternate-output.html</span>
</div>
<pre class="p-6 text-sm font-mono overflow-x-auto"><code class="text-gray-300"><span class="text-gray-500"><!-- Auto-generated HTML alternate --></span>
<span class="text-accent"><html</span> <span class="text-amber-400">lang</span>=<span class="text-green-400">"en"</span> <span class="text-amber-400">data-pdf-id</span>=<span class="text-green-400">"doc_7f8a9b2c"</span><span class="text-accent">></span>
<span class="text-accent"><head></span>
<span class="text-accent"><meta</span> <span class="text-amber-400">charset</span>=<span class="text-green-400">"UTF-8"</span><span class="text-accent">></span>
<span class="text-accent"><title></span>Q4 Financial Report 2024<span class="text-accent"></title></span>
<span class="text-accent"><link</span> <span class="text-amber-400">rel</span>=<span class="text-green-400">"alternate"</span> <span class="text-amber-400">type</span>=<span class="text-green-400">"application/pdf"</span>
<span class="text-amber-400">href</span>=<span class="text-green-400">"/docs/q4-report.pdf"</span><span class="text-accent">/></span>
<span class="text-accent"><script</span> <span class="text-amber-400">type</span>=<span class="text-green-400">"application/ld+json"</span><span class="text-accent">></span>
{
<span class="text-amber-400">"@context"</span>: <span class="text-green-400">"https://schema.org"</span>,
<span class="text-amber-400">"@type"</span>: <span class="text-green-400">"DigitalDocument"</span>,
<span class="text-amber-400">"name"</span>: <span class="text-green-400">"Q4 Financial Report"</span>,
<span class="text-amber-400">"encodingFormat"</span>: <span class="text-green-400">"text/html"</span>
}
<span class="text-accent"></script></span>
<span class="text-accent"></head></span></code></pre>
</div>
</div>
</section>
<!-- Metadata Section -->
<section id="metadata" class="py-32 relative bg-gradient-to-b from-transparent via-surface/50 to-transparent">
<div class="max-w-7xl mx-auto px-6">
<!-- Section Header -->
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center">
<span class="iconify text-amber-500 text-2xl" data-icon="ph:tag-fill"></span>
</div>
<span class="font-mono text-xs text-amber-500 uppercase tracking-widest">02 / Metadata Extraction</span>
</div>
<h2 class="font-display text-4xl md:text-5xl font-bold tracking-tighter mb-6">
Rich Metadata Layer
</h2>
<p class="text-lg text-gray-400 max-w-2xl mb-16">
Extract and index every piece of metadata: document properties, structural elements, named entities, and semantic tags.
</p>
<!-- Metadata Dashboard -->
<div class="grid lg:grid-cols-3 gap-6">
<!-- Document Info -->
<div class="lg:col-span-2 spotlight-card rounded-2xl p-8">
<h3 class="font-display text-lg font-bold mb-6 flex items-center gap-3">
<span class="iconify text-accent" data-icon="ph:info-fill"></span>
Document Properties
</h3>
<div class="grid sm:grid-cols-2 gap-4">
<!-- Metadata Items -->
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Title</div>
<div class="font-medium text-white">Q4 Financial Report 2024</div>
</div>
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Author</div>
<div class="font-medium text-white">Finance Department</div>
</div>
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Created</div>
<div class="font-medium text-white">2024-01-15 09:32:14</div>
</div>
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Modified</div>
<div class="font-medium text-white">2024-01-18 14:22:08</div>
</div>
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Producer</div>
<div class="font-medium text-white">Adobe PDF Library 15.0</div>
</div>
<div class="p-4 bg-white/5 rounded-xl">
<div class="text-xs text-gray-500 mb-1">Version</div>
<div class="font-medium text-white">PDF 1.7 (ISO 32000-1)</div>
</div>
</div>
<!-- Keywords -->
<div class="mt-6 pt-6 border-t border-white/10">
<div class="text-xs text-gray-500 mb-3">Extracted Keywords</div>
<div class="flex flex-wrap gap-2">
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">financial report</span>
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">quarterly</span>
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">revenue</span>
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">earnings</span>
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">forecast</span>
<span class="px-3 py-1 bg-accent/20 text-accent text-xs rounded-full">balance sheet</span>
</div>
</div>
</div>
<!-- Entity Extraction -->
<div class="spotlight-card rounded-2xl p-8">
<h3 class="font-display text-lg font-bold mb-6 flex items-center gap-3">
<span class="iconify text-amber-500" data-icon="ph:brain-fill"></span>
AI Entities
</h3>
<div class="space-y-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-blue-500/20 flex items-center justify-center">
<span class="iconify text-blue-400 text-sm" data-icon="ph:buildings-fill"></span>
</div>
<div class="flex-1">
<div class="text-sm text-white">Organizations</div>
<div class="text-xs text-gray-500">12 detected</div>
</div>
<span class="text-xs font-mono text-blue-400">+3</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-green-500/20 flex items-center justify-center">
<span class="iconify text-green-400 text-sm" data-icon="ph:currency-dollar-fill"></span>
</div>
<div class="flex-1">
<div class="text-sm text-white">Monetary Values</div>
<div class="text-xs text-gray-500">47 detected</div>
</div>
<span class="text-xs font-mono text-green-400">+12</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-purple-500/20 flex items-center justify-center">
<span class="iconify text-purple-400 text-sm" data-icon="ph:calendar-fill"></span>
</div>
<div class="flex-1">
<div class="text-sm text-white">Dates</div>
<div class="text-xs text-gray-500">23 detected</div>
</div>
<span class="text-xs font-mono text-purple-400">+5</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-pdf-orange/20 flex items-center justify-center">
<span class="iconify text-pdf-orange text-sm" data-icon="ph:map-pin-fill"></span>
</div>
<div class="flex-1">
<div class="text-sm text-white">Locations</div>
<div class="text-xs text-gray-500">8 detected</div>
</div>
<span class="text-xs font-mono text-pdf-orange">+2</span>
</div>
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-pdf-red/20 flex items-center justify-center">
<span class="iconify text-pdf-red text-sm" data-icon="ph:percent-fill"></span>
</div>
<div class="flex-1">
<div class="text-sm text-white">Percentages</div>
<div class="text-xs text-gray-500">31 detected</div>
</div>
<span class="text-xs font-mono text-pdf-red">+8</span>
</div>
</div>
</div>
</div>
<!-- Technical Metadata -->
<div class="mt-6 spotlight-card rounded-2xl p-8">
<h3 class="font-display text-lg font-bold mb-6 flex items-center gap-3">
<span class="iconify text-green-500" data-icon="ph:gear-six-fill"></span>
Technical Metadata
</h3>
<div class="grid sm:grid-cols-2 lg:grid-cols-4 gap-6">
<div>
<div class="text-xs text-gray-500 mb-2">Checksum (SHA-256)</div>
<div class="font-mono text-xs text-white/60 break-all">a7f8c9d2e1b4f3a6...</div>
</div>
<div>
<div class="text-xs text-gray-500 mb-2">Page Dimensions</div>
<div class="font-mono text-xs text-white/60">612 × 792 pts (Letter)</div>
</div>
<div>
<div class="text-xs text-gray-500 mb-2">Color Space</div>
<div class="font-mono text-xs text-white/60">CMYK + Spot Colors</div>
</div>
<div>
<div class="text-xs text-gray-500 mb-2">Fonts Embedded</div>
<div class="font-mono text-xs text-white/60">Helvetica, Times New Roman</div>
</div>
</div>
</div>
</div>
</section>
<!-- Tracking Section -->
<section id="tracking" class="py-32 relative">
<div class="max-w-7xl mx-auto px-6">
<!-- Section Header -->
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center">
<span class="iconify text-green-500 text-2xl" data-icon="ph:chart-line-up-fill"></span>
</div>
<span class="font-mono text-xs text-green-500 uppercase tracking-widest">03 / Usage Tracking</span>
</div>
<h2 class="font-display text-4xl md:text-5xl font-bold tracking-tighter mb-6">
Comprehensive Analytics
</h2>
<p class="text-lg text-gray-400 max-w-2xl mb-16">
Track every interaction: views, downloads, searches, and time-spent. Understand how your documents are being used.
</p>
<!-- Analytics Grid -->
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<!-- Metric Cards -->
<div class="spotlight-card rounded-2xl p-6">
<div class="flex items-center justify-between mb-4">
<span class="iconify text-accent text-2xl" data-icon="ph:eye-fill"></span>
<span class="text-xs text-green-500 font-mono">+24%</span>
</div>
<div class="font-display text-3xl font-bold mb-1">128,459</div>
<div class="text-xs text-gray-500">Total Views</div>
<div class="mt-4 h-1 bg-white/10 rounded-full overflow-hidden">
<div class="h-full bg-accent progress-fill" style="--progress: 78%;"></div>
</div>
</div>
<div class="spotlight-card rounded-2xl p-6">
<div class="flex items-center justify-between mb-4">
<span class="iconify text-green-500 text-2xl" data-icon="ph:download-simple-fill"></span>
<span class="text-xs text-green-500 font-mono">+18%</span>
</div>
<div class="font-display text-3xl font-bold mb-1">12,847</div>
<div class="text-xs text-gray-500">Downloads</div>
<div class="mt-4 h-1 bg-white/10 rounded-full overflow-hidden">
<div class="h-full bg-green-500 progress-fill" style="--progress: 45%;"></div>
</div>
</div>
<div class="spotlight-card rounded-2xl p-6">
<div class="flex items-center justify-between mb-4">
<span class="iconify text-amber-500 text-2xl" data-icon="ph:magnifying-glass-fill"></span>
<span class="text-xs text-green-500 font-mono">+31%</span>
</div>
<div class="font-display text-3xl font-bold mb-1">89,234</div>
<div class="text-xs text-gray-500">Search Queries</div>
<div class="mt-4 h-1 bg-white/10 rounded-full overflow-hidden">
<div class="h-full bg-amber-500 progress-fill" style="--progress: 62%;"></div>
</div>
</div>
<div class="spotlight-card rounded-2xl p-6">
<div class="flex items-center justify-between mb-4">
<span class="iconify text-purple-500 text-2xl" data-icon="ph:clock-fill"></span>
<span class="text-xs text-green-500 font-mono">+12%</span>
</div>
<div class="font-display text-3xl font-bold mb-1">4:32</div>
<div class="text-xs text-gray-500">Avg. Time on Doc</div>
<div class="mt-4 h-1 bg-white/10 rounded-full overflow-hidden">
<div class="h-full bg-purple-500 progress-fill" style="--progress: 55%;"></div>
</div>
</div>
</div>
<!-- Activity Feed & Chart -->
<div class="grid lg:grid-cols-3 gap-6">
<!-- Activity Feed -->
<div class="spotlight-card rounded-2xl p-8">
<h3 class="font-display text-lg font-bold mb-6 flex items-center gap-3">
<span class="iconify text-accent" data-icon="ph:activity-fill"></span>
Live Activity
</h3>
<div class="space-y-4">
<div class="flex items-start gap-3 p-3 bg-white/5 rounded-xl">
<div class="w-8 h-8 rounded-full bg-accent/20 flex items-center justify-center flex-shrink-0">
<span class="iconify text-accent text-sm" data-icon="ph:eye-fill"></span>
</div>
<div class="flex-1 min-w-0">
<div class="text-sm text-white truncate">Q4 Report viewed</div>
<div class="text-xs text-gray-500">New York, US • 2 sec ago</div>
</div>
</div>
<div class="flex items-start gap-3 p-3 bg-white/5 rounded-xl">
<div class="w-8 h-8 rounded-full bg-green-500/20 flex items-center justify-center flex-shrink-0">
<span class="iconify text-green-500 text-sm" data-icon="ph:download-simple-fill"></span>
</div>
<div class="flex-1 min-w-0">
<div class="text-sm text-white truncate">Manual downloaded</div>
<div class="text-xs text-gray-500">London, UK • 45 sec ago</div>
</div>
</div>
<div class="flex items-start gap-3 p-3 bg-white/5 rounded-xl">
<div class="w-8 h-8 rounded-full bg-amber-500/20 flex items-center justify-center flex-shrink-0">
<span class="iconify text-amber-500 text-sm" data-icon="ph:magnifying-glass-fill"></span>
</div>
<div class="flex-1 min-w-0">
<div class="text-sm text-white truncate">Search: "revenue 2024"</div>
<div class="text-xs text-gray-500">Tokyo, JP • 1 min ago</div>
</div>
</div>
<div class="flex items-start gap-3 p-3 bg-white/5 rounded-xl">
<div class="w-8 h-8 rounded-full bg-purple-500/20 flex items-center justify-center flex-shrink-0">
<span class="iconify text-purple-500 text-sm" data-icon="ph:share-fill"></span>
</div>
<div class="flex-1 min-w-0">
<div class="text-sm text-white truncate">Policy shared via email</div>
<div class="text-xs text-gray-500">Berlin, DE • 3 min ago</div>
</div>
</div>
</div>
</div>
<!-- Traffic Chart -->
<div class="lg:col-span-2 spotlight-card rounded-2xl p-8">
<div class="flex items-center justify-between mb-6">
<h3 class="font-display text-lg font-bold flex items-center gap-3">
<span class="iconify text-green-500" data-icon="ph:chart-bar-fill"></span>
Traffic Overview
</h3>
<div class="flex gap-2">
<button class="px-3 py-1 text-xs bg-accent text-white rounded-lg">7D</button>
<button class="px-3 py-1 text-xs text-gray-400 hover:bg-white/5 rounded-lg transition-colors">30D</button>
<button class="px-3 py-1 text-xs text-gray-400 hover:bg-white/5 rounded-lg transition-colors">90D</button>
</div>
</div>
<!-- Chart Visualization -->
<div class="h-48 flex items-end gap-2">
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 65%;"></div>
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 45%;"></div>
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 78%;"></div>
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 52%;"></div>
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 88%;"></div>
<div class="flex-1 bg-gradient-to-t from-accent/50 to-accent rounded-t-lg" style="height: 70%;"></div>
<div class="flex-1 bg-gradient-to-t from-green-500/50 to-green-500 rounded-t-lg" style="height: 95%;"></div>
</div>
<div class="flex justify-between mt-4 text-xs text-gray-500">
<span>Mon</span>
<span>Tue</span>
<span>Wed</span>
<span>Thu</span>
<span>Fri</span>
<span>Sat</span>
<span class="text-green-500">Sun</span>
</div>
</div>
</div>
</div>
</section>
<!-- Pipeline Section -->
<section id="pipeline" class="py-32 relative bg-gradient-to-b from-transparent via-surface/50 to-transparent">
<div class="max-w-7xl mx-auto px-6">
<!-- Section Header -->
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center">
<span class="iconify text-purple-500 text-2xl" data-icon="ph:flow-arrow-fill"></span>
</div>
<span class="font-mono text-xs text-purple-500 uppercase tracking-widest">04 / Indexing Pipeline</span>
</div>
<h2 class="font-display text-4xl md:text-5xl font-bold tracking-tighter mb-6">
Processing Flow
</h2>
<p class="text-lg text-gray-400 max-w-2xl mb-16">
From upload to indexed, every document follows our optimized 6-stage pipeline for maximum accuracy and speed.
</p>
<!-- Pipeline Steps -->
<div class="relative">
<!-- Connection Line -->
<div class="hidden lg:block absolute top-1/2 left-0 right-0 h-0.5 bg-gradient-to-r from-pdf-red via-accent to-green-500 opacity-20"></div>
<div class="grid md:grid-cols-2 lg:grid-cols-6 gap-6">
<!-- Step 1: Upload -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-pdf-red flex items-center justify-center text-sm font-bold z-10">1</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-pdf-red/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-pdf-red text-3xl" data-icon="ph:upload-simple-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">Upload</h4>
<p class="text-xs text-gray-500 text-center">Drag & drop or API upload</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-pdf-red">~2s</span>
</div>
</div>
<!-- Step 2: Parse -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-pdf-orange flex items-center justify-center text-sm font-bold z-10">2</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-pdf-orange/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-pdf-orange text-3xl" data-icon="ph:file-text-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">Parse</h4>
<p class="text-xs text-gray-500 text-center">Extract text & structure</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-pdf-orange">~5s</span>
</div>
</div>
<!-- Step 3: OCR -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-amber-500 flex items-center justify-center text-sm font-bold z-10">3</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-amber-500/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-amber-500 text-3xl" data-icon="ph:scan-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">OCR</h4>
<p class="text-xs text-gray-500 text-center">Recognize scanned text</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-amber-500">~8s</span>
</div>
</div>
<!-- Step 4: Enrich -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-accent flex items-center justify-center text-sm font-bold z-10">4</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-accent/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-accent text-3xl" data-icon="ph:brain-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">Enrich</h4>
<p class="text-xs text-gray-500 text-center">AI entity extraction</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-accent">~12s</span>
</div>
</div>
<!-- Step 5: Index -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center text-sm font-bold z-10">5</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-purple-500/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-purple-500 text-3xl" data-icon="ph:database-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">Index</h4>
<p class="text-xs text-gray-500 text-center">Full-text search index</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-purple-500">~3s</span>
</div>
</div>
<!-- Step 6: Publish -->
<div class="spotlight-card rounded-2xl p-6 relative group">
<div class="absolute -top-3 -left-3 w-8 h-8 rounded-full bg-green-500 flex items-center justify-center text-sm font-bold z-10">6</div>
<div class="h-20 flex items-center justify-center mb-4">
<div class="w-16 h-16 rounded-xl bg-green-500/20 flex items-center justify-center group-hover:scale-110 transition-transform">
<span class="iconify text-green-500 text-3xl" data-icon="ph:check-circle-fill"></span>
</div>
</div>
<h4 class="font-display font-bold text-center mb-2">Publish</h4>
<p class="text-xs text-gray-500 text-center">Live & searchable</p>
<div class="mt-4 text-center">
<span class="text-xs font-mono text-green-500">~1s</span>
</div>
</div>
</div>
</div>
<!-- Total Time -->
<div class="mt-12 text-center">
<div class="inline-flex items-center gap-4 px-8 py-4 rounded-2xl bg-white/5 border border-white/10">
<span class="text-gray-400">Total Processing Time:</span>
<span class="font-display text-3xl font-bold text-green-500">~31s</span>
<span class="text-gray-500 text-sm">per document</span>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-32 relative overflow-hidden">
<!-- Background Elements -->
<div class="absolute inset-0 pointer-events-none">
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-accent/5 rounded-full blur-[150px]"></div>
</div>
<div class="max-w-4xl mx-auto px-6 text-center relative">
<h2 class="font-display text-4xl md:text-6xl font-bold tracking-tighter mb-6">
Ready to Index?
</h2>
<p class="text-lg text-gray-400 mb-10 max-w-xl mx-auto">
Transform your PDF library into a searchable, trackable, intelligent document system.
</p>
<div class="flex flex-wrap justify-center gap-4">
<button class="group px-10 py-5 bg-accent text-white text-sm font-bold uppercase tracking-widest rounded-xl hover:bg-white hover:text-black transition-all duration-300 flex items-center gap-3">
Start Free Trial
<span class="iconify text-lg group-hover:translate-x-1 transition-transform" data-icon="ph:arrow-right-bold"></span>
</button>
<button class="px-10 py-5 border border-white/20 text-white text-sm font-bold uppercase tracking-widest rounded-xl hover:bg-white/5 transition-all flex items-center gap-3">
<span class="iconify text-xl" data-icon="ph:calendar-blank-bold"></span>
Book Demo
</button>
</div>
<p class="mt-8 text-xs text-gray-500">
No credit card required • 1,000 free pages/month • Cancel anytime
</p>
</div>
</section>
<!-- Footer -->
<footer class="py-16 border-t border-white/5">
<div class="max-w-7xl mx-auto px-6">
<div class="grid md:grid-cols-4 gap-12 mb-12">
<div>
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-pdf-red via-pdf-orange to-accent flex items-center justify-center">
<span class="iconify text-white text-xl" data-icon="ph:file-pdf-fill"></span>
</div>
<span class="font-display font-bold text-lg">PDF<span class="text-accent">Index</span></span>
</div>
<p class="text-sm text-gray-500">Intelligent PDF indexing with HTML alternates, metadata extraction, and analytics.</p>
</div>
<div>
<h4 class="font-display font-bold mb-4">Product</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="#" class="hover:text-white transition-colors">Features</a></li>
<li><a href="#" class="hover:text-white transition-colors">Pricing</a></li>
<li><a href="#" class="hover:text-white transition-colors">API Docs</a></li>
<li><a href="#" class="hover:text-white transition-colors">Changelog</a></li>
</ul>
</div>
<div>
<h4 class="font-display font-bold mb-4">Company</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="#" class="hover:text-white transition-colors">About</a></li>
<li><a href="#" class="hover:text-white transition-colors">Blog</a></li>
<li><a href="#" class="hover:text-white transition-colors">Careers</a></li>
<li><a href="#" class="hover:text-white transition-colors">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-display font-bold mb-4">Legal</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="#" class="hover:text-white transition-colors">Privacy Policy</a></li>
<li><a href="#" class="hover:text-white transition-colors">Terms of Service</a></li>
<li><a href="#" class="hover:text-white transition-colors">GDPR</a></li>
<li><a href="#" class="hover:text-white transition-colors">Security</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-white/5 flex flex-col md:flex-row justify-between items-center gap-4">
<p class="text-xs text-gray-500">© 2024 PDFIndex. All rights reserved.</p>
<div class="flex items-center gap-4">
<a href="#" class="text-gray-500 hover:text-white transition-colors">
<span class="iconify text-xl" data-icon="ph:github-logo-fill"></span>
</a>
<a href="#" class="text-gray-500 hover:text-white transition-colors">
<span class="iconify text-xl" data-icon="ph:twitter-logo-fill"></span>
</a>
<a href="#" class="text-gray-500 hover:text-white transition-colors">
<span class="iconify text-xl" data-icon="ph:linkedin-logo-fill"></span>
</a>
</div>
</div>
</div>
</footer>
<script>
// GSAP Animations
gsap.registerPlugin(ScrollTrigger);
// Spotlight Effect
document.querySelectorAll('.spotlight-card').forEach(card => {
card.addEventListener('mousemove', (e) => {
const rect = card.getBoundingClientRect();
const x = ((e.clientX - rect.left) / rect.width) * 100;
const y = ((e.clientY - rect.top) / rect.height) * 100;
card.style.setProperty('--mouse-x', `${x}%`);
card.style.setProperty('--mouse-y', `${y}%`);
});
});
// Scroll Animations
gsap.utils.toArray('section').forEach(section => {
gsap.from(section.querySelectorAll('h2, h3, p, .spotlight-card'), {
scrollTrigger: {
trigger: section,
start: 'top 80%',
toggleActions: 'play none none reverse'
},
y: 30,
opacity: 0,
duration: 0.8,
stagger: 0.1,
ease: 'power3.out'
});
});
// Smooth Scroll
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
gsap.to(window, {
duration: 1,
scrollTo: { y: target, offsetY: 80 },
ease: 'power3.inOut'
});
}
});
});
// Counter Animation
const counters = document.querySelectorAll('.font-display.text-3xl, .font-display.text-4xl, .font-display.text-5xl');
counters.forEach(counter => {
const text = counter.innerText;
if (/^\d/.test(text)) {
const num = parseFloat(text.replace(/[^0-9.]/g, ''));
const suffix = text.replace(/[0-9.,]/g, '');
gsap.from(counter, {
scrollTrigger: {
trigger: counter,
start: 'top 90%'
},
innerText: 0,
duration: 2,
snap: { innerText: 1 },
ease: 'power1.out',
onUpdate: function() {
const current = Math.round(this.targets()[0].innerText);
if (text.includes('M')) {
counter.innerText = current + 'M+';
} else if (text.includes('%')) {
counter.innerText = current.toFixed(1) + '%';
} else if (text.includes('ms')) {
counter.innerText = '<' + current + 'ms';
} else {
counter.innerText = current.toLocaleString() + suffix;
}
}
});
}
});
</script>
</body>
</html>