import React from 'react';
import Link from 'next/link';
import { ArrowRight, MessageSquare, Minus, Zap, Shield, Clock } from 'lucide-react';

export default function LandingPage() {
  return (
    <div className="flex flex-col gap-48 py-24 md:py-48 overflow-hidden">
      {/* Hero Section - High Impact */}
      <section className="narrow-container relative">
        <div className="absolute -left-24 -top-24 text-[20rem] font-bold text-slate-50 select-none -z-10">00</div>
        <div className="space-y-16 relative">
          <h1 className="text-6xl md:text-8xl font-bold text-slate-900 tracking-tighter leading-[0.9] animate-fade-in">
            Digitale Systeme <br />
            <span className="text-slate-200">ohne Overhead.</span>
          </h1>
          <div className="grid grid-cols-1 md:grid-cols-2 gap-12 items-end">
            <div className="space-y-6 text-2xl text-slate-400 font-serif italic leading-tight">
              <p className="animate-slide-up [animation-delay:200ms]">Agenturen sind zu langsam.</p>
              <p className="animate-slide-up [animation-delay:400ms]">CMS will keiner pflegen.</p>
              <p className="animate-slide-up [animation-delay:600ms]">Digitale Themen bleiben liegen.</p>
            </div>
            <div className="animate-slide-up [animation-delay:800ms] border-l-2 border-slate-900 pl-8">
              <p className="text-3xl font-bold text-slate-900 leading-tight">
                Ich mache das anders.
              </p>
            </div>
          </div>
        </div>
      </section>

      {/* Was ich mache - Designed Grid */}
      <section className="narrow-container relative">
        <div className="absolute -right-24 -top-12 text-[15rem] font-bold text-slate-50 select-none -z-10">01</div>
        <div className="grid grid-cols-1 md:grid-cols-12 gap-12">
          <div className="md:col-span-5 space-y-8">
            <h2 className="text-sm font-bold uppercase tracking-[0.3em] text-slate-400">Das Versprechen</h2>
            <p className="text-4xl font-bold text-slate-900 leading-[1.1]">
              Direkt. <br />
              Sauber. <br />
              Ohne Zirkus.
            </p>
          </div>
          <div className="md:col-span-7">
            <div className="prose prose-slate font-serif text-2xl leading-relaxed text-slate-700">
              <p>
                Ich setze digitale Systeme für Unternehmen um – ohne Workshops, ohne Tickets, ohne Tech-Blabla.
              </p>
              <div className="mt-12 grid grid-cols-1 gap-8 not-prose">
                <div className="p-8 border border-slate-100 hover:border-slate-900 transition-colors group">
                  <Zap className="w-6 h-6 mb-4 text-slate-300 group-hover:text-slate-900 transition-colors" />
                  <h3 className="text-xl font-bold text-slate-900 mb-2">Websites & Tools</h3>
                  <p className="text-slate-500 font-serif text-lg">Alles, was Ihr Unternehmen digital voranbringt.</p>
                </div>
                <div className="p-8 border border-slate-100 hover:border-slate-900 transition-colors group">
                  <Shield className="w-6 h-6 mb-4 text-slate-300 group-hover:text-slate-900 transition-colors" />
                  <h3 className="text-xl font-bold text-slate-900 mb-2">Kein Overhead</h3>
                  <p className="text-slate-500 font-serif text-lg">Sie erklären, ich baue. Es funktioniert einfach.</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

      {/* Comparison - Visual Path */}
      <section className="narrow-container relative">
        <div className="absolute -left-24 -top-12 text-[15rem] font-bold text-slate-50 select-none -z-10">02</div>
        <h2 className="text-sm font-bold uppercase tracking-[0.3em] text-slate-400 mb-24">Der Unterschied</h2>
        
        <div className="space-y-32">
          {/* Row 1 */}
          <div className="flex flex-col md:flex-row gap-12 items-center">
            <div className="flex-1 p-10 bg-slate-50 text-slate-400 line-through decoration-slate-200">
              <div className="text-xs font-bold uppercase tracking-widest mb-4">Agentur</div>
              <p className="text-xl font-serif italic">Konzeptcalls, Meetings, Slides, Warten auf das Angebot.</p>
            </div>
            <div className="shrink-0">
              <ArrowRight className="w-8 h-8 text-slate-200 hidden md:block" />
            </div>
            <div className="flex-1 p-10 border-2 border-slate-900">
              <div className="text-xs font-bold uppercase tracking-widest text-slate-900 mb-4">Ich</div>
              <p className="text-3xl font-bold text-slate-900 leading-tight">Ich baue zuerst. <br />Dann reden wir.</p>
            </div>
          </div>

          {/* Row 2 */}
          <div className="flex flex-col md:flex-row-reverse gap-12 items-center">
            <div className="flex-1 p-10 bg-slate-50 text-slate-400 line-through decoration-slate-200">
              <div className="text-xs font-bold uppercase tracking-widest mb-4">Agentur</div>
              <p className="text-xl font-serif italic">"Das dauert nur kurz" <br />→ Überraschung auf der Rechnung.</p>
            </div>
            <div className="shrink-0">
              <ArrowRight className="w-8 h-8 text-slate-200 hidden md:block rotate-180" />
            </div>
            <div className="flex-1 p-10 border-2 border-slate-900">
              <div className="text-xs font-bold uppercase tracking-widest text-slate-900 mb-4">Ich</div>
              <p className="text-3xl font-bold text-slate-900 leading-tight">Fixpreise. <br />Immer.</p>
            </div>
          </div>
        </div>
      </section>

      {/* Für wen - Designed Box */}
      <section className="narrow-container relative">
        <div className="absolute -right-24 -top-12 text-[15rem] font-bold text-slate-50 select-none -z-10">03</div>
        <div className="relative p-12 md:p-24 border border-slate-100">
          <div className="absolute top-0 left-12 w-px h-24 bg-slate-900 -translate-y-12"></div>
          <h2 className="text-sm font-bold uppercase tracking-[0.3em] text-slate-400 mb-12">Zielgruppe</h2>
          <p className="text-4xl md:text-5xl font-bold text-slate-900 leading-tight mb-16 tracking-tighter">
            Für Unternehmen, die <br />
            <span className="text-slate-300 underline decoration-slate-100 underline-offset-8">Ergebnisse</span> wollen.
          </p>
          <div className="grid grid-cols-1 md:grid-cols-2 gap-x-16 gap-y-8">
            {[
              'Keine Lust auf Agentur-Zirkus',
              'Kein CMS selbst pflegen',
              'Keine Tickets schreiben',
              'Keinen eigenen Entwickler',
            ].map((item, i) => (
              <div key={i} className="flex items-center gap-4 text-xl font-serif text-slate-600">
                <div className="w-2 h-2 bg-slate-900 rounded-full"></div>
                <span>{item}</span>
              </div>
            ))}
          </div>
        </div>
      </section>

      {/* Leistungen - Visual Cards */}
      <section className="narrow-container relative">
        <div className="absolute -left-24 -top-12 text-[15rem] font-bold text-slate-50 select-none -z-10">04</div>
        <h2 className="text-sm font-bold uppercase tracking-[0.3em] text-slate-400 mb-24">Leistungen</h2>
        <div className="grid grid-cols-1 gap-32">
          <div className="group relative">
            <div className="absolute -left-12 top-0 text-6xl font-bold text-slate-50 group-hover:text-slate-100 transition-colors">W</div>
            <h3 className="text-5xl font-bold text-slate-900 mb-8 tracking-tighter">Websites</h3>
            <p className="text-2xl text-slate-500 font-serif mb-10 leading-relaxed max-w-2xl">
              Neue Seiten, Relaunch oder Übernahme bestehender Systeme. Inklusive Hosting, SEO und Performance.
            </p>
            <Link href="/websites" className="inline-flex items-center gap-4 text-slate-900 font-bold text-xl group/link">
              Preise ansehen 
              <div className="w-12 h-px bg-slate-900 group-hover/link:w-20 transition-all"></div>
            </Link>
          </div>

          <div className="group relative">
            <div className="absolute -left-12 top-0 text-6xl font-bold text-slate-50 group-hover:text-slate-100 transition-colors">S</div>
            <h3 className="text-5xl font-bold text-slate-900 mb-8 tracking-tighter">Systeme</h3>
            <p className="text-2xl text-slate-500 font-serif mb-10 leading-relaxed max-w-2xl">
              Produktbereiche, Blogs, Jobs, API-Anbindungen, PDF-Generatoren und Sonderlogik.
            </p>
          </div>

          <div className="group relative">
            <div className="absolute -left-12 top-0 text-6xl font-bold text-slate-50 group-hover:text-slate-100 transition-colors">T</div>
            <h3 className="text-5xl font-bold text-slate-900 mb-8 tracking-tighter">Tools</h3>
            <p className="text-2xl text-slate-500 font-serif mb-10 leading-relaxed max-w-2xl">
              Interne Inhouse-Tools, Excel-Ablösungen und Prozess-Automatisierung.
            </p>
          </div>
        </div>
      </section>

      {/* CTA - Designed Impact */}
      <section className="narrow-container">
        <div className="relative py-32 px-12 md:px-24 bg-slate-900 text-white overflow-hidden">
          <div className="absolute top-0 right-0 text-[20rem] font-bold text-white/5 select-none translate-x-1/4 -translate-y-1/4">?</div>
          <div className="relative z-10 space-y-12">
            <h2 className="text-6xl md:text-8xl font-bold tracking-tighter leading-none">Interesse?</h2>
            <p className="text-2xl md:text-3xl text-slate-400 font-serif italic leading-tight max-w-xl">
              Schreiben Sie mir einfach, was Sie brauchen. Ich sage Ihnen ehrlich, ob ich es mache.
            </p>
            <div className="pt-8">
              <a 
                href="mailto:marc@mintel.me" 
                className="inline-flex items-center gap-6 bg-white text-slate-900 px-12 py-6 font-bold text-2xl hover:bg-slate-100 transition-all hover:scale-[1.05]"
              >
                <MessageSquare className="w-8 h-8" />
                Projekt anfragen
              </a>
            </div>
            <div className="pt-12">
              <Link href="/blog" className="text-slate-500 hover:text-white text-sm font-bold uppercase tracking-[0.5em] transition-colors">
                Zum Blog
              </Link>
            </div>
          </div>
        </div>
      </section>
    </div>
  );
}
