import Link from 'next/link'
import { Button } from '@/components/ui/button'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Header } from '@/components/layout/header'
import { Check, Shield, Globe, Lock, Zap, Users } from 'lucide-react'

export default function EnterprisePage() {
  return (
    <>
      <Header />
      <main className="min-h-screen bg-studio-black">
        {/* Hero */}
        <section className="relative border-b border-studio-medium bg-gradient-to-br from-phoenix-fire/10 via-transparent to-sankofa-gold/10 py-24 px-4">
          <div className="mx-auto max-w-4xl text-center">
            <h1 className="mb-6 text-5xl font-bold text-white md:text-6xl">
              Enterprise Cloud Infrastructure
            </h1>
            <p className="mb-8 text-xl text-gray-300">
              Sovereign cloud infrastructure designed for enterprise scale, security, and compliance
            </p>
            <div className="flex flex-col gap-4 sm:flex-row sm:justify-center">
              <Button variant="phoenix" size="lg" asChild>
                <Link href="/portal/get-started">Start Free Trial</Link>
              </Button>
              <Button variant="outline" size="lg" asChild>
                <Link href="/company/trust">View Compliance</Link>
              </Button>
            </div>
          </div>
        </section>

        {/* Trust & Compliance */}
        <section className="py-24 px-4">
          <div className="mx-auto max-w-6xl">
            <h2 className="mb-12 text-center text-4xl font-bold text-white">
              Enterprise-Grade Trust & Compliance
            </h2>
            <div className="grid gap-8 md:grid-cols-3">
              <Card>
                <CardHeader>
                  <Shield className="mb-2 h-10 w-10 text-phoenix-fire" />
                  <CardTitle>Security First</CardTitle>
                  <CardDescription>
                    DoD/MilSpec compliance, zero-trust architecture, and sovereign identity management
                  </CardDescription>
                </CardHeader>
                <CardContent>
                  <ul className="space-y-2 text-sm text-gray-300">
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-phoenix-fire" />
                      <span>STIG-compliant infrastructure</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-phoenix-fire" />
                      <span>Keycloak-based sovereign identity (no Azure dependencies)</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-phoenix-fire" />
                      <span>End-to-end encryption</span>
                    </li>
                  </ul>
                </CardContent>
              </Card>

              <Card>
                <CardHeader>
                  <Lock className="mb-2 h-10 w-10 text-sankofa-gold" />
                  <CardTitle>Compliance Ready</CardTitle>
                  <CardDescription>
                    Built for regulated industries and government requirements
                  </CardDescription>
                </CardHeader>
                <CardContent>
                  <ul className="space-y-2 text-sm text-gray-300">
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-sankofa-gold" />
                      <span>RMF authorization ready</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-sankofa-gold" />
                      <span>Audit logging and compliance reporting</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-sankofa-gold" />
                      <span>Data sovereignty controls</span>
                    </li>
                  </ul>
                </CardContent>
              </Card>

              <Card>
                <CardHeader>
                  <Globe className="mb-2 h-10 w-10 text-neon-cyan" />
                  <CardTitle>Global Infrastructure</CardTitle>
                  <CardDescription>
                    325-region deployment with edge computing and regional data residency
                  </CardDescription>
                </CardHeader>
                <CardContent>
                  <ul className="space-y-2 text-sm text-gray-300">
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-neon-cyan" />
                      <span>Multi-region redundancy</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-neon-cyan" />
                      <span>Edge computing for low latency</span>
                    </li>
                    <li className="flex items-start gap-2">
                      <Check className="mt-0.5 h-5 w-5 flex-shrink-0 text-neon-cyan" />
                      <span>Data residency controls</span>
                    </li>
                  </ul>
                </CardContent>
              </Card>
            </div>
          </div>
        </section>

        {/* Enterprise Features */}
        <section className="border-t border-studio-medium bg-studio-dark py-24 px-4">
          <div className="mx-auto max-w-6xl">
            <h2 className="mb-12 text-center text-4xl font-bold text-white">
              Enterprise Capabilities
            </h2>
            <div className="grid gap-8 md:grid-cols-2">
              <div>
                <Zap className="mb-4 h-8 w-8 text-phoenix-fire" />
                <h3 className="mb-4 text-2xl font-bold text-white">Advanced Multi-Tenancy</h3>
                <p className="mb-4 text-gray-300">
                  Superior tenant isolation, per-second billing granularity, and comprehensive quota management. 
                  Built for enterprises managing multiple business units or customer tenants.
                </p>
                <ul className="space-y-2 text-sm text-gray-400">
                  <li>• Tenant-level resource isolation</li>
                  <li>• Per-second billing with cost forecasting</li>
                  <li>• Budget management and alerts</li>
                  <li>• Custom quota enforcement</li>
                </ul>
              </div>

              <div>
                <Users className="mb-4 h-8 w-8 text-sankofa-gold" />
                <h3 className="mb-4 text-2xl font-bold text-white">Role-Based Access Control</h3>
                <p className="mb-4 text-gray-300">
                  Enterprise-grade RBAC with fine-grained permissions, audit trails, and integration 
                  with your existing identity providers.
                </p>
                <ul className="space-y-2 text-sm text-gray-400">
                  <li>• Custom roles and permissions</li>
                  <li>• SSO integration (SAML, OIDC)</li>
                  <li>• Audit logging for all actions</li>
                  <li>• Multi-factor authentication</li>
                </ul>
              </div>
            </div>
          </div>
        </section>

        {/* CTA */}
        <section className="py-24 px-4">
          <div className="mx-auto max-w-4xl text-center">
            <h2 className="mb-6 text-4xl font-bold text-white">
              Ready to Transform Your Infrastructure?
            </h2>
            <p className="mb-8 text-xl text-gray-400">
              Join enterprises leveraging sovereign cloud infrastructure
            </p>
            <div className="flex flex-col gap-4 sm:flex-row sm:justify-center">
              <Button variant="phoenix" size="lg" asChild>
                <Link href="/portal/get-started">Contact Sales</Link>
              </Button>
              <Button variant="outline" size="lg" asChild>
                <Link href="/developers">View Documentation</Link>
              </Button>
            </div>
          </div>
        </section>
      </main>
    </>
  )
}

