import {
  Factory,
  Package,
  ShoppingCart,
  Truck,
  Users,
  IndianRupee,
  Clock,
  Wrench,
  Headset,
  Building2,
  Zap,
  ClipboardList,
  Home,
  Coins,
  Table,
  ClipboardCheck,
  BookOpen,
  TrendingDown,
  Layers,
  FileText,
  Pencil,
  Car,
  Cpu,
  Cog,
  Cloud,
  SlidersHorizontal,
  Smartphone,
  ShieldCheck,
  Link2,
  LayoutGrid,
  TrendingUp,
  type LucideIcon,
} from "lucide-react";

export type NavItem = { label: string; href: string };

export const NAV_ITEMS: NavItem[] = [
  { label: "Home", href: "/" },
  { label: "Manufacturing ERP", href: "/manufacturing-erp" },
  { label: "Construction ERP", href: "/construction-erp" },
  { label: "Modules", href: "/modules" },
  { label: "Platform", href: "/platform" },
  { label: "Customers", href: "/customers" },
  { label: "Resources", href: "/resources" },
  { label: "About", href: "/about" },
];

export const FOOTER_COLS: {
  title: string;
  links: { label: string; href: string }[];
}[] = [
  {
    title: "PRODUCTS",
    links: [
      { label: "Manufacturing ERP", href: "/manufacturing-erp" },
      { label: "Construction ERP", href: "/construction-erp" },
      { label: "Modules", href: "/modules" },
      { label: "Platform", href: "/platform" },
    ],
  },
  {
    title: "INDUSTRIES",
    links: [
      { label: "Automotive", href: "/manufacturing-erp" },
      { label: "Electronics", href: "/manufacturing-erp" },
      { label: "Industrial equipment", href: "/manufacturing-erp" },
      { label: "Construction & infra", href: "/construction-erp" },
      { label: "EPC projects", href: "/construction-erp" },
    ],
  },
  {
    title: "COMPANY",
    links: [
      { label: "About us", href: "/about" },
      { label: "Customers", href: "/customers" },
      { label: "Contact", href: "/request-demo" },
      { label: "Careers", href: "/about" },
    ],
  },
  {
    title: "RESOURCES",
    links: [
      { label: "Blog", href: "/resources" },
      { label: "Guides", href: "/resources" },
      { label: "Brochures", href: "/resources" },
      { label: "FAQs", href: "/resources" },
    ],
  },
];

/* ---------------- Home ---------------- */

export const HOME_CHECKS = [
  "Manufacturing & construction focused",
  "Integrated business operations",
  "Real-time information",
  "Modular & scalable ERP",
];

export const HOME_INDUSTRIES: {
  tag: string;
  tint: "amber" | "blue";
  eyebrow: string;
  title: string;
  desc: string;
  checks: string[];
  cta: string;
  href: string;
}[] = [
  {
    tag: "FOR MANUFACTURERS",
    tint: "amber",
    eyebrow: "Manufacturing ERP",
    title: "Connect production, inventory & business operations",
    desc: "Manage your manufacturing operations from production planning and procurement to inventory, sales, finance and workforce management.",
    checks: [
      "Production planning",
      "Shop floor management",
      "Purchase & vendor management",
      "Inventory & warehouse",
      "Sales & distribution",
      "Finance & accounting",
      "HR & payroll",
      "Quality & reporting",
    ],
    cta: "Explore Manufacturing ERP",
    href: "/manufacturing-erp",
  },
  {
    tag: "FOR CONSTRUCTION & INFRA",
    tint: "blue",
    eyebrow: "Construction ERP",
    title: "Manage projects, procurement & finance in one place",
    desc: "Manage construction operations from estimation and tendering to project execution, procurement, billing and financial management.",
    checks: [
      "Estimation & tendering",
      "BOQ & WBS",
      "Project management",
      "Procurement",
      "Inventory",
      "Site management",
      "Billing & finance",
      "HR & payroll",
    ],
    cta: "Explore Construction ERP",
    href: "/construction-erp",
  },
];

export const HOME_COMPARE: {
  mfg: { icon: LucideIcon; title: string; rows: string[]; cta: string; href: string };
  con: { icon: LucideIcon; title: string; rows: string[]; cta: string; href: string };
} = {
  mfg: {
    icon: Factory,
    title: "Manufacturing ERP",
    rows: [
      "Production planning",
      "Shop floor",
      "MRP & materials",
      "Inventory & warehouse",
      "Purchase & vendors",
      "Quality management",
      "Sales & distribution",
      "Finance & accounting",
      "HR & payroll",
    ],
    cta: "Explore Manufacturing ERP",
    href: "/manufacturing-erp",
  },
  con: {
    icon: Building2,
    title: "Construction ERP",
    rows: [
      "Project planning",
      "Site execution",
      "BOQ & WBS",
      "Construction inventory",
      "Procurement & contracts",
      "DPR & measurement",
      "Billing & RA bills",
      "Project finance",
      "HR & payroll",
    ],
    cta: "Explore Construction ERP",
    href: "/construction-erp",
  },
};

export const HOME_REPORTS = {
  chips: [
    "Production reports",
    "Inventory reports",
    "Purchase reports",
    "Sales reports",
    "Project reports",
    "Financial reports",
    "HR reports",
    "Management reports",
  ],
  steps: [
    { title: "Operational data", sub: "Captured across modules" },
    { title: "Reports", sub: "Role-based, on demand" },
    { title: "Insights", sub: "Trends and exceptions" },
    { title: "Business decisions", sub: "Made on shared facts" },
  ],
};

export const INDUSTRY_CARDS = [
  {
    tag: "FOR MANUFACTURERS",
    title: "Manufacturing ERP",
    desc: "Manage your manufacturing operations from production planning and procurement to inventory, sales, finance and workforce management.",
    cta: "Explore Manufacturing ERP",
    href: "/manufacturing-erp",
  },
  {
    tag: "FOR CONSTRUCTION & INFRA",
    title: "Construction ERP",
    desc: "Manage projects, procurement & finance — from estimation and tendering to execution, billing and handover.",
    cta: "Explore Construction ERP",
    href: "/construction-erp",
  },
];

export const CHALLENGES: { problem: string; problemDesc: string; solution: string; solutionDesc: string }[] = [
  {
    problem: "Scattered business data",
    problemDesc:
      "Sales, purchase, inventory, production and finance data may be maintained across different systems.",
    solution: "One centralized ERP platform",
    solutionDesc:
      "Bring important business information together and reduce dependency on disconnected systems.",
  },
  {
    problem: "Limited operational visibility",
    problemDesc:
      "Management may not have a clear view of production, inventory, projects or business performance.",
    solution: "Real-time business visibility",
    solutionDesc:
      "Access relevant operational information through centralized dashboards and reports.",
  },
  {
    problem: "Manual & repetitive processes",
    problemDesc:
      "Spreadsheets and manual data entry can increase administrative effort.",
    solution: "Connected workflows",
    solutionDesc:
      "Connect processes between departments and reduce unnecessary manual coordination.",
  },
  {
    problem: "Procurement & inventory challenges",
    problemDesc:
      "Poor coordination between purchasing, vendors, warehouses and operations can affect business continuity.",
    solution: "Integrated procurement & inventory",
    solutionDesc:
      "Connect purchase requirements, vendors, stock and operational activities.",
  },
  {
    problem: "Complex project & production management",
    problemDesc:
      "Construction projects and manufacturing operations require different workflows and controls.",
    solution: "Industry-specific ERP",
    solutionDesc:
      "Use dedicated manufacturing and construction workflows according to business requirements.",
  },
];

export const DASH_TABS = [
  "Production",
  "Projects",
  "Inventory",
  "Purchase",
  "Sales",
  "Finance",
] as const;

export const MFG_FLOW = [
  "Sales order & forecast",
  "MRP & planning",
  "Purchase & inventory",
  "Production & shop floor",
  "Quality control",
  "Dispatch & accounts",
];

export const CONST_FLOW = [
  "Estimation",
  "Bidding & tendering",
  "Engineering",
  "Project planning",
  "Procurement",
  "Project execution",
  "DPR & measurement",
  "RA billing",
  "Finance",
];

export const WHY_MXERP = [
  {
    title: "Industry-focused",
    text: "Dedicated workflows for manufacturing and construction — not generic software.",
  },
  {
    title: "Integrated operations",
    text: "Production, projects, purchase, inventory, sales and finance in one environment.",
  },
  {
    title: "Real-time information",
    text: "Dashboards and reports that reflect what is happening right now.",
  },
  {
    title: "Modular architecture",
    text: "Start with the modules you need and expand as requirements grow.",
  },
  {
    title: "Flexible deployment",
    text: "Cloud convenience or on-premise control — the way your IT team prefers.",
  },
  {
    title: "Scalable platform",
    text: "Add plants, projects, users and companies without changing systems.",
  },
];

/* ---------------- Modules ---------------- */

export const MFG_MODULES: { icon: LucideIcon; title: string; text: string; caps: string[] }[] = [
  {
    icon: Factory,
    title: "Production planning & shop floor management",
    text: "Plan and manage production with better coordination between orders, materials and shop-floor operations, including production and packaging planning.",
    caps: ["Production planning", "Scheduling", "Shop-floor management", "Work orders", "Packaging planning", "Production tracking"],
  },
  {
    icon: Package,
    title: "Inventory & warehouse management",
    text: "Maintain better control over materials, stock and warehouse operations, with visibility into stock movement and warehouse activities.",
    caps: ["Inventory", "Warehouse", "Stock tracking", "Material movement", "Raw materials", "Finished goods"],
  },
  {
    icon: ShoppingCart,
    title: "Purchase & vendor management",
    text: "Manage procurement activities and vendor relationships through a centralized purchase management system.",
    caps: ["Purchase orders", "Vendor information", "Vendor evaluation", "Procurement workflow", "Purchase tracking"],
  },
  {
    icon: Truck,
    title: "Sales & distribution management",
    text: "Manage customer orders and sales operations across channels, connected with other business processes.",
    caps: ["Order management", "Direct sales", "Dealer & distributor", "POS sales", "Sales reporting"],
  },
  {
    icon: Users,
    title: "CRM & customer management",
    text: "Build better visibility into customer interactions and sales activities from a centralized system.",
    caps: ["Customer management", "Lead management", "Activity tracking", "Interactions", "CRM reporting"],
  },
  {
    icon: IndianRupee,
    title: "Finance & accounting",
    text: "Connect finance with sales, purchase, inventory and other processes for a more centralized view of operations.",
    caps: ["Financial management", "Accounting", "Transactions", "Financial reporting", "Business reporting"],
  },
  {
    icon: Clock,
    title: "HR & payroll management",
    text: "Manage workforce information and HR operations, connected with the wider ERP environment.",
    caps: ["Employee management", "HR management", "Time office", "Payroll", "HR reporting"],
  },
  {
    icon: Wrench,
    title: "Enterprise asset management",
    text: "Maintain centralized asset information and connect it with other business operations.",
    caps: ["Asset information", "Asset tracking", "Maintenance records", "Asset reporting"],
  },
  {
    icon: Headset,
    title: "Complaint, warranty & post-sales",
    text: "Continue customer management beyond the point of sale and track post-sales activities for better service.",
    caps: ["Complaints", "Warranty", "Post-sales service", "Service tracking"],
  },
];

export const MFG_SOLVES: { challenge: string; solution: string }[] = [
  { challenge: "Limited production visibility", solution: "Production Planning & Shop Floor Management" },
  { challenge: "Inventory mismatch", solution: "Inventory & Warehouse Management" },
  { challenge: "Procurement delays", solution: "Purchase & Vendor Management" },
  { challenge: "Disconnected sales operations", solution: "Sales & Distribution Management" },
  { challenge: "Customer information scattered across systems", solution: "CRM & Customer Management" },
  { challenge: "Limited financial visibility", solution: "Finance & Accounting" },
  { challenge: "Manual employee processes", solution: "HR & Payroll" },
  { challenge: "Difficulty tracking assets", solution: "Enterprise Asset Management" },
  { challenge: "Customer complaints and warranty tracking", solution: "Complaint & Warranty Management" },
  { challenge: "Delayed management reporting", solution: "Centralized Reporting & Business Insights" },
];

export const CONST_MODULES: {
  title: string;
  text: string;
  icon?: LucideIcon;
  caps?: string[];
}[] = [
  {
    title: "Estimation",
    text: "Project estimation and costing.",
    icon: Pencil,
    caps: ["Estimation", "Costing", "Rate analysis"],
  },
  {
    title: "Bidding & tendering",
    text: "Tender and bid management.",
    icon: ClipboardCheck,
    caps: ["Tender management", "Bid management"],
  },
  {
    title: "Engineering",
    text: "BBS, unit conversion and material specifications.",
    icon: Cpu,
    caps: ["BBS", "Unit conversion", "Material specs"],
  },
  {
    title: "Project management",
    text: "BOQ, WBS, PBS, DPR, MB and RA bills.",
    icon: Building2,
    caps: ["BOQ", "WBS & PBS", "DPR", "MB", "RA bills"],
  },
  {
    title: "Document management",
    text: "Project document management.",
    icon: FileText,
    caps: ["Project documents", "Drawings", "Registers"],
  },
  {
    title: "Purchase",
    text: "Procurement and purchasing.",
    icon: ShoppingCart,
    caps: ["Purchase orders", "Vendor management", "Procurement workflow"],
  },
  {
    title: "Inventory",
    text: "Material and stock management.",
    icon: Package,
    caps: ["Stock tracking", "Material movement", "Warehouse"],
  },
  {
    title: "HR",
    text: "Employee and workforce management.",
    icon: Users,
    caps: ["Employee management", "Time office"],
  },
  {
    title: "Payroll",
    text: "Payroll and employee-related processes.",
    icon: Coins,
    caps: ["Salary processing", "Pay registers"],
  },
  {
    title: "Fixed assets",
    text: "Asset management.",
    icon: Home,
    caps: ["Asset register", "Asset tracking"],
  },
  {
    title: "Maintenance",
    text: "Tools, plants and maintenance.",
    icon: Wrench,
    caps: ["Tools & plants", "Maintenance schedules"],
  },
  {
    title: "Finance & accounting",
    text: "Financial and accounting operations.",
    icon: IndianRupee,
    caps: ["Accounting", "Transactions", "Financial reporting"],
  },
];

export const MODULES_FAQ: { q: string; a: string }[] = [
  {
    q: "Which modules should we start with?",
    a: "Start with the modules that match your operations today — for example production and inventory for a plant, or estimation and project management for construction. You can add more modules later without re-implementing the ones already in use.",
  },
  {
    q: "Can we use manufacturing and construction modules together?",
    a: "Yes. Businesses that run both plants and projects can use the manufacturing and construction modules side by side — they share the same data, so purchase, inventory, HR and finance are maintained once for the whole business.",
  },
  {
    q: "Do all modules share the same data?",
    a: "Yes. Every module works on one centralized data core, so a purchase order raised for a project or a plant is visible to inventory and finance immediately — no duplicate entry or separate spreadsheets.",
  },
  {
    q: "Can we add more modules as we grow?",
    a: "Yes. MxERP is modular by design. Teams commonly begin with a few modules and expand across departments, plants and projects as requirements evolve.",
  },
  {
    q: "Can workflows and approvals be configured?",
    a: "Workflows, approval levels, documents and reports can be aligned with how your teams already work, so the system follows your processes rather than the other way around.",
  },
  {
    q: "How is MxERP deployed?",
    a: "MxERP is a cloud-based ERP environment, so authorized users can access business information securely from any location. Talk to our team about the setup that fits your organization.",
  },
];

/* ---------------- Platform ---------------- */

export const PLATFORM_TOP: { icon: LucideIcon; title: string; text: string }[] = [
  {
    icon: Cloud,
    title: "Cloud / on-premise",
    text: "Choose cloud convenience or full control on your own servers.",
  },
  {
    icon: SlidersHorizontal,
    title: "Integration & customization",
    text: "Connect existing systems and tailor workflows as you scale.",
  },
  {
    icon: Smartphone,
    title: "Mobile access",
    text: "Approvals, site entries and dashboards — anytime, anywhere.",
  },
  {
    icon: ShieldCheck,
    title: "Secure by design",
    text: "Role-based access, approval workflows and complete audit logs.",
  },
];

export const PLATFORM_FOUNDATION: { icon: LucideIcon; title: string; text: string }[] = [
  {
    icon: Link2,
    title: "Integrated ERP",
    text: "Production, projects, purchase, inventory, sales, finance and HR in one ERP environment.",
  },
  {
    icon: LayoutGrid,
    title: "Modular architecture",
    text: "Use the modules your business needs and expand as requirements grow.",
  },
  {
    icon: Zap,
    title: "Real-time information",
    text: "Access operational and business information when you need it.",
  },
  {
    icon: ClipboardCheck,
    title: "Customizable workflows",
    text: "Configure processes and approvals to your organizational requirements.",
  },
  {
    icon: Building2,
    title: "Multi-plant & multi-company",
    text: "Operate across locations and business units from one login.",
  },
  {
    icon: TrendingUp,
    title: "Scalable platform",
    text: "Designed to support businesses as operations and requirements evolve.",
  },
];

/* ---------------- Manufacturing page ---------------- */

export const MFG_DASH_TABS = [
  "Production",
  "Inventory",
  "Purchase",
  "Sales",
  "Finance",
  "HR",
  "Customers",
] as const;

export const MFG_CAPABILITIES: { col1: string[]; col2: string[] } = {
  col1: [
    "Integrated manufacturing operations",
    "Inventory & warehouse management",
    "Sales & distribution management",
    "Finance & accounting",
    "Asset management",
    "Reporting & business insights",
  ],
  col2: [
    "Production planning & shop-floor management",
    "Purchase & vendor management",
    "CRM & customer management",
    "HR & payroll",
    "Complaint, warranty & post-sales",
  ],
};

export const SUB_INDUSTRIES = [
  {
    icon: Car,
    title: "Automotive manufacturing",
    text: "Manage manufacturing operations, production activities, inventory, procurement and sales through an integrated ERP platform.",
  },
  {
    icon: Cpu,
    title: "Electronics manufacturing",
    text: "Connect production planning, inventory, procurement, sales and business management processes.",
  },
  {
    icon: Cog,
    title: "Industrial equipment manufacturing",
    text: "Manage complex operations across production, purchase, inventory, sales, finance and other departments.",
  },
];

export const MFG_BENEFITS = [
  {
    title: "Integrated ERP",
    text: "Connect production, purchase, inventory, sales, finance, HR and other operations through one ERP environment.",
  },
  {
    title: "Modular architecture",
    text: "Choose and use ERP modules according to your organization's operational requirements.",
  },
  {
    title: "Real-time business information",
    text: "Access information across functions to support faster and more informed decisions.",
  },
  {
    title: "Cloud-based accessibility",
    text: "Access your ERP environment from anywhere with a cloud-based approach.",
  },
  {
    title: "Customizable workflows",
    text: "Configure business processes according to organizational requirements and workflows.",
  },
  {
    title: "Better business visibility",
    text: "Bring operational and business information together to improve visibility across departments.",
  },
];

export const MFG_FEATURES_TABLE: { challenge: string; solution: string }[] = [
  { challenge: "Production Management", solution: "Production planning, scheduling and shop-floor operations" },
  { challenge: "Inventory Management", solution: "Stock and material management" },
  { challenge: "Warehouse Management", solution: "Warehouse and inventory operations" },
  { challenge: "Purchase Management", solution: "Procurement and purchase processes" },
  { challenge: "Vendor Management", solution: "Vendor information and management" },
  { challenge: "Sales Management", solution: "Sales and order management" },
  { challenge: "Distribution Management", solution: "Dealer, distributor and sales operations" },
  { challenge: "CRM", solution: "Customer and sales relationship management" },
  { challenge: "Finance", solution: "Financial and accounting operations" },
  { challenge: "HR & Payroll", solution: "Employee, HR and payroll management" },
  { challenge: "Asset Management", solution: "Enterprise asset management" },
  { challenge: "Complaint Management", solution: "Customer complaint tracking" },
  { challenge: "Warranty Management", solution: "Warranty and post-sales management" },
];

export const MFG_FAQ: { q: string; a: string }[] = [
  {
    q: "What is Manufacturing ERP Software?",
    a: "Manufacturing ERP Software is an integrated business management system that helps manufacturing organizations manage processes such as production, inventory, purchase, sales, finance and HR from one centralized platform.",
  },
  {
    q: "How does MxERP help manufacturing businesses?",
    a: "MxERP connects different business functions including production, purchase, inventory, sales, finance, HR and customer management, helping organizations improve control, streamline processes and make informed decisions.",
  },
  {
    q: "What modules are available in MxERP?",
    a: "MxERP includes modules for production planning and shop-floor management, inventory and warehouse management, purchase and vendor management, sales and distribution, CRM, finance and accounting, HR and payroll, enterprise assets, and complaint, warranty and post-sales service.",
  },
  {
    q: "Can MxERP manage production planning?",
    a: "Yes. MxERP provides production and packaging planning capabilities along with shop-floor management functionality to support manufacturing operations.",
  },
  {
    q: "Can MxERP manage inventory and warehouse operations?",
    a: "Yes. MxERP provides inventory and warehouse management capabilities to help businesses manage stock, materials and warehouse-related activities.",
  },
];

/* ---------------- Construction page ---------------- */

export const CONST_CHALLENGES: { problem: string; solution: string }[] = [
  { problem: "Project cost overruns", solution: "Track project expenses, materials, labour and costs across activities from one platform." },
  { problem: "Delayed project updates", solution: "Give management timely visibility into progress, site activities and pending work." },
  { problem: "Complex BOQ & WBS management", solution: "Structure quantities, work packages and activities with BOQ, WBS and PBS." },
  { problem: "Procurement & material issues", solution: "Coordinate purchasing and material availability with execution schedules." },
  { problem: "Multiple documents & approvals", solution: "Keep drawings, contracts, bills and records in one document system." },
  { problem: "Contractor & billing complexity", solution: "Connect measurement, RA bills and financials with project execution." },
  { problem: "Financial visibility", solution: "Show project expenses, budgets and transactions to teams and management." },
];

export const CONST_VIEWS = [
  "Project overview",
  "Cost & budget overview",
  "Procurement overview",
  "Inventory overview",
  "Billing overview",
  "Workforce overview",
];

export const CONST_PROJECT_TOOLS: { icon: LucideIcon; title: string; text: string }[] = [
  {
    icon: Table,
    title: "BOQ management",
    text: "Manage project Bill of Quantities information and connect project requirements with project execution.",
  },
  {
    icon: Layers,
    title: "WBS & PBS management",
    text: "Organize project activities through Work Breakdown Structure and Product Breakdown Structure.",
  },
  {
    icon: ClipboardCheck,
    title: "DPR management",
    text: "Maintain Daily Project Reports to capture project-related information and monitor site activities.",
  },
  {
    icon: Pencil,
    title: "Measurement Book",
    text: "Manage measurement-related information for project activities and billing processes.",
  },
  {
    icon: FileText,
    title: "RA bills",
    text: "Manage running account billing information as part of project execution and financial processes.",
  },
  {
    icon: BookOpen,
    title: "Project documentation",
    text: "Maintain project-related documents and information through an integrated document management approach.",
  },
];

export const CONST_TENDER_STEPS = [
  "Estimation",
  "Bidding & tendering",
  "Engineering",
  "Project planning",
  "Procurement",
  "Inventory",
  "Project execution",
  "DPR & measurement",
  "RA billing",
  "Finance",
];

export const CONST_CHALLENGE_CARDS: { icon: LucideIcon; title: string; text: string }[] = [
  {
    icon: TrendingDown,
    title: "Project cost overruns",
    text: "Tracking project expenses, materials, labour and other costs across different activities can be challenging.",
  },
  {
    icon: Clock,
    title: "Delayed project updates",
    text: "Management may not always have timely visibility into project progress, site activities and pending work.",
  },
  {
    icon: Layers,
    title: "Complex BOQ & WBS management",
    text: "Large projects require structured management of quantities, work packages, activities and project structures.",
  },
  {
    icon: ShoppingCart,
    title: "Procurement & material issues",
    text: "Sites depend on timely procurement and availability of materials. Poor coordination can affect execution.",
  },
  {
    icon: FileText,
    title: "Multiple documents & approvals",
    text: "Drawings, approvals, contracts, bills and records become hard to manage when stored across different systems.",
  },
  {
    icon: Pencil,
    title: "Contractor & billing complexity",
    text: "Measurement, RA bills and project financial information need to be coordinated with project execution.",
  },
  {
    icon: IndianRupee,
    title: "Financial visibility",
    text: "Project teams and management need better visibility into project expenses, budgets and transactions.",
  },
];

export const CONST_DASHBOARD_CARDS: { icon: LucideIcon; title: string; points: string[] }[] = [
  {
    icon: Building2,
    title: "Project overview",
    points: ["Total & active projects", "Project progress & status", "Pending activities", "Project milestones"],
  },
  {
    icon: IndianRupee,
    title: "Cost & budget overview",
    points: ["Project budget & expenses", "Actual vs planned costs", "Purchase expenses", "Project financial information"],
  },
  {
    icon: ShoppingCart,
    title: "Procurement overview",
    points: ["Purchase requirements", "Purchase orders & pending purchases", "Vendor information", "Material procurement status"],
  },
  {
    icon: Package,
    title: "Inventory overview",
    points: ["Available materials & stock", "Material consumption", "Warehouse inventory", "Material movement"],
  },
  {
    icon: FileText,
    title: "Billing overview",
    points: ["Measurement information", "RA bills", "Billing status", "Project financial transactions"],
  },
  {
    icon: Users,
    title: "Workforce overview",
    points: ["Employee information", "Attendance", "Payroll", "HR information"],
  },
];

export const CONST_DASHBOARD_CHIPS = [
  "Projects",
  "BOQ",
  "WBS",
  "DPR",
  "Procurement",
  "Inventory",
  "Billing",
  "Finance",
  "HR",
];

export const CONST_MATERIAL: { checks: string[]; steps: string[] } = {
  checks: [
    "Purchase management",
    "Material procurement",
    "Stock visibility",
    "Warehouse operations",
    "Vendor management",
    "Inventory management",
    "Material movement",
    "Project-related material information",
  ],
  steps: [
    "Material requirement",
    "Purchase request",
    "Procurement",
    "Purchase order",
    "Material receipt",
    "Inventory",
    "Project / site consumption",
  ],
};

export const CONST_FINANCE_CARDS: {
  icon: LucideIcon;
  kicker: string;
  title: string;
  text: string;
  checks: string[];
}[] = [
  {
    icon: Coins,
    kicker: "CONSTRUCTION FINANCE & ACCOUNTING",
    title: "Construction accounting software for better financial control",
    text: "Manage project expenses, purchases, billing and financial transactions with visibility across projects.",
    checks: [
      "Finance management & accounting",
      "Project-related financial information",
      "Purchase transactions",
      "Billing information",
      "Financial & business reporting",
      "Budget-related information",
    ],
  },
  {
    icon: Users,
    kicker: "HUMAN RESOURCE & PAYROLL",
    title: "Manage your construction workforce",
    text: "Manage workforce processes for employees and project teams working across activities and locations.",
    checks: [
      "Employee management",
      "HR management",
      "Time office",
      "Payroll",
      "Employee information",
      "HR reporting",
    ],
  },
  {
    icon: Wrench,
    kicker: "FIXED ASSETS & MAINTENANCE",
    title: "Manage tools, plants & construction assets",
    text: "Keep centralized information on the equipment, tools and plants used throughout project execution.",
    checks: [
      "Fixed asset management",
      "Tools & plants management",
      "Asset information",
      "Maintenance management",
      "Asset tracking",
      "Maintenance-related records",
    ],
  },
];

export const CONST_TENDER_CARDS: { title: string; text: string }[] = [
  { title: "Estimation", text: "Prepare project estimates and evaluate requirements." },
  { title: "Bidding & tendering", text: "Manage bids, tenders and related project information." },
  { title: "Engineering", text: "Manage engineering data, material specifications and requirements." },
  { title: "Project planning", text: "Create project structures using BOQ, WBS and PBS." },
  { title: "Procurement", text: "Purchase required materials and manage vendors." },
  { title: "Inventory", text: "Receive, store and track construction materials." },
  { title: "Project execution", text: "Manage project activities and site-related information." },
  { title: "DPR & measurement", text: "Capture daily project information and measurement details." },
  { title: "RA billing", text: "Manage running account billing information." },
  { title: "Finance", text: "Connect project transactions with finance and accounting." },
];

export const CONST_EPC_CARDS: { mark: string; amber?: boolean; title: string; text: string }[] = [
  {
    mark: "E",
    title: "Engineering",
    text: "Manage engineering information, specifications and project requirements.",
  },
  {
    mark: "P",
    title: "Procurement",
    text: "Manage purchasing and material procurement activities.",
  },
  {
    mark: "C",
    title: "Construction",
    text: "Connect project execution with BOQ, WBS, DPR, measurement and billing information.",
  },
  {
    mark: "₹",
    amber: true,
    title: "Finance",
    text: "Connect project-related transactions with finance and accounting processes.",
  },
];

export const CONST_EPC_LIFECYCLE = [
  "Engineering",
  "Estimation & tendering",
  "Procurement",
  "Material & inventory",
  "Project execution",
  "DPR & measurement",
  "RA bills",
  "Finance & accounting",
];

export const CONST_BEFORE_AFTER = {
  before: {
    stages: [
      { stage: "Estimation", oldWay: "Separate files" },
      { stage: "Project planning", oldWay: "Manual tracking" },
      { stage: "Purchase", oldWay: "Separate system" },
      { stage: "Inventory", oldWay: "Different records" },
      { stage: "Site progress", oldWay: "Manual reports" },
      { stage: "Billing", oldWay: "Separate process" },
      { stage: "Finance", oldWay: "Separate accounting" },
    ],
    result: "limited visibility, disconnected information and more manual coordination.",
  },
  after: {
    steps: [
      "Estimation & tendering",
      "Engineering",
      "BOQ / WBS / PBS",
      "Purchase & inventory",
      "Project execution",
      "DPR / MB / RA bills",
      "Finance & accounting",
    ],
    result: "connected project information and centralized construction business management.",
  },
};

export const CONST_CAPABILITIES: { col1: string[]; col2: string[] } = {
  col1: [
    "Estimation, bidding & tendering",
    "BOQ, WBS & PBS management",
    "Measurement Book management",
    "Document management",
    "HR management",
    "Fixed assets & maintenance",
    "Finance & accounting",
  ],
  col2: [
    "Engineering management",
    "Daily Project Reports",
    "RA Bill management",
    "Purchase & inventory management",
    "Payroll",
    "Tools & plants management",
    "Business reporting & analytics",
  ],
};

export const CONST_SOLVES: { challenge: string; solution: string }[] = [
  { challenge: "Difficulty preparing project estimates", solution: "Estimation, Bidding & Tendering" },
  { challenge: "Complex project structure", solution: "BOQ, WBS & PBS Management" },
  { challenge: "Limited site visibility", solution: "DPR & Project Management" },
  { challenge: "Material availability issues", solution: "Purchase & Inventory Management" },
  { challenge: "Project documentation complexity", solution: "Document Management System" },
  { challenge: "Measurement and billing challenges", solution: "MB & RA Bill Management" },
  { challenge: "Workforce management", solution: "HR & Payroll" },
  { challenge: "Equipment and asset tracking", solution: "Fixed Assets & Maintenance" },
  { challenge: "Project financial complexity", solution: "Finance & Accounting" },
  { challenge: "Limited management visibility", solution: "Reporting & Business Insights" },
];

export const CONST_INDUSTRIES: { icon: LucideIcon; label: string }[] = [
  { icon: Building2, label: "Construction projects" },
  { icon: Factory, label: "Infrastructure projects" },
  { icon: Zap, label: "EPC projects" },
  { icon: Wrench, label: "Engineering & construction operations" },
  { icon: ClipboardList, label: "Project-based businesses" },
  { icon: Home, label: "Real estate & infrastructure operations" },
];

export const CONST_FAQ: { q: string; a: string }[] = [
  {
    q: "What is Construction ERP Software?",
    a: "Construction ERP Software is an integrated business management system designed to help construction companies manage project planning, estimation, procurement, inventory, workforce and finance from one platform.",
  },
  {
    q: "What is Construction Management ERP?",
    a: "Construction Management ERP connects construction project activities with business functions such as procurement, inventory, finance and workforce management through one integrated environment.",
  },
  {
    q: "How does MxERP help construction companies?",
    a: "MxERP helps construction organizations manage estimation, bidding, engineering, project management, procurement, inventory, HR, payroll, assets and finance through one connected system.",
  },
  {
    q: "Does MxERP support BOQ and WBS management?",
    a: "Yes. MxERP's Project Management System includes BOQ, WBS/PBS, DPR, MB and RA Bill functionality.",
  },
  {
    q: "Can MxERP manage EPC projects?",
    a: "Yes. MxERP can connect engineering, procurement, construction project management and finance-related processes within an integrated ERP environment.",
  },
  {
    q: "Does MxERP provide construction accounting functionality?",
    a: "Yes. MxERP includes Finance & Accounting as part of its construction and infrastructure ERP functionality.",
  },
  {
    q: "Can MxERP manage construction inventory?",
    a: "Yes. MxERP connects material requirements, purchase activities and inventory operations so sites receive materials on time.",
  },
];

/* ---------------- Resources ---------------- */

export const RESOURCE_ARTICLES: { tag: string; title: string; text: string }[] = [
  {
    tag: "MANUFACTURING ERP",
    title: "Manufacturing ERP modules: a practical guide",
    text: "Production, inventory, purchase, sales, CRM, finance, HR, assets and post-sales — what each module covers and when you need it.",
  },
  {
    tag: "CONSTRUCTION ERP",
    title: "Connecting engineering, procurement and construction in one ERP",
    text: "How an integrated workflow keeps EPC project information visible across the lifecycle.",
  },
  {
    tag: "CONSTRUCTION ERP",
    title: "BOQ, WBS and PBS explained for project teams",
    text: "How structured quantities and breakdown structures connect planning with execution.",
  },
  {
    tag: "CONSTRUCTION ERP",
    title: "From DPR to RA bill: connecting site progress to billing",
    text: "Why measurement books and running bills belong in the same system as site reports.",
  },
  {
    tag: "MANUFACTURING ERP",
    title: "Sales order to dispatch: one connected workflow",
    text: "Linking orders, material planning, production, quality and dispatch without re-keying.",
  },
  {
    tag: "MANUFACTURING ERP",
    title: "Inventory mismatch: causes and how an ERP fixes it",
    text: "Stock tracking, material movement and warehouse visibility in one place.",
  },
  {
    tag: "PLATFORM",
    title: "Cloud or on-premise ERP: how to choose",
    text: "Questions to ask your IT and security teams before you decide.",
  },
  {
    tag: "PLATFORM",
    title: "Modular ERP: start small, expand as you grow",
    text: "Choosing the first modules for your business and planning what comes next.",
  },
];

/* ---------------- About ---------------- */

export const ABOUT_PRINCIPLES = [
  {
    title: "Industry first",
    text: "Dedicated workflows for manufacturing and construction — not generic software bent to fit.",
  },
  {
    title: "Connected by design",
    text: "Every department works from the same information, so nothing is re-keyed or lost between teams.",
  },
  {
    title: "Built to grow",
    text: "Modular and scalable, so businesses start with what they need and expand over time.",
  },
  {
    title: "Visibility for decisions",
    text: "Real-time dashboards and reports that help management act on facts.",
  },
];

export const STATS = [
  { value: "1000+", label: "Customers" },
  { value: "30+", label: "Projects managed" },
  { value: "20+", label: "Plants & sites live" },
] as const;

export const CLIENT_LOGOS: { src: string; name: string }[] = [
  { src: "/images/erp/ant-logo.webp", name: "A&T" },
  { src: "/images/erp/bcl-logo.webp", name: "BCL" },
  { src: "/images/erp/bec-logo.webp", name: "BEC" },
  { src: "/images/erp/branopac-logo.webp", name: "Branopac" },
  { src: "/images/erp/dinbar-logo.webp", name: "Dinbar" },
  { src: "/images/erp/intertec-logo.webp", name: "Intertec" },
  { src: "/images/erp/lightkrafts-logo.webp", name: "Lightkrafts" },
  { src: "/images/erp/metlonics-logo.webp", name: "Metlonics" },
  { src: "/images/erp/miro-logo.webp", name: "Miro Forestry & Timber Products" },
  { src: "/images/erp/nippon-logo.webp", name: "Nippon" },
  { src: "/images/erp/spac-logo.webp", name: "SPAC" },
  { src: "/images/erp/starz-logo.webp", name: "Starz" },
  { src: "/images/erp/tempco-logo.webp", name: "Tempco" },
  { src: "/images/erp/tradetec-logo.webp", name: "Tradetec" },
  { src: "/images/erp/viney-logo.webp", name: "Viney" },
];

export const CASE_CARDS = [
  {
    tag: "CONSTRUCTION ERP",
    title: "[Client name]: [result headline — e.g. faster RA billing cycles]",
    text: "[One-line summary of the challenge and the modules used.]",
  },
  {
    tag: "MANUFACTURING ERP",
    title: "[Client name]: [result headline — e.g. tighter inventory control]",
    text: "[One-line summary of the challenge and the modules used.]",
  },
  {
    tag: "EPC PROJECTS",
    title: "[Client name]: [result headline — e.g. one view of project cost]",
    text: "[One-line summary of the challenge and the modules used.]",
  },
];

export const INDUSTRY_OPTIONS = [
  "Manufacturing",
  "Construction & infrastructure",
  "EPC projects",
  "Both",
] as const;

export const COMPANY_SIZE_OPTIONS = [
  "1-20 employees",
  "21-100 employees",
  "101-500 employees",
  "501-1000 employees",
  "1000+ employees",
] as const;

export const INTEREST_OPTIONS = [
  "Production",
  "Projects & BOQ",
  "Procurement",
  "Inventory",
  "Billing & finance",
  "HR & payroll",
] as const;

export type LeaderBlock = { heading: string; paras: string[] };

export type Leader = {
  initials: string;
  tile: "navy" | "brand" | "amber";
  name: string;
  role: string;
  summary: string;
  bio: string[];
  blocks: LeaderBlock[];
  iiml?: { text: string; href: string };
};

export const LEADERS: Leader[] = [
  {
    initials: "AG",
    tile: "navy",
    name: "Dr. ARUN GUPTA",
    role: "Founder Director & CEO",
    summary:
      "Doctoral degree from University of Wales College of Cardiff, UK. Presented a technical paper at the 2nd European Space Agency, ESTEC. IIM(L) mentor for 60+ startups. Drives fundraising, investments, acquisitions and channel partnerships.",
    bio: [
      "Dr. A. K. Gupta has mainly promoted the Company — a dynamic person with a high level of academic excellence. He obtained his doctoral degree from the prestigious University of Wales College of Cardiff (UWCC), Cardiff, UK after obtaining his B.E. degree from VNIT Nagpur.",
      "In June 1992, Dr. Gupta presented a technical paper on modal representation of flexible structures by continuum methods at the 2nd European Space Agency at ESTEC, Noordwijk, The Netherlands. He along with Dr. W. P. Howson wrote papers published in \u201CThe Journal of Sound and Vibration\u201D, London, UK.",
      "Dr. Gupta is mainly involved in fundraising ventures and participates in expansion activities (investments, acquisitions, corporate alliances etc.) besides making and managing relationships with channel partners.",
    ],
    blocks: [
      {
        heading: "Published Research Papers",
        paras: [
          "The exact natural frequencies of plane structures composed of slender elastic curved members",
          "Some techniques for determining the clamped member contribution in the Wittrick–Williams root finder algorithms",
        ],
      },
    ],
    iiml: {
      text: "Dr. Gupta recently became a mentor with IIM(L) to promote 60+ startups and is mainly involved in fundraising ventures and expansion activities (investments, acquisitions, corporate alliances etc.) besides making and managing relationships with SI partners such as PWC, NEC, NTT, AURIENPRO etc.",
      href: "https://www.iimleic.com/mentors",
    },
  },
  {
    initials: "MG",
    tile: "brand",
    name: "MANVI GUPTA",
    role: "Director \u2013 Operations",
    summary:
      "Computer Science graduate (2011) from Maharshi Dayanand University with 10+ years of domestic and international exposure across distribution, supply chain, manufacturing, construction & EPC, and healthcare industries.",
    bio: [
      "Manvi, a Computer Science graduate (2011) from Maharshi Dayanand University, brings 10+ years of domestic and international exposure across distribution, supply chain, manufacturing, construction & EPC, and healthcare industries.",
    ],
    blocks: [
      {
        heading: "Key Responsibilities",
        paras: [
          "Helping ACGIL deliver projects successfully by managing technical risks and opportunities; making key software design and implementation decisions with the development teams; scheduling tasks including tracking dependencies, managing change requests, and guaranteeing quality of deliveries; and educating the team on technical best practices.",
        ],
      },
    ],
  },
  {
    initials: "VG",
    tile: "amber",
    name: "VARUN GUPTA",
    role: "Director \u2013 Technical",
    summary:
      "Graduate with a masters from the University of Southern California (US). Former Apple Inc engineer, part of the global CRM development team. Focuses on data science, forecasting and predictive analytics from San Francisco.",
    bio: [
      "Varun, a graduate with a masters from the University of Southern California (US), is currently focusing on data science & forecasting solutions — predictive analysis. Operating from San Francisco, US, he focuses on technology-based innovation and development for ACGIL. He has worked for Apple Inc and was one of the team members deputed for Apple's global CRM development.",
    ],
    blocks: [
      {
        heading: "Innovation & Technology Focus",
        paras: [
          "Varun largely focuses on innovations that enable the business to differentiate its products and services from competitors. In product development, he focuses on reducing development and production costs to remain competitive. His technological innovation spans new or improved products and processes whose technological characteristics are significantly different from before.",
        ],
      },
    ],
  },
];
