export interface FeatureDetail {
    title: string;
    text: string;
    image: string;
    reverse: boolean;
}

export interface FeatureBenefit {
    title: string;
    description: string;
    icon: string;
}

export interface FeatureAbout {
    title: string;
    description: string;
    subTitle: string;
    bulletPoints: { text: string; icon: string }[];
    mainImage: string;
    subImage: string;
}

export interface FeatureTestimonial {
    quote: string;
    author: string;
    role: string;
    rating: number; // 1-5
    image: string;
}

export interface FeatureFAQ {
    question: string;
    answer: string;
}

export interface Feature {
    slug: string;
    title: string;
    subtitle: string;
    heroImage: string;
    description: string;
    about: FeatureAbout;
    benefits: FeatureBenefit[];
    testimonials: FeatureTestimonial[];
    faqs: FeatureFAQ[];
    // Keeping details for legacy if needed, or repurposed
    details: FeatureDetail[];
}

export const features: Feature[] = [
    {
        slug: 'publish',
        title: 'Publishing',
        subtitle: 'Plan, Collaborate, and Publish Compelling Content',
        heroImage: '/images/features/publish-hero.jpg',
        description: 'Take control of your social media calendar with our powerful publishing tools. Schedule posts for all your channels in one place.',
        about: {
            title: 'Streamline Your Publishing Workflow',
            subTitle: 'Efficiency at Scale',
            description: 'Stop wasting time switching between platforms. SocialBuddy\'s publishing tools allow you to craft, schedule, and publish content to Instagram, Facebook, Twitter, LinkedIn, and more from a single dashboard. Collaborate with your team and approve posts with ease.',
            bulletPoints: [
                { text: 'Unified Content Calendar', icon: 'Calendar' },
                { text: 'Visual Post Preview', icon: 'Eye' }
            ],
            mainImage: '/images/features/publish-about-main.jpg',
            subImage: '/images/features/publish-about-sub.jpg'
        },
        benefits: [
            { title: 'Multi-Channel Scheduling', description: 'Post to Instagram, Facebook, Twitter, LinkedIn, and more simultaneously.', icon: '📅' },
            { title: 'Visual Calendar', description: 'Drag and drop your posts to organize your month at a glance.', icon: '👀' },
            { title: 'Best Time to Post', description: 'Our AI suggests the optimal times to tweet or post for maximum engagement.', icon: '⏰' },
            { title: 'Team Collaboration', description: 'Assign roles, leave comments, and approve posts before they go live.', icon: '👥' }
        ],
        testimonials: [
            { quote: 'SocialBuddy has completely transformed how we manage our social media. We save at least 10 hours a week on scheduling alone.', author: 'Jessica Miller', role: 'Marketing Director, TechFlow', rating: 5, image: '/images/testimonials/jessica.jpg' },
            { quote: 'The visual calendar is a lifesaver. Being able to see our entire month at a glance makes planning so much easier.', author: 'Tom Harrison', role: 'Social Media Manager, BuzzMedia', rating: 5, image: '/images/testimonials/tom.jpg' },
            { quote: 'Posting to multiple platforms used to be a nightmare. Now it takes seconds.', author: 'Sarah Jenkins', role: 'Content Creator', rating: 4, image: '/images/testimonials/sarah-j.jpg' },
            { quote: 'Our engagement has gone up since we started using the "Best Time to Post" feature. Highly recommend!', author: 'Michael Brown', role: 'Small Business Owner', rating: 5, image: '/images/testimonials/michael.jpg' },
            { quote: 'The collaboration tools are fantastic. My team can review and approve posts without endless email chains.', author: 'Emily Davis', role: 'Agency Owner', rating: 5, image: '/images/testimonials/emily-d.jpg' }
        ],
        faqs: [
            { question: 'Which platforms do you support?', answer: 'We support Instagram, Facebook, Twitter (X), LinkedIn, Pinterest, and TikTok.' },
            { question: 'Can I schedule stories?', answer: 'Yes, you can schedule Instagram Stories and Facebook Stories directly from the dashboard.' },
            { question: 'Is there a limit to posts?', answer: 'The "Pro" plan includes unlimited scheduling. Standard plans have generous monthly limits.' }
        ],
        details: []
    },
    {
        slug: 'analyze',
        title: 'Analytics',
        subtitle: 'Measure Your Performance and Grow Your Reach',
        heroImage: '/images/features/analyze-hero.jpg',
        description: 'Get deep insights into your social media performance. Understand what works and what doesn\'t to optimize your strategy.',
        about: {
            title: 'Data-Driven Decision Making',
            subTitle: 'Unlock Your Potential',
            description: 'Go beyond vanity metrics. Our deep analytics platform provides actionable insights into audience behavior, content performance, and ROI. Visualize your growth with custom reports.',
            bulletPoints: [
                { text: 'Comprehensive Dashboards', icon: 'BarChart' },
                { text: 'Competitor Benchmarking', icon: 'Trophy' }
            ],
            mainImage: '/images/features/analyze-about-main.jpg',
            subImage: '/images/features/analyze-about-sub.jpg'
        },
        benefits: [
            { title: 'In-depth Reporting', description: 'Create beautiful reports to share with your team or clients.', icon: '📊' },
            { title: 'Engagement Metrics', description: 'Track likes, comments, shares, and clicks across all platforms.', icon: '📈' },
            { title: 'Audience Demographics', description: 'Know who your followers are and where they come from.', icon: '🌍' },
            { title: 'ROI Tracking', description: 'Connect your social efforts to real business results and revenue.', icon: '💰' }
        ],
        testimonials: [
            { quote: 'The analytics reports are a game changer. I can finally prove the ROI of our social media campaigns to the stakeholders.', author: 'Mark Rutherford', role: 'Social Media Manager, EcoGoods', rating: 5, image: '/images/testimonials/mark.jpg' },
            { quote: 'I love how easy it is to customize the reports. My clients are always impressed.', author: 'Lisa Wong', role: 'Freelance Marketer', rating: 5, image: '/images/testimonials/lisa.jpg' },
            { quote: 'The competitor analysis tool helped us identify a gap in the market we didn\'t know existed.', author: 'James Smith', role: 'Growth Hacker', rating: 4, image: '/images/testimonials/james.jpg' },
            { quote: 'Being able to track conversions from social posts relies helps us budget better.', author: 'Rachel Green', role: 'E-commerce Manager', rating: 5, image: '/images/testimonials/rachel.jpg' },
            { quote: 'The audience insights are incredibly detailed. We refined our persona based on the data.', author: 'Kevin White', role: 'Brand Strategist', rating: 5, image: '/images/testimonials/kevin.jpg' }
        ],
        faqs: [
            { question: 'How far back does data go?', answer: 'We pull up to 12 months of historical data upon connection.' },
            { question: 'Can I export reports?', answer: 'Yes, you can export reports as PDF or CSV files.' },
            { question: 'Do you track competitors?', answer: 'Yes, you can track key metrics of your top competitors to see how you stack up.' }
        ],
        details: []
    },
    {
        slug: 'engage',
        title: 'Engagement',
        subtitle: 'Build Stronger Relationships with Your Audience',
        heroImage: '/images/features/engage-hero.jpg',
        description: 'Never miss a comment or mention. Reply to your community from a single, unified inbox.',
        about: {
            title: 'Never Miss a Conversation',
            subTitle: 'Unified Social Box',
            description: 'Managing messages across multiple platforms is chaotic. SocialBuddy brings all your DMs, comments, and mentions into one specific stream, so you can respond faster and build better relationships.',
            bulletPoints: [
                { text: 'Centralized Social Inbox', icon: 'Inbox' },
                { text: 'Automated Moderation', icon: 'ShieldCheck' }
            ],
            mainImage: '/images/features/engage-about-main.jpg',
            subImage: '/images/features/engage-about-sub.jpg'
        },
        benefits: [
            { title: 'Unified Inbox', description: 'All your conversations from every platform in one stream.', icon: '📥' },
            { title: 'Smart Filtering', description: 'Prioritize important messages and filter out the noise.', icon: '🔍' },
            { title: 'Team Assignment', description: 'Assign conversations to specific team members for faster support.', icon: '👥' },
            { title: 'Saved Replies', description: 'Respond to common questions instantly with pre-written templates.', icon: '⚡' }
        ],
        testimonials: [
            { quote: 'Our response time dropped by 60% since switching to SocialBuddy. The unified inbox is a lifesaver for our support team.', author: 'Sarah Chen', role: 'Customer Success Lead, Omni', rating: 5, image: '/images/testimonials/sarah.jpg' },
            { quote: 'I used to miss DMs on Instagram all the time. Now everything is in one place.', author: 'Alex Turner', role: 'Influencer', rating: 4, image: '/images/testimonials/alex.jpg' },
            { quote: 'The ability to assign conversations to different team members is perfect for our workflow.', author: 'Maria Rodriguez', role: 'Support Manager', rating: 5, image: '/images/testimonials/maria.jpg' },
            { quote: 'Saved replies save me so much typing. Support is faster than ever.', author: 'John Doe', role: 'Customer Service', rating: 5, image: '/images/testimonials/john.jpg' },
            { quote: 'It\'s great to see the context of previous conversations when replying to a user.', author: 'Emma Wilson', role: 'Community Manager', rating: 4, image: '/images/testimonials/emma-w.jpg' }
        ],
        faqs: [
            { question: 'Does it support DMs?', answer: 'Yes, we support Direct Messages for Instagram, Facebook, Twitter, and LinkedIn.' },
            { question: 'Can multiple people work in the inbox?', answer: 'Absolutely. You can see who is typing and assign conversations to avoid overlap.' },
            { question: 'Is it real-time?', answer: 'Yes, messages appear in your inbox instantly.' }
        ],
        details: []
    },
    {
        slug: 'create',
        title: 'Create',
        subtitle: 'Turn Your Ideas into Eye-Catching Content',
        heroImage: '/images/features/create-hero.jpg',
        description: 'Design beautiful graphics and write compelling copy without leaving the platform. Your creative studio in the cloud.',
        about: {
            title: 'Design Made Simple',
            subTitle: 'Creative Suite',
            description: 'You don\'t need to be a professional designer to create stunning social media posts. With our built-in editor and templates, you can create on-brand content in seconds.',
            bulletPoints: [
                { text: 'Drag-and-Drop Editor', icon: 'Palette' },
                { text: 'Thousands of Templates', icon: 'Layout' }
            ],
            mainImage: '/images/features/create-about-main.jpg',
            subImage: '/images/features/create-about-sub.jpg'
        },
        benefits: [
            { title: 'Template Library', description: 'Access thousands of professionally designed templates for every occasion.', icon: '🎨' },
            { title: 'Image Editor', description: 'Crop, resize, and filter your images to perfection.', icon: '✏️' },
            { title: 'Asset Manager', description: 'Store and organize your brand assets, logos, and images.', icon: '📁' },
            { title: 'Canva Integration', description: 'Connect your Canva account to access your designs seamlessly.', icon: '🖌️' }
        ],
        testimonials: [
            { quote: 'I used to struggle with designing posts. The templates in SocialBuddy make it look like we hired a professional agency.', author: 'Mike Ross', role: 'Founder, StartupX', rating: 4, image: '/images/testimonials/mike.jpg' },
            { quote: 'The image editor is surprisingly powerful. I rarely need to open Photoshop anymore.', author: 'Jenny Lee', role: 'Graphic Designer', rating: 5, image: '/images/testimonials/jenny.jpg' },
            { quote: 'Having all our assets in one place makes brand consistency so much easier.', author: 'David Clark', role: 'Brand Manager', rating: 5, image: '/images/testimonials/david-c.jpg' },
            { quote: 'The Canva integration is seamless. Best of both worlds.', author: 'Sophie Turner', role: 'Social Media Intern', rating: 5, image: '/images/testimonials/sophie.jpg' },
            { quote: 'Great selection of templates for holidays and special events.', author: 'Chris Evans', role: 'Event Coordinator', rating: 4, image: '/images/testimonials/chris.jpg' }
        ],
        faqs: [
            { question: 'Can I upload my own fonts?', answer: 'Yes, Pro plans allow font uploads to keep your designs on-brand.' },
            { question: 'Are the stock photos free?', answer: 'We provide access to millions of royalty-free images via Unsplash and Pexels integration.' },
            { question: 'Can I save my brand colors?', answer: 'Yes, you can set up a Brand Kit with your colors and logos.' }
        ],
        details: []
    },
    {
        slug: 'start-page',
        title: 'Start Page',
        subtitle: 'Your Link-in-Bio, Reimagined',
        heroImage: '/images/features/start-page-hero.jpg',
        description: 'Create a beautiful, mobile-friendly landing page for your social bio. Drive traffic to your most important links.',
        about: {
            title: 'One Link to Rule Them All',
            subTitle: 'Link-in-Bio Solution',
            description: 'Maximize the potential of your bio link. Create a micro-landing page that directs your followers to your latest content, products, and sign-up forms.',
            bulletPoints: [
                { text: 'Mobile Optimized', icon: 'Smartphone' },
                { text: 'No Coding Required', icon: 'Zap' }
            ],
            mainImage: '/images/features/startpage-about-main.jpg',
            subImage: '/images/features/startpage-about-sub.jpg'
        },
        benefits: [
            { title: 'Customizable Design', description: 'Match your Start Page to your brand with custom colors and layouts.', icon: '✨' },
            { title: 'Track Clicks', description: 'See which links are getting the most attention with built-in analytics.', icon: '👆' },
            { title: 'Schedule Links', description: 'Schedule links to appear and disappear to match your campaigns.', icon: '⏲️' },
            { title: 'Email Capture', description: 'Collect emails directly from your bio link with integrated forms.', icon: '📧' }
        ],
        testimonials: [
            { quote: 'Our click-through rate from Instagram doubled after setting up our Start Page. It is so easy to update.', author: 'Emily White', role: 'Blogger & Influencer', rating: 5, image: '/images/testimonials/emily.jpg' },
            { quote: 'It looks so much better than the other link-in-bio tools I\'ve tried. Very professional.', author: 'Ryan Reynolds', role: 'Actor & Entrepreneur', rating: 5, image: '/images/testimonials/ryan.jpg' },
            { quote: 'I love that I can capture emails directly from my bio link.', author: 'Sarah Connor', role: 'Newsletter Creator', rating: 4, image: '/images/testimonials/sarah-c.jpg' },
            { quote: 'The analytics help me understand what my audience is actually interested in.', author: 'Tom Hardy', role: 'Digital Marketer', rating: 5, image: '/images/testimonials/tom-h.jpg' },
            { quote: 'Super easy to set up. I was up and running in 5 minutes.', author: 'Anna Kendrick', role: 'Musician', rating: 5, image: '/images/testimonials/anna.jpg' }
        ],
        faqs: [
            { question: 'Can I use a custom domain?', answer: 'Yes, you can connect your own domain name to your Start Page.' },
            { question: 'Is it mobile responsive?', answer: '100%. It is designed specifically for mobile users.' },
            { question: 'How many links can I add?', answer: 'Unlimited! Add as many links, videos, and buttons as you need.' }
        ],
        details: []
    },
    {
        slug: 'ai-assistant',
        title: 'AI Assistant',
        subtitle: 'Your Personal Social Media Copywriter',
        heroImage: '/images/features/ai-assistant-hero.jpg',
        description: 'Generate endless content ideas, write engaging captions, and repurpose content with the power of AI.',
        about: {
            title: 'Creativity on Demand',
            subTitle: 'Powered by AI',
            description: 'Writer\'s block is a thing of the past. Our AI Assistant helps you brainstorm ideas, write captions, and even repurpose long-form content into social posts in seconds.',
            bulletPoints: [
                { text: 'Smart Caption Writer', icon: 'PenTool' },
                { text: 'Content Repurposing', icon: 'Repeat' }
            ],
            mainImage: '/images/features/ai-about-main.jpg',
            subImage: '/images/features/ai-about-sub.jpg'
        },
        benefits: [
            { title: 'Idea Generator', description: 'Never run out of things to post. Get fresh ideas tailored to your niche.', icon: '💡' },
            { title: 'Caption Writer', description: 'Instantly generate catchy captions with emojis and hashtags.', icon: '✍️' },
            { title: 'Content Repurposing', description: 'Turn a blog post into a thread or an Instagram caption in seconds.', icon: '🔄' },
            { title: 'Tone Adjustment', description: 'Rewrite content to sound professional, funny, or urgent.', icon: '🎭' }
        ],
        testimonials: [
            { quote: 'The AI Assistant is like having a copywriter on staff 24/7. It saves me so much time coming up with captions.', author: 'David Kim', role: 'Content Creator', rating: 5, image: '/images/testimonials/david.jpg' },
            { quote: 'I was skeptical at first, but the quality of the writing is shockingly good.', author: 'Jessica Alba', role: 'Business Owner', rating: 5, image: '/images/testimonials/jessica-a.jpg' },
            { quote: 'It helps me repurpose my blog posts into social content in seconds. Huge time saver.', author: 'Tim Cook', role: 'Tech Blogger', rating: 4, image: '/images/testimonials/tim.jpg' },
            { quote: 'The idea generator is great for when I\'m feeling stuck.', author: 'Lisa Su', role: 'CEO', rating: 5, image: '/images/testimonials/lisa-s.jpg' },
            { quote: 'A must-have tool for any social media manager handling multiple accounts.', author: 'Satya Nadella', role: 'Marketing Lead', rating: 5, image: '/images/testimonials/satya.jpg' }
        ],
        faqs: [
            { question: 'Is the content unique?', answer: 'Yes, the AI generates unique content based on your prompts.' },
            { question: 'Which languages are supported?', answer: 'We support over 25 languages including English, Spanish, French, and German.' },
            { question: 'Do I need a separate subscription?', answer: 'AI Assistant is included in all Pro and Business plans.' }
        ],
        details: []
    }
];
