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

export const Route = createFileRoute("/terms")({
  head: () => ({
    meta: [
      { title: "Terms & Conditions — Fighter Bull's Trading Academy" },
      {
        name: "description",
        content:
          "Read the Terms & Conditions for using Fighter Bull's website, courses and mentorship services.",
      },
      { property: "og:title", content: "Terms & Conditions — Fighter Bull's" },
      {
        property: "og:description",
        content:
          "Terms governing enrollment, payments, content usage and risk disclosures for Fighter Bull's Trading Academy.",
      },
    ],
  }),
  component: TermsPage,
});

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 TermsPage() {
  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">
            Terms & <span className="text-gradient-gold">Conditions</span>
          </h1>
          <p className="mt-2 text-sm text-muted-foreground">Last Updated: May 2026</p>
        </header>

        <P>
          Welcome to Fighter Bulls. By accessing our website, enrolling in our
          courses, or using any of our services, you agree to comply with and be
          bound by the following Terms & Conditions. Please read these Terms
          carefully before purchasing any course or service from Fighter Bulls.
        </P>

        <H2>1. Introduction</H2>
        <P>Fighter Bulls is an educational platform providing training and mentorship related to:</P>
        <UL>
          <li>Cryptocurrency Trading</li>
          <li>Forex Trading</li>
          <li>Commodity Markets</li>
          <li>Indian Options Trading</li>
          <li>Trading Psychology</li>
          <li>Risk Management</li>
          <li>Smart Money Concepts (SMC)</li>
          <li>ICT & CRT Trading Concepts</li>
          <li>Algo Trading Education</li>
        </UL>
        <P>All services and materials are intended strictly for educational and informational purposes only.</P>

        <H2>2. Eligibility</H2>
        <P>By using our services, you confirm that:</P>
        <UL>
          <li>You are at least 18 years old, or</li>
          <li>You are using the platform under parental/legal guardian supervision.</li>
          <li>You are legally allowed to access trading-related educational services in your country or region.</li>
        </UL>

        <H2>3. Educational Purpose Only</H2>
        <P>Fighter Bulls does not provide:</P>
        <UL>
          <li>Investment advisory services</li>
          <li>Portfolio management</li>
          <li>Guaranteed income schemes</li>
          <li>Financial brokerage services</li>
          <li>Buy/Sell investment recommendations</li>
        </UL>
        <P>All course content, mentorship sessions, and materials are purely educational.</P>

        <H2>4. No Profit Guarantee</H2>
        <P>Trading in Cryptocurrency, Forex, Commodities, and Options involves substantial financial risk.</P>
        <P>We do not guarantee:</P>
        <UL>
          <li>Fixed profits</li>
          <li>Daily income</li>
          <li>Guaranteed returns</li>
          <li>Funding account approval</li>
          <li>Financial success</li>
        </UL>
        <P>
          Past performance does not guarantee future results. Users are solely
          responsible for their trading decisions, profits, and losses.
        </P>

        <H2>5. Payment Terms</H2>
        <P>We accept payments through trusted third-party payment providers including Razorpay, Stripe, UPI, Bank Transfer and supported online payment gateways.</P>
        <P>By making a payment, you agree:</P>
        <UL>
          <li>To provide accurate payment and billing information</li>
          <li>That all transactions are authorized</li>
          <li>Not to initiate fraudulent disputes or chargebacks after accessing our services or course materials</li>
        </UL>

        <H2>6. Refund Policy</H2>
        <P>Due to the digital and educational nature of our services, refunds are subject to the following conditions:</P>
        <UL>
          <li>Students may request a refund only within the first <strong>4 conducted classes</strong> from the date of enrollment.</li>
          <li>Once <strong>4 classes have been conducted by the Fighter Bulls team</strong>, refunds will no longer be applicable.</li>
          <li>This policy applies regardless of attendance status. Non-attendance, missed classes, inactivity, or failure to participate does not extend refund eligibility.</li>
          <li>After the completion or conduct of 4 classes, all payments become non-refundable and non-transferable.</li>
          <li>Refund requests must be submitted officially through our support team within the eligible refund period.</li>
          <li>Any approved refund may take 7–14 business days to process depending on the payment provider (Razorpay, Stripe, Bank, etc.).</li>
        </UL>
        <P>By enrolling in our courses, you acknowledge and agree to this refund policy.</P>

        <H2>7. Course Access & Services</H2>
        <P>Depending on the selected plan, students may receive live classes, recorded sessions, community/group access, mentorship support, live chart analysis and educational resources.</P>
        <P>Fighter Bulls reserves the right to modify course structures, change schedules, update learning materials and upgrade or discontinue features without prior notice.</P>

        <H2>8. Intellectual Property Rights</H2>
        <P>All content provided by Fighter Bulls including videos, PDFs, course materials, strategies, logos, website content, educational frameworks and charts/analysis are the intellectual property of Fighter Bulls.</P>
        <P>Users may not copy, re-upload, redistribute, resell, share login access or commercially reproduce content without written permission. Unauthorized distribution may result in account termination and legal action.</P>

        <H2>9. User Conduct</H2>
        <P>Users agree not to misuse the platform, harass staff or students, share misleading information, attempt unauthorized access, engage in fraudulent activities or violate applicable laws. Fighter Bulls reserves the right to suspend or terminate access for any policy violations.</P>

        <H2>10. Third-Party Platforms</H2>
        <P>Our services may reference or integrate with third-party platforms including TradingView, MetaTrader, Crypto Exchanges, Prop Firms and Payment Gateways.</P>
        <P>We are not responsible for third-party technical failures, trading losses, account restrictions, external platform policies or service interruptions. Users must independently review third-party terms and policies.</P>

        <H2>11. Financial Risk Disclosure</H2>
        <P>Trading financial markets carries a high level of risk and may not be suitable for all individuals. You acknowledge that market volatility can lead to financial losses, leveraged trading increases risk exposure, you are responsible for your own trading decisions, and educational content should not be considered financial advice.</P>

        <H2>12. Limitation of Liability</H2>
        <P>Fighter Bulls and its team shall not be liable for trading losses, financial damages, loss of profits, data loss, business interruption, technical issues or indirect/consequential damages. Your use of our services is entirely at your own risk.</P>

        <H2>13. Privacy & Data Protection</H2>
        <P>We may collect limited information for enrollment processing, payment verification, student communication and customer support. We do not sell personal information to third parties. Payment transactions are securely processed through trusted payment providers such as Razorpay and Stripe.</P>

        <H2>14. Anti-Fraud & Payment Abuse Policy</H2>
        <P>To comply with Razorpay and Stripe policies, fraudulent payments are strictly prohibited, unauthorized or stolen payment methods are not allowed, and suspicious activities may be reported to payment providers or legal authorities. We reserve the right to refuse or cancel suspicious transactions.</P>

        <H2>15. Chargeback Policy</H2>
        <P>By purchasing our services, you agree not to file false or unjustified chargebacks, to contact support first for dispute resolution and that access to digital content constitutes successful service delivery. Fraudulent chargebacks may result in immediate account suspension, permanent access restriction and legal recovery proceedings.</P>

        <H2>16. Account Suspension & Termination</H2>
        <P>We reserve the right to suspend or permanently terminate user access without refund if users violate these Terms, misuse services, engage in piracy, share copyrighted materials, harass staff or community members or conduct fraudulent payment activity.</P>

        <H2>17. Changes To Terms</H2>
        <P>Fighter Bulls may update or modify these Terms & Conditions at any time without prior notice. Continued use of the website or services after changes constitutes acceptance of the revised Terms.</P>

        <H2>18. Governing Law</H2>
        <P>These Terms & Conditions shall be governed under the applicable laws of India. Any disputes arising from the use of our services shall be subject to the jurisdiction of the competent courts in India.</P>

        <H2>19. 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 Disclaimer</H2>
        <P>Fighter Bulls is an educational platform only. We do not provide financial advice, investment guarantees, or regulated financial services. Trading in Cryptocurrency, Forex, Commodities, and Options involves financial risk. Users should conduct their own research and trade responsibly before participating in financial markets.</P>
      </main>
      <Footer />
    </div>
  );
}
