{% extends "base.html" %}

{% block content %}
<!-- Hero Section with Terminal-First Design -->
<section id="hero" class="min-h-screen flex items-center justify-center px-4 sm:px-6 relative overflow-hidden">
    <!-- Animated background pattern -->
    <div class="absolute inset-0 opacity-10">
        <div class="absolute inset-0" style="background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);"></div>
    </div>
    
    <div class="container mx-auto relative">
        <div class="grid lg:grid-cols-2 gap-12 items-center">
            <!-- Left side - Text content -->
            <div>
                <div class="inline-block px-3 py-1 bg-emerald-500/20 border border-emerald-500/30 rounded-full text-emerald-400 text-sm mb-6">
                    🚀 File management reimagined
                </div>
                <h1 class="text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold mb-6 leading-tight">
                    File Operations as
                    <span class="bg-gradient-to-r from-emerald-400 via-teal-400 to-cyan-400 bg-clip-text text-transparent">Code</span>
                </h1>
                <p class="text-lg sm:text-xl text-gray-400 mb-8 leading-relaxed">
                    Stop clicking through dialogs. Start editing file operations like text. 
                    Review changes before they happen. Apply with confidence.
                </p>
                
                <div class="flex flex-wrap gap-4 mb-8">
                    <div class="flex items-center gap-2 text-gray-400">
                        <svg class="w-5 h-5 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                        </svg>
                        <span>No accidental deletions</span>
                    </div>
                    <div class="flex items-center gap-2 text-gray-400">
                        <svg class="w-5 h-5 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                        </svg>
                        <span>Batch operations</span>
                    </div>
                    <div class="flex items-center gap-2 text-gray-400">
                        <svg class="w-5 h-5 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                        </svg>
                        <span>Editor integration</span>
                    </div>
                </div>
                
                <div class="flex flex-col sm:flex-row gap-4">
                    <a href="#installation" class="bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white font-semibold py-3 px-6 rounded-lg transition-all duration-200 inline-flex items-center justify-center shadow-lg shadow-emerald-500/25">
                        Install noil
                        <svg class="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
                        </svg>
                    </a>
                    <a href="#workflow" class="bg-zinc-800 hover:bg-zinc-700 text-gray-300 font-semibold py-3 px-6 rounded-lg transition-colors duration-200 inline-flex items-center justify-center border border-zinc-700">
                        See it in action
                        <svg class="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path>
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                        </svg>
                    </a>
                </div>
            </div>
            
            <!-- Right side - Demo -->
            <div class="relative">
                <div class="absolute -inset-4 bg-gradient-to-r from-emerald-500/20 to-teal-500/20 rounded-2xl blur-2xl"></div>
                <img src="/static/img/noil-demo.gif" alt="noil demo" class="relative rounded-xl border border-zinc-800 shadow-2xl w-full">
            </div>
        </div>
    </div>
</section>

<!-- Workflow Visualization Section -->
<section id="workflow" class="py-20 px-4 sm:px-6 bg-gradient-to-b from-zinc-950 to-zinc-900">
    <div class="container mx-auto">
        <div class="text-center mb-16">
            <h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
                The <span class="text-emerald-400">noil</span> Workflow
            </h2>
            <p class="text-lg text-gray-400 max-w-2xl mx-auto">
                Three simple steps to fearless file management
            </p>
        </div>
        
        <div class="max-w-5xl mx-auto">
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Step 1 -->
                <div class="relative">
                    <div class="bg-zinc-800/50 backdrop-blur border border-zinc-700 rounded-xl p-6 hover:border-emerald-500/50 transition-colors">
                        <div class="w-12 h-12 bg-emerald-500/20 rounded-xl flex items-center justify-center mb-4">
                            <span class="text-2xl font-bold text-emerald-400">1</span>
                        </div>
                        <h3 class="text-xl font-bold mb-3 text-white">Preview & Tag</h3>
                        <p class="text-gray-400 mb-4">
                            Generate tags for your files. Each file gets a unique short identifier.
                        </p>
                        <div class="bg-zinc-900 rounded-lg p-3 font-mono text-sm">
                            <div class="text-emerald-400">$ noil .</div>
                            <div class="text-gray-500 mt-2"><pre>a : /etc/nginx</pre></div>
                            <div class="text-gray-500">     <pre>d : /tmp/old.txt</pre></div>
                            <div class="text-gray-500">     <pre>x : /var/logs</pre></div>
                        </div>
                    </div>
                    <div class="hidden md:block absolute top-1/2 -right-4 transform -translate-y-1/2">
                        <svg class="w-8 h-8 text-zinc-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                        </svg>
                    </div>
                </div>
                
                <!-- Step 2 -->
                <div class="relative">
                    <div class="bg-zinc-800/50 backdrop-blur border border-zinc-700 rounded-xl p-6 hover:border-teal-500/50 transition-colors">
                        <div class="w-12 h-12 bg-teal-500/20 rounded-xl flex items-center justify-center mb-4">
                            <span class="text-2xl font-bold text-teal-400">2</span>
                        </div>
                        <h3 class="text-xl font-bold mb-3 text-white">Edit Operations</h3>
                        <p class="text-gray-400 mb-4">
                            Edit operations in your $EDITOR. Use tags to reference files.
                        </p>
                        <div class="bg-zinc-900 rounded-lg p-3 font-mono text-sm">
                            <div class="text-teal-400">$ noil edit .</div>
                            <div class="text-gray-500 mt-2"><pre>COPY   a : /tmp/nginx-backup</pre></div>
                            <div class="text-gray-500">     <pre>MOVE   d : /tmp/new.txt</pre></div>
                            <div class="text-gray-500">     <pre>DELETE x : /var/logs</pre></div>
                        </div>
                    </div>
                    <div class="hidden md:block absolute top-1/2 -right-4 transform -translate-y-1/2">
                        <svg class="w-8 h-8 text-zinc-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                        </svg>
                    </div>
                </div>
                
                <!-- Step 3 -->
                <div class="relative">
                    <div class="bg-zinc-800/50 backdrop-blur border border-zinc-700 rounded-xl p-6 hover:border-cyan-500/50 transition-colors">
                        <div class="w-12 h-12 bg-cyan-500/20 rounded-xl flex items-center justify-center mb-4">
                            <span class="text-2xl font-bold text-cyan-400">3</span>
                        </div>
                        <h3 class="text-xl font-bold mb-3 text-white">Apply Changes</h3>
                        <p class="text-gray-400 mb-4">
                            Confirm and execute. Nothing happens until you explicitly apply.
                        </p>
                        <div class="bg-zinc-900 rounded-lg p-3 font-mono text-sm">
                            <div class="text-cyan-400">$ cat operations.noil | noil apply</div>
                            <div class="text-gray-500 mt-2">Apply changes? [y/N]</div>
                            <div class="text-emerald-400">✓ All operations completed</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Use Cases Section -->
<section class="py-20 px-4 sm:px-6 bg-zinc-950">
    <div class="container mx-auto">
        <div class="text-center mb-16">
            <h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
                Perfect for <span class="bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent">Real Work</span>
            </h2>
            <p class="text-lg text-gray-400 max-w-2xl mx-auto">
                From simple renames to complex reorganizations
            </p>
        </div>
        
        <div class="grid md:grid-cols-2 gap-8 max-w-6xl mx-auto">
            <!-- Use Case 1 -->
            <div class="bg-gradient-to-br from-emerald-500/10 to-transparent border border-emerald-500/20 rounded-2xl p-8">
                <div class="flex items-center gap-3 mb-4">
                    <div class="w-10 h-10 bg-emerald-500/20 rounded-lg flex items-center justify-center">
                        <svg class="w-6 h-6 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"></path>
                        </svg>
                    </div>
                    <h3 class="text-2xl font-bold">Project Reorganization</h3>
                </div>
                <p class="text-gray-400 mb-6">
                    Restructure entire projects with confidence. Move hundreds of files, create new directories, and clean up old ones—all in one reviewed operation.
                </p>
                <div class="bg-zinc-900/50 rounded-lg p-4 font-mono text-sm">
                    <div class="text-gray-400"># Reorganize project structure</div>

                    <div class=""><pre>a         : src/ui</pre></div>
                    <div class=""><pre>d         : src/lib/utils</pre></div>
                    <div class=""><pre>z         : .env.backup</pre></div>
                    <div class=""><pre>p         : ./dist-old</pre></div>
                    <div class="text-emerald-400"><pre>MOVE a    : src/ui</pre></div>
                    <div class="text-emerald-400"><pre>MOVE d    : src/lib/utils</pre></div>
                    <div class="text-emerald-400"><pre>COPY z    : .env.backup</pre></div>
                    <div class="text-emerald-400"><pre>DELETE p  : ./dist-old</pre></div>
                </div>
            </div>
            
            <!-- Use Case 2 -->
            <div class="bg-gradient-to-br from-teal-500/10 to-transparent border border-teal-500/20 rounded-2xl p-8">
                <div class="flex items-center gap-3 mb-4">
                    <div class="w-10 h-10 bg-teal-500/20 rounded-lg flex items-center justify-center">
                        <svg class="w-6 h-6 text-teal-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4"></path>
                        </svg>
                    </div>
                    <h3 class="text-2xl font-bold">Backup Management</h3>
                </div>
                <p class="text-gray-400 mb-6">
                    Create sophisticated backup strategies. Copy critical files, archive old versions, and maintain clean working directories with scripted precision.
                </p>
                <div class="bg-zinc-900/50 rounded-lg p-4 font-mono text-sm">
                    <div class="text-gray-400"># Weekly backup routine</div>

                    <div class=""><pre>db        : /var/backups/database</pre></div>
                    <div class=""><pre>logs      : /var/log/app</pre></div>
                    <div class="text-teal-400"><pre>COPY db   : /backup/db-$(date)</pre></div>
                    <div class="text-teal-400"><pre>MOVE logs : /archive/logs/</pre></div>
                </div>
            </div>
            
            <!-- Use Case 3 -->
            <div class="bg-gradient-to-br from-cyan-500/10 to-transparent border border-cyan-500/20 rounded-2xl p-8">
                <div class="flex items-center gap-3 mb-4">
                    <div class="w-10 h-10 bg-cyan-500/20 rounded-lg flex items-center justify-center">
                        <svg class="w-6 h-6 text-cyan-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path>
                        </svg>
                    </div>
                    <h3 class="text-2xl font-bold">Batch Renaming</h3>
                </div>
                <p class="text-gray-400 mb-6">
                    Rename multiple files with patterns and logic. Perfect for organizing downloads, photos, or any collection of files that need systematic naming.
                </p>
                <div class="bg-zinc-900/50 rounded-lg p-4 font-mono text-sm">
                    <div class="text-gray-400"># Rename photo collection</div>

                    <div class=""><pre>1a        : IMG_001.jpg</pre></div>
                    <div class=""><pre>2b        : IMG_002.jpg</pre></div>
                    <div class="text-cyan-400"><pre>MOVE 1a   : vacation-001.jpg</pre></div>
                    <div class="text-cyan-400"><pre>MOVE 2b   : vacation-002.jpg</pre></div>
                </div>
            </div>
            
            <!-- Use Case 4 -->
            <div class="bg-gradient-to-br from-purple-500/10 to-transparent border border-purple-500/20 rounded-2xl p-8">
                <div class="flex items-center gap-3 mb-4">
                    <div class="w-10 h-10 bg-purple-500/20 rounded-lg flex items-center justify-center">
                        <svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"></path>
                        </svg>
                    </div>
                    <h3 class="text-2xl font-bold">Safe Cleanup</h3>
                </div>
                <p class="text-gray-400 mb-6">
                    Clean up directories with confidence. Preview what will be deleted, ensure important files are backed up, then execute the cleanup safely.
                </p>
                <div class="bg-zinc-900/50 rounded-lg p-4 font-mono text-sm">
                    <div class="text-gray-400"># Clean development artifacts</div>

                    <div class=""><pre>nm        : node_modules</pre></div>
                    <div class=""><pre>tmp       : /tmp/build-cache</pre></div>
                    <div class="text-purple-400"><pre>DELETE nm : node_modules</pre></div>
                    <div class="text-purple-400"><pre>DELETE tmp: /tmp/build-cache</pre></div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Features Grid -->
<section class="py-20 px-4 sm:px-6 bg-gradient-to-b from-zinc-950 to-zinc-900">
    <div class="container mx-auto">
        <div class="text-center mb-16">
            <h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
                Why Developers <span class="text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-teal-400">Love noil</span>
            </h2>
            <p class="text-lg text-gray-400 max-w-2xl mx-auto">
                Powerful features that make file management a joy
            </p>
        </div>
        
        <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto">
            <!-- Feature 1 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-emerald-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-emerald-500/20 to-teal-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">Preview First</h3>
                <p class="text-gray-400 text-sm">
                    See exactly what will happen before any file is touched. No more "oops" moments.
                </p>
            </div>
            
            <!-- Feature 2 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-teal-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-teal-500/20 to-cyan-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-teal-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">Editor Freedom</h3>
                <p class="text-gray-400 text-sm">
                    Use vim, emacs, VS Code, or any editor. If it can edit text, it works with noil.
                </p>
            </div>
            
            <!-- Feature 3 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-cyan-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-cyan-500/20 to-blue-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-cyan-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">Batch Power</h3>
                <p class="text-gray-400 text-sm">
                    Handle hundreds of operations at once. Perfect for large-scale reorganizations.
                </p>
            </div>
            
            <!-- Feature 4 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-purple-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-purple-500/20 to-pink-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">Safe by Design</h3>
                <p class="text-gray-400 text-sm">
                    Nothing happens without explicit confirmation. Your files are safe from accidents.
                </p>
            </div>
            
            <!-- Feature 5 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-orange-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-orange-500/20 to-red-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-orange-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">CLI Native</h3>
                <p class="text-gray-400 text-sm">
                    Built for the terminal. Fast, scriptable, and plays well with pipes and redirects.
                </p>
            </div>
            
            <!-- Feature 6 -->
            <div class="group bg-zinc-900/50 backdrop-blur border border-zinc-800 rounded-xl p-6 hover:border-yellow-500/30 transition-all duration-300">
                <div class="w-12 h-12 bg-gradient-to-br from-yellow-500/20 to-amber-500/20 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                    <svg class="w-6 h-6 text-yellow-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
                    </svg>
                </div>
                <h3 class="text-lg font-bold mb-2">Lightning Fast</h3>
                <p class="text-gray-400 text-sm">
                    Written in Rust for maximum performance. Handle thousands of files instantly.
                </p>
            </div>
        </div>
    </div>
</section>

<!-- Installation Section -->
<section id="installation" class="py-20 px-4 sm:px-6 bg-zinc-950">
    <div class="container mx-auto max-w-4xl">
        <div class="text-center mb-16">
            <h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
                Start Using <span class="text-emerald-400">noil</span> Now
            </h2>
            <p class="text-lg text-gray-400">
                One command to transform how you manage files
            </p>
        </div>
        
        <div class="bg-gradient-to-br from-emerald-500/5 to-teal-500/5 border border-emerald-500/20 rounded-2xl p-8">
            <div class="space-y-6">
                <!-- Quick Install -->
                <div>
                    <h3 class="text-xl font-bold mb-4 flex items-center gap-2">
                        <svg class="w-6 h-6 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path>
                        </svg>
                        Quick Install
                    </h3>
                    <div class="bg-zinc-900 rounded-lg p-4 font-mono text-sm">
                        <div class="flex items-center justify-between">
                            <code class="text-emerald-400">cargo install noil</code>
                            <button onclick="navigator.clipboard.writeText('cargo install noil')" class="text-gray-500 hover:text-white transition-colors">
                                <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"></path>
                                </svg>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- From Source -->
                <div>
                    <h3 class="text-xl font-bold mb-4 flex items-center gap-2">
                        <svg class="w-6 h-6 text-teal-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
                        </svg>
                        Build from Source
                    </h3>
                    <div class="bg-zinc-900 rounded-lg p-4 font-mono text-sm space-y-2">
                        <div class="text-gray-400"># Clone and build</div>
                        <div class="text-teal-400">git clone https://git.kjuulh.io/kjuulh/noil.git</div>
                        <div class="text-teal-400">cd noil && cargo install --path .</div>
                    </div>
                </div>
                
                <!-- First Steps -->
                <div>
                    <h3 class="text-xl font-bold mb-4 flex items-center gap-2">
                        <svg class="w-6 h-6 text-cyan-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
                        </svg>
                        Your First Operation
                    </h3>
                    <div class="bg-zinc-900 rounded-lg p-4 font-mono text-sm space-y-2">
                        <div class="text-gray-400"># Create a noil file</div>
                        <div class="text-cyan-400">echo "ADD : new.txt" > operations.noil</div>
                        <div class="text-gray-400 mt-2"># Preview what will happen</div>
                        <div class="text-cyan-400">noil operations.noil</div>
                        <div class="text-gray-400 mt-2"># Apply the changes</div>
                        <div class="text-cyan-400">cat operations.noil | noil apply</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Call to Action -->
<section class="py-20 px-4 sm:px-6 bg-gradient-to-b from-zinc-900 to-zinc-950">
    <div class="container mx-auto text-center">
        <div class="max-w-3xl mx-auto">
            <h2 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-6">
                Ready to Take <span class="bg-gradient-to-r from-emerald-400 via-teal-400 to-cyan-400 bg-clip-text text-transparent">Control</span>?
            </h2>
            <p class="text-lg text-gray-400 mb-8">
                Join developers who've discovered the power of treating file operations as code.
            </p>
            
            <div class="flex flex-col sm:flex-row gap-4 justify-center">
                <a href="https://git.kjuulh.io/kjuulh/noil" target="_blank" class="bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white font-semibold py-3 px-8 rounded-lg transition-all duration-200 inline-flex items-center justify-center shadow-lg shadow-emerald-500/25">
                    View on Gitea
                    <svg class="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
                    </svg>
                </a>
                <a href="https://git.kjuulh.io/kjuulh/noil/issues" target="_blank" class="bg-zinc-800 hover:bg-zinc-700 text-gray-300 font-semibold py-3 px-8 rounded-lg transition-colors duration-200 inline-flex items-center justify-center border border-zinc-700">
                    Report an Issue
                    <svg class="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                    </svg>
                </a>
            </div>
            
            <div class="mt-12 pt-12 border-t border-zinc-800">
                <p class="text-gray-500 text-sm">
                    Built with ❤️ in Rust • MIT Licensed • Contributions Welcome
                </p>
            </div>
        </div>
    </div>
</section>
{% endblock %}
