import type { Metadata } from "next";
import Link from "next/link";
import { PageHero } from "@/components/patterns/PageHero";
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/Card";
import { CtaSection } from "@/components/patterns/CtaSection";

export const metadata: Metadata = {
  title: "Fundraising Advisory",
  description:
    "Pitch deck review, fundraising strategy, business valuation guidance, and investment readiness — the preparation work ROPTS delivers before an organization approaches investors.",
  alternates: { canonical: "/services/fundraising-advisory" },
  openGraph: {
    title: "Fundraising Advisory — ROPTS Venture Capital",
    description:
      "Structured preparation across pitch, strategy, valuation framing, and readiness so an organization arrives at investor conversations able to withstand scrutiny.",
    type: "website",
    url: "/services/fundraising-advisory",
  },
};

const subServices = [
  {
    title: "Pitch Deck Review",
    href: "/services/fundraising-advisory/pitch-deck-review",
    description: "A structured review of narrative, financials, and ask against what investors actually scrutinize.",
  },
  {
    title: "Fundraising Strategy",
    href: "/services/fundraising-advisory/fundraising-strategy",
    description: "Sequencing, round sizing, and instrument choice built around your stage and sector.",
  },
  {
    title: "Business Valuation Guidance",
    href: "/services/fundraising-advisory/business-valuation-guidance",
    description: "Methodology framing to help you enter valuation conversations with a defensible position.",
  },
  {
    title: "Investment Readiness",
    href: "/services/fundraising-advisory/investment-readiness",
    description: "A structured assessment of what stands between your organization and a credible ask.",
  },
];

const serviceJsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  name: "Fundraising Advisory",
  description:
    "Fundraising advisory services covering pitch deck review, fundraising strategy, business valuation guidance, and investment readiness.",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
};

export default function FundraisingAdvisoryPage() {
  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(serviceJsonLd) }}
      />

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "Fundraising Advisory" },
        ]}
        eyebrow="Services"
        title="Fundraising Advisory"
        description="Before an introduction can be made, an organization has to be ready to withstand the questions that follow it. Fundraising Advisory is the preparation layer — narrative, numbers, valuation framing, and an honest readiness check."
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="How It Works"
        secondaryHref="/how-it-works"
      />

      <section className="container py-16 md:py-20">
        <h2 className="sr-only">Fundraising Advisory Services</h2>
        <div className="grid gap-6 sm:grid-cols-2">
          {subServices.map((service) => (
            <Link key={service.href} href={service.href} className="block focus:outline-none">
              <Card className="h-full">
                <CardHeader>
                  <CardTitle>{service.title}</CardTitle>
                </CardHeader>
                <div className="p-6 pt-3">
                  <CardDescription>{service.description}</CardDescription>
                </div>
              </Card>
            </Link>
          ))}
        </div>
      </section>

      <CtaSection
        title="Not sure where your organization stands?"
        description="Apply in minutes. There is no cost, and no obligation until an introduction is made."
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
