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

export const metadata: Metadata = {
  title: "Startup Funding",
  description:
    "Fundraising readiness advisory and introductions to angel investors and venture capital firms for equity-stage startups. ROPTS advises and introduces — it does not invest directly.",
  alternates: { canonical: "/services/sector-funding/startup-funding" },
  openGraph: {
    title: "Startup Funding — ROPTS Venture Capital",
    description:
      "Pitch, cap table, and valuation readiness for startups, matched to angel investors and VC firms whose stage and sector thesis actually fit.",
    type: "website",
    url: "/services/sector-funding/startup-funding",
  },
};

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  serviceType: "Startup Funding Advisory",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
  description:
    "Fundraising readiness advisory and investor introduction service for equity-stage startups, connecting them with angel investors and venture capital firms whose stage and sector focus align.",
  areaServed: "IN",
};

const included = [
  {
    title: "Readiness assessment",
    description: "A structured review of your narrative, traction evidence, and cap table against what your target investor stage expects.",
  },
  {
    title: "Investor shortlisting",
    description: "Matching against sector thesis, stage focus, and typical check size — not a generic contact list.",
  },
  {
    title: "Warm introduction",
    description: "A curated introduction once both sides show genuine fit. The subsequent conversation, terms, and close are yours to run.",
  },
];

const faqs = [
  {
    question: "What stage of startup qualifies for this service?",
    answer:
      "Pre-seed through growth stage. The Readiness Review is calibrated to what's realistic at each stage — a pre-seed founder isn't expected to show revenue traction, but is expected to show problem validation, a credible team, and a coherent narrative.",
  },
  {
    question: "Does ROPTS invest in my startup?",
    answer:
      "No. ROPTS is a fundraising advisory and connectivity firm. We prepare your organization and make introductions to angel investors and VC firms in our network — the investment decision and terms are agreed directly between you and them.",
  },
  {
    question: "How are investors selected for the introduction?",
    answer:
      "We match on stated sector thesis, stage focus, and geography — the criteria investors themselves define — rather than introducing broadly and hoping something lands.",
  },
  {
    question: "What if my startup isn't ready yet?",
    answer:
      "The Readiness Review identifies specific gaps rather than issuing a blanket rejection. Many founders return once a narrative, traction, or documentation gap has been addressed.",
  },
];

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

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "Sector Funding", href: "/services/sector-funding" },
          { label: "Startup Funding" },
        ]}
        eyebrow="Sector Funding"
        title="Startup Funding"
        description="Fundraising readiness and curated introductions to angel investors and venture capital firms for founders raising equity capital at pre-seed through growth stage."
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />

      <div className="container py-16">
        <div className="max-w-2xl">
          <SectionHeading eyebrow="The Service" title="Preparation before pitching, matching before introducing" />
          <p className="mt-6 text-body-md text-ink-soft">
            Startup fundraising fails more often on mismatch than on merit — a pitch sent to an investor whose stage
            or sector thesis never aligned in the first place. Before any introduction, ROPTS reviews your narrative,
            traction evidence, and cap table hygiene, then matches you against investors whose stated focus genuinely
            overlaps with what you are raising. Our role ends at the introduction; the term sheet negotiation and
            close remain a direct relationship between you and the investor.
          </p>
          <p className="mt-4 text-body-md text-ink-soft">
            This service is built for founders who want their fundraising time spent in front of investors who could
            plausibly say yes, not a wide net cast at anyone with capital.
          </p>
        </div>

        <div className="mt-16">
          <SectionHeading eyebrow="What's Included" title="Three parts of the engagement" />
          <div className="mt-8 grid gap-6 sm:grid-cols-3">
            {included.map((item) => (
              <Card key={item.title}>
                <CardHeader>
                  <CardTitle>{item.title}</CardTitle>
                  <CardDescription>{item.description}</CardDescription>
                </CardHeader>
              </Card>
            ))}
          </div>
        </div>

        <div className="mt-20 max-w-2xl">
          <h2 className="mb-6 font-display text-h1 font-normal text-ink">Frequently Asked</h2>
          <FaqAccordion items={faqs} />
        </div>
      </div>

      <CtaSection
        title="Ready to find out if your startup is fundraising-ready?"
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
