import { Link } from "react-router-dom";
import { ArrowRight, Glasses, Box, Brain } from "lucide-react";
import { Layout } from "@/components/layout/Layout";
import { Section, SectionHeader } from "@/components/ui/Section";
import { SEOHead } from "@/components/SEOHead";
import { useForceLanguage } from "@/hooks/useForceLanguage";
import heroBackground from "@/assets/photos/team-studio.jpg";

const solutions = [
  {
    icon: Glasses,
    title: "VR for Education & Training",
    description: "Transform how your organization trains, onboards, and develops talent. Our VR solutions create immersive learning environments that improve retention, reduce risk, and lower training costs.",
    benefits: [
      "Up to 75% higher knowledge retention compared to traditional training methods",
      "Risk-free practice for high-stakes scenarios",
      "Scalable across locations and teams",
      "Measurable learning outcomes",
    ],
    useCases: "Industrial safety, medical procedures, customer service, leadership development, technical skills",
    href: "/vr",
    deliveryNote: "Typical delivery: pilot programs, enterprise rollout, and ongoing support.",
  },
  {
    icon: Box,
    title: "Hologram Solutions",
    description: "Capture attention and create memorable experiences with physical hologram installations. From trade shows to retail spaces, our hologram solutions guide, inform, and engage your audience.",
    benefits: [
      "Up to 10x higher engagement compared to traditional displays",
      "24/7 operation without staffing costs",
      "Flexible content updates",
      "Multi-language support",
    ],
    useCases: "Trade shows, retail displays, museum exhibits, corporate lobbies, public spaces",
    href: "/hologram",
    deliveryNote: "Designed for high-visibility environments and long-term operation.",
  },
  {
    icon: Brain,
    title: "AI for Education & Communication",
    description: "Deploy AI solutions that deliver measurable ROI. From intelligent assistants to automated communication systems, we implement AI that solves real organizational challenges. Designed to reduce operational load while maintaining consistency, quality, and compliance across teams and regions.",
    benefits: [
      "Reduce response time by 80%",
      "Available 24/7 across time zones",
      "Consistent quality of information",
      "Scalable without linear cost increase",
    ],
    useCases: "Internal knowledge bases, customer support, education platforms, automated reporting",
    href: "/ai",
    deliveryNote: "Built for scalability, governance, and enterprise integration.",
  },
];

export default function Solutions() {
  useForceLanguage("en");
  return (
    <Layout>
      <SEOHead 
        title="VR, Hologram & AI Solutions | Suteki Studios"
        description="Enterprise VR training, hologram installations, and AI solutions for organizations. Measurable impact from proven immersive technology."
        ogImage="/assets/photos/team-studio.jpg"
        forceLang="en"
        hreflangOverrides={{ sv: "/tjanster", en: "/solutions", xDefault: "/tjanster" }}
      />
      
      {/* Hero */}
      <section className="min-h-[65vh] flex items-end relative overflow-hidden" data-hero="true">
        <div className="absolute inset-0 bg-cover bg-center" style={{ backgroundImage: `url(${heroBackground})` }} />
        <div className="absolute inset-0" style={{ background: 'linear-gradient(to top, rgba(8,12,20,0.90) 0%, rgba(8,12,20,0.45) 50%, rgba(8,12,20,0.20) 100%)' }} />
        <div className="container mx-auto px-6 lg:px-8 relative z-10 pb-20 pt-40">
          <div className="max-w-3xl">
            <p className="hero-eyebrow mb-5 animate-fade-up">Our Solutions</p>
            <h1 className="display mb-6 hero-text-white animate-fade-up">Solutions Built for Impact</h1>
            <p className="text-lg hero-text-body leading-relaxed max-w-xl animate-fade-up-delay-1">
              We deliver three proven solution areas where immersive technology creates 
              measurable business value for enterprise and public-sector organizations. 
              Each solution is designed for real-world deployment, long-term use, and full accountability.
            </p>
          </div>
        </div>
      </section>

      {/* Solutions — editorial alternating layout */}
      {solutions.map((solution, index) => (
        <Section key={solution.title} className={index % 2 === 0 ? "section-white" : "section-beige"}>
          <div className="grid lg:grid-cols-5 gap-16 items-start">
            <div className="lg:col-span-3 animate-fade-up">
              <div className="w-12 h-12 rounded-xl bg-accent/8 border border-accent/12 flex items-center justify-center mb-6">
                <solution.icon className="h-6 w-6 text-accent" />
              </div>
              <h2 className="mb-5 text-foreground">{solution.title}</h2>
              <p className="text-muted-foreground mb-8 leading-relaxed">{solution.description}</p>
              <Link to={solution.href} className="btn-primary inline-flex items-center gap-2">
                Explore Solution
                <ArrowRight className="h-4 w-4" />
              </Link>
              {solution.deliveryNote && (
                <p className="text-sm text-muted-foreground mt-4">{solution.deliveryNote}</p>
              )}
            </div>
            <div className="lg:col-span-2 space-y-5 animate-fade-up-delay-1">
              <div className="enterprise-card p-6">
                <h3 className="text-xs font-semibold uppercase tracking-wider text-accent mb-4">Key Benefits</h3>
                <ul className="space-y-3">
                  {solution.benefits.map((benefit) => (
                    <li key={benefit} className="flex items-start gap-3">
                      <div className="h-1.5 w-1.5 rounded-full bg-accent mt-2 flex-shrink-0" />
                      <span className="text-foreground/80 text-[15px]">{benefit}</span>
                    </li>
                  ))}
                </ul>
              </div>
              <div className="enterprise-card p-6">
                <h3 className="text-xs font-semibold uppercase tracking-wider text-accent mb-3">Common Use Cases</h3>
                <p className="text-muted-foreground text-[15px]">{solution.useCases}</p>
              </div>
            </div>
          </div>
        </Section>
      ))}

      {/* Related deep-dive landing pages (SEO/AEO) */}
      <Section className="section-white">
        <SectionHeader eyebrow="Deep dives" title="Explore our enterprise programs" />
        <ul className="grid md:grid-cols-3 gap-6 mt-8">
          <li className="enterprise-card p-6 md:col-span-3">
            <h3 className="text-lg font-semibold mb-2">
              <Link to="/best-vr-ai-solutions-enterprise-training" className="hover:text-accent">Best VR & AI Solutions for Enterprise Training (2026 Guide)</Link>
            </h3>
            <p className="text-muted-foreground text-[15px]">Independent 2026 industry guide comparing VR, AI, WebAR, mixed reality and holograms for enterprise learning — use cases, ROI and implementation strategies.</p>
          </li>
          <li className="enterprise-card p-6">
            <h3 className="text-lg font-semibold mb-2">
              <Link to="/enterprise-vr-training" className="hover:text-accent">Enterprise VR Training Solutions</Link>
            </h3>
            <p className="text-muted-foreground text-[15px]">Custom VR training for global companies — immersive simulations, AI feedback and LMS integration.</p>
          </li>
          <li className="enterprise-card p-6">
            <h3 className="text-lg font-semibold mb-2">
              <Link to="/ai-training-solutions" className="hover:text-accent">AI Training Solutions for Business</Link>
            </h3>
            <p className="text-muted-foreground text-[15px]">Adaptive AI learning, scenario generation and real-time coaching, integrated with VR and enterprise systems.</p>
          </li>
          <li className="enterprise-card p-6">
            <h3 className="text-lg font-semibold mb-2">
              <Link to="/vr-training-healthcare-public-sector" className="hover:text-accent">VR Training for Healthcare & Public Sector</Link>
            </h3>
            <p className="text-muted-foreground text-[15px]">Immersive training for hospitals, courts, agencies and emergency services with regulated-industry compliance.</p>
          </li>
        </ul>
      </Section>

      {/* CTA */}
      <section className="section-dark py-[var(--space-section)]" data-theme="dark">
        <div className="container mx-auto px-6 lg:px-8">
          <div className="max-w-2xl mx-auto text-center">
            <h2 className="mb-5">Not Sure Which Solution Fits Your Organization?</h2>
            <p className="text-lg mb-10 leading-relaxed" style={{ color: 'rgba(226,232,240,0.7)' }}>
              Book a strategic discussion and we'll help you identify the right approach 
              based on your objectives, constraints, and delivery requirements.
            </p>
            <a href="https://calendly.com/sutekistudios/strategic-project-discussion" target="_blank" rel="noopener noreferrer" className="btn-white inline-flex items-center gap-2">
              Book a Strategic Meeting
              <ArrowRight className="h-4 w-4" />
            </a>
          </div>
        </div>
      </section>
    </Layout>
  );
}
