import { createFileRoute } from "@tanstack/react-router";
import { Navbar } from "@/components/site/Navbar";
import { Footer } from "@/components/site/Footer";

export const Route = createFileRoute("/refund-policy")({
  head: () => ({
    meta: [
      { title: "Refund Policy — Fighter Bull's Trading Academy" },
      {
        name: "description",
        content:
          "Refund eligibility, process and timelines for Fighter Bull's trading courses and mentorship.",
      },
      { property: "og:title", content: "Refund Policy — Fighter Bull's" },
      {
        property: "og:description",
        content:
          "How refunds work at Fighter Bull's: 4-class eligibility window, request process and processing timelines.",
      },
    ],
  }),
  component: RefundPage,
});

function H2({ children }: { children: React.ReactNode }) {
  return <h2 className="mt-12 text-2xl font-bold tracking-tight">{children}</h2>;
}
function P({ children }: { children: React.ReactNode }) {
  return <p className="mt-3 text-muted-foreground leading-relaxed">{children}</p>;
}
function UL({ children }: { children: React.ReactNode }) {
  return (
    <ul className="mt-3 list-disc space-y-1.5 pl-6 text-muted-foreground leading-relaxed">
      {children}
    </ul>
  );
}

function RefundPage() {
  return (
    <div className="min-h-screen bg-background">
      <Navbar />
      <main className="mx-auto max-w-3xl px-4 py-16 md:px-8 md:py-24">
        <header>
          <div className="inline-flex items-center rounded-full border border-border bg-surface px-4 py-1.5 text-xs font-semibold uppercase tracking-widest text-muted-foreground">
            Legal
          </div>
          <h1 className="mt-6 text-4xl font-bold tracking-tight md:text-5xl">
            Refund <span className="text-gradient-gold">Policy</span>
          </h1>
          <p className="mt-2 text-sm text-muted-foreground">Last Updated: May 2026</p>
        </header>

        <P>
          At Fighter Bulls, we are committed to providing high-quality trading
          education and mentorship services. Since our courses include digital
          content, live training sessions, recorded materials, and mentorship
          access, we maintain the following refund policy. Please read this
          policy carefully before enrolling in any course or service.
        </P>

        <H2>1. Refund Eligibility</H2>
        <P>
          Students may request a refund only within the first <strong>4 conducted
          classes</strong> from the date of enrollment. Refund requests submitted
          after the completion or conduct of 4 classes will not be eligible for
          refund under any circumstances.
        </P>

        <H2>2. Conducted Classes Policy</H2>
        <P>
          Refund eligibility is based on the number of classes conducted by the
          Fighter Bulls team, not on student attendance. This means if 4 classes
          have already been conducted, refunds will not be applicable even if:
        </P>
        <UL>
          <li>The student did not attend</li>
          <li>The student missed classes</li>
          <li>The student remained inactive</li>
          <li>The student failed to access recordings or groups</li>
        </UL>
        <P>Non-attendance does not extend or modify the refund period.</P>

        <H2>3. Non-Refundable Situations</H2>
        <P>Refunds will not be provided in the following cases:</P>
        <UL>
          <li>After 4 classes have been conducted</li>
          <li>Change of mind after enrollment</li>
          <li>Lack of trading results or profits</li>
          <li>Failure to understand concepts</li>
          <li>Inability to attend classes</li>
          <li>Personal schedule conflicts</li>
          <li>Market-related losses</li>
          <li>Violation of community or platform rules</li>
          <li>Account suspension due to misconduct</li>
        </UL>

        <H2>4. Digital Product & Service Policy</H2>
        <P>By enrolling in Fighter Bulls courses, you acknowledge that:</P>
        <UL>
          <li>Digital educational services begin immediately after access is granted</li>
          <li>Course materials, recordings, and mentorship resources are intellectual property</li>
          <li>Access to digital learning content constitutes partial service delivery</li>
        </UL>
        <P>Therefore, refunds may be restricted once course access or services have been activated.</P>

        <H2>5. Refund Request Process</H2>
        <P>To request a refund within the eligible period:</P>
        <UL>
          <li>Contact our support team officially</li>
          <li>Provide your registered name, contact details, and payment information</li>
          <li>Explain the reason for the refund request</li>
        </UL>
        <P>
          Approved refunds may take approximately <strong>7–14 business days</strong> to
          process depending on Razorpay, Stripe, UPI or bank processing
          timelines.
        </P>

        <H2>6. Chargeback & Payment Disputes</H2>
        <P>
          Students agree not to initiate false or fraudulent chargebacks after
          accessing course materials, joining mentorship groups, receiving
          recordings or attending classes.
        </P>
        <P>Unauthorized chargebacks may result in:</P>
        <UL>
          <li>Permanent account suspension</li>
          <li>Access termination</li>
          <li>Legal recovery procedures</li>
          <li>Reporting to payment processors</li>
        </UL>

        <H2>7. Exceptional Cases</H2>
        <P>
          In rare and exceptional situations, Fighter Bulls management reserves
          the sole right to approve, reject or partially process any refund
          request at its discretion. Management decisions regarding refunds
          shall be considered final.
        </P>

        <H2>8. Contact Information</H2>
        <div className="mt-4 rounded-2xl border border-border bg-surface p-5 text-sm">
          <div className="font-semibold">Fighter Bulls Support Team</div>
          <div className="mt-2 space-y-1 text-muted-foreground">
            <div>Website: <a className="text-primary hover:underline" href="https://fighterbulls.lovable.app">fighterbulls.lovable.app</a></div>
            <div>Email: <a className="text-primary hover:underline" href="mailto:support@fighterbulls.com">support@fighterbulls.com</a></div>
            <div>Phone: +91 9932055655</div>
          </div>
        </div>

        <H2>Final Note</H2>
        <P>
          By purchasing any Fighter Bulls course or service, you acknowledge
          that you have read, understood, and agreed to this Refund Policy.
        </P>
      </main>
      <Footer />
    </div>
  );
}
