/**
 * ServicePro Template - Service Business
 * 
 * Modern template for service businesses with smart booking,
 * real-time availability, service showcase, and online scheduling.
 */
import type { StarterTemplate, TemplatePage, TemplateProduct } from './types';
import { serviceProBlogPosts } from '@/data/template-blog-posts';

const serviceProPages: TemplatePage[] = [
  {
    title: 'Home',
    slug: 'home',
    isHomePage: true,
    menu_order: 1,
    showInMenu: true,
    meta: {
      seoTitle: 'ServicePro — Professional Booking & Service Management',
      description: 'Expert services with seamless online booking. 5,000+ happy clients, same-day appointments, and a 100% satisfaction guarantee.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'announcement-booking',
        type: 'announcement-bar',
        data: {
          message: '📅 New clients: 20% off your first appointment — Book online today',
          linkText: 'Book Now',
          linkUrl: '/book',
          variant: 'gradient',
          dismissable: true,
          sticky: false,
        },
      },
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'Expert Service, Seamless Booking',
          subtitle: 'Skip the phone tag. Reserve your spot online in under 60 seconds and get the expert attention you deserve — backed by a 100% satisfaction guarantee.',
          backgroundType: 'video',
          videoUrl: 'https://videos.pexels.com/video-files/3209828/3209828-uhd_2560_1440_25fps.mp4',
          videoAutoplay: true,
          videoLoop: true,
          videoMuted: true,
          backgroundImage: '/templates/hero/professional-handshake.jpg',
          heightMode: 'viewport',
          contentAlignment: 'center',
          overlayOpacity: 60,
          titleAnimation: 'fade-in',
          primaryButton: { text: 'Book Your Appointment', url: '/book' },
          secondaryButton: { text: 'Ask Our AI', url: '#chat-launcher' },
        },
      },
      {
        id: 'divider-stats-services',
        type: 'section-divider',
        data: {
          shape: 'wave',
          height: 'sm',
        },
      },
      {
        id: 'carousel-services',
        type: 'featured-carousel',
        data: {
          slides: [
            {
              id: 'slide-consult',
              title: 'Expert Consultation',
              description: 'Get personalized advice from our team of experienced professionals.',
              image: '/templates/misc/expert-consultation.jpg',
              ctaText: 'Book Now',
              ctaUrl: '/book',
              textAlignment: 'left',
            },
            {
              id: 'slide-service',
              title: 'Premium Services',
              description: 'Quality craftsmanship delivered on time, every time.',
              image: '/templates/misc/premium-services.jpg',
              ctaText: 'View Services',
              ctaUrl: '/services',
              textAlignment: 'left',
            },
            {
              id: 'slide-team',
              title: 'Dedicated Team',
              description: 'Skilled professionals committed to exceeding your expectations.',
              image: '/templates/misc/dedicated-team.jpg',
              ctaText: 'Meet the Team',
              ctaUrl: '/about',
              textAlignment: 'left',
            },
          ],
          autoPlay: true,
          interval: 5000,
          height: 'md',
          transition: 'fade',
        },
      },
      {
        id: 'stats-1',
        type: 'stats',
        data: {
          title: 'Why Choose Us',
          stats: [
            { value: '5000+', label: 'Happy Clients', icon: 'Users' },
            { value: '10+', label: 'Years Experience', icon: 'Award' },
            { value: '4.9', label: 'Average Rating', icon: 'Star' },
            { value: '24h', label: 'Response Time', icon: 'Clock' },
          ],
        },
      },
      {
        id: 'features-1',
        type: 'features',
        data: {
          title: 'Our Services',
          subtitle: 'We offer a wide range of professional services tailored to your needs.',
          features: [
            { id: 'f1', icon: 'Sparkles', title: 'Consultation', description: 'Expert advice and guidance for your unique situation.' },
            { id: 'f2', icon: 'Clock', title: 'Flexible Scheduling', description: 'Book appointments that fit your busy lifestyle.' },
            { id: 'f3', icon: 'Shield', title: 'Guaranteed Quality', description: 'We stand behind every service we provide.' },
            { id: 'f4', icon: 'HeadphonesIcon', title: '24/7 Support', description: 'Our team is always here when you need us.' },
          ],
          columns: 4,
          layout: 'grid',
          variant: 'cards',
          iconStyle: 'circle',
        },
      },
      {
        id: 'bento-service-benefits',
        type: 'bento-grid',
        data: {
          title: 'Why Clients Keep Coming Back',
          subtitle: 'Every detail is designed around your experience — from first booking to final follow-up.',
          variant: 'bordered',
          items: [
            { id: 'bb1', icon: 'CalendarCheck', title: 'Instant Online Booking', description: 'Reserve any service 24/7 from your phone or desktop. Real-time availability, zero waiting on hold.', span: 'wide' },
            { id: 'bb2', icon: 'Shield', title: '100% Satisfaction Guarantee', description: 'If you\'re not delighted with the result, we\'ll make it right — no questions asked.' },
            { id: 'bb3', icon: 'Clock', title: 'Same-Day Appointments', description: 'Urgent need? We keep slots open daily for last-minute bookings so you\'re never left waiting.' },
            { id: 'bb4', icon: 'Star', title: '4.9-Star Rated Service', description: 'Consistently top-rated across Google, Yelp, and Trustpilot by thousands of verified clients.', span: 'wide' },
            { id: 'bb5', icon: 'Users', title: 'Dedicated Specialists', description: 'Request your preferred professional for every appointment — consistency you can count on.' },
            { id: 'bb6', icon: 'HeadphonesIcon', title: 'Same-Day Response', description: 'Every message, email, and call answered within hours — not days. Your time matters.' },
          ],
        },
      },
      {
        id: 'social-proof-counters',
        type: 'social-proof',
        data: {
          variant: 'counters',
          items: [
            { id: 'spc1', value: '5,000+', label: 'Happy Clients', icon: 'Users' },
            { id: 'spc2', value: '4,800+', label: '5-Star Reviews', icon: 'Star' },
            { id: 'spc3', value: '10+', label: 'Years in Business', icon: 'Award' },
            { id: 'spc4', value: '<4hrs', label: 'Avg. Response Time', icon: 'Clock' },
          ],
        },
      },
      {
        id: 'parallax-quality',
        type: 'parallax-section',
        data: {
          backgroundImage: '/templates/hero/professional-handshake.jpg',
          title: 'Your Time Is Valuable. We Treat It That Way.',
          subtitle: 'No waiting rooms. No back-and-forth scheduling. Just expert service when you need it, exactly how you want it.',
          overlayOpacity: 65,
          buttonText: 'Book in 60 Seconds',
          buttonUrl: '/book',
        },
      },
      {
        id: 'products-popular',
        type: 'products',
        data: {
          title: 'Popular Services',
          subtitle: 'Our most booked services - ready to book online',
          columns: 3,
          layout: 'grid',
          showPrice: true,
          showDescription: true,
          showAddToCart: true,
          addToCartText: 'Book Now',
          emptyMessage: 'No services available.',
          variant: 'cards',
          maxProducts: 3,
        },
      },
      {
        id: 'testimonials-1',
        type: 'testimonials',
        data: {
          title: 'What Our Clients Say',
          testimonials: [
            {
              id: 't1',
              content: 'I booked online at 10pm on a Sunday and had my appointment confirmed within minutes. The actual service exceeded every expectation — I\'ve already referred three colleagues.',
              author: 'Emma Wilson',
              role: 'Marketing Director',
              company: 'Brightline Media',
              rating: 5,
            },
            {
              id: 't2',
              content: 'Three years, dozens of appointments, and not once have I felt like just a number. They remember my preferences, they\'re always on time, and the quality is genuinely the best I\'ve found.',
              author: 'David Chen',
              role: 'Small Business Owner',
              company: 'Chen\'s Consulting',
              rating: 5,
            },
            {
              id: 't3',
              content: 'As a busy parent of three, my time is not optional. Online booking took 45 seconds, they sent a reminder the night before, and they finished 5 minutes early. That\'s how it should be done.',
              author: 'Sarah Johnson',
              role: 'Operations Manager',
              company: 'NorthStar Group',
              rating: 5,
            },
          ],
          layout: 'carousel',
          columns: 3,
          showRating: true,
          showAvatar: false,
          variant: 'cards',
          autoplay: true,
          autoplaySpeed: 5,
        },
      },
      {
        id: 'marquee-clients',
        type: 'marquee',
        data: {
          items: [
            { id: 'm1', text: 'TechCorp', icon: '🏢' },
            { id: 'm2', text: 'StartupX', icon: '🚀' },
            { id: 'm3', text: 'DesignCo', icon: '🎨' },
            { id: 'm4', text: 'MediaHub', icon: '📱' },
            { id: 'm5', text: 'FinanceFirst', icon: '💼' },
            { id: 'm6', text: 'HealthPlus', icon: '🏥' },
          ],
          speed: 'normal',
          direction: 'left',
          pauseOnHover: true,
          variant: 'default',
          separator: '•',
        },
      },
      {
        id: 'progress-metrics',
        type: 'progress',
        data: {
          title: 'Our Service Quality',
          subtitle: 'Metrics that matter to our clients',
          items: [
            { id: 'p1', label: 'Customer Satisfaction', value: 98, color: 'hsl(142, 76%, 36%)', icon: 'Heart' },
            { id: 'p2', label: 'On-Time Delivery', value: 95, color: 'hsl(221, 83%, 53%)', icon: 'Clock' },
            { id: 'p3', label: 'Repeat Customers', value: 87, color: 'hsl(262, 83%, 58%)', icon: 'Users' },
            { id: 'p4', label: 'Project Success Rate', value: 92, color: 'hsl(47, 96%, 53%)', icon: 'CheckCircle' },
          ],
          variant: 'default',
          size: 'md',
          showPercentage: true,
          showLabels: true,
          animated: true,
          animationDuration: 2000,
        },
      },
      {
        id: 'badge-service',
        type: 'badge',
        data: {
          title: 'Certified & Trusted',
          badges: [
            { id: 'b1', title: 'Licensed', icon: 'check' },
            { id: 'b2', title: 'Insured', icon: 'shield' },
            { id: 'b3', title: '5-Star Rated', icon: 'star' },
            { id: 'b4', title: 'Award Winner', icon: 'award' },
          ],
          variant: 'minimal',
          columns: 4,
          size: 'md',
          showTitles: true,
          grayscale: false,
        },
      },
      {
        id: 'social-proof-service',
        type: 'social-proof',
        data: {
          title: 'Live Client Activity',
          items: [
            { id: 'sp1', type: 'counter', icon: 'users', label: 'Clients This Month', value: '340', suffix: '+' },
            { id: 'sp2', type: 'rating', icon: 'star', label: 'Average Rating', value: '4.9', maxRating: 5, rating: 4.9 },
            { id: 'sp3', type: 'activity', icon: 'eye', label: 'Booking Now', text: '23 people booking right now' },
          ],
          variant: 'cards',
          layout: 'horizontal',
          size: 'md',
          animated: true,
        },
      },
      {
        id: 'article-grid-blog',
        type: 'article-grid',
        data: {
          title: 'Tips & Insights',
          subtitle: 'Expert advice to help you get the most from our services',
          columns: 3,
          limit: 3,
          showExcerpt: true,
          showImage: true,
        },
      },
      {
        id: 'chat-launcher-home',
        type: 'chat-launcher',
        data: {
          title: 'Quick Questions? Ask Our AI',
          subtitle: 'Get instant answers about our services',
          placeholder: 'Ask about services, availability, or booking...',
          showQuickActions: true,
          quickActionCount: 4,
          variant: 'card',
        },
      },
      {
        id: 'accordion-home-faq',
        type: 'accordion',
        data: {
          title: 'Service FAQ',
          items: [
            { question: 'How do I book an appointment?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Booking is easy! Use our online booking system to select your service, choose an available time slot, and confirm your appointment. You\'ll receive an email confirmation immediately.' }] }] } },
            { question: 'What is your cancellation policy?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We require 24 hours notice for cancellations to avoid a cancellation fee. You can reschedule your appointment online at any time before this deadline.' }] }] } },
            { question: 'What services do you offer?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We offer a range of professional services from basic consultations to comprehensive VIP packages. Visit our Services page to see all options with pricing and descriptions.' }] }] } },
            { question: 'Do you offer recurring appointments?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Yes! Our Monthly Retainer package includes 4 sessions per month, priority booking, and unlimited email support. Perfect for ongoing needs.' }] }] } },
            { question: 'What are your hours?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We\'re open Monday-Friday 9am-6pm and Saturday 10am-4pm. VIP clients have access to priority scheduling and extended hours when needed.' }] }] } },
          ],
        },
      },
      {
        id: 'cta-1',
        type: 'cta',
        data: {
          title: 'Ready to Experience the Difference?',
          subtitle: 'Join 5,000+ satisfied clients. Book online in under 60 seconds — same-day slots available.',
          buttonText: 'Book Your Appointment',
          buttonUrl: '/book',
          gradient: true,
        },
      },
      {
        id: 'floating-cta-home',
        type: 'floating-cta',
        data: {
          text: 'Same-day appointments available — spots fill fast',
          buttonText: 'Book Now',
          buttonUrl: '/book',
          variant: 'pill',
        },
      },
    ],
  },
  {
    title: 'Services',
    slug: 'services',
    menu_order: 2,
    showInMenu: true,
    meta: {
      seoTitle: 'Our Services — Expert Solutions | ServicePro',
      description: 'Browse our full range of professional services — consultation, premium care, and flexible scheduling. Book online instantly.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'Our Services',
          subtitle: 'Professional solutions for every need. Browse our services and book online.',
          backgroundType: 'color',
          heightMode: 'auto',
          contentAlignment: 'center',
        },
      },
      {
        id: 'products-services',
        type: 'products',
        data: {
          title: 'Available Services',
          subtitle: 'Choose the service that fits your needs',
          columns: 3,
          layout: 'grid',
          showPrice: true,
          showDescription: true,
          showAddToCart: true,
          addToCartText: 'Book This Service',
          emptyMessage: 'No services available at the moment.',
          variant: 'cards',
        },
      },
      {
        id: 'separator-1',
        type: 'separator',
        data: {
          variant: 'line',
          spacing: 'lg',
        },
      },
      {
        id: 'features-1',
        type: 'features',
        data: {
          title: 'Why Choose Our Services',
          subtitle: 'What sets us apart from the rest',
          features: [
            { id: 'f1', icon: 'Clock', title: 'Flexible Scheduling', description: 'Book appointments that fit your busy lifestyle. Same-day availability for VIP clients.' },
            { id: 'f2', icon: 'Shield', title: 'Satisfaction Guaranteed', description: 'We stand behind every service we provide. Not happy? We\'ll make it right.' },
            { id: 'f3', icon: 'HeadphonesIcon', title: 'Ongoing Support', description: 'Our team is here for you before, during, and after your service.' },
          ],
          columns: 3,
          layout: 'grid',
          variant: 'cards',
          iconStyle: 'circle',
        },
      },
      {
        id: 'cta-1',
        type: 'cta',
        data: {
          title: 'Not Sure Which Service?',
          subtitle: 'Contact us for a free consultation to find the right fit.',
          buttonText: 'Get in Touch',
          buttonUrl: '/contact',
          gradient: false,
        },
      },
    ],
  },
  {
    title: 'Book',
    slug: 'book',
    menu_order: 3,
    showInMenu: true,
    meta: {
      seoTitle: 'Book an Appointment Online | ServicePro',
      description: 'Reserve your appointment in under 60 seconds. Real-time availability, instant confirmation, and same-day slots available.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'Book Your Appointment',
          subtitle: 'Choose a service and select a time that works for you',
          backgroundType: 'color',
          heightMode: 'auto',
          contentAlignment: 'center',
        },
      },
      {
        id: 'booking-1',
        type: 'booking',
        data: {
          title: '',
          mode: 'smart',
          variant: 'card',
          showPhoneField: true,
          submitButtonText: 'Confirm Booking',
          successMessage: 'Your booking is confirmed! We\'ll send you a confirmation email shortly.',
          triggerWebhook: false,
        },
      },
      {
        id: 'text-1',
        type: 'text',
        data: {
          content: {
            type: 'doc',
            content: [
              { type: 'heading', attrs: { level: 3 }, content: [{ type: 'text', text: 'Booking Policy' }] },
              { type: 'paragraph', content: [{ type: 'text', text: 'Please arrive 10 minutes before your scheduled appointment. Cancellations must be made at least 24 hours in advance to avoid a cancellation fee. For any questions about your booking, please contact us.' }] },
            ],
          },
          alignment: 'center',
        },
      },
    ],
  },
  {
    title: 'About',
    slug: 'about',
    menu_order: 4,
    showInMenu: true,
    meta: {
      seoTitle: 'About ServicePro — Professional Service Excellence',
      description: 'Meet the team behind ServicePro. 10+ years of expertise, thousands of happy clients, and a commitment to service excellence.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'About Us',
          subtitle: 'Dedicated professionals committed to your success',
          backgroundType: 'color',
          heightMode: 'auto',
          contentAlignment: 'center',
        },
      },
      {
        id: 'two-col-1',
        type: 'two-column',
        data: {
          eyebrow: 'ABOUT US',
          title: 'Our',
          accentText: 'Story',
          accentPosition: 'end',
          content: {
            type: 'doc',
            content: [
              { type: 'paragraph', content: [{ type: 'text', text: 'Founded with a simple mission: to provide exceptional service that puts clients first. Over the years, we\'ve grown from a small practice to a trusted name in professional services.' }] },
              { type: 'paragraph', content: [{ type: 'text', text: 'What sets us apart is our commitment to quality and our personal approach. Every client is unique, and we take the time to understand your specific needs.' }] },
            ],
          },
          imageSrc: '/templates/misc/our-team.jpg',
          imageAlt: 'Our team',
          imagePosition: 'right',
          ctaText: 'Meet the Team →',
          ctaUrl: '/about',
        },
      },
      {
        id: 'team-1',
        type: 'team',
        data: {
          title: 'Meet Our Team',
          members: [
            { id: 'm1', name: 'Alex Thompson', role: 'Founder & Lead', bio: '15+ years of experience in the industry.' },
            { id: 'm2', name: 'Sarah Mitchell', role: 'Senior Specialist', bio: 'Certified expert with a passion for excellence.' },
            { id: 'm3', name: 'James Rodriguez', role: 'Client Relations', bio: 'Dedicated to ensuring every client has a great experience.' },
          ],
          columns: 3,
          showBio: true,
          showSocial: false,
          variant: 'cards',
        },
      },
    ],
  },
  {
    title: 'Contact',
    slug: 'contact',
    menu_order: 5,
    showInMenu: true,
    meta: {
      seoTitle: 'Contact — Reach Our Team | ServicePro',
      description: 'Have a question or need help? Reach our team by phone, email, or chat. We respond within hours, not days.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'Contact Us',
          subtitle: 'We\'d love to hear from you',
          backgroundType: 'color',
          heightMode: 'auto',
          contentAlignment: 'center',
        },
      },
      {
        id: 'two-col-1',
        type: 'two-column',
        data: {
          eyebrow: 'CONTACT',
          title: 'Get in',
          accentText: 'Touch',
          accentPosition: 'end',
          content: {
            type: 'doc',
            content: [
              { type: 'paragraph', content: [{ type: 'text', text: 'Have a question? Want to learn more about our services? We\'re here to help.' }] },
              { type: 'paragraph', content: [{ type: 'text', marks: [{ type: 'bold' }], text: 'Email: ' }, { type: 'text', text: 'hello@servicepro.com' }] },
              { type: 'paragraph', content: [{ type: 'text', marks: [{ type: 'bold' }], text: 'Phone: ' }, { type: 'text', text: '+1 (555) 123-4567' }] },
              { type: 'paragraph', content: [{ type: 'text', marks: [{ type: 'bold' }], text: 'Hours: ' }, { type: 'text', text: 'Mon-Fri 9am-6pm' }] },
            ],
          },
          imageSrc: '',
          imageAlt: '',
          imagePosition: 'right',
        },
      },
      {
        id: 'form-1',
        type: 'form',
        data: {
          title: 'Send us a Message',
          fields: [
            { id: 'name', type: 'text', label: 'Name', placeholder: 'Your name', required: true, width: 'half' },
            { id: 'email', type: 'email', label: 'Email', placeholder: 'you@example.com', required: true, width: 'half' },
            { id: 'phone', type: 'phone', label: 'Phone', placeholder: 'Your phone number', required: false, width: 'full' },
            { id: 'message', type: 'textarea', label: 'Message', placeholder: 'How can we help you?', required: true, width: 'full' },
          ],
          submitButtonText: 'Send Message',
          successMessage: 'Thanks for reaching out! We\'ll get back to you within 24 hours.',
          variant: 'card',
        },
      },
      {
        id: 'contact-1',
        type: 'contact',
        data: {
          title: 'Visit Us',
          address: '123 Main Street, Suite 100',
          email: 'hello@servicepro.com',
          phone: '+1 (555) 123-4567',
          hours: [
            { day: 'Monday - Friday', time: '9:00 AM - 6:00 PM' },
            { day: 'Saturday', time: '10:00 AM - 4:00 PM' },
            { day: 'Sunday', time: 'Closed' },
          ],
        },
      },
    ],
  },
];

const serviceProProducts: TemplateProduct[] = [
  {
    name: 'Basic Consultation',
    description: '30-minute consultation session. Perfect for first-time clients to understand your needs and recommend solutions.',
    price_cents: 4900,
    currency: 'USD',
    type: 'one_time',
    image_url: '/templates/blog/product-collection.jpg',
    is_active: true,
  },
  {
    name: 'Premium Service',
    description: '60-minute comprehensive session with personalized recommendations. Our most popular option.',
    price_cents: 9900,
    currency: 'USD',
    type: 'one_time',
    image_url: '/templates/blog/team-brainstorming.jpg',
    is_active: true,
  },
  {
    name: 'VIP Package',
    description: '90-minute VIP experience with priority scheduling, extended support, and follow-up consultations.',
    price_cents: 19900,
    currency: 'USD',
    type: 'one_time',
    image_url: '/templates/misc/consultant-woman.jpg',
    is_active: true,
  },
  {
    name: 'Monthly Retainer',
    description: 'Ongoing support with 4 sessions per month, priority booking, and unlimited email support.',
    price_cents: 29900,
    currency: 'USD',
    type: 'recurring',
    image_url: '/templates/misc/money-growth.jpg',
    is_active: true,
  },
  {
    name: 'Team Workshop',
    description: 'Half-day workshop for teams up to 10 people. Includes materials and follow-up resources.',
    price_cents: 79900,
    currency: 'USD',
    type: 'one_time',
    image_url: '/templates/misc/our-team.jpg',
    is_active: true,
  },
];

export const serviceProTemplate: StarterTemplate = {
  id: 'service-pro',
  name: 'ServicePro',
  description: 'Modern template for service businesses. Features smart booking with real-time availability, service showcase, product catalog, and online scheduling.',
  category: 'startup',
  icon: 'CalendarCheck',
  tagline: 'Perfect for service businesses',
  aiChatPosition: 'Widget for quick questions',
  helpStyle: 'none',
  pages: serviceProPages,
  requiredModules: ['bookings', 'ecommerce', 'forms', 'chat', 'leads', 'blog'],
  blogPosts: serviceProBlogPosts,
  products: serviceProProducts,
  branding: {
    logo: '',
    organizationName: 'ServicePro',
    brandTagline: 'Professional Services You Can Trust',
    primaryColor: '220 70% 50%',
    headingFont: 'Libre Franklin',
    bodyFont: 'Inter',
    borderRadius: 'md',
    shadowIntensity: 'medium',
  },
  chatSettings: {
    enabled: true,
    aiProvider: 'openai',
    landingPageEnabled: true,
    widgetEnabled: true,
    widgetPosition: 'bottom-right',
    welcomeMessage: 'Hi! How can we help you today?',
    systemPrompt: 'You are a helpful assistant for a service business. Help users book appointments, answer questions about services, and provide information. Be friendly and professional.',
    suggestedPrompts: [
      'What services do you offer?',
      'Book me the next available slot',
      'What are your prices?',
      'Do you have same-day availability?',
    ],
    includeContentAsContext: true,
    includedPageSlugs: ['*'],
    includeKbArticles: true,
    contentContextMaxTokens: 50000,
    showContextIndicator: true,
    toolCallingEnabled: true,
    allowGeneralKnowledge: true,
  },
  headerSettings: {
    variant: 'sticky',
    stickyHeader: true,
    backgroundStyle: 'blur',
    headerShadow: 'sm',
    showBorder: true,
  },
  footerSettings: {
    variant: 'full',
    email: 'hello@servicepro.com',
    phone: '+1 (555) 123-4567',
    address: '123 Main Street, Suite 100',
    weekdayHours: 'Mon-Fri 9-18',
    weekendHours: 'Sat 10-16',
    showHours: true,
    showQuickLinks: true,
    showContact: true,
    legalLinks: [
      { id: 'privacy', label: 'Privacy Policy', url: '/privacy-policy', enabled: true },
      { id: 'terms', label: 'Terms of Service', url: '/terms-of-service', enabled: true },
    ],
  },
  seoSettings: {
    siteTitle: 'ServicePro',
    titleTemplate: '%s | ServicePro',
    defaultDescription: 'Professional services delivered with excellence. Book online in seconds.',
    robotsIndex: true,
    robotsFollow: true,
  },
  aeoSettings: {
    enabled: true,
    organizationName: 'ServicePro',
    shortDescription: 'Professional services delivered with excellence. Book online in seconds.',
    schemaOrgEnabled: true,
    schemaOrgType: 'LocalBusiness',
    faqSchemaEnabled: true,
    articleSchemaEnabled: true,
    sitemapEnabled: true,
    llmsTxtEnabled: true,
    llmsFullTxtEnabled: true,
  },
  cookieBannerSettings: {
    enabled: true,
  },
  siteSettings: {
    homepageSlug: 'home',
  },
};
