import { JSX } from "react";

export type ServiceTier = {
  name: string;
  priceUsd: number;
  highlight: string;
  features: string[];
};

export type ServiceData = {
  slug: string;
  emoji: string;
  title: string;
  tagline: string;
  desc: string;
  longDesc: string;
  icon: JSX.Element;
  color: string;
  detailedFeatures: { title: string; desc: string }[];
  useCases: string[];
  tiers: ServiceTier[];
  faqs: { q: string; a: string }[];
};

export const services: ServiceData[] = [
  {
    slug: "sms-marketing",
    emoji: "💬",
    title: "SMS Marketing",
    tagline: "Reach customers instantly with 98% delivery rate",
    desc: "Bulk SMS campaigns, OTP verification, and targeted messaging with real-time delivery tracking.",
    longDesc:
      "Our SMS Marketing platform delivers your messages to customers' pockets instantly. With a 98% delivery rate across 190+ countries and carrier-grade infrastructure, your campaigns reach the right audience at the right time — every time.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Bulk SMS Campaigns", desc: "Send thousands of personalised messages instantly with real-time delivery tracking and automated retries." },
      { title: "Custom Sender IDs", desc: "Brand your messages with your company name instead of a number to increase trust and open rates." },
      { title: "OTP & Verification", desc: "Secure two-factor authentication and account verification with sub-second delivery times." },
      { title: "Advanced Templates", desc: "Save and reuse message templates with dynamic personalisation tokens for names, dates, and custom fields." },
      { title: "API Access", desc: "Integrate SMS capabilities directly into your existing apps and workflows via our REST API." },
      { title: "Campaign Scheduling", desc: "Schedule campaigns to send at the optimal time for your audience's timezone." },
      { title: "Delivery Reports", desc: "Detailed logs showing delivered, failed, and pending messages with exportable analytics." },
      { title: "Audience Segmentation", desc: "Target specific customer groups based on purchase history, location, and behaviour." },
    ],
    useCases: [
      "E-commerce order & shipping updates",
      "Banking and fintech OTP authentication",
      "Healthcare appointment reminders",
      "Promotional flash sale announcements",
      "Event and ticket confirmations",
      "Loyalty programme updates",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 9.99,
        highlight: "500 SMS/month",
        features: ["500 SMS credits", "1 Custom Sender ID", "Basic delivery reports", "Web dashboard", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 24.99,
        highlight: "5,000 SMS/month",
        features: ["5,000 SMS credits", "5 Custom Sender IDs", "Advanced analytics", "REST API access", "Campaign scheduling", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 59.99,
        highlight: "Unlimited SMS",
        features: ["Unlimited SMS credits", "Unlimited Sender IDs", "Full API access", "Dedicated account manager", "SLA guarantee", "24/7 support"],
      },
    ],
    faqs: [
      { q: "What is a Custom Sender ID?", a: "A Custom Sender ID lets your messages arrive under your brand name (e.g. 'MyShop') rather than a numeric phone number, significantly increasing open rates and brand trust." },
      { q: "Which countries do you support?", a: "We deliver SMS to 190+ countries worldwide through our multi-carrier routing network. Coverage varies by destination." },
      { q: "Can I schedule messages in advance?", a: "Yes — all plans include campaign scheduling. Pro and Enterprise plans support timezone-aware scheduling for global audiences." },
      { q: "What delivery rate can I expect?", a: "Our platform maintains a 98%+ delivery rate through carrier-grade infrastructure and automatic retry logic on failed deliveries." },
    ],
  },
  {
    slug: "email-marketing",
    emoji: "📧",
    title: "Email Marketing",
    tagline: "Build lasting relationships with intelligent email campaigns",
    desc: "Drag-and-drop editor, automated drip sequences, A/B testing, and deep analytics in one platform.",
    longDesc:
      "Turn email into your highest-ROI channel. Our email marketing platform combines a powerful visual editor with intelligent automation, so you can build beautiful campaigns, test what works, and scale with confidence.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Drag & Drop Editor", desc: "Design stunning emails visually with pre-built blocks, no coding required. Fully responsive on all devices." },
      { title: "Automated Drip Sequences", desc: "Set up multi-step email journeys triggered by signups, purchases, or custom events." },
      { title: "A/B Testing", desc: "Test subject lines, content, and send times automatically — the winner is sent to the rest of your list." },
      { title: "Advanced Analytics", desc: "Track opens, clicks, bounces, unsubscribes, and revenue attribution per campaign and per contact." },
      { title: "Custom Domain Sending", desc: "Send from your own domain with SPF, DKIM, and DMARC authentication for maximum deliverability." },
      { title: "List Segmentation", desc: "Create hyper-targeted segments based on behaviour, demographics, and engagement history." },
      { title: "Dedicated IP (Enterprise)", desc: "Send from a dedicated IP address to fully control your sender reputation." },
      { title: "Priority Deliverability", desc: "Inbox placement monitoring, blacklist alerts, and proactive deliverability management." },
    ],
    useCases: [
      "Welcome and onboarding sequences",
      "Abandoned cart recovery emails",
      "Weekly newsletters and digest emails",
      "Product launch announcements",
      "Re-engagement campaigns for inactive users",
      "Post-purchase review requests",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 7.99,
        highlight: "5,000 emails/month",
        features: ["5,000 emails/month", "Drag & drop editor", "Basic automation", "Analytics dashboard", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 19.99,
        highlight: "50,000 emails/month",
        features: ["50,000 emails/month", "Advanced automation", "A/B testing", "Custom domain sending", "Segmentation", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 49.99,
        highlight: "Unlimited emails",
        features: ["Unlimited emails", "Dedicated IP address", "Premium deliverability", "Dedicated manager", "SLA guarantee", "24/7 support"],
      },
    ],
    faqs: [
      { q: "How do I import my existing contact list?", a: "You can import contacts via CSV, Excel, or directly through our API. We'll automatically deduplicate and validate addresses during import." },
      { q: "Does the platform handle unsubscribes automatically?", a: "Yes. All emails include a one-click unsubscribe link and we automatically honour unsubscribes to keep you CAN-SPAM and GDPR compliant." },
      { q: "What does 'dedicated IP' mean?", a: "A dedicated IP means your emails are sent from an IP address used only by you, giving you full control over your sender reputation rather than sharing it with other senders." },
      { q: "Can I test different subject lines?", a: "Yes — our A/B testing feature lets you test up to 3 variants of subject lines, sender names, or content. The winning version is sent automatically after a configurable test period." },
    ],
  },
  {
    slug: "social-media-marketing",
    emoji: "📱",
    title: "Social Media Marketing",
    tagline: "Manage, schedule, and grow across every social platform",
    desc: "Multi-account management, bulk scheduling, competitor analysis, and AI content suggestions.",
    longDesc:
      "Stop juggling multiple social media tabs. Our unified dashboard puts all your accounts — Facebook, Instagram, LinkedIn, Twitter/X, TikTok, and more — in one place, so you can plan, publish, and analyse with ease.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Multi-Account Management", desc: "Connect and manage Facebook, Instagram, LinkedIn, Twitter/X, TikTok, and Pinterest from one dashboard." },
      { title: "Bulk Post Scheduling", desc: "Upload and schedule hundreds of posts at once with our CSV bulk scheduler and visual content calendar." },
      { title: "Competitor Analysis", desc: "Track competitor accounts, benchmark your performance, and identify content gaps and opportunities." },
      { title: "AI Content Suggestions", desc: "Get AI-generated post ideas, captions, and hashtag recommendations tailored to your brand voice." },
      { title: "Engagement Analytics", desc: "Monitor likes, comments, shares, reach, and follower growth across all platforms in unified dashboards." },
      { title: "Cross-Platform Publishing", desc: "Customise the same post for each platform's format and character limits automatically." },
      { title: "White-Label Reports", desc: "Generate branded PDF reports for clients or stakeholders with the metrics that matter most." },
      { title: "Audience Growth Tracking", desc: "Track follower trends, audience demographics, and best-performing content over time." },
    ],
    useCases: [
      "Agency management of multiple client accounts",
      "E-commerce brand building and product promotion",
      "B2B LinkedIn thought leadership",
      "Restaurant and hospitality daily content",
      "Event promotion and live coverage",
      "Influencer and creator content planning",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 14.99,
        highlight: "3 accounts, 30 posts/mo",
        features: ["3 social accounts", "30 scheduled posts/month", "Basic analytics", "Visual calendar", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 34.99,
        highlight: "10 accounts, 200 posts/mo",
        features: ["10 social accounts", "200 scheduled posts/month", "Advanced analytics", "Competitor tracking", "AI content suggestions", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 74.99,
        highlight: "Unlimited accounts & posts",
        features: ["Unlimited accounts & posts", "White-label reports", "Bulk scheduling", "Dedicated manager", "Custom integrations", "24/7 support"],
      },
    ],
    faqs: [
      { q: "Which social platforms do you support?", a: "We support Facebook, Instagram, LinkedIn, Twitter/X, TikTok, Pinterest, and YouTube. New platforms are added regularly." },
      { q: "Can I manage multiple client accounts?", a: "Yes — the Pro plan supports 10 accounts and Enterprise supports unlimited accounts, making it ideal for agencies managing multiple clients." },
      { q: "What are AI content suggestions?", a: "Our AI analyses your brand, past performance, and trending topics to suggest post ideas, captions, and relevant hashtags tailored to your audience." },
      { q: "Can I get white-label reports for my clients?", a: "Yes, Enterprise plan users can generate fully branded PDF reports with custom logos, colours, and metrics selection." },
    ],
  },
  {
    slug: "pbx-voip",
    emoji: "📞",
    title: "PBX & VoIP Solutions",
    tagline: "Modern cloud phone systems for growing businesses",
    desc: "Cloud PBX, SIP trunking, IVR menus, call queuing, and full call center capabilities.",
    longDesc:
      "Modernise your business communications without the hardware headache. Our cloud PBX and VoIP platform gives you enterprise-grade call center features at a fraction of the cost, managed entirely from a web dashboard.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Cloud PBX Setup", desc: "Full business phone system in the cloud — no hardware required. Set up in minutes and scale instantly." },
      { title: "SIP Trunking", desc: "Replace traditional phone lines with SIP trunks to dramatically reduce call costs across all locations." },
      { title: "IVR Configuration", desc: "Build professional interactive voice response menus to route callers to the right department automatically." },
      { title: "Call Queuing & Routing", desc: "Intelligent call distribution with hold music, position announcements, and callback options." },
      { title: "Call Recording", desc: "Record and store calls for training, compliance, and quality assurance with searchable logs." },
      { title: "Multi-Site Support", desc: "Connect multiple office locations and remote workers on a single unified phone system." },
      { title: "Unlimited Extensions (Enterprise)", desc: "Add as many internal extensions as your team needs — no per-seat hardware costs." },
      { title: "Dedicated SLA Support", desc: "Enterprise clients get a dedicated support engineer and guaranteed response times." },
    ],
    useCases: [
      "Customer support call centers",
      "Remote and hybrid team communications",
      "Multi-branch retail and hospitality",
      "Healthcare patient scheduling lines",
      "Real estate enquiry management",
      "E-commerce customer service teams",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 19.99,
        highlight: "2 extensions, 500 min/mo",
        features: ["2 extensions", "500 minutes/month", "Cloud PBX dashboard", "Basic IVR", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 49.99,
        highlight: "10 extensions, 2,000 min/mo",
        features: ["10 extensions", "2,000 minutes/month", "Advanced IVR", "Call recording", "SIP trunking", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 99.99,
        highlight: "Unlimited extensions & minutes",
        features: ["Unlimited extensions", "Unlimited minutes", "Multi-site support", "Dedicated SLA", "Custom integrations", "24/7 support"],
      },
    ],
    faqs: [
      { q: "Do I need special hardware?", a: "No hardware is required. You can use any SIP-compatible desk phone, the Paid2Marketing softphone app, or make calls directly from your browser." },
      { q: "Can remote workers use the system?", a: "Yes — all plans support remote and hybrid workers. Employees connect from anywhere using the app or a web browser." },
      { q: "What is SIP trunking?", a: "SIP trunking replaces traditional phone lines with internet-based connections, significantly reducing per-minute call costs especially for international calls." },
      { q: "How quickly can I get set up?", a: "Most businesses are live within 1 business day. Our team handles number porting if you want to keep your existing business numbers." },
    ],
  },
  {
    slug: "chat-crm-chatbot",
    emoji: "🤖",
    title: "Chat CRM & Chatbot",
    tagline: "Engage, automate, and convert across every chat channel",
    desc: "Live chat widget, AI-powered chatbots, multi-channel messaging, and CRM integration.",
    longDesc:
      "Turn your website and social channels into 24/7 lead generation and support engines. Our AI chatbots handle routine queries automatically while your human agents focus on high-value conversations — all unified in a single inbox.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Live Chat Widget", desc: "Add a branded chat widget to your website in minutes. Fully customisable colours, position, and welcome message." },
      { title: "AI-Powered Chatbots", desc: "Build no-code chatbots with a visual flow builder that handle FAQs, lead capture, and bookings automatically." },
      { title: "Multi-Channel Messaging", desc: "Manage conversations from WhatsApp, Instagram, Facebook Messenger, and your website in one unified inbox." },
      { title: "CRM Integration", desc: "Every conversation automatically creates or updates a contact record in your CRM with full history." },
      { title: "Custom Bot Workflows", desc: "Design complex conversational flows with conditions, delays, variables, and API calls without writing code." },
      { title: "Conversation History", desc: "Full searchable history of every conversation per contact across all channels." },
      { title: "WhatsApp & Social Channels", desc: "Connect your verified WhatsApp Business account and social inboxes to the unified platform." },
      { title: "Unlimited Chatbots (Enterprise)", desc: "Deploy as many bots as you need across all your websites and products." },
    ],
    useCases: [
      "Lead qualification and capture on landing pages",
      "E-commerce product recommendations and cart support",
      "SaaS customer onboarding automation",
      "Healthcare appointment booking bots",
      "Real estate property enquiry bots",
      "24/7 FAQ and first-line support automation",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 12.99,
        highlight: "1 chatbot, 500 conversations",
        features: ["1 chatbot", "500 conversations/month", "Website live chat", "Basic bot builder", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 29.99,
        highlight: "5 chatbots, 5,000 conversations",
        features: ["5 chatbots", "5,000 conversations/month", "WhatsApp & social channels", "CRM integration", "Custom workflows", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 69.99,
        highlight: "Unlimited chatbots & conversations",
        features: ["Unlimited chatbots", "Unlimited conversations", "All channels included", "API integrations", "Dedicated manager", "24/7 support"],
      },
    ],
    faqs: [
      { q: "Do I need coding skills to build a chatbot?", a: "No — our visual bot builder is completely no-code. You design conversation flows by dragging and connecting blocks in the visual editor." },
      { q: "Which messaging channels are supported?", a: "We support your website live chat, WhatsApp Business, Facebook Messenger, Instagram DMs, and Telegram." },
      { q: "What happens when the bot can't answer a question?", a: "You can configure the bot to escalate to a human agent at any point. The agent receives the full conversation history so the customer never has to repeat themselves." },
      { q: "Can the chatbot book appointments?", a: "Yes — you can integrate the bot with your calendar (Google Calendar, Calendly, etc.) to accept bookings directly within the chat flow." },
    ],
  },
  {
    slug: "crm",
    emoji: "👥",
    title: "CRM",
    tagline: "Keep every customer relationship organised and growing",
    desc: "Contact & pipeline management, automation workflows, AI insights, and deep analytics.",
    longDesc:
      "Never lose a lead or miss a follow-up again. Our CRM gives your team a single source of truth for every customer relationship — with powerful automation, AI insights, and deep integration with the rest of your Paid2Marketing stack.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Contact & Pipeline Management", desc: "Manage contacts with rich profiles, custom fields, and visual drag-and-drop sales pipelines." },
      { title: "Email Integration", desc: "Send and receive emails directly in the CRM. Every email is automatically logged to the contact record." },
      { title: "Custom Fields & Modules", desc: "Add unlimited custom fields to contacts, companies, and deals to match your exact business process." },
      { title: "Automation Workflows", desc: "Auto-assign leads, trigger follow-up tasks, send reminder emails, and update records based on events." },
      { title: "AI Insights (Enterprise)", desc: "AI-powered deal scoring, churn prediction, and next-best-action recommendations." },
      { title: "API Access", desc: "Connect your CRM to any external tool or build custom integrations via our documented REST API." },
      { title: "Advanced Reporting", desc: "Pipeline reports, conversion rate tracking, team performance dashboards, and revenue forecasting." },
      { title: "Dedicated Onboarding (Enterprise)", desc: "White-glove setup, data migration, and team training included with Enterprise plans." },
    ],
    useCases: [
      "B2B sales pipeline tracking",
      "Agency client relationship management",
      "Real estate lead and property tracking",
      "SaaS trial-to-paid conversion tracking",
      "E-commerce customer lifetime value analysis",
      "Field sales team activity tracking",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 12.99,
        highlight: "500 contacts",
        features: ["500 contacts", "Visual sales pipeline", "Email integration", "Basic reporting", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 29.99,
        highlight: "10,000 contacts",
        features: ["10,000 contacts", "Unlimited pipelines", "Automation workflows", "Custom fields", "API access", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 69.99,
        highlight: "Unlimited contacts",
        features: ["Unlimited contacts", "AI insights", "Advanced reporting", "Dedicated onboarding", "Custom integrations", "24/7 support"],
      },
    ],
    faqs: [
      { q: "Can I import my existing contacts?", a: "Yes — import contacts from CSV, Excel, Google Contacts, or directly from HubSpot and Salesforce using our migration tools." },
      { q: "How does the automation work?", a: "You create 'if-then' workflows: e.g. 'if a deal moves to the Proposal stage, automatically create a follow-up task for 3 days later and send a proposal email template.'" },
      { q: "Does it integrate with our email provider?", a: "We integrate natively with Gmail and Outlook. All sent and received emails are automatically logged against the relevant contact." },
      { q: "What are AI insights?", a: "Enterprise AI insights include deal health scores (likelihood to close), churn risk alerts for existing customers, and recommended next actions based on historical deal patterns." },
    ],
  },
  {
    slug: "analytics",
    emoji: "📊",
    title: "Analytics",
    tagline: "Turn your marketing data into confident decisions",
    desc: "Real-time dashboards, custom reports, campaign performance tracking across SMS, email, and social.",
    longDesc:
      "Stop guessing and start knowing. Our analytics platform aggregates data from every Paid2Marketing channel — SMS, email, social, chat — into unified dashboards that show you exactly what's working and where to invest next.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Real-Time Dashboards", desc: "See live campaign performance as it happens with auto-refreshing charts and KPI cards." },
      { title: "Custom Reports", desc: "Build any report you need with a drag-and-drop report builder. Save and schedule automated PDF delivery." },
      { title: "Cross-Channel Attribution", desc: "Track the full customer journey across SMS, email, chat, and social to understand true campaign ROI." },
      { title: "Campaign Performance Tracking", desc: "Deep-dive into opens, clicks, conversions, bounce rates, and revenue per campaign." },
      { title: "Contact Analytics", desc: "Understand individual contact engagement history, lifetime value, and predicted churn risk." },
      { title: "Data Export", desc: "Export any dataset to CSV, Excel, or connect directly to Google Data Studio or Tableau." },
      { title: "1-Year Data Retention (Pro)", desc: "Pro plans store up to 12 months of historical data for trend analysis and year-over-year comparisons." },
      { title: "Unlimited Retention (Enterprise)", desc: "Enterprise plans store all your data indefinitely with no expiry." },
    ],
    useCases: [
      "Marketing team weekly performance reviews",
      "Executive revenue and ROI reporting",
      "Agency white-label reporting for clients",
      "A/B test analysis across channels",
      "Seasonal campaign effectiveness tracking",
      "Customer journey and funnel drop-off analysis",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 9.99,
        highlight: "3 dashboards, 30-day data",
        features: ["3 dashboards", "30-day data retention", "Standard reports", "CSV export", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 24.99,
        highlight: "20 dashboards, 1-year data",
        features: ["20 dashboards", "1-year data retention", "Custom report builder", "Cross-channel attribution", "Scheduled PDF reports", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 54.99,
        highlight: "Unlimited dashboards & data",
        features: ["Unlimited dashboards", "Unlimited data retention", "Data Studio / Tableau integration", "Dedicated analyst support", "API data access", "24/7 support"],
      },
    ],
    faqs: [
      { q: "Does the analytics cover all Paid2Marketing services?", a: "Yes — if you use multiple Paid2Marketing services, Analytics gives you a unified cross-channel view covering SMS, email, social, chat, and CRM data in one place." },
      { q: "Can I schedule automated reports?", a: "Yes — Pro and Enterprise plans can schedule PDF reports to be automatically emailed to any recipients on a daily, weekly, or monthly basis." },
      { q: "Can I connect my own BI tool?", a: "Enterprise plans include an API data export that connects to Google Data Studio, Tableau, Power BI, and other BI tools." },
      { q: "How far back does historical data go?", a: "Basic plans retain 30 days, Pro plans retain 1 year, and Enterprise plans retain all historical data indefinitely." },
    ],
  },
  {
    slug: "support-tickets",
    emoji: "🎫",
    title: "Support Tickets",
    tagline: "Deliver exceptional customer support at scale",
    desc: "Multi-channel inbox, SLA management, custom workflows, and detailed agent performance reports.",
    longDesc:
      "Give your support team the tools they need to resolve issues faster and customers the experience they deserve. Our ticketing system unifies email, chat, phone, and social queries into one organised inbox with powerful automation.",
    icon: (
      <svg className="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z" />
      </svg>
    ),
    color: "#28c76f",
    detailedFeatures: [
      { title: "Multi-Channel Inbox", desc: "All support requests — email, live chat, social DMs, and phone — are funnelled into a single organised inbox." },
      { title: "SLA Management", desc: "Set response and resolution time targets per ticket priority. Get alerts when SLAs are at risk." },
      { title: "Custom Workflows", desc: "Auto-assign, auto-tag, escalate, and close tickets based on rules you define — no manual sorting." },
      { title: "Agent Performance Reports", desc: "Track each agent's response times, resolution rates, CSAT scores, and ticket volumes." },
      { title: "Priority Routing", desc: "VIP customers, urgent issues, and high-value tickets are automatically routed to the right agents." },
      { title: "Email & Chat Support", desc: "Customers can submit tickets via email or live chat widget and receive updates in the same channel." },
      { title: "Unlimited Agents (Enterprise)", desc: "Scale your support team without per-seat costs holding you back." },
      { title: "Dedicated Manager (Enterprise)", desc: "Enterprise accounts get a dedicated customer success manager for setup, training, and optimisation." },
    ],
    useCases: [
      "SaaS product customer support",
      "E-commerce returns and order issue handling",
      "Telecom customer complaint management",
      "Healthcare patient query management",
      "B2B enterprise account support",
      "Internal IT helpdesk ticketing",
    ],
    tiers: [
      {
        name: "Basic",
        priceUsd: 14.99,
        highlight: "3 agents, 500 tickets/mo",
        features: ["3 agents", "500 tickets/month", "Email & chat channels", "Basic SLA rules", "Email support"],
      },
      {
        name: "Pro",
        priceUsd: 34.99,
        highlight: "15 agents, 5,000 tickets/mo",
        features: ["15 agents", "5,000 tickets/month", "All channels", "Custom workflows", "Agent reporting", "Priority support"],
      },
      {
        name: "Enterprise",
        priceUsd: 79.99,
        highlight: "Unlimited agents & tickets",
        features: ["Unlimited agents", "Unlimited tickets", "Priority routing", "Advanced SLA management", "Dedicated manager", "24/7 support"],
      },
    ],
    faqs: [
      { q: "What channels can customers use to submit tickets?", a: "Customers can submit via email, live chat widget, Facebook Messenger, Instagram DMs, and a web-based customer portal." },
      { q: "What is an SLA?", a: "A Service Level Agreement (SLA) defines how quickly you commit to responding to and resolving tickets. Our system tracks these automatically and alerts agents when targets are at risk." },
      { q: "Can customers check the status of their ticket?", a: "Yes — customers receive email updates at each stage and can log into the customer portal to view their ticket history and status." },
      { q: "How do custom workflows work?", a: "You define rules like: if ticket subject contains 'urgent' AND channel is email, assign to senior team and set priority to high. Rules run automatically on every incoming ticket." },
    ],
  },
];

export function getServiceBySlug(slug: string): ServiceData | undefined {
  return services.find((s) => s.slug === slug);
}

export function getAllSlugs(): string[] {
  return services.map((s) => s.slug);
}
