export type ProfessionalCategory = 'tech' | 'creative' | 'education' | 'wellness' | 'events' | 'marketing';

export type ProfessionalPageContent = {
  slug: string;
  roleKey: string;
  title: string;
  shortTitle: string;
  heroTitle: string;
  heroDescription: string;
  image: string;
  category: ProfessionalCategory;
  benefits: string[];
  offerHighlights: string[];
  faqs: Array<{ q: string; a: string }>;
};

export const professionalPages: ProfessionalPageContent[] = [
  {
    slug: 'developer',
    roleKey: 'DEVELOPER',
    title: 'Developer Professionals',
    shortTitle: 'Developer',
    heroTitle: 'Get verified development opportunities with clear project scope.',
    heroDescription: 'Join Nxtgauge as a Developer and connect with customers and companies through a trust-first workflow.',
    image: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1200&auto=format&fit=crop',
    category: 'tech',
    benefits: ['Verified client requirements', 'Structured project details before outreach', 'Clear status tracking for requests and approvals'],
    offerHighlights: ['Build your trusted developer profile', 'Respond to relevant, role-matched opportunities', 'Grow with less marketplace noise'],
    faqs: [
      { q: 'Who should join this page?', a: 'Developers looking for verified client demand and structured project discovery.' },
      { q: 'How do opportunities stay high quality?', a: 'Requirements and profiles flow through review checkpoints before they become visible.' },
    ],
  },
  {
    slug: 'photographer',
    roleKey: 'PHOTOGRAPHER',
    title: 'Photographer Professionals',
    shortTitle: 'Photographer',
    heroTitle: 'Show your portfolio to verified customers and event-focused demand.',
    heroDescription: 'Join as a Photographer and receive opportunities where trust and profile quality matter.',
    image: 'https://images.unsplash.com/photo-1516035069371-29a1b244cc32?q=80&w=1200&auto=format&fit=crop',
    category: 'creative',
    benefits: ['Verified requirement flow', 'Profile-led visibility', 'Cleaner discovery for event and brand shoots'],
    offerHighlights: ['Build a trustworthy public profile', 'Get discovered by relevant customer needs', 'Track every response in one workflow'],
    faqs: [
      { q: 'Can I highlight specialization?', a: 'Yes. Your profile setup helps present service type and strengths clearly.' },
      { q: 'Why is verification useful for photographers?', a: 'It reduces spam and improves confidence for both professionals and customers.' },
    ],
  },
  {
    slug: 'makeup-artist',
    roleKey: 'MAKEUP_ARTIST',
    title: 'Makeup Artist Professionals',
    shortTitle: 'Makeup Artist',
    heroTitle: 'Grow your makeup services with trusted profile-based discovery.',
    heroDescription: 'Join Nxtgauge as a Makeup Artist and connect with verified requirements from customers and event planners.',
    image: 'https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?q=80&w=1200&auto=format&fit=crop',
    category: 'creative',
    benefits: ['Verified service requests', 'Cleaner lead quality', 'Role-relevant visibility for styling work'],
    offerHighlights: ['Create a strong professional profile', 'Respond to approved demand', 'Track status without confusion'],
    faqs: [
      { q: 'Is this for freelance artists only?', a: 'It works for freelance and studio-aligned professionals.' },
      { q: 'What is the biggest advantage here?', a: 'Trust-led discovery reduces low-intent requests and improves match quality.' },
    ],
  },
  {
    slug: 'tutor',
    roleKey: 'TUTOR',
    title: 'Tutor Professionals',
    shortTitle: 'Tutor',
    heroTitle: 'Reach serious learners through a trusted tutoring discovery flow.',
    heroDescription: 'Join as a Tutor to receive verified educational requirements and present your profile with confidence.',
    image: 'https://images.unsplash.com/photo-1497633762265-9d179a990aa6?q=80&w=1200&auto=format&fit=crop',
    category: 'education',
    benefits: ['Verified learner requirements', 'Structured profile presentation', 'Focused subject-based discovery'],
    offerHighlights: ['Show your strengths and teaching profile', 'Get matched to relevant demand', 'Manage responses with transparent status'],
    faqs: [
      { q: 'Can tutors from different subjects join?', a: 'Yes. The role is designed for broad education categories and specialization.' },
      { q: 'How does trust help tutoring?', a: 'It improves confidence and reduces low-quality demand signals.' },
    ],
  },
  {
    slug: 'video-editor',
    roleKey: 'VIDEO_EDITOR',
    title: 'Video Editor Professionals',
    shortTitle: 'Video Editor',
    heroTitle: 'Find better-fit editing opportunities through verified demand.',
    heroDescription: 'Join as a Video Editor and connect with customers and companies through a review-based trust model.',
    image: 'https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?q=80&w=1200&auto=format&fit=crop',
    category: 'creative',
    benefits: ['Verified project requirements', 'Better fit between role and demand', 'Clear, trackable opportunity states'],
    offerHighlights: ['Build a strong editing profile', 'Respond to trusted opportunities', 'Work with less marketplace noise'],
    faqs: [
      { q: 'Does this support freelance editors?', a: 'Yes. Freelancers can join and grow through verified opportunity discovery.' },
      { q: 'Why not a normal listing marketplace?', a: 'Nxtgauge emphasizes trust checks before visibility for better quality interactions.' },
    ],
  },
  {
    slug: 'graphic-designer',
    roleKey: 'GRAPHIC_DESIGNER',
    title: 'Graphic Designer Professionals',
    shortTitle: 'Graphic Designer',
    heroTitle: 'Grow design demand through trust-first profile visibility.',
    heroDescription: 'Join as a Graphic Designer to connect with verified requirements and role-relevant opportunities.',
    image: 'https://images.unsplash.com/photo-1558655146-d09347e92766?q=80&w=1200&auto=format&fit=crop',
    category: 'creative',
    benefits: ['Verified design requests', 'Structured profile and credibility flow', 'Cleaner matching by role and requirement'],
    offerHighlights: ['Show your design strengths clearly', 'Respond to approved opportunities', 'Track engagement in one place'],
    faqs: [
      { q: 'Can brand and social designers both use this?', a: 'Yes. The role supports multiple design demand contexts.' },
      { q: 'What makes this trustworthy?', a: 'Approval and review checkpoints help reduce fake or low-quality submissions.' },
    ],
  },
  {
    slug: 'social-media-manager',
    roleKey: 'SOCIAL_MEDIA_MANAGER',
    title: 'Social Media Manager Professionals',
    shortTitle: 'Social Media Manager',
    heroTitle: 'Access verified social growth opportunities with clearer demand signals.',
    heroDescription: 'Join as a Social Media Manager and grow with trusted customer and company requirements.',
    image: 'https://images.unsplash.com/photo-1611162618071-b39a2ec055fb?q=80&w=1200&auto=format&fit=crop',
    category: 'marketing',
    benefits: ['Verified campaign requirements', 'Role-specific discovery experience', 'Transparent status flow for responses'],
    offerHighlights: ['Build a profile clients can trust', 'Respond to relevant campaign demand', 'Manage opportunity updates with clarity'],
    faqs: [
      { q: 'Is this useful for independent consultants?', a: 'Yes. It supports independent social media professionals and teams.' },
      { q: 'How is demand quality maintained?', a: 'Review-oriented workflow helps surface more reliable opportunities.' },
    ],
  },
  {
    slug: 'fitness-trainer',
    roleKey: 'FITNESS_TRAINER',
    title: 'Fitness Trainer Professionals',
    shortTitle: 'Fitness Trainer',
    heroTitle: 'Connect with verified fitness demand and build trust quickly.',
    heroDescription: 'Join as a Fitness Trainer and grow through profile-led visibility in a trust-first marketplace.',
    image: 'https://images.unsplash.com/photo-1517836357463-d25dfeac3438?q=80&w=1200&auto=format&fit=crop',
    category: 'wellness',
    benefits: ['Verified customer requirements', 'Cleaner demand discovery', 'Better trust signals for first-time clients'],
    offerHighlights: ['Create a strong trainer profile', 'Engage with trusted requirement flow', 'Track request movement clearly'],
    faqs: [
      { q: 'Is this only for gym trainers?', a: 'No. It supports trainers across formats and specializations.' },
      { q: 'Why does verification matter for this role?', a: 'It improves confidence for customers and reduces low-intent interactions.' },
    ],
  },
  {
    slug: 'catering-services',
    roleKey: 'CATERING_SERVICES',
    title: 'Catering Service Professionals',
    shortTitle: 'Catering Services',
    heroTitle: 'Get discovered for events through verified requirement workflows.',
    heroDescription: 'Join as a Catering Service professional and connect with trusted event demand.',
    image: 'https://images.unsplash.com/photo-1555244162-803834f70033?q=80&w=1200&auto=format&fit=crop',
    category: 'events',
    benefits: ['Verified event requirements', 'Profile-first trust visibility', 'Better opportunity clarity before engagement'],
    offerHighlights: ['Present your service profile with confidence', 'Respond to approved requirements', 'Track outcomes in one flow'],
    faqs: [
      { q: 'Can small catering teams join?', a: 'Yes. Both individual and team-based providers can join.' },
      { q: 'What is the key benefit?', a: 'Higher confidence in demand quality through trusted workflows.' },
    ],
  },
  {
    slug: 'ugc-content-creator',
    roleKey: 'UGC_CONTENT_CREATOR',
    title: 'UGC Content Creator Professionals',
    shortTitle: 'UGC Content Creator',
    heroTitle: 'Find trusted brand collaboration demand with verified workflows.',
    heroDescription: 'Join as a UGC Content Creator and grow with role-matched, quality-controlled opportunities.',
    image: 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1200&auto=format&fit=crop',
    category: 'marketing',
    benefits: ['Verified campaign demand', 'Better matching for creator roles', 'Clear status visibility from request to response'],
    offerHighlights: ['Build a trusted creator profile', 'Respond to approved opportunities', 'Scale with less discovery noise'],
    faqs: [
      { q: 'Is this focused on campaign-style work?', a: 'Yes. It is optimized for creator-brand collaboration demand.' },
      { q: 'How does Nxtgauge help creators?', a: 'By emphasizing trust and verification before visibility and response cycles.' },
    ],
  },
];

export function getProfessionalBySlug(slug: string): ProfessionalPageContent | undefined {
  return professionalPages.find((item) => item.slug === slug);
}

export function professionalSignupHref(roleKey: string): string {
  return `/signup?intent=professional&role=${encodeURIComponent(roleKey)}`;
}

