/**
 * WindowsHostingPage.tsx — dedicated landing page for Windows hosting.
 */
import {
  Database,
  Zap,
  ShieldCheck,
  Server,
  Code,
  Layers,
} from "lucide-react";
import HostingPlanDetail, {
  HostingPlanDetailConfig,
} from "./HostingPlanDetail";

const config: HostingPlanDetailConfig = {
  name: "Windows Hosting",
  tagline: "ASP.NET · MSSQL · IIS",
  heroTitle: "Windows Hosting for .NET & MSSQL workloads",
  heroDescription:
    "Run .NET Core, classic ASP, MSSQL databases, and Windows-only stacks on a fully managed IIS platform powered by Plesk. Ideal for enterprise applications that depend on the Microsoft ecosystem.",
  accentColor: "#2563eb",
  accentColorSoft: "#eff6ff",
  heroIcon: <Database className="w-7 h-7" />,
  externalUrl: "https://doiteasy.net/plesk/",
  tiers: [
    {
      name: "Windows Starter",
      price: "$4.99",
      cadence: "/mo",
      features: [
        "1 website",
        "20 GB SSD storage",
        "1 MSSQL database",
        "IIS 10 + ASP.NET 4.8",
        "Plesk control panel",
      ],
      ctaLabel: "Choose Starter",
    },
    {
      name: "Windows Business",
      price: "$8.99",
      cadence: "/mo",
      highlight: true,
      features: [
        "10 websites",
        "50 GB SSD storage",
        "10 MSSQL databases",
        "ASP.NET Core 6 / 7 / 8",
        "Remote IIS management",
        "Free SSL + daily backups",
      ],
      ctaLabel: "Choose Business",
    },
    {
      name: "Windows Enterprise",
      price: "$14.99",
      cadence: "/mo",
      features: [
        "Unlimited websites",
        "100 GB SSD storage",
        "Unlimited MSSQL databases",
        "Dedicated application pool",
        "Priority support",
        "Dedicated IP",
      ],
      ctaLabel: "Choose Enterprise",
    },
  ],
  features: [
    {
      icon: <Server className="w-6 h-6" />,
      title: "IIS 10 + ASP.NET",
      desc:
        "Run ASP.NET 4.8, ASP.NET Core 6/7/8 and classic ASP on managed IIS 10.",
    },
    {
      icon: <Database className="w-6 h-6" />,
      title: "MSSQL Databases",
      desc:
        "Fully managed Microsoft SQL Server with nightly backups and point-in-time restore.",
    },
    {
      icon: <Layers className="w-6 h-6" />,
      title: "Plesk Control Panel",
      desc:
        "Beautiful Plesk UI designed for Windows — manage websites, databases and mail.",
    },
    {
      icon: <Code className="w-6 h-6" />,
      title: "Remote IIS",
      desc:
        "Connect your local IIS Manager to deploy, debug and tune apps remotely.",
    },
    {
      icon: <ShieldCheck className="w-6 h-6" />,
      title: "Windows Firewall",
      desc:
        "Advanced Windows Defender firewall and antivirus scanning included.",
    },
    {
      icon: <Zap className="w-6 h-6" />,
      title: "NVMe SSD Storage",
      desc:
        "Fast NVMe-backed SSD delivers low-latency SQL queries and static asset loads.",
    },
  ],
  faqs: [
    {
      q: "Which .NET versions do you support?",
      a: "We support ASP.NET 4.8 (full framework) as well as ASP.NET Core 6, 7, and 8. You can switch versions per-site from Plesk.",
    },
    {
      q: "Do you support MSSQL Server?",
      a: "Yes. All Windows plans include at least one MSSQL database; higher plans include more databases and larger storage quotas.",
    },
    {
      q: "Can I use Remote Desktop / RDP?",
      a: "Shared Windows plans use Plesk + Remote IIS for management. If you need full RDP, consider our Windows VPS or dedicated servers instead.",
    },
    {
      q: "Can I host PHP sites on Windows?",
      a: "Yes. Plesk for Windows supports PHP 7.4 / 8.x out of the box alongside your .NET apps.",
    },
  ],
};

export default function WindowsHostingPage() {
  return <HostingPlanDetail config={config} />;
}