import { Link } from "react-router-dom";
import { useTranslation } from "react-i18next";
import { useForceLanguage } from "@/hooks/useForceLanguage";
import {
  ArrowRight, TrendingUp, BarChart3, Heart,
  ChevronDown, Check, Truck, Wrench, Sparkles, Clock
} from "lucide-react";
import { ExperienceGuideLink } from "@/components/ExperienceGuideLink";
import { Layout } from "@/components/layout/Layout";
import { Section, SectionHeader } from "@/components/ui/Section";
import { SEO } from "@/components/SEO";
import { ScopeFactors } from "@/components/ScopeFactors";
import {
  Accordion, AccordionContent, AccordionItem, AccordionTrigger,
} from "@/components/ui/accordion";

// Images
import hologramPyramidRetail from "@/assets/solutions/hologram-pyramid-retail.jpg";
import holoboxAvatarTradeshow from "@/assets/solutions/holobox-avatar-tradeshow.png";
import holoboxShowroom from "@/assets/solutions/holobox-showroom.png";
import holospinDisplay from "@/assets/solutions/holospin-display.png";
import holomeshShark from "@/assets/solutions/holomesh-shark.jpg";
import invisibleScreenImage from "@/assets/solutions/invisible-led-screen.jpg";
import hologramPyramidCompact from "@/assets/solutions/hologram-pyramid-retail.jpg";
import hologramProductionHero from "@/assets/solutions/hologram-production-hero.jpg";

// Case images
import cocaColaCase from "@/assets/cases/coca-cola-hologram.png";
import easyfairsCase from "@/assets/cases/easyfairs-hewo.jpg";
import envirotainerCase from "@/assets/cases/envirotainer-atlanta.jpg";
import samsungCase from "@/assets/cases/samsung-bmw.jpg";
import hologramDellEvent from "@/assets/solutions/hologram-dell-event.jpg";
import holospinRetail from "@/assets/solutions/holospin-retail.jpg";

// Client brands collage (black background)
import hologramClientsBrands from "@/assets/hologram-clients-brands.png";

interface SolutionHologramProps {
  forceLang?: "sv" | "en";
}

const HERO_VIDEO_EMBED = "https://www.youtube.com/embed/ThknSbQvnMA?autoplay=1&mute=1&loop=1&playlist=ThknSbQvnMA&controls=0&showinfo=0&rel=0&modestbranding=1&playsinline=1&enablejsapi=1&vq=hd1080";

export default function SolutionHologram({ forceLang = "en" }: SolutionHologramProps) {
  const { t } = useTranslation();
  useForceLanguage(forceLang);
  const isSv = forceLang === "sv";

  return (
    <Layout>
      {isSv ? (
        <SEO
          title="Hyr 3D-hologram till mässa, event och butik | Suteki Studios"
          description="Hyr hologram till mässa, event och butik. Holobox, hologramfläkt och kompletta installationer med innehåll, leverans och support. Offert inom 24 h."
          lang="sv"
          canonicalUrl="https://sutekistudios.com/hologramlosningar"
          alternateSv="https://sutekistudios.com/hologramlosningar"
          alternateEn="https://sutekistudios.com/hologram"
        />
      ) : (
        <SEO
          title="3D Hologram Rentals for Events & Trade Shows | Suteki Studios"
          description="Rent 3D holograms for trade shows, events and retail. Holobox, hologram fans and full installations with content, delivery and support. Get a quote in 24h."
          lang="en"
          canonicalUrl="https://sutekistudios.com/hologram"
          alternateSv="https://sutekistudios.com/hologramlosningar"
          alternateEn="https://sutekistudios.com/hologram"
        />
      )}

      {/* ═══ 1. HERO ═══ */}
      <section className="min-h-[70vh] sm:min-h-[85vh] flex items-end relative overflow-hidden" data-hero="true">
        <div className="absolute inset-0 pointer-events-none">
          <iframe
            src={HERO_VIDEO_EMBED}
            title="Hologram showreel background"
            className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[180%] h-[180%] sm:w-[120%] sm:h-[120%]"
            style={{ border: 0 }}
            allow="autoplay; encrypted-media"
            allowFullScreen={false}
            loading="eager"
          />
        </div>
        <div
          className="absolute inset-0 bg-cover bg-center bg-no-repeat -z-10"
          style={{ backgroundImage: `url(${hologramProductionHero})` }}
        />
        <div
          className="absolute inset-0 z-[1]"
          style={{
            background:
              "linear-gradient(to top, rgba(8,12,20,0.95) 0%, rgba(8,12,20,0.55) 40%, rgba(8,12,20,0.30) 100%)",
          }}
        />
        <div className="container mx-auto px-5 sm:px-6 lg:px-8 relative z-10 pb-14 sm:pb-24 pt-32 sm:pt-48">
          <div className="max-w-3xl">
            <p className="hero-eyebrow mb-4 sm:mb-5 animate-fade-up text-xs sm:text-sm tracking-[0.2em]">
              {t("hologramSolution.hero.eyebrow")}
            </p>
            <h1 className="display mb-5 sm:mb-7 hero-text-white animate-fade-up text-3xl sm:text-4xl md:text-5xl lg:text-6xl leading-tight">
              {t("hologramSolution.hero.title")}
            </h1>
            <p className="text-base sm:text-lg lg:text-xl hero-text-body mb-4 sm:mb-5 max-w-xl animate-fade-up-delay-1 leading-relaxed">
              {t("hologramSolution.hero.description")}
            </p>
            <p className="text-xs sm:text-sm mb-7 sm:mb-9 animate-fade-up-delay-1" style={{ color: "rgba(226,232,240,0.5)" }}>
              {t("hologramSolution.hero.trustLine")}
            </p>
            <div className="flex flex-col sm:flex-row gap-3 sm:gap-4 animate-fade-up-delay-2">
              <Link
                to={isSv ? "/kontakt" : "/contact"}
                className="btn-white inline-flex items-center justify-center gap-2 text-sm sm:text-base px-5 sm:px-6 py-3"
              >
                {isSv ? "Få ett konkret förslag" : "Get a concrete proposal"}
                <ArrowRight className="h-4 w-4" />
              </Link>
              <a
                href="#showreel"
                className="btn-outline inline-flex items-center justify-center gap-2 text-sm sm:text-base px-5 sm:px-6 py-3"
                style={{ color: "#fff", borderColor: "rgba(255,255,255,0.3)" }}
              >
                {isSv ? "Se hur det fungerar" : "See how it works"}
                <ChevronDown className="h-4 w-4" />
              </a>
            </div>
            <p className="mt-4 text-sm" style={{ color: "rgba(226,232,240,0.7)" }}>
              {isSv
                ? "Ni behöver ingen färdig kravspecifikation. Beskriv platsen och målet så tar vi fram ett upplägg."
                : "No detailed spec required. Describe the space and the goal and we will shape the setup."}
            </p>
          </div>
        </div>
      </section>

      {/* ═══ 1A. CLIENT BRANDS ═══ */}
      <section className="py-16 sm:py-20" style={{ backgroundColor: "#000" }}>
        <div className="container mx-auto px-5 sm:px-6 lg:px-8">
          <img
            src={hologramClientsBrands}
            alt={isSv ? "Varumärken som använt Suteki Studios hologramlösningar" : "Brands that have used Suteki Studios hologram solutions"}
            className="w-full max-w-5xl mx-auto h-auto"
            loading="lazy"
          />
        </div>
      </section>

      {/* ═══ 1B. RENT HOLOGRAM ═══ */}
      {(
        <section className="section-dark py-20 sm:py-28" data-theme="dark" id={isSv ? "hyr-hologram" : "rent-hologram"}>
          <div className="container mx-auto px-5 sm:px-6 lg:px-8">
            {/* Header */}
            <div className="max-w-3xl mx-auto text-center mb-12 sm:mb-16">
              <p className="hero-eyebrow mb-4">{isSv ? "Uthyrning" : "Rentals"}</p>
              <h2 className="text-3xl sm:text-4xl md:text-5xl font-semibold mb-6 text-white text-balance">
                {isSv ? "Hyr hologram till mässa, event och butik" : "Rent holograms for trade shows, events and retail"}
              </h2>
              <p className="text-base sm:text-lg leading-relaxed text-white/70">
                {isSv
                  ? "Skapa uppmärksamhet där det verkligen räknas. Vi hyr ut hologramlösningar i hela Sverige – från hologramfläktar till kompletta installationer med innehåll, leverans och support."
                  : "Create attention where it really matters. We rent hologram solutions worldwide – from hologram fans to complete installations with content, delivery and support."}
              </p>
            </div>

            {/* USP row */}
            <div className="grid grid-cols-2 md:grid-cols-4 gap-4 sm:gap-6 max-w-5xl mx-auto mb-16 sm:mb-20">
              {(isSv
                ? [
                    { icon: Truck, text: "Leverans i hela Sverige" },
                    { icon: Wrench, text: "Installation och support ingår" },
                    { icon: Sparkles, text: "Anpassat innehåll för 3D-effekt" },
                    { icon: Clock, text: "Snabb offert inom 24 timmar" },
                  ]
                : [
                    { icon: Truck, text: "Worldwide delivery" },
                    { icon: Wrench, text: "Installation and support included" },
                    { icon: Sparkles, text: "Custom 3D content" },
                    { icon: Clock, text: "Fast quote within 24 hours" },
                  ]
              ).map((usp, i) => (
                <div key={i} className="flex items-start gap-3 text-white/80">
                  <usp.icon className="h-5 w-5 text-accent shrink-0 mt-0.5" />
                  <span className="text-sm sm:text-base">{usp.text}</span>
                </div>
              ))}
            </div>

            {/* Packages */}
            <div className="grid md:grid-cols-3 gap-6 lg:gap-8 max-w-6xl mx-auto mb-16 sm:mb-20">
              {(isSv
                ? [
                    {
                      title: "Start",
                      intro: "Perfekt för mässor och butiksmiljöer. Visar roterande 3D-innehåll som drar blickar direkt.",
                      bullets: ["Storlek: 65–100 cm", "Anpassad 3D-animation", "Enkel installation"],
                    },
                    {
                      title: "Premium",
                      intro: "En verklighetstrogen hologramupplevelse med AI-avatar eller produktvisualisering.",
                      bullets: ["Full kropp / produkt i 3D", "Förinspelat eller interaktivt innehåll", "Perfekt för entréer och montrar"],
                    },
                    {
                      title: "Enterprise",
                      intro: "Storskaliga installationer för maximal synlighet och wow-effekt.",
                      bullets: ["Flera enheter synkroniserade", "Anpassat för scen, retail eller lansering", "Byggt för att dra publik"],
                    },
                  ]
                : [
                    {
                      title: "Start",
                      intro: "Perfect for trade shows and retail. Displays rotating 3D content that draws attention instantly.",
                      bullets: ["Size: 65–100 cm", "Custom 3D animation", "Easy installation"],
                    },
                    {
                      title: "Premium",
                      intro: "A lifelike hologram experience with AI avatar or product visualization.",
                      bullets: ["Full body / product in 3D", "Pre-recorded or interactive content", "Ideal for entrances and booths"],
                    },
                    {
                      title: "Enterprise",
                      intro: "Large-scale installations for maximum visibility and wow effect.",
                      bullets: ["Multiple units synchronized", "Tailored for stage, retail or launch", "Built to attract crowds"],
                    },
                  ]
              ).map((pkg, i) => (
                <div
                  key={i}
                  className="rounded-2xl border border-white/10 bg-white/[0.03] p-8 flex flex-col hover:bg-white/[0.05] hover:border-white/20 transition-all"
                >
                  <h3 className="text-xl font-semibold text-white mb-4">{pkg.title}</h3>
                  <p className="text-white/70 text-sm leading-relaxed mb-6">{pkg.intro}</p>
                  <ul className="space-y-3 mb-8 flex-1">
                    {pkg.bullets.map((b, j) => (
                      <li key={j} className="flex items-start gap-2 text-white/80 text-sm">
                        <Check className="h-4 w-4 text-accent shrink-0 mt-0.5" />
                        <span>{b}</span>
                      </li>
                    ))}
                  </ul>
                  <Link
                    to={isSv ? "/kontakt" : "/contact"}
                    className="inline-flex items-center justify-center gap-2 rounded-full bg-white text-[hsl(222,47%,11%)] px-5 py-2.5 text-sm font-medium hover:bg-accent hover:text-white transition-colors"
                  >
                    {isSv ? "Få offert" : "Get a quote"}
                    <ArrowRight className="h-4 w-4" />
                  </Link>
                </div>
              ))}
            </div>

            {/* Price section */}
            <div className="max-w-3xl mx-auto text-center mb-16 sm:mb-20 rounded-2xl border border-white/10 bg-white/[0.02] p-8 sm:p-12">
              <h3 className="text-2xl sm:text-3xl font-semibold text-white mb-4">
                {isSv ? "Pris för att hyra hologram" : "Hologram rental pricing"}
              </h3>
              <p className="text-white/70 mb-6 leading-relaxed">
                {isSv ? (
                  <>Priset varierar beroende på lösning, innehåll och installation. Enklare lösningar börjar från cirka <span className="text-white font-medium">12 500 kr</span>, medan större installationer anpassas efter behov.</>
                ) : (
                  <>Pricing depends on the solution, content and installation. Entry-level setups start at approximately <span className="text-white font-medium">$1,200</span>, while larger installations are tailored to your needs.</>
                )}
              </p>
              <Link
                to={isSv ? "/kontakt" : "/contact"}
                className="inline-flex items-center gap-2 rounded-full bg-accent text-white px-6 py-3 text-sm font-medium hover:opacity-90 transition-opacity"
              >
                {isSv ? "Få exakt prisförslag" : "Get an exact quote"}
                <ArrowRight className="h-4 w-4" />
              </Link>
            </div>

            {/* SEO text */}
            <div className="max-w-3xl mx-auto text-white/70 leading-relaxed space-y-4 mb-16 sm:mb-20">
              {isSv ? (
                <>
                  <p>Hyr hologramlösningar i hela Sverige för mässor, event och butik. Du kan hyra hologramfläkt, Holobox eller större holograminstallationer beroende på behov.</p>
                  <p>Att hyra 3D-hologram är ett effektivt sätt att skapa uppmärksamhet och engagemang i miljöer där många konkurrerar om besökarens fokus.</p>
                </>
              ) : (
                <>
                  <p>We rent 3D hologram solutions worldwide for trade shows, events and retail. You can rent a hologram fan, Holobox or larger hologram installations depending on your needs.</p>
                  <p>Renting a 3D hologram is an effective way to create attention and engagement in environments where many brands compete for the visitor's focus.</p>
                </>
              )}
            </div>

            {/* Providers list */}
            <div className="max-w-3xl mx-auto mb-16 sm:mb-20">
              <h3 className="text-xl sm:text-2xl font-semibold text-white mb-4">
                {isSv ? "Leverantörer av hologram i Sverige" : "Hologram providers"}
              </h3>
              <p className="text-white/70 mb-4 leading-relaxed">
                {isSv
                  ? "Det finns flera aktörer som erbjuder hologramlösningar i Sverige, däribland:"
                  : "Several providers offer hologram solutions, including:"}
              </p>
              <ul className="space-y-2 text-white/80">
                <li className="flex items-start gap-2">
                  <span className="text-accent mt-1">–</span> Suteki Studios
                </li>
                <li className="flex items-start gap-2">
                  <span className="text-accent mt-1">–</span> {isSv ? "Andra specialiserade leverantörer inom hologram och 3D-visualisering" : "Other specialized providers within hologram and 3D visualization"}
                </li>
              </ul>
            </div>

            {/* Final CTA */}
            <div className="max-w-3xl mx-auto text-center">
              <h3 className="text-2xl sm:text-3xl font-semibold text-white mb-4">
                {isSv ? "Vill du hyra hologram till ditt nästa event?" : "Want to rent a hologram for your next event?"}
              </h3>
              <p className="text-white/70 mb-8 leading-relaxed">
                {isSv
                  ? "Vi hjälper dig hela vägen – från idé till färdig installation. Oavsett om det gäller mässa, butik eller lansering tar vi fram en lösning som faktiskt drar publik."
                  : "We support you all the way – from idea to finished installation. Whether it's a trade show, retail space or product launch, we deliver a solution that actually attracts crowds."}
              </p>
              <div className="flex flex-col sm:flex-row gap-3 justify-center">
                <Link
                  to={isSv ? "/kontakt" : "/contact"}
                  className="inline-flex items-center justify-center gap-2 rounded-full bg-accent text-white px-6 py-3 text-sm font-medium hover:opacity-90 transition-opacity"
                >
                  {isSv ? "Få ett konkret förslag" : "Get a concrete proposal"}
                  <ArrowRight className="h-4 w-4" />
                </Link>
                <a
                  href="https://calendly.com/sutekistudios/strategic-project-discussion"
                  target="_blank"
                  rel="noopener noreferrer"
                  className="inline-flex items-center justify-center gap-2 rounded-full border border-white/20 text-white px-6 py-3 text-sm font-medium hover:bg-white/5 transition-colors"
                >
                  {isSv ? "Boka demo" : "Book a demo"}
                  <ArrowRight className="h-4 w-4" />
                </a>
              </div>
            </div>
          </div>
        </section>
      )}

      {/* ═══ 2. SHOWREEL ═══ */}
      <section className="section-dark py-16 sm:py-24" data-theme="dark" id="showreel">
        <div className="container mx-auto px-5 sm:px-6 lg:px-8">
          <div className="text-center mb-8 sm:mb-12">
            <h2 className="text-2xl sm:text-3xl md:text-4xl font-semibold mb-3 text-white">
              {isSv ? "Se hur hologram används i verkligheten" : "See how holograms are used in real life"}
            </h2>
          </div>
          <div className="max-w-5xl mx-auto aspect-video rounded-2xl overflow-hidden border border-white/10 bg-black/50">
            <iframe
              src="https://www.youtube.com/embed/dGO3tynni_k?loop=1&playlist=dGO3tynni_k&controls=1&showinfo=0&rel=0&modestbranding=1&playsinline=1&enablejsapi=1"
              title="Hologram showreel"
              className="w-full h-full"
              style={{ border: 0 }}
              allow="autoplay; encrypted-media"
              allowFullScreen
              loading="lazy"
            />
          </div>
        </div>
      </section>

      {/* ═══ 3. VÅRA HOLOGRAMLÖSNINGAR ═══ */}
      <Section className="section-beige" id="solutions">
        <SectionHeader
          title={isSv ? "Våra hologramlösningar" : "Our hologram solutions"}
          subtitle={isSv
            ? "Olika hologramformat för olika behov – från mässmontrar och butik till storskaliga scenshower."
            : "Different hologram formats for different needs – from trade show booths and retail to large-scale stage shows."}
        />
        <div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-5">
          {[
            {
              image: holoboxShowroom,
              title: "Holobox",
              description: t("hologramSolution.solutionsGrid.holobox"),
              linkTo: "/holobox",
            },
            {
              image: holospinDisplay,
              title: "Hologram Fans",
              description: t("hologramSolution.solutionsGrid.holospin"),
              linkTo: "/holospin",
            },
            {
              image: holomeshShark,
              title: "HoloNet",
              description: t("hologramSolution.solutionsGrid.holonet"),
              linkTo: "/holonet",
            },
            {
              image: invisibleScreenImage,
              title: "Invisible Screen",
              description: t("hologramSolution.solutionsGrid.invisibleScreen"),
              linkTo: "/invisible-screen",
            },
            {
              image: hologramPyramidCompact,
              title: "Hologram Pyramid",
              description: t("hologramSolution.solutionsGrid.hologramPyramid"),
              linkTo: "/3d-hologram",
            },
          ].map((product) => (
            <Link
              key={product.title}
              to={product.linkTo}
              className="group enterprise-card rounded-xl overflow-hidden hover:shadow-lg transition-all duration-300 hover:-translate-y-1"
            >
              <div className="aspect-[4/3] overflow-hidden">
                <img
                  src={product.image}
                  alt={`${product.title} hologram display`}
                  loading="lazy"
                  decoding="async"
                  className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
                />
              </div>
              <div className="p-3 sm:p-4">
                <h3 className="font-semibold text-foreground mb-1 text-sm sm:text-base">{product.title}</h3>
                <p className="text-xs sm:text-sm text-muted-foreground leading-relaxed mb-2 line-clamp-2">
                  {product.description}
                </p>
                <span className="inline-flex items-center text-xs sm:text-sm font-medium text-accent">
                  {t("hologramSolution.solutionsGrid.explore")}
                  <ArrowRight className="ml-1 h-3.5 w-3.5 group-hover:translate-x-1 transition-transform" />
                </span>
              </div>
            </Link>
          ))}
        </div>
      </Section>

      {/* ═══ 4. RESULTAT ═══ */}
      <section className="section-dark py-16 sm:py-24" data-theme="dark">
        <div className="container mx-auto px-5 sm:px-6 lg:px-8">
          <div className="text-center mb-10 sm:mb-14">
            <h2 className="text-2xl sm:text-3xl md:text-4xl font-semibold text-white mb-3">
              {isSv ? "Resultat som hologram levererar" : "Results that holograms deliver"}
            </h2>
            <p className="text-sm sm:text-base max-w-2xl mx-auto" style={{ color: "rgba(226,232,240,0.6)" }}>
              {isSv
                ? "Data från verkliga kampanjer och installationer hos globala varumärken."
                : "Data from real campaigns and installations with global brands."}
            </p>
          </div>
          {/* Key metrics */}
          <div className="grid grid-cols-1 sm:grid-cols-3 gap-6 sm:gap-8 max-w-5xl mx-auto mb-10 sm:mb-14">
            {[
              { icon: TrendingUp, key: "traffic" },
              { icon: BarChart3, key: "visibility" },
              { icon: Heart, key: "social" },
            ].map((item) => {
              const Icon = item.icon;
              return (
                <div key={item.key} className="text-center p-6 sm:p-8">
                  <div
                    className="w-12 h-12 rounded-xl flex items-center justify-center mb-5 mx-auto"
                    style={{
                      backgroundColor: "hsl(var(--accent) / 0.12)",
                      border: "1px solid hsl(var(--accent) / 0.20)",
                    }}
                  >
                    <Icon className="h-6 w-6 text-accent" />
                  </div>
                  <p className="text-3xl sm:text-4xl md:text-5xl font-bold text-white mb-2">
                    {t(`hologramSolution.metrics.${item.key}.metric`)}
                  </p>
                  <p className="text-sm sm:text-base" style={{ color: "rgba(226,232,240,0.5)" }}>
                    {t(`hologramSolution.metrics.${item.key}.description`)}
                  </p>
                </div>
              );
            })}
          </div>
          {/* Retail proof cards */}
          <div className="grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6 max-w-5xl mx-auto">
            {[
              {
                brand: "Coca-Cola",
                metric: "+36 %",
                label: isSv ? "ökad försäljning" : "increased sales",
                description: isSv
                  ? "Retailkampanj där hologramdisplayer ökade försäljningen på 16 veckor."
                  : "Retail campaign where hologram displays increased sales over 16 weeks.",
              },
              {
                brand: "Kellogg's",
                metric: "+60 %",
                label: isSv ? "ökad försäljning" : "increased sales",
                description: isSv
                  ? "Produktkampanj där försäljningen ökade redan under de första två dagarna."
                  : "Product campaign where sales increased within the first two days.",
              },
              {
                brand: isSv ? "Retail POS installationer" : "Retail POS installations",
                metric: "+20–110 %",
                label: isSv ? "ökad försäljning" : "increased sales",
                description: isSv
                  ? "Flera varumärken har sett kraftiga försäljningsökningar genom holografiska displayer i butik."
                  : "Multiple brands have seen significant sales increases through holographic displays in-store.",
              },
            ].map((card) => (
              <div
                key={card.brand}
                className="rounded-xl p-6 sm:p-8 text-center border border-white/10"
              >
                <p className="text-xs sm:text-sm font-medium uppercase tracking-wider mb-3" style={{ color: "rgba(226,232,240,0.5)" }}>
                  {card.brand}
                </p>
                <p className="text-3xl sm:text-4xl md:text-5xl font-bold text-white mb-1">
                  {card.metric}
                </p>
                <p className="text-sm font-medium text-white mb-3">{card.label}</p>
                <p className="text-xs sm:text-sm leading-relaxed" style={{ color: "rgba(226,232,240,0.5)" }}>
                  {card.description}
                </p>
              </div>
            ))}
          </div>
        </div>
      </section>

      {/* ═══ 5. CASE VIDEOS ═══ */}
      <Section className="section-beige" id="projekt">
        <SectionHeader
          title={isSv ? "Så använder våra kunder hologram" : "How our clients use holograms"}
          subtitle={isSv
            ? "Riktiga case från event, retail och lanseringar."
            : "Real cases from events, retail and product launches."}
        />
        <div className="grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 max-w-5xl mx-auto">
          {[
            {
              youtubeId: "ktFBgnBwz-c",
              title: isSv ? "Hologram Pyramid på mässa" : "Hologram Pyramid at trade show",
              label: isSv ? "Mässa" : "Trade show",
            },
            {
              youtubeId: "CVJO6tky1Gg",
              title: isSv ? "HoloSpin – Coca-Cola i butik" : "HoloSpin – Coca-Cola in-store",
              label: isSv ? "Retail-aktivering" : "Retail activation",
            },
            {
              youtubeId: "OdibKhsAEKg",
              title: isSv ? "Holobox – digital värd på event" : "Holobox – digital host at event",
              label: "Event",
            },
            {
              youtubeId: "84qEL2UQNiM",
              title: isSv ? "HoloNet – storskalig sceninstallation" : "HoloNet – large-scale stage installation",
              label: isSv ? "Scenproduktion" : "Stage production",
            },
          ].map((card) => (
            <div
              key={card.youtubeId}
              className="group enterprise-card rounded-xl overflow-hidden"
            >
              <div className="aspect-video overflow-hidden bg-black relative">
                <iframe
                  src={`https://www.youtube.com/embed/${card.youtubeId}?rel=0&modestbranding=1&playsinline=1`}
                  title={card.title}
                  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                  allowFullScreen
                  className="absolute inset-0 w-full h-full"
                  style={{ border: 0 }}
                  loading="lazy"
                />
              </div>
              <div className="p-4 sm:p-5">
                <p className="text-[10px] sm:text-xs font-medium uppercase tracking-wider text-muted-foreground mb-1">
                  {card.label}
                </p>
                <h3 className="text-sm sm:text-base font-semibold text-foreground">
                  {card.title}
                </h3>
              </div>
            </div>
          ))}
        </div>
      </Section>

      {/* ═══ 6. GALLERI ═══ */}
      <Section className="section-white">
        <SectionHeader
          title={isSv ? "Fler exempel på hologram" : "More hologram examples"}
          align="center"
        />
        <div className="grid grid-cols-2 sm:grid-cols-3 gap-3 sm:gap-4 max-w-5xl mx-auto">
          {[
            { image: cocaColaCase, alt: "Coca-Cola hologram retail activation" },
            { image: hologramPyramidRetail, alt: "Hologram pyramid retail display" },
            { image: holoboxAvatarTradeshow, alt: "Holobox avatar at trade show" },
            { image: hologramDellEvent, alt: "Dell hologram event installation" },
            { image: easyfairsCase, alt: "Easyfairs hologram booth" },
            { image: samsungCase, alt: "Samsung hologram installation" },
          ].map((item) => (
            <div key={item.alt} className="aspect-[4/3] rounded-xl overflow-hidden bg-muted/20">
              <img
                src={item.image}
                alt={item.alt}
                loading="lazy"
                decoding="async"
                className="w-full h-full object-cover hover:scale-105 transition-transform duration-500"
              />
            </div>
          ))}
        </div>
      </Section>

      {/* ═══ 7. CTA ═══ */}
      <ScopeFactors
        title={isSv ? "Det här påverkar upplägg och investering" : "What shapes scope and investment"}
        intro={
          isSv
            ? "Ett holograminstallation sätts ihop utifrån platsen och syftet. Följande faktorer avgör upplägget."
            : "A hologram installation is shaped by the venue and the purpose. These factors define the setup."
        }
        items={
          isSv
            ? [
                "Format och storlek: pyramid, holobox, holospin, mesh eller transparent skärm",
                "Miljö och ljusförhållanden på platsen",
                "Om innehållet ska produceras från grunden eller bygga på befintligt material",
                "Hyra för enstaka event eller permanent installation",
                "Antal språk och hur ofta innehållet ska bytas",
                "Installation, bemanning på plats och löpande drift",
              ]
            : [
                "Format and size: pyramid, holobox, holospin, mesh or transparent display",
                "Venue conditions and ambient light",
                "Whether content is produced from scratch or builds on existing material",
                "Rental for a single event or a permanent installation",
                "Number of languages and how often content changes",
                "Installation, on-site staffing and ongoing operation",
              ]
        }
      />

      <section className="section-dark py-20 sm:py-32" data-theme="dark">
        <div className="container mx-auto px-5 sm:px-6 lg:px-8">
          <div className="max-w-2xl mx-auto text-center">
            <h2 className="text-2xl sm:text-3xl md:text-4xl font-semibold mb-4 sm:mb-5 text-white">
              {isSv ? "Vill du skapa en hologramupplevelse?" : "Want to create a hologram experience?"}
            </h2>
            <p className="text-base sm:text-lg mb-8 sm:mb-10" style={{ color: "rgba(226,232,240,0.6)" }}>
              {t("hologramSolution.cta.description")}
            </p>
            <div className="flex flex-col sm:flex-row gap-3 sm:gap-4 justify-center">
              <Link
                to={isSv ? "/kontakt" : "/contact"}
                className="btn-white inline-flex items-center justify-center gap-2 text-sm sm:text-base px-6 sm:px-8 py-3.5"
              >
                {isSv ? "Få ett konkret förslag" : "Get a concrete proposal"}
                <ArrowRight className="h-4 w-4 text-foreground" />
              </Link>
              <a
                href="https://calendly.com/sutekistudios/strategic-project-discussion"
                target="_blank"
                rel="noopener noreferrer"
                className="inline-flex items-center justify-center gap-2 text-sm sm:text-base px-6 sm:px-8 py-3.5 rounded-md border border-white/30 text-white hover:bg-white/10 transition-colors"
              >
                {isSv ? "Boka ett samtal" : "Book a call"}
              </a>
            </div>
            <p className="mt-5 text-sm" style={{ color: "rgba(226,232,240,0.55)" }}>
              {isSv
                ? "Ni behöver ingen färdig kravspecifikation för att höra av er."
                : "You do not need a finished spec to get in touch."}
            </p>
            <p className="mt-4 text-xs sm:text-sm" style={{ color: "rgba(226,232,240,0.4)" }}>
              {t("hologramSolution.cta.trustLine")}
            </p>
          </div>
        </div>
      </section>

      {/* ═══ FAQ ═══ */}
      <Section className="section-white">
        <div className="max-w-3xl mx-auto">
          <h2 className="text-2xl sm:text-3xl font-semibold mb-8 text-foreground text-center">
            {t("hologramSolution.faq.title")}
          </h2>
          <Accordion type="single" collapsible className="w-full">
            {[0, 1, 2, 3, 4].map((i) => (
              <AccordionItem key={i} value={`faq-${i}`} className="border-border/50">
                <AccordionTrigger className="text-sm sm:text-base font-medium text-foreground hover:no-underline py-5">
                  {t(`hologramSolution.faq.items.${i}.question`)}
                </AccordionTrigger>
                <AccordionContent className="text-sm text-muted-foreground leading-relaxed pb-5">
                  {t(`hologramSolution.faq.items.${i}.answer`)}
                </AccordionContent>
              </AccordionItem>
            ))}
          </Accordion>
        </div>
      </Section>

      {/* ═══ INTERNAL LINKS ═══ */}
      <Section className="bg-card">
        <div className="max-w-5xl mx-auto">
          <h2 className="text-xl sm:text-2xl md:text-3xl font-semibold mb-2">
            {t("hologramSolution.relatedLinks.title")}
          </h2>
          <p className="text-muted-foreground text-sm sm:text-base mb-6 sm:mb-8">
            {t("hologramSolution.relatedLinks.subtitle")}
          </p>
          <div className="grid sm:grid-cols-4 gap-3 sm:gap-6">
            {[
              {
                title: t("hologramSolution.relatedLinks.cases.title"),
                description: t("hologramSolution.relatedLinks.cases.description"),
                href: "/cases",
              },
              {
                title: isSv ? "Hologramdisplayer" : "Hologram Displays",
                description: isSv
                  ? "Jämför Holobox, HoloSpin, HoloNet, Invisible Screen, Hologram Pyramid och Magic Mirror."
                  : "Compare Holobox, HoloSpin, HoloNet, Invisible Screen, Hologram Pyramid and Magic Mirror.",
                href: "/hologramdisplayer",
              },
              {
                title: t("hologramSolution.relatedLinks.ai.title"),
                description: t("hologramSolution.relatedLinks.ai.description"),
                href: "/ai",
              },
              {
                title: t("hologramSolution.relatedLinks.contact.title"),
                description: t("hologramSolution.relatedLinks.contact.description"),
                href: "/kontakt",
              },
            ].map((link) => (
              <Link
                key={link.href}
                to={link.href}
                className="group p-4 sm:p-6 rounded-lg border border-border/50 bg-background hover:border-accent/40 transition-all duration-300 hover:shadow-lg"
              >
                <h3 className="font-semibold mb-1 sm:mb-2 group-hover:text-accent transition-colors text-sm sm:text-base">
                  {link.title}
                </h3>
                <p className="text-xs sm:text-sm text-muted-foreground mb-3 sm:mb-4 leading-relaxed">
                  {link.description}
                </p>
                <span className="inline-flex items-center text-xs sm:text-sm font-medium text-accent">
                  {t("hologramSolution.relatedLinks.readMore")}
                  <ArrowRight className="ml-1 h-4 w-4 group-hover:translate-x-1 transition-transform" />
                </span>
              </Link>
            ))}
          </div>
        </div>
      </Section>

      {/* Schema Markup */}
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{
          __html: JSON.stringify({
            "@context": "https://schema.org",
            "@type": "Organization",
            name: "Suteki Studios Inc",
            url: "https://sutekistudios.com",
            logo: "https://sutekistudios.com/assets/suteki-logo.png",
            description: isSv
              ? "Hyr hologram till mässa, event och butik. Holobox, hologramfläkt och kompletta installationer med innehåll, leverans och support."
              : "Rent 3D holograms for trade shows, events and retail. Holobox, hologram fans and full installations with content, delivery and support.",
            sameAs: ["https://www.linkedin.com/company/suteki-studios"],
          }),
        }}
      />
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{
          __html: JSON.stringify({
            "@context": "https://schema.org",
            "@type": "Service",
            name: isSv ? "Hologramlösningar för event och retail" : "3D Hologram Rentals for Events & Trade Shows",
            description: isSv
              ? "Hyr hologram till mässa, event och butik. Holobox, hologramfläkt och kompletta installationer med innehåll, leverans och support."
              : "Rent 3D holograms for trade shows, events and retail. Holobox, hologram fans and full installations with content, delivery and support.",
            provider: { "@type": "Organization", name: "Suteki Studios", url: "https://sutekistudios.com" },
            areaServed: isSv ? "SE" : "Worldwide",
            serviceType: isSv ? "Hologramupplevelse" : "3D Hologram Rental",
            url: isSv ? "https://sutekistudios.com/hologramlosningar" : "https://sutekistudios.com/hologram",
          }),
        }}
      />
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{
          __html: JSON.stringify({
            "@context": "https://schema.org",
            "@type": "FAQPage",
            mainEntity: [0, 1, 2, 3, 4].map((i) => ({
              "@type": "Question",
              name: t(`hologramSolution.faq.items.${i}.question`),
              acceptedAnswer: {
                "@type": "Answer",
                text: t(`hologramSolution.faq.items.${i}.answer`),
              },
            })),
          }),
        }}
      />
      <ExperienceGuideLink lang={isSv ? "sv" : "en"} />
    </Layout>
  );
}
