import type { Metadata } from "next";
import { BreadcrumbSection } from "@/components/BreadcrumbSection";
import { PolicyDocument } from "@/components/PolicyDocument";

type CharterItem = {
  heading: string;
  body?: string[];
  list?: string[];
  after?: string;
};

type CharterSection = {
  title: string;
  content?: string[];
  list?: string[];
  after?: string;
  items?: CharterItem[];
};

export const metadata: Metadata = {
  title: "Customer Protection Charter | Ride N Revive",
  description:
    "Read the Ride N Revive Customer Protection Charter outlining our Roadside Assistance Policy, Service Warranty Policy, Customer Bill of Rights, and Grievance Redressal Policy.",
  alternates: {
    canonical: "/customer-protection-charter",
  },
  openGraph: {
    title: "Customer Protection Charter | Ride N Revive",
    description:
      "Our commitment to transparent pricing, verified mechanics, secure payments, and fair complaint resolution for every customer using Ride N Revive.",
    url: "/customer-protection-charter",
  },
};

const sections: CharterSection[] = [
  {
    title: "PREAMBLE",
    content: [
      "At Ride N Revive TM, customer trust is our most valuable asset.",
      "This Customer Protection Charter has been designed to establish clear standards, transparent expectations, and a fair resolution process for every customer who uses our platform.",
    ],
  },
  {
    title: "PART I - ROADSIDE ASSISTANCE POLICY",
    items: [
      {
        heading: "1. Purpose",
        body: [
          "Ride N Revive provides on-demand roadside assistance to help customers during unexpected vehicle breakdowns, emergencies, and mobility disruptions.",
          "Our objective is to minimize downtime and help customers get back on the road safely and efficiently.",
        ],
      },
      {
        heading: "2. Covered Services",
        body: ["Roadside assistance services may include:"],
        list: [
          "Two-Wheelers: Breakdown Assistance, Battery Jump Start, Battery Replacement, Puncture Repair, Emergency Fuel Assistance, Minor Electrical Repairs, Chain Issues, Clutch Cable Assistance",
          "Four-Wheelers: Battery Jump Start, Battery Replacement, Tyre Assistance, Fuel Assistance, Towing Coordination, Minor Roadside Repairs, Lockout Assistance (where available)",
        ],
      },
      {
        heading: "3. Service Availability",
        body: ["Services are subject to:"],
        list: [
          "City Coverage",
          "Technician Availability",
          "Weather Conditions",
          "Road Accessibility",
          "Vehicle Condition",
          "Safety Requirements",
        ],
        after:
          "Ride N Revive operates on a best-effort basis and cannot guarantee service availability in every location.",
      },
      {
        heading: "4. Customer Responsibilities",
        body: ["Customers must:"],
        list: [
          "Provide accurate location details.",
          "Provide accurate vehicle information.",
          "Maintain a safe service environment.",
          "Cooperate with technicians.",
          "Verify completed work before closure.",
        ],
      },
      {
        heading: "5. Exclusions",
        body: ["Roadside assistance does not include:"],
        list: [
          "Major engine overhauls",
          "Accident recovery services",
          "Insurance claim processing",
          "Illegal vehicle modifications",
          "Racing or motorsport incidents",
          "Recovery from restricted areas",
        ],
        after: "Additional charges may apply for specialized services.",
      },
      {
        heading: "6. Emergency Dispatch Commitment TM",
        body: ["Ride N Revive strives to:"],
        list: [
          "Assign technicians quickly",
          "Provide real-time status updates",
          "Maintain transparent communication",
          "Prioritize customer safety",
        ],
        after:
          "Arrival times remain estimates and may vary due to traffic, weather, or operational conditions.",
      },
    ],
  },
  {
    title: "PART II - SERVICE WARRANTY POLICY",
    items: [
      {
        heading: "1. Warranty Philosophy",
        body: [
          "Ride N Revive believes that quality service should be backed by accountability.",
          "Where applicable, Ride N Revive may provide limited service warranties on specific repairs and installations.",
        ],
      },
      {
        heading: "2. Labour Warranty",
        body: ["Covered repairs may include:"],
        list: [
          "Battery Installation",
          "Electrical Repairs",
          "Minor Mechanical Repairs",
          "Puncture Repairs",
          "Service Work",
        ],
        after: "Warranty duration shall be specified on the invoice.",
      },
      {
        heading: "3. Parts Warranty",
        body: ["Parts supplied through Ride N Revive may be covered under:"],
        list: ["Manufacturer Warranty", "OEM Warranty", "Vendor Warranty"],
        after: "Warranty terms are governed by the respective manufacturer.",
      },
      {
        heading: "4. Warranty Claim Process",
        body: ["To submit a warranty claim, customers must provide:"],
        list: ["Booking ID", "Invoice", "Vehicle Details", "Description of Issue"],
        after: "Ride N Revive may inspect the vehicle before approving any warranty claim.",
      },
      {
        heading: "5. Warranty Exclusions",
        body: ["Warranty shall not apply where:"],
        list: [
          "Unauthorized repairs were performed.",
          "Vehicle misuse occurred.",
          "Accidents caused damage.",
          "Third-party modifications were made.",
          "Routine wear and tear occurred.",
        ],
      },
      {
        heading: "6. Resolution Options",
        body: ["Following review, Ride N Revive may:"],
        list: [
          "Repair the issue.",
          "Replace the affected component.",
          "Offer service credits.",
          "Offer partial or full reimbursement where appropriate.",
        ],
      },
    ],
  },
  {
    title: "PART III - CUSTOMER BILL OF RIGHTS TM",
    content: [
      "The Ride N Revive Customer Promise",
      "Every Ride N Revive customer is entitled to the following rights:",
    ],
    items: [
      {
        heading: "Right 1: Transparent Pricing",
        body: ["Customers have the right to know:"],
        list: ["Labour charges", "Spare part charges", "Visit charges", "Taxes", "Additional fees"],
        after: "before payment whenever reasonably possible.",
      },
      {
        heading: "Right 2: Verified Service Professionals",
        body: [
          "Customers have the right to receive services from verified mechanics and authorized service partners.",
        ],
      },
      {
        heading: "Right 3: Honest Recommendations",
        body: [
          "Customers have the right to receive genuine repair recommendations without unnecessary upselling.",
        ],
      },
      {
        heading: "Right 4: Fair Treatment",
        body: [
          "Every customer shall be treated with dignity, professionalism, and respect regardless of location, vehicle type, or service value.",
        ],
      },
      {
        heading: "Right 5: Service Transparency",
        body: ["Customers have the right to understand:"],
        list: [
          "What is being repaired",
          "Why it is required",
          "Estimated costs",
          "Expected outcomes",
        ],
      },
      {
        heading: "Right 6: Data Privacy",
        body: [
          "Customers have the right to protection of their personal information in accordance with the Ride N Revive Privacy Policy.",
        ],
      },
      {
        heading: "Right 7: Secure Payments",
        body: ["Customers have the right to secure and protected payment transactions."],
      },
      {
        heading: "Right 8: Complaint Resolution",
        body: ["Customers have the right to raise complaints and receive timely responses."],
      },
      {
        heading: "Right 9: Service Records",
        body: [
          "Customers have the right to access invoices, service records, and booking history maintained on the platform.",
        ],
      },
      {
        heading: "Right 10: No Hidden Charges",
        body: [
          "Customers have the right to be informed of any additional charges before they are incurred.",
        ],
      },
    ],
  },
  {
    title: "PART IV - GRIEVANCE REDRESSAL POLICY",
    items: [
      {
        heading: "1. Our Commitment",
        body: [
          "Ride N Revive is committed to resolving customer concerns fairly, promptly, and professionally.",
          "Every complaint is treated as an opportunity to improve our services.",
        ],
      },
      {
        heading: "2. Types of Complaints",
        body: ["Customers may raise concerns relating to:"],
        list: [
          "Service Quality",
          "Technician Conduct",
          "Billing Issues",
          "Refund Requests",
          "Warranty Claims",
          "Delayed Service",
          "Parts Quality",
          "Payment Issues",
          "Data Privacy Concerns",
        ],
      },
      {
        heading: "3. Complaint Submission Channels",
        body: ["Customers may submit complaints through:"],
        list: [
          "Website: Online Complaint Form",
          "Mobile Application: Support Section",
          "Email: support@ridenrevive.com",
          "Customer Care: Official support channels",
        ],
      },
      {
        heading: "4. Resolution Timeline",
        body: ["Target Response Times:"],
        list: [
          "General Inquiry: Within 24 Hours",
          "Billing Issue: 2-5 Business Days",
          "Refund Request: 3-10 Business Days",
          "Warranty Claim: 5-10 Business Days",
          "Escalated Complaint: Up to 15 Business Days",
        ],
        after: "Complex cases may require additional review.",
      },
      {
        heading: "5. Escalation Matrix",
        list: [
          "Level 1: Customer Support Team",
          "Level 2: Customer Experience Manager",
          "Level 3: Operations & Quality Team",
          "Level 4: Grievance Officer",
          "Level 5: Legal & Compliance Team",
        ],
      },
      {
        heading: "6. Fair Investigation Principle TM",
        body: ["Ride N Revive investigates complaints using:"],
        list: [
          "Booking Records",
          "Service Reports",
          "Technician Statements",
          "Customer Feedback",
          "Photographs",
          "Video Evidence",
          "Payment Records",
        ],
        after: "Decisions are based on facts and available evidence.",
      },
      {
        heading: "7. Non-Retaliation Commitment TM",
        body: [
          "Customers who submit genuine complaints shall never face retaliation, discrimination, or service denial for raising concerns in good faith.",
        ],
      },
      {
        heading: "8. Grievance Officer",
        body: ["Ride N Revive TM Grievance Office:"],
        list: [
          "Email: grievances@ridenrevive.com",
          "Support: support@ridenrevive.com",
          "Legal: legal@ridenrevive.com",
          "Website: www.ridenrevive.com",
          "Head Office: Gurgaon, India",
        ],
      },
    ],
  },
];

export default function CustomerProtectionCharterPage() {
  return (
    <>
      <BreadcrumbSection
        currentPage="Customer Protection Charter"
        title="Customer Protection Charter"
        lead="Roadside Assistance Policy | Service Warranty Policy | Customer Bill of Rights | Grievance Redressal Policy"
      />

      <PolicyDocument
        title="Customer Protection Charter"
        lead="Roadside assistance standards, service warranty principles, customer rights, and grievance redressal."
        sections={sections}
        pledge={
          <>
            <h2 className="text-xl font-black tracking-tight text-foreground">
              The Ride N Revive Customer Protection Pledge
            </h2>
            <p className="mt-3 text-sm font-medium leading-7 text-muted-foreground">
              We promise transparent pricing, verified mechanics, secure payments, fair complaint
              resolution, honest service recommendations, customer data protection, and
              accountability for every booking.
            </p>
            <p className="mt-5 text-base font-black text-foreground">Ride N Revive</p>
            <p className="mt-2 text-sm font-bold text-muted-foreground">
              "Your Journey Matters. Your Trust Matters More." India's Trusted Roadside Assistance &
              Vehicle Care Network.
            </p>
          </>
        }
      />
    </>
  );
}
