import {
  Briefcase,
  FileSignature,
  FileText,
  FolderKanban,
  type LucideIcon,
  PlayCircle,
  Receipt,
  Send,
  Sparkles,
  Timer,
  Users,
} from 'lucide-react'

export const freePlanFeatures = [
  '2 projects',
  'Unlimited team members',
  'All core modules',
  'Built-in time tracking',
]

export const proPlanFeatures = [
  'Unlimited projects & workspaces',
  'Everything in Free',
  'Priority support',
  'Recurrnig Invoices(coming soon)',
]

export const modules: {
  name: string
  blurb: string
  icon: LucideIcon
}[] = [
  {
    name: 'Projects',
    blurb: 'Group the work. Track status and due dates.',
    icon: FolderKanban,
  },
  {
    name: 'Clients',
    blurb: 'One record per client. Or skip it — clients are optional.',
    icon: Briefcase,
  },
  {
    name: 'Team',
    blurb: 'Invite collaborators. Assign work. No per-seat fees.',
    icon: Users,
  },
  {
    name: 'Proposals',
    blurb: 'Draft, send, and collect signatures in-platform.',
    icon: FileSignature,
  },
  {
    name: 'Time tracking',
    blurb: 'A timer that lives where the work does.',
    icon: Timer,
  },
  {
    name: 'Timesheets',
    blurb: 'Weekly hours that flow into invoices.',
    icon: FileText,
  },
  {
    name: 'Expenses',
    blurb: 'Log costs, tag billable, attach to invoices.',
    icon: Receipt,
  },
  {
    name: 'Invoices',
    blurb: 'Pull hours and expenses. Export PDF. Get paid.',
    icon: FileText,
  },
]

export const howItWorks: {
  step: string
  title: string
  body: string
  icon: LucideIcon
  highlights: string[]
}[] = [
  {
    step: '01',
    title: 'Spin up a project',
    body: 'Add the scope and team — and a client, if there is one. Takes under a minute.',
    icon: Sparkles,
    highlights: ['Scope & team', 'Optional client', 'Toggle modules'],
  },
  {
    step: '02',
    title: 'Do the work',
    body: 'Track time, log expenses, and send proposals as you go.',
    icon: PlayCircle,
    highlights: ['Timer & timesheets', 'Expenses', 'Proposals & signatures'],
  },
  {
    step: '03',
    title: 'Invoice or just track it',
    body: 'Roll hours and expenses into an invoice in one click — or keep the log for yourself.',
    icon: Send,
    highlights: ['One-click invoice', 'Export PDF', 'Track paid status'],
  },
]

export const comparison = [
  {
    need: 'Projects & clients',
    stack: 'Notion / Airtable',
    saturn: 'Built-in',
  },
  {
    need: 'Proposals with signatures',
    stack: 'DocuSign / PandaDoc',
    saturn: 'Built-in',
  },
  {
    need: 'Time tracking',
    stack: 'Toggl / Harvest',
    saturn: 'Built-in',
  },
  {
    need: 'Timesheets',
    stack: 'Spreadsheet',
    saturn: 'Built-in',
  },
  {
    need: 'Expenses',
    stack: 'Spreadsheet / Expensify',
    saturn: 'Built-in',
  },
  {
    need: 'Invoicing',
    stack: 'QuickBooks / Wave',
    saturn: 'Built-in',
  },
  {
    need: 'Monthly cost',
    stack: '$40–80+',
    saturn: '$0–3',
  },
]

export const faq = [
  {
    q: 'Who is Saturn for?',
    a: 'Independent freelancers, small agencies, and solo builders. If you freelance, run a boutique studio, or just want one place to track your own personal projects, this is built for you. Clients are optional — every workspace lets you toggle client involvement on or off per module.',
  },
  {
    q: 'Can I use Saturn without any clients?',
    a: 'Yes. Turn client involvement off and Saturn becomes a personal project tracker — projects, time tracking, timesheets, expenses, and invoices that are just for you.',
  },
  {
    q: 'Do I have to pay per team member or per workspace?',
    a: 'Neither. Pro is billed per owner — upgrade once and you get unlimited workspaces and unlimited team members across all of them.',
  },
  {
    q: "What's actually free?",
    a: 'Every module works on the Free plan — projects, clients, proposals, timesheets, expenses, invoices, and time tracking. Free caps you at 2 active projects. Pro removes that cap.',
  },
  {
    q: 'Can I export my data?',
    a: 'Yes. Invoices and timesheets export to PDF. Project data is yours to take with you.',
  },
  {
    q: 'Does Saturn replace my accounting software?',
    a: "Saturn handles invoicing and expense logging for your freelance work. It isn't a full double-entry accounting system — you can still hand exported data to your accountant at year-end.",
  },
]
