Download index.html from Lokeshlov/test: direct link, hf CLI and curl.
- Browser
- Download file 68.2 kB
-
https://huggingface.co/spaces/Lokeshlov/test/resolve/main/index.html
- Command line
-
hf download hf://spaces/Lokeshlov/test/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Lokeshlov/test/resolve/main/index.html
68.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video Quality Comparator | Professional Video Analysis Tool</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #3b82f6;
--primary-dark: #2563eb;
--secondary: #8b5cf6;
--dark: #1e293b;
--light: #f8fafc;
--success: #10b981;
}
body {
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: var(--dark);
scroll-behavior: smooth;
}
.hero-gradient {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}
.video-grid {
display: grid;
grid-template-columns: 50% 50%;
position: relative;
height: 0;
padding-bottom: 56.25%;
background-color: #000;
border-radius: 0.75rem;
overflow: hidden;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.video-container {
position: absolute;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.video-container video {
width: 100%;
height: 100%;
object-fit: contain;
background-color: #000;
}
.sync-line {
position: absolute;
top: 0;
bottom: 0;
width: 2px;
background: rgba(255, 255, 255, 0.7);
z-index: 10;
cursor: col-resize;
left: 50%;
transition: all 0.2s ease;
}
.sync-line:hover, .sync-line.dragging {
background: var(--primary);
width: 4px;
}
.sync-line::after {
content: '↔';
position: absolute;
top: 10px;
left: -7px;
color: white;
background: var(--primary);
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
opacity: 0;
transition: opacity 0.2s ease;
}
.sync-line:hover::after, .sync-line.dragging::after {
opacity: 1;
}
.dropzone {
border: 2px dashed #cbd5e1;
transition: all 0.3s ease;
background-color: #fff;
}
.dropzone.active {
border-color: var(--primary);
background-color: rgba(59, 130, 246, 0.05);
}
.dropzone.has-file {
border-color: var(--success);
background-color: rgba(16, 185, 129, 0.05);
}
.progress-container {
transition: all 0.3s ease;
max-height: 0;
overflow: hidden;
}
.progress-container.visible {
max-height: 100px;
}
.progress-bar {
transition: width 0.3s ease;
}
.control-btn {
transition: all 0.2s ease;
}
.control-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.metric-card {
transition: all 0.3s ease;
background: white;
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.metric-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.tooltip {
position: relative;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.tooltip-text {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background-color: #334155;
color: #fff;
text-align: center;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
font-size: 0.75rem;
white-space: nowrap;
transition: all 0.2s ease;
margin-bottom: 0.5rem;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.3s ease forwards;
}
.feature-icon {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 24px;
margin-bottom: 1rem;
}
.timeline-canvas {
width: 100%;
height: 100px;
background-color: #f1f5f9;
border-radius: 0.5rem;
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.cta-button {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
transition: all 0.3s ease;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}
.testimonial-card {
background: white;
border-radius: 0.75rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.testimonial-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.video-grid {
padding-bottom: 100%;
}
}
</style>
</head>
<body class="min-h-screen">
<!-- Navigation -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white font-bold mr-2">
VQC
</div>
<span class="text-xl font-bold text-gray-800">VideoQuality<span class="text-blue-500">Comparator</span></span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#features" class="nav-link text-gray-600 hover:text-gray-900">Features</a>
<a href="#how-it-works" class="nav-link text-gray-600 hover:text-gray-900">How It Works</a>
<a href="#testimonials" class="nav-link text-gray-600 hover:text-gray-900">Testimonials</a>
<a href="#pricing" class="nav-link text-gray-600 hover:text-gray-900">Pricing</a>
</div>
<div class="flex items-center space-x-4">
<a href="#" class="text-gray-600 hover:text-blue-500">Login</a>
<a href="#try-now" class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">Try Now</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient py-20">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6 leading-tight">
Compare, Analyze & Improve Your <span class="text-blue-500">Video Quality</span>
</h1>
<p class="text-xl text-gray-600 mb-8 max-w-lg">
Professional video quality comparison tool that helps content creators, video engineers, and media professionals optimize their video workflows.
</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<a href="#try-now" class="cta-button text-white px-6 py-3 rounded-lg font-medium text-center">
<i class="fas fa-play mr-2"></i> Try It Free
</a>
<a href="#how-it-works" class="bg-white text-blue-500 px-6 py-3 rounded-lg font-medium border border-blue-200 hover:bg-blue-50 transition text-center">
<i class="fas fa-info-circle mr-2"></i> Learn More
</a>
</div>
<div class="mt-6 flex items-center text-gray-500">
<div class="flex -space-x-2">
<img src="https://randomuser.me/api/portraits/women/12.jpg" class="w-8 h-8 rounded-full border-2 border-white">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="w-8 h-8 rounded-full border-2 border-white">
<img src="https://randomuser.me/api/portraits/women/44.jpg" class="w-8 h-8 rounded-full border-2 border-white">
</div>
<span class="ml-3 text-sm">Trusted by 5,000+ professionals worldwide</span>
</div>
</div>
<div class="md:w-1/2">
<div class="relative">
<div class="video-grid">
<div class="video-container" id="left-video-container">
<video id="left-video" controls class="w-full h-full"></video>
</div>
<div class="video-container" id="right-video-container">
<video id="right-video" controls class="w-full h-full"></video>
</div>
<div id="sync-line" class="sync-line hidden"></div>
</div>
<div class="absolute -bottom-4 -left-4 w-24 h-24 bg-blue-400 rounded-full opacity-20 z-0"></div>
<div class="absolute -top-4 -right-4 w-32 h-32 bg-purple-400 rounded-full opacity-20 z-0"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Trusted By -->
<section class="py-12 bg-gray-50">
<div class="container mx-auto px-4">
<p class="text-center text-gray-500 mb-8">TRUSTED BY INDUSTRY LEADERS</p>
<div class="flex flex-wrap justify-center items-center gap-8 md:gap-16 opacity-60">
<img src="https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg" class="h-8">
<img src="https://upload.wikimedia.org/wikipedia/commons/e/e4/Disney%2B_logo.svg" class="h-8">
<img src="https://upload.wikimedia.org/wikipedia/commons/7/77/Google_YouTube_logo_%282015-2017%29.svg" class="h-8">
<img src="https://upload.wikimedia.org/wikipedia/commons/1/1b/Apple_logo_grey.svg" class="h-8">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/69/Amazon_Prime_Logo.svg" class="h-8">
</div>
</div>
</section>
<!-- Features -->
<section id="features" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Powerful Features for Video Professionals</h2>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Everything you need to analyze, compare and optimize your video quality
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-blue-100 text-blue-500">
<i class="fas fa-columns"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Side-by-Side Comparison</h3>
<p class="text-gray-600">
Visually compare original and processed videos with adjustable split-screen and sync controls.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-purple-100 text-purple-500">
<i class="fas fa-chart-line"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Objective Quality Metrics</h3>
<p class="text-gray-600">
Get precise measurements with PSNR, SSIM, VMAF and other industry-standard metrics.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-green-100 text-green-500">
<i class="fas fa-sliders-h"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Frame-by-Frame Analysis</h3>
<p class="text-gray-600">
Pinpoint quality issues with detailed timeline visualization and frame-level inspection.
</p>
</div>
<!-- Feature 4 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-red-100 text-red-500">
<i class="fas fa-file-export"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Exportable Reports</h3>
<p class="text-gray-600">
Generate comprehensive reports with visual comparisons and metric data for presentations.
</p>
</div>
<!-- Feature 5 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-yellow-100 text-yellow-500">
<i class="fas fa-bolt"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Real-time Processing</h3>
<p class="text-gray-600">
Fast processing even for 4K and 8K videos with our optimized analysis engine.
</p>
</div>
<!-- Feature 6 -->
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition">
<div class="feature-icon bg-indigo-100 text-indigo-500">
<i class="fas fa-users"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Team Collaboration</h3>
<p class="text-gray-600">
Share comparisons with team members and collaborate on quality optimization.
</p>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section id="how-it-works" class="py-20 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">How It Works</h2>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Simple steps to compare and analyze your video quality
</p>
</div>
<div class="flex flex-col md:flex-row items-center mb-16">
<div class="md:w-1/2 mb-8 md:mb-0">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center text-white font-bold mr-4">1</div>
<h3 class="text-xl font-bold text-gray-800">Upload Your Videos</h3>
</div>
<p class="text-gray-600 mb-4">
Drag and drop your original and processed video files. We support all major video formats up to 8K resolution.
</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="bg-white rounded-lg p-4 border border-gray-200">
<div class="flex items-center mb-2">
<i class="fas fa-film text-blue-500 mr-2"></i>
<span class="font-medium">Original Video</span>
</div>
<div id="left-dropzone" class="dropzone rounded-lg p-4 text-center cursor-pointer h-32 flex items-center justify-center">
<div>
<i class="fas fa-cloud-upload-alt text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-500">Drag & drop here</p>
</div>
<input type="file" id="left-file" class="hidden" accept="video/*">
</div>
</div>
<div class="bg-white rounded-lg p-4 border border-gray-200">
<div class="flex items-center mb-2">
<i class="fas fa-magic text-purple-500 mr-2"></i>
<span class="font-medium">Processed Video</span>
</div>
<div id="right-dropzone" class="dropzone rounded-lg p-4 text-center cursor-pointer h-32 flex items-center justify-center">
<div>
<i class="fas fa-cloud-upload-alt text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-500">Drag & drop here</p>
</div>
<input type="file" id="right-file" class="hidden" accept="video/*">
</div>
</div>
</div>
</div>
</div>
<div class="md:w-1/2 md:pl-12">
<img src="https://images.unsplash.com/photo-1558002038-1055907df827?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" class="rounded-xl shadow-md w-full">
</div>
</div>
<div class="flex flex-col md:flex-row-reverse items-center mb-16">
<div class="md:w-1/2 mb-8 md:mb-0">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center text-white font-bold mr-4">2</div>
<h3 class="text-xl font-bold text-gray-800">Compare Visually</h3>
</div>
<p class="text-gray-600 mb-4">
Use our intuitive comparison tools to analyze differences between your videos.
</p>
<div class="relative">
<div class="video-grid">
<div class="video-container" id="left-video-container-demo">
<video id="left-video-demo" controls class="w-full h-full"></video>
</div>
<div class="video-container" id="right-video-container-demo">
<video id="right-video-demo" controls class="w-full h-full"></video>
</div>
<div id="sync-line-demo" class="sync-line"></div>
</div>
<div class="mt-4 flex justify-between">
<span class="text-sm text-gray-600">Original</span>
<span class="text-sm text-gray-600">Processed</span>
</div>
<input type="range" min="0" max="100" value="50" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer" id="comparison-slider-demo">
</div>
</div>
</div>
<div class="md:w-1/2 md:pr-12">
<h3 class="text-2xl font-bold text-gray-800 mb-4">Precision Visual Comparison</h3>
<p class="text-gray-600 mb-6">
Our side-by-side comparison tool with adjustable split-screen allows you to visually inspect every detail of your videos. The sync feature ensures both videos play simultaneously for accurate comparison.
</p>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Adjustable split-screen divider</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Frame-perfect synchronization</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Zoom and pan controls</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Frame-by-frame navigation</span>
</li>
</ul>
</div>
</div>
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center text-white font-bold mr-4">3</div>
<h3 class="text-xl font-bold text-gray-800">Analyze Quality Metrics</h3>
</div>
<p class="text-gray-600 mb-4">
Get objective measurements of video quality differences with industry-standard metrics.
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="metric-card bg-blue-50 p-4 rounded-lg border border-blue-100">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-blue-800 mb-2">PSNR</h3>
<p class="text-xs text-blue-600 mb-1">Peak Signal-to-Noise Ratio</p>
</div>
<div class="tooltip">
<i class="fas fa-info-circle text-blue-300"></i>
<span class="tooltip-text">Measures pixel difference between videos</span>
</div>
</div>
<p class="text-2xl font-bold text-blue-600 mt-2">42.5 <span class="text-sm">dB</span></p>
<div class="mt-2 h-1 w-full bg-blue-200 rounded-full overflow-hidden">
<div class="h-full bg-blue-500" style="width: 62.5%"></div>
</div>
<p class="text-xs text-blue-500 mt-1">Higher is better (∞ dB is perfect)</p>
</div>
<div class="metric-card bg-purple-50 p-4 rounded-lg border border-purple-100">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-purple-800 mb-2">SSIM</h3>
<p class="text-xs text-purple-600 mb-1">Structural Similarity</p>
</div>
<div class="tooltip">
<i class="fas fa-info-circle text-purple-300"></i>
<span class="tooltip-text">Measures structural similarity between videos</span>
</div>
</div>
<p class="text-2xl font-bold text-purple-600 mt-2">0.92</p>
<div class="mt-2 h-1 w-full bg-purple-200 rounded-full overflow-hidden">
<div class="h-full bg-purple-500" style="width: 92%"></div>
</div>
<p class="text-xs text-purple-500 mt-1">Closer to 1 is better</p>
</div>
<div class="metric-card bg-green-50 p-4 rounded-lg border border-green-100">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium text-green-800 mb-2">VMAF</h3>
<p class="text-xs text-green-600 mb-1">Video Multi-method Assessment</p>
</div>
<div class="tooltip">
<i class="fas fa-info-circle text-green-300"></i>
<span class="tooltip-text">Perceptual quality metric developed by Netflix</span>
</div>
</div>
<p class="text-2xl font-bold text-green-600 mt-2">87</p>
<div class="mt-2 h-1 w-full bg-green-200 rounded-full overflow-hidden">
<div class="h-full bg-green-500" style="width: 87%"></div>
</div>
<p class="text-xs text-green-500 mt-1">0-100 scale (100 is perfect)</p>
</div>
</div>
</div>
</div>
<div class="md:w-1/2 md:pl-12">
<h3 class="text-2xl font-bold text-gray-800 mb-4">Objective Quality Analysis</h3>
<p class="text-gray-600 mb-6">
Go beyond visual inspection with our comprehensive quality metrics that provide objective measurements of video quality differences. Our analysis includes:
</p>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-lg mr-4">
<i class="fas fa-wave-square text-blue-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">PSNR (Peak Signal-to-Noise Ratio)</h4>
<p class="text-gray-600 text-sm">Measures pixel-level differences between original and processed video</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-100 p-2 rounded-lg mr-4">
<i class="fas fa-project-diagram text-purple-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">SSIM (Structural Similarity)</h4>
<p class="text-gray-600 text-sm">Assesses structural similarity accounting for human visual perception</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-lg mr-4">
<i class="fas fa-eye text-green-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">VMAF (Video Multi-method Assessment)</h4>
<p class="text-gray-600 text-sm">Netflix's perceptual quality metric combining multiple algorithms</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section id="testimonials" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">What Our Customers Say</h2>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Professionals from leading companies trust our video quality comparison tool
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="testimonial-card p-8">
<div class="flex items-center mb-6">
<img src="https://randomuser.me/api/portraits/women/32.jpg" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">Sarah Johnson</h4>
<p class="text-gray-500 text-sm">Video Engineer at Netflix</p>
</div>
</div>
<p class="text-gray-600 mb-6">
"This tool has become an essential part of our quality control workflow. The side-by-side comparison with metrics helps us optimize our encoding settings with confidence."
</p>
<div class="flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
</div>
</div>
<!-- Testimonial 2 -->
<div class="testimonial-card p-8">
<div class="flex items-center mb-6">
<img src="https://randomuser.me/api/portraits/men/54.jpg" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">Michael Chen</h4>
<p class="text-gray-500 text-sm">CTO at Streamify</p>
</div>
</div>
<p class="text-gray-600 mb-6">
"The frame-by-frame analysis capabilities saved us weeks of manual work. We can now quickly identify quality issues in our video pipeline before they reach customers."
</p>
<div class="flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
</div>
</div>
<!-- Testimonial 3 -->
<div class="testimonial-card p-8">
<div class="flex items-center mb-6">
<img src="https://randomuser.me/api/portraits/women/68.jpg" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">Emma Rodriguez</h4>
<p class="text-gray-500 text-sm">Content Producer at YouTube</p>
</div>
</div>
<p class="text-gray-600 mb-6">
"As a content creator, I need to ensure my videos look perfect across all platforms. This tool helps me verify quality after compression and make adjustments as needed."
</p>
<div class="flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star-half-alt text-yellow-400"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing -->
<section id="pricing" class="py-20 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Simple, Transparent Pricing</h2>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Choose the plan that fits your needs
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
<!-- Free Plan -->
<div class="bg-white p-8 rounded-xl shadow-sm border border-gray-200">
<h3 class="text-xl font-bold text-gray-800 mb-2">Free</h3>
<p class="text-gray-600 mb-6">For individuals and small projects</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-800">$0</span>
<span class="text-gray-500">/month</span>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Basic comparison tools</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Up to 1080p resolution</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">5 minute max video length</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Limited metrics (PSNR only)</span>
</li>
</ul>
<a href="#try-now" class="block w-full bg-gray-100 text-gray-800 py-3 rounded-lg text-center font-medium hover:bg-gray-200 transition">
Get Started
</a>
</div>
<!-- Pro Plan -->
<div class="bg-white p-8 rounded-xl shadow-md border-2 border-blue-500 relative">
<div class="absolute top-0 right-0 bg-blue-500 text-white px-3 py-1 text-xs font-bold rounded-bl-lg rounded-tr-lg">
MOST POPULAR
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Professional</h3>
<p class="text-gray-600 mb-6">For video professionals and small teams</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-800">$29</span>
<span class="text-gray-500">/month</span>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Advanced comparison tools</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Up to 4K resolution</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">30 minute max video length</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">All quality metrics (PSNR, SSIM, VMAF)</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Exportable reports</span>
</li>
</ul>
<a href="#try-now" class="block w-full bg-blue-500 text-white py-3 rounded-lg text-center font-medium hover:bg-blue-600 transition">
Start Free Trial
</a>
</div>
<!-- Enterprise Plan -->
<div class="bg-white p-8 rounded-xl shadow-sm border border-gray-200">
<h3 class="text-xl font-bold text-gray-800 mb-2">Enterprise</h3>
<p class="text-gray-600 mb-6">For large teams and organizations</p>
<div class="mb-6">
<span class="text-4xl font-bold text-gray-800">$99</span>
<span class="text-gray-500">/month</span>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">All Professional features</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Up to 8K resolution</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Unlimited video length</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Team collaboration</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">Priority support</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span class="text-gray-700">API access</span>
</li>
</ul>
<a href="#try-now" class="block w-full bg-gray-100 text-gray-800 py-3 rounded-lg text-center font-medium hover:bg-gray-200 transition">
Contact Sales
</a>
</div>
</div>
</div>
</section>
<!-- Try Now -->
<section id="try-now" class="py-20 bg-gradient-to-r from-blue-500 to-purple-600">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-xl overflow-hidden">
<div class="md:flex">
<div class="md:w-1/2 p-8 md:p-12">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Try VideoQualityComparator Now</h2>
<p class="text-gray-600 mb-8">
Upload your videos and start comparing quality in seconds. No credit card required.
</p>
<div class="grid grid-cols-1 gap-6">
<div class="bg-white rounded-lg p-4 border border-gray-200">
<div class="flex items-center mb-2">
<i class="fas fa-film text-blue-500 mr-2"></i>
<span class="font-medium">Original Video</span>
</div>
<div id="left-dropzone-try" class="dropzone rounded-lg p-4 text-center cursor-pointer h-32 flex items-center justify-center">
<div>
<i class="fas fa-cloud-upload-alt text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-500">Drag & drop here</p>
</div>
<input type="file" id="left-file-try" class="hidden" accept="video/*">
</div>
</div>
<div class="bg-white rounded-lg p-4 border border-gray-200">
<div class="flex items-center mb-2">
<i class="fas fa-magic text-purple-500 mr-2"></i>
<span class="font-medium">Processed Video</span>
</div>
<div id="right-dropzone-try" class="dropzone rounded-lg p-4 text-center cursor-pointer h-32 flex items-center justify-center">
<div>
<i class="fas fa-cloud-upload-alt text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-500">Drag & drop here</p>
</div>
<input type="file" id="right-file-try" class="hidden" accept="video/*">
</div>
</div>
<button id="compare-btn" class="bg-blue-500 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-600 transition flex items-center justify-center">
<i class="fas fa-columns mr-2"></i> Compare Videos
</button>
</div>
</div>
<div class="md:w-1/2 bg-gray-50 p-8 md:p-12 flex items-center">
<div>
<h3 class="text-xl font-bold text-gray-800 mb-4">Why professionals choose us</h3>
<ul class="space-y-4">
<li class="flex items-start">
<div class="bg-blue-100 p-2 rounded-lg mr-4">
<i class="fas fa-bolt text-blue-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Fast Processing</h4>
<p class="text-gray-600 text-sm">Optimized for quick analysis even with large video files</p>
</div>
</li>
<li class="flex items-start">
<div class="bg-purple-100 p-2 rounded-lg mr-4">
<i class="fas fa-lock text-purple-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Secure & Private</h4>
<p class="text-gray-600 text-sm">Your videos are processed locally and never uploaded</p>
</div>
</li>
<li class="flex items-start">
<div class="bg-green-100 p-2 rounded-lg mr-4">
<i class="fas fa-chart-line text-green-500"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Accurate Metrics</h4>
<p class="text-gray-600 text-sm">Industry-standard quality metrics you can trust</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section class="py-20 bg-white">
<div class="container mx-auto px-4 max-w-4xl">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Frequently Asked Questions</h2>
<p class="text-xl text-gray-600">
Everything you need to know about VideoQualityComparator
</p>
</div>
<div class="space-y-6">
<!-- FAQ Item 1 -->
<div class="bg-gray-50 rounded-xl p-6">
<button class="flex justify-between items-center w-full text-left">
<h3 class="text-lg font-medium text-gray-800">What video formats do you support?</h3>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="mt-4 text-gray-600">
We support all major video formats including MP4, MOV, AVI, MKV, and WebM. Our tool works with H.264, H.265 (HEVC), VP9, and AV1 codecs. For a complete list of supported formats, please check our documentation.
</div>
</div>
<!-- FAQ Item 2 -->
<div class="bg-gray-50 rounded-xl p-6">
<button class="flex justify-between items-center w-full text-left">
<h3 class="text-lg font-medium text-gray-800">Is there a limit to video size or length?</h3>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="mt-4 text-gray-600">
The free plan has a 5-minute limit per video and 1080p maximum resolution. Professional plan supports up to 30 minutes and 4K resolution. Enterprise plan has no limits on length and supports up to 8K resolution.
</div>
</div>
<!-- FAQ Item 3 -->
<div class="bg-gray-50 rounded-xl p-6">
<button class="flex justify-between items-center w-full text-left">
<h3 class="text-lg font-medium text-gray-800">How does the video processing work?</h3>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="mt-4 text-gray-600">
All processing happens locally in your browser. Your videos are never uploaded to our servers, ensuring complete privacy and security. The analysis is performed using WebAssembly for optimal performance.
</div>
</div>
<!-- FAQ Item 4 -->
<div class="bg-gray-50 rounded-xl p-6">
<button class="flex justify-between items-center w-full text-left">
<h3 class="text-lg font-medium text-gray-800">Can I share my comparisons with others?</h3>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="mt-4 text-gray-600">
Yes! With Professional and Enterprise plans, you can generate shareable links or export comprehensive PDF reports with your comparison results and quality metrics.
</div>
</div>
<!-- FAQ Item 5 -->
<div class="bg-gray-50 rounded-xl p-6">
<button class="flex justify-between items-center w-full text-left">
<h3 class="text-lg font-medium text-gray-800">Do you offer team or enterprise plans?</h3>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="mt-4 text-gray-600">
Absolutely. Our Enterprise plan includes team collaboration features, centralized billing, priority support, and API access. Contact our sales team for custom enterprise solutions with volume discounts.
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white font-bold mr-2">
VQC
</div>
<span class="text-xl font-bold">VideoQuality<span class="text-blue-400">Comparator</span></span>
</div>
<p class="text-gray-400 mb-4">
Professional video quality comparison tool for content creators, video engineers, and media professionals.
</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-github"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Use Cases</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Integrations</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Updates</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Community</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Support</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Legal</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">
© 2023 VideoQualityComparator. All rights reserved.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a>
</div>
</div>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
// DOM elements
const leftDropzone = document.getElementById('left-dropzone');
const rightDropzone = document.getElementById('right-dropzone');
const leftFileInput = document.getElementById('left-file');
const rightFileInput = document.getElementById('right-file');
const leftDropzoneTry = document.getElementById('left-dropzone-try');
const rightDropzoneTry = document.getElementById('right-dropzone-try');
const leftFileInputTry = document.getElementById('left-file-try');
const rightFileInputTry = document.getElementById('right-file-try');
const compareBtn = document.getElementById('compare-btn');
const leftVideo = document.getElementById('left-video');
const rightVideo = document.getElementById('right-video');
const leftVideoDemo = document.getElementById('left-video-demo');
const rightVideoDemo = document.getElementById('right-video-demo');
const syncLine = document.getElementById('sync-line');
const syncLineDemo = document.getElementById('sync-line-demo');
const comparisonSlider = document.getElementById('comparison-slider-demo');
// Variables
let leftVideoFile = null;
let rightVideoFile = null;
let isDragging = false;
// Initialize
setupDropzones();
setupDemoVideo();
function setupDropzones() {
// Setup dropzone event listeners for both sections
setupDropzone(leftDropzone, leftFileInput);
setupDropzone(rightDropzone, rightFileInput);
setupDropzone(leftDropzoneTry, leftFileInputTry);
setupDropzone(rightDropzoneTry, rightFileInputTry);
// File input change handlers
leftFileInput.addEventListener('change', (e) => handleFileSelect(e, 'left'));
rightFileInput.addEventListener('change', (e) => handleFileSelect(e, 'right'));
leftFileInputTry.addEventListener('change', (e) => handleFileSelect(e, 'left-try'));
rightFileInputTry.addEventListener('change', (e) => handleFileSelect(e, 'right-try'));
// Compare button
compareBtn.addEventListener('click', function() {
if (leftVideoFile && rightVideoFile) {
// Scroll to comparison section
document.getElementById('how-it-works').scrollIntoView({ behavior: 'smooth' });
// Simulate loading
setTimeout(() => {
// Show videos in demo comparison
const leftURL = URL.createObjectURL(leftVideoFile);
const rightURL = URL.createObjectURL(rightVideoFile);
leftVideoDemo.src = leftURL;
rightVideoDemo.src = rightURL;
// Show sync line
syncLineDemo.classList.remove('hidden');
// Show success message
alert('Videos loaded successfully! Use the slider to compare them side by side.');
}, 1000);
} else {
alert('Please upload both videos first');
}
});
}
function setupDropzone(dropzone, fileInput) {
dropzone.addEventListener('click', () => fileInput.click());
dropzone.addEventListener('dragover', (e) => {
e.preventDefault();
dropzone.classList.add('active');
});
dropzone.addEventListener('dragleave', () => {
dropzone.classList.remove('active');
});
dropzone.addEventListener('drop', (e) => {
e.preventDefault();
dropzone.classList.remove('active');
if (e.dataTransfer.files.length) {
fileInput.files = e.dataTransfer.files;
const event = new Event('change');
fileInput.dispatchEvent(event);
}
});
}
function handleFileSelect(event, side) {
const file = event.target.files[0];
if (!file || !file.type.includes('video')) {
alert('Please select a valid video file');
return;
}
// Update UI
let dropzone, filename;
if (side === 'left') {
dropzone = leftDropzone;
filename = 'left-filename';
leftVideoFile = file;
} else if (side === 'right') {
dropzone = rightDropzone;
filename = 'right-filename';
rightVideoFile = file;
} else if (side === 'left-try') {
dropzone = leftDropzoneTry;
leftVideoFile = file;
} else if (side === 'right-try') {
dropzone = rightDropzoneTry;
rightVideoFile = file;
}
dropzone.innerHTML = `
<div class="flex items-center justify-center p-2">
<i class="fas fa-file-video text-2xl ${side.includes('left') ? 'text-blue-500' : 'text-purple-500'} mr-3"></i>
<div class="text-left">
<p class="font-medium text-gray-700 truncate max-w-xs">${file.name}</p>
<p class="text-xs text-gray-500">${formatFileSize(file.size)}</p>
</div>
</div>
`;
dropzone.classList.add('has-file');
// If in try section, update button text
if (side.includes('try') && leftVideoFile && rightVideoFile) {
compareBtn.innerHTML = '<i class="fas fa-columns mr-2"></i> Compare Videos';
}
}
function setupDemoVideo() {
// Load demo videos
leftVideoDemo.src = 'https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4';
rightVideoDemo.src = 'https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4';
// Sync line drag events
syncLineDemo.addEventListener('mousedown', startDrag);
document.addEventListener('mousemove', drag);
document.addEventListener('mouseup', endDrag);
// Comparison slider
comparisonSlider.addEventListener('input', function() {
const percentage = this.value;
syncLineDemo.style.left = `${percentage}%`;
document.documentElement.style.setProperty('--left-width', `${percentage}%`);
document.documentElement.style.setProperty('--right-width', `${100 - percentage}%`);
});
}
function startDrag(e) {
isDragging = true;
syncLineDemo.classList.add('dragging');
document.body.style.cursor = 'col-resize';
e.preventDefault();
}
function drag(e) {
if (!isDragging) return;
const container = document.querySelector('.video-grid').getBoundingClientRect();
let x = e.clientX - container.left;
// Keep within bounds
x = Math.max(0, Math.min(x, container.width));
// Update sync line position
syncLineDemo.style.left = `${x}px`;
comparisonSlider.value = (x / container.width) * 100;
// Update video widths for comparison
const percentage = (x / container.width) * 100;
document.documentElement.style.setProperty('--left-width', `${percentage}%`);
document.documentElement.style.setProperty('--right-width', `${100 - percentage}%`);
}
function endDrag() {
isDragging = false;
syncLineDemo.classList.remove('dragging');
document.body.style.cursor = '';
}
function formatFileSize(bytes) {
if (bytes === 0) return '0 Bytes';
const k = 1024;
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
const i = Math.floor(Math.log(bytes) / Math.log(k));
return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
}
// FAQ accordion functionality
const faqButtons = document.querySelectorAll('.bg-gray-50.rounded-xl button');
faqButtons.forEach(button => {
button.addEventListener('click', function() {
const content = this.nextElementSibling;
const icon = this.querySelector('i');
if (content.style.maxHeight) {
content.style.maxHeight = null;
icon.style.transform = 'rotate(0deg)';
} else {
content.style.maxHeight = content.scrollHeight + 'px';
icon.style.transform = 'rotate(180deg)';
}
});
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
targetElement.scrollIntoView({
behavior: 'smooth'
});
}
});
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Lokeshlov/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video Quality Comparator | Professional Video Analysis Tool</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #3b82f6;
--primary-dark: #2563eb;
--secondary: #8b5cf6;
--dark: #1e293b;
--light: #f8fafc;
--success: #10b981;
}
body {
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: var(--dark);
scroll-behavior: smooth;
}
.hero-gradient {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}
.video-grid {
display: grid;
grid-template-columns: 50% 50%;
position: relative;
height: 0;
padding-bottom: 56.25%;
background-color: #000;
border-radius: 0.75rem;
overflow: hidden;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.video-container {
position: absolute;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.video-container video {
width: 100%;
height: 100%;
object-fit: contain;
background-color: #000;
}
.sync-line {
position: absolute;
top: 0;
bottom: 0;
width: 2px;
background: rgba(255, 255, 255, 0.7);
z-index: 10;
cursor: col-resize;
left: 50%;
transition: all 0.2s ease;
}
.sync-line:hover, .sync-line.dragging {
background: var(--primary);
width: 4px;
}
.sync-line::after {
content: '↔';
position: absolute;
top: 10px;
left: -7px;
color: white;
background: var(--primary);
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
opacity: 0;
transition: opacity 0.2s ease;
}
.sync-line:hover::after, .sync-line.dragging::after {
opacity: 1;
}
.dropzone {
border: 2px dashed #cbd5e1;
transition: all 0.3s ease;