import productImage from "@/assets/lavn-product.jpeg";

const Index = () => {
  return (
    <main className="min-h-screen bg-background flex items-center justify-center px-4 py-10">
      <section
        dir="rtl"
        className="relative w-full max-w-5xl rounded-[2rem] overflow-hidden bg-brand-foreground border border-brand/10 shadow-[0_30px_80px_-20px_hsl(var(--brand)/0.4)]"
      >
        {/* Split background */}
        <div className="absolute inset-0 grid grid-cols-12">
          <div className="col-span-7 bg-brand-foreground" />
          <div
            className="col-span-5 relative"
            style={{ background: "var(--gradient-brand)" }}
          >
            <div className="absolute top-8 right-8 w-40 h-40 rounded-full bg-brand-light/30 blur-2xl" />
          </div>
        </div>

        <div className="relative grid md:grid-cols-12 gap-6 items-center p-8 md:p-14">
          {/* Text */}
          <div className="md:col-span-7 space-y-5 text-right">
            <div className="flex items-center gap-3 justify-start">
              <span className="h-px w-10 bg-brand/40" />
              <span className="uppercase tracking-[0.35em] text-[11px] text-brand/70">
                Leather Collection · 2026
              </span>
            </div>

            <h1 className="font-serif text-brand text-5xl md:text-7xl leading-[1.05]">
              لمسة <em className="not-italic text-brand-light">خضراء</em>
              <br />
              تليق بيومك.
            </h1>

            <p className="text-brand/70 max-w-md text-base md:text-lg leading-relaxed">
              محفظة LAVN الجلدية — تصميم بسيط، خامة فاخرة، وتفاصيل مدروسة بعناية لمن يقدّر الأناقة الهادئة.
            </p>

            <div className="flex items-center gap-4 pt-3">
              <button className="bg-brand text-brand-foreground px-7 py-3 rounded-full font-medium hover:bg-brand-light transition">
                اكتشف المجموعة
              </button>
              <button className="text-brand font-medium underline underline-offset-4 decoration-brand/30 hover:decoration-brand transition">
                شاهد الفيديو
              </button>
            </div>

            <div className="flex items-center gap-8 pt-6 text-brand/60 text-xs">
              <div>
                <div className="text-2xl font-serif text-brand">12K+</div>
                عميل سعيد
              </div>
              <div className="h-8 w-px bg-brand/15" />
              <div>
                <div className="text-2xl font-serif text-brand">100%</div>
                جلد طبيعي
              </div>
              <div className="h-8 w-px bg-brand/15" />
              <div>
                <div className="text-2xl font-serif text-brand">5★</div>
                تقييم عام
              </div>
            </div>
          </div>

          {/* Image */}
          <div className="md:col-span-5 relative flex justify-center">
            <div className="absolute -inset-4 rounded-3xl bg-brand-foreground/10 blur-xl" />
            <img
              src={productImage}
              alt="LAVN محفظة جلدية خضراء"
              className="relative w-full max-w-xs rounded-2xl shadow-2xl rotate-3 hover:rotate-0 transition-transform duration-700"
            />
            <div className="absolute -bottom-3 -left-3 bg-brand-foreground text-brand text-xs px-4 py-2 rounded-full shadow-lg font-medium">
              جديد ✦ LAVN
            </div>
          </div>
        </div>
      </section>
    </main>
  );
};

export default Index;